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 ec8ed22. Notable changes

include:

  * Renamed extension_install_dir to extension_dir (backwards
    compatible).

  * Fixed creation of gem.deps.rb.lock file from
    TestGemRequestSet#test_install_from_gemdeps_install_dir

  * Fixed a typo and some documentation.

* test/rubygems:  ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
drbrain 2013-12-10 19:54:19 +00:00
parent d36a129d7b
commit d6a5fe709e
17 changed files with 77 additions and 69 deletions

View file

@ -72,18 +72,17 @@ class TestGemRequestSet < Gem::TestCase
rs = Gem::RequestSet.new
installed = []
Tempfile.open 'gem.deps.rb' do |io|
open 'gem.deps.rb', 'w' do |io|
io.puts 'gem "a"'
io.flush
end
options = {
:gemdeps => io.path,
:install_dir => "#{@gemhome}2",
}
options = {
:gemdeps => 'gem.deps.rb',
:install_dir => "#{@gemhome}2",
}
rs.install_from_gemdeps options do |req, installer|
installed << req.full_name
end
rs.install_from_gemdeps options do |req, installer|
installed << req.full_name
end
assert_includes installed, 'a-2'