diff options
author | Masataka Pocke Kuwabara <kuwabara@pocke.me> | 2021-10-03 01:30:55 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-10-09 08:04:08 +0900 |
commit | d03d122ba1851156c93ea21a9006a7d921ad073e (patch) | |
tree | dbb58bee14392eb71c1341d45af7d90bfcf7b127 /test/rubygems | |
parent | ad92651d6428d59b7f4dbee7014f4d1127bbdbe8 (diff) |
[rubygems/rubygems] Improve performance of Specification#missing_extensions?
https://github.com/rubygems/rubygems/commit/90c1919f94
Diffstat (limited to 'test/rubygems')
-rw-r--r-- | test/rubygems/helper.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/rubygems/helper.rb b/test/rubygems/helper.rb index 812142f7d2..320f97e6c3 100644 --- a/test/rubygems/helper.rb +++ b/test/rubygems/helper.rb @@ -396,6 +396,7 @@ class Gem::TestCase < Test::Unit::TestCase ENV['GEM_PRIVATE_KEY_PASSPHRASE'] = PRIVATE_KEY_PASSPHRASE + Gem.instance_variable_set(:@default_specifications_dir, nil) if Gem.java_platform? @orig_default_gem_home = RbConfig::CONFIG['default_gem_home'] RbConfig::CONFIG['default_gem_home'] = @gemhome @@ -479,6 +480,7 @@ class Gem::TestCase < Test::Unit::TestCase RbConfig::CONFIG['bindir'] = @orig_bindir + Gem.instance_variable_set :@default_specifications_dir, nil if Gem.java_platform? RbConfig::CONFIG['default_gem_home'] = @orig_default_gem_home else |