More Ruby 1.8.7 trickery

This commit is contained in:
Mitchell Hashimoto 2010-09-27 12:21:34 -07:00
parent 8a8d1f84ae
commit 0f3055b968
3 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ GIT
PATH
remote: .
specs:
vagrant (0.6.2)
vagrant (0.6.3)
archive-tar-minitar (= 0.5.2)
erubis (~> 2.6.6)
i18n (~> 0.4.1)

View File

@ -37,7 +37,7 @@ module Vagrant
class_eval <<-CODE
def #{method}(message, opts=nil)
opts ||= {}
@shell.send(method, format_message(message, opts), opts[:color])
@shell.send(#{method.inspect}, format_message(message, opts), opts[:color])
end
CODE
end

View File

@ -2,5 +2,5 @@ module Vagrant
# This will always be up to date with the current version of Vagrant,
# since it is used to generate the gemspec and is also the source of
# the version for `vagrant -v`
VERSION = "0.6.2"
VERSION = "0.6.3"
end