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
|
@ -194,12 +194,12 @@ class TestGemSourceGit < Gem::TestCase
|
|||
assert_equal File.join(source.install_dir, 'a.gemspec'), a_spec.loaded_from
|
||||
assert_equal base_dir, a_spec.base_dir
|
||||
|
||||
extension_install_dir =
|
||||
extension_dir =
|
||||
File.join Gem.dir, 'bundler', 'extensions',
|
||||
Gem::Platform.local.to_s, Gem.extension_api_version,
|
||||
"a-#{source.dir_shortref}"
|
||||
|
||||
assert_equal extension_install_dir, a_spec.extension_install_dir
|
||||
assert_equal extension_dir, a_spec.extension_dir
|
||||
|
||||
b_spec = specs.shift
|
||||
|
||||
|
@ -208,7 +208,7 @@ class TestGemSourceGit < Gem::TestCase
|
|||
b_spec.loaded_from
|
||||
assert_equal base_dir, b_spec.base_dir
|
||||
|
||||
assert_equal extension_install_dir, b_spec.extension_install_dir
|
||||
assert_equal extension_dir, b_spec.extension_dir
|
||||
end
|
||||
|
||||
def test_uri_hash
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue