aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/gem_dependency_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Really silence spec warnings when running GemDependency tests [#1308 ↵Jeffrey Hardy2008-10-311-3/+2
| | | | | | state:resolved] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Make VendorGemSourceIndex handle broken/missing specs generated by previous ↵Matt Jones2008-10-131-0/+20
| | | | | | versions. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Fix a number of errors in the config.gem mechanism.Matt Jones2008-10-051-5/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Partially revert 185fe2e9cce737d69d3b47a656f3651ce152c0c1Michael Koziarski2008-09-241-1/+1
| | | | We shouldn't quote the unpack command's requirement as it's passed through GemRunner which takes care of it for us.
* Make requiring gems optional.Ben Sandofsky2008-08-041-0/+9
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#743 state:resolved]
* In 9c4f003, gem installation quotes versions. Do the same for unpack and ↵Joshua Peek2008-06-021-8/+8
| | | | update tests to reflect the change.
* Gem dependencies don't require a version. Also fixed up failing gem ↵Joshua Peek2008-04-211-0/+4
| | | | dependency tests.
* Added config.gem for specifying which gems are required by the application, ↵Rick Olson2008-03-301-0/+62
as well as rake tasks for installing and freezing gems. [rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9140 5ecf4fe2-1ee6-0310-87b1-e25e094e27de