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:
parent
d36a129d7b
commit
d6a5fe709e
17 changed files with 77 additions and 69 deletions
|
@ -23,7 +23,7 @@ class TestStubSpecification < Gem::TestCase
|
|||
def test_initialize_extension
|
||||
stub = stub_with_extension
|
||||
|
||||
ext_install_dir = Pathname(stub.extension_install_dir)
|
||||
ext_install_dir = Pathname(stub.extension_dir)
|
||||
full_gem_path = Pathname(stub.full_gem_path)
|
||||
relative_install_dir = ext_install_dir.relative_path_from full_gem_path
|
||||
relative_install_dir = relative_install_dir.to_s
|
||||
|
@ -70,7 +70,7 @@ class TestStubSpecification < Gem::TestCase
|
|||
|
||||
refute stub.contains_requirable_file? 'nonexistent'
|
||||
|
||||
assert_path_exists stub.extension_install_dir
|
||||
assert_path_exists stub.extension_dir
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -78,7 +78,7 @@ class TestStubSpecification < Gem::TestCase
|
|||
stub = stub_with_extension
|
||||
|
||||
expected = [
|
||||
stub.extension_install_dir,
|
||||
stub.extension_dir,
|
||||
File.join(stub.full_gem_path, 'lib'),
|
||||
]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue