1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/rubygems: Update to RubyGems master 14749ce. This fixes bugs

handling of gem dependencies lockfiles (Gemfile.lock).

* test/rubygems:  ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
drbrain 2013-12-08 01:22:39 +00:00
parent 866b438c21
commit 7ed9b794b4
27 changed files with 1083 additions and 108 deletions

View file

@ -12,11 +12,11 @@ class TestGemResolverLockSet < Gem::TestCase
end
def test_add
@set.add 'a', '2', Gem::Platform::RUBY
spec = @set.add 'a', '2', Gem::Platform::RUBY
assert_equal %w[a-2], @set.specs.map { |t| t.full_name }
spec = @set.specs.first
assert_kind_of Gem::Resolver::LockSpecification, spec
assert_equal @set, spec.set
assert_equal 'a', spec.name