A quick 0.6.2 to fix a simple coloring issue :)

This commit is contained in:
Mitchell Hashimoto 2010-09-27 12:19:25 -07:00
parent a7d6bf4e08
commit 8a8d1f84ae
3 changed files with 3 additions and 3 deletions

View File

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

View File

@ -28,7 +28,7 @@ module Vagrant
[[:warn, :yellow], [:error, :red], [:info, nil], [:confirm, :green]].each do |method, color| [[:warn, :yellow], [:error, :red], [:info, nil], [:confirm, :green]].each do |method, color|
class_eval <<-CODE class_eval <<-CODE
def #{method}(message, opts=nil) def #{method}(message, opts=nil)
@shell.say("\#{line_reset}\#{format_message(message, opts)}", "#{color}") @shell.say("\#{line_reset}\#{format_message(message, opts)}", #{color.inspect})
end end
CODE CODE
end end

View File

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