1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/railties/lib/rails
Matt Jones 2bf58aa782 Fix a number of errors in the config.gem mechanism.
* Rails::GemDependency was missing definitions for hash and eql?, causing Array#uniq to not work.

* If several versions of a gem are unpacked in vendor, now chooses the highest if no version is specified.

* streamlined add_load_path. Now sets up Rubygems correctly to allow 'gem' to find frozen gems, with
  gems frozen to vendor/gems and specifications in vendor/gems/<gem-name>/.specification

* Rails::GemDependency#specification would return a spec for the highest installed version, even for
  frozen gems and/or previously loaded lower versions. See in part ticket #1123.

* removed vendor from default_load_paths - it was causing autoloading to append Gems::Gems::<gem-dir> to
  constant names

* added additional tests for loading frozen gems.

* incorporates the fix from #1107 for vendor rails

* defers to freeze:gems for handling the Rails framework. gems:unpack WILL NOT place a copy of Rails
  in vendor/gems. Should close #1123 completely.

* incorporates, via using the gem loader for frozen gems, fixes corresponding to #227, #324, #362, #527, and #742.

* gem plugins now work the same whether frozen or not. Correctness of the behavior is a matter for another ticket...

Signed-off-by: rick <technoweenie@gmail.com>
2008-10-05 10:16:17 -07:00
..
mongrel_server Show rails version when the server starts. [#235 state:resolved] 2008-05-22 12:06:27 +01:00
plugin Plugin locator: sort directory listing because we can't assume that the OS will do it for us. This fixes some unit test failures. 2008-07-09 13:34:36 +02:00
rack Added rack logger middleware that tails the environment log 2008-08-19 00:18:26 -05:00
gem_builder.rb Fix a number of errors in the config.gem mechanism. 2008-10-05 10:16:17 -07:00
gem_dependency.rb Fix a number of errors in the config.gem mechanism. 2008-10-05 10:16:17 -07:00
plugin.rb Fix a number of errors in the config.gem mechanism. 2008-10-05 10:16:17 -07:00
rack.rb Added rack logger middleware that tails the environment log 2008-08-19 00:18:26 -05:00
vendor_gem_source_index.rb Fix a number of errors in the config.gem mechanism. 2008-10-05 10:16:17 -07:00
version.rb Bump the Version constants to align with the *next* release rather than the previous release. 2008-09-22 21:32:12 +02:00