diff options
author | Michael Bleigh <michael@intridea.com> | 2010-02-08 14:58:32 -0500 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-02-10 08:28:03 +0100 |
commit | 9c654744fbc5f3035e07f741997d37f287729103 (patch) | |
tree | 95c86a7b8c895503612165c4ccce23dbc2b41aab /railties/lib/rails/generators | |
parent | cafe882d12d767f510d6b8ad283f49a1c02e82ad (diff) | |
download | rails-9c654744fbc5f3035e07f741997d37f287729103.tar.gz rails-9c654744fbc5f3035e07f741997d37f287729103.tar.bz2 rails-9c654744fbc5f3035e07f741997d37f287729103.zip |
Fixes unescaped version passthrough of generator 'gem' command. [#3901 status:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'railties/lib/rails/generators')
-rw-r--r-- | railties/lib/rails/generators/actions.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/actions.rb b/railties/lib/rails/generators/actions.rb index 152fe6e33e..d41da773c6 100644 --- a/railties/lib/rails/generators/actions.rb +++ b/railties/lib/rails/generators/actions.rb @@ -69,7 +69,7 @@ module Rails # otherwise use name (version). parts, message = [ name.inspect ], name if version ||= options.delete(:version) - parts << version + parts << version.inspect message << " (#{version})" end message = options[:git] if options[:git] |