Changeset 7277
- Timestamp:
- 08/05/07 01:37:43 (1 year ago)
- Files:
-
- branches/1-2-stable/railties/CHANGELOG (modified) (1 diff)
- branches/1-2-stable/railties/lib/tasks/framework.rake (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1-2-stable/railties/CHANGELOG
r7003 r7277 1 1 *SVN* 2 3 * use Gem.find_name instead of search when freezing gems. Prevent false positives for other gems with rails in the name. Closes #8729 [wselman] 2 4 3 5 * Fix syntax error in dispatcher than wrecked failsafe responses. #8625 [mtitorenko] branches/1-2-stable/railties/lib/tasks/framework.rake
r6872 r7277 8 8 9 9 rails = (version = ENV['VERSION']) ? 10 Gem.cache. search('rails', "= #{version}").first :11 Gem.cache. search('rails').sort_by { |g| g.version }.last10 Gem.cache.find_name('rails', "= #{version}").first : 11 Gem.cache.find_name('rails').sort_by { |g| g.version }.last 12 12 13 13 version ||= rails.version