This project is archived and is in readonly mode.
[PATCH] Generator 'gem' command doesn't accept versions
Reported by Michael Bleigh | February 8th, 2010 @ 08:03 PM
In master, the gem
command of generators will
append to the Gemfile an unescaped version string. For example,
with this command:
gem 'rspec', '>=2.0.0.a5'
The Gemfile will look like so at the end:
gem "rspec", >=2.0.0.a5
The attached patch fixes this behavior and adds tests both for the version escaping as well as testing to make sure each gem gets its own line.
Comments and changes to this ticket
-
Repository February 10th, 2010 @ 07:34 AM
(from [9c654744fbc5f3035e07f741997d37f287729103]) Fixes unescaped version passthrough of generator 'gem' command. [#3901 status:resolved]
Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/9c654744fbc5f3035e07f741997d37... -
Prem Sichanugrist (sikachu) February 10th, 2010 @ 07:34 AM
- State changed from new to resolved
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
Attachments
Tags
Referenced by
- 3901 [PATCH] Generator 'gem' command doesn't accept versions (from [9c654744fbc5f3035e07f741997d37f287729103]) Fixes u...