1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/railties/test
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
..
fixtures Initializer to sort files before eager loading. [#859 state:resolved] 2008-08-22 13:06:34 +01:00
generators Generate belongs_to association when generating a model 2008-08-23 21:54:43 +03:00
mocks
vendor/gems Fix a number of errors in the config.gem mechanism. 2008-10-05 10:16:17 -07:00
abstract_unit.rb
boot_test.rb require abstract_unit directly since test is in load path 2008-01-05 13:33:00 +00:00
console_app_test.rb Refactor Dispatcher callbacks to remove unnecessary Dependencies checks in production environment. 2008-04-18 13:05:43 +01:00
error_page_test.rb The 'rails' command was broken by the last commit. Fix that. 2008-08-26 16:28:41 +02:00
fcgi_dispatcher_test.rb Mock RailsFCGIHandler and Dispatcher to stop mocha deprecation warnings. 2008-04-21 11:54:46 -05:00
gem_dependency_test.rb Fix a number of errors in the config.gem mechanism. 2008-10-05 10:16:17 -07:00
generator_lookup_test.rb Fixed that script/generate would not look for plugin generators in plugin_paths (closes #11000) [glv] 2008-03-13 02:47:26 +00:00
initializer_test.rb Initializer to sort files before eager loading. [#859 state:resolved] 2008-08-22 13:06:34 +01:00
plugin_loader_test.rb Fix discrepancies with loading rails/init.rb from gems. [#324 state:resolved] 2008-06-08 14:04:04 -04:00
plugin_locator_test.rb Make plugins initialize also from rails/init.rb to ensure consistency with gems used as plugins 2008-06-08 13:05:45 -04:00
plugin_test.rb Make plugins initialize also from rails/init.rb to ensure consistency with gems used as plugins 2008-06-08 13:05:45 -04:00
plugin_test_helper.rb
rails_generator_test.rb Don't require generator_test_helper in RailsGeneratorTest. 2008-04-21 19:14:37 -05:00
rails_info_controller_test.rb Fix that Rails::InfoController tests 2008-06-05 20:41:22 +01:00
rails_info_test.rb Rails Edge info returns the latest git commit hash [#36 state:resolved] 2008-04-22 15:44:13 -05:00
secret_key_generation_test.rb Prevent deprecation warning in the tests 2008-08-28 12:47:18 +02:00