mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rubygems: Update to RubyGems master 4bdc4f2. Important changes
in this commit: RubyGems now chooses the test server port reliably. Patch by akr. Partial implementation of bundler's Gemfile format. Refactorings to improve the new resolver. Fixes bugs in the resolver. * test/rubygems: Tests for the above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
31d355aaa9
commit
4f6779bac7
75 changed files with 3143 additions and 616 deletions
|
@ -14,13 +14,10 @@ class TestGemCommandsOutdatedCommand < Gem::TestCase
|
|||
end
|
||||
|
||||
def test_execute
|
||||
remote_10 = quick_spec 'foo', '1.0'
|
||||
remote_20 = quick_spec 'foo', '2.0'
|
||||
|
||||
Gem::RemoteFetcher.fetcher = @fetcher = Gem::FakeFetcher.new
|
||||
|
||||
util_clear_gems
|
||||
util_setup_spec_fetcher remote_10, remote_20
|
||||
spec_fetcher do |fetcher|
|
||||
fetcher.spec 'foo', '1.0'
|
||||
fetcher.spec 'foo', '2.0'
|
||||
end
|
||||
|
||||
quick_gem 'foo', '0.1'
|
||||
quick_gem 'foo', '0.2'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue