[rubygems/rubygems] There is no usage of @orig_env_* variables in test suite.
https://github.com/rubygems/rubygems/commit/2adef51dc9
This commit is contained in:
parent
a3c0ea55f8
commit
d1806bd8da
@ -307,7 +307,6 @@ class Gem::TestCase < (defined?(Minitest::Test) ? Minitest::Test : MiniTest::Uni
|
||||
|
||||
Dir.chdir @tempdir
|
||||
|
||||
@orig_ENV_HOME = ENV['HOME']
|
||||
ENV['HOME'] = @userhome
|
||||
Gem.instance_variable_set :@user_home, nil
|
||||
Gem.instance_variable_set :@gemdeps, nil
|
||||
@ -318,7 +317,6 @@ class Gem::TestCase < (defined?(Minitest::Test) ? Minitest::Test : MiniTest::Uni
|
||||
FileUtils.mkdir_p @gemhome
|
||||
FileUtils.mkdir_p @userhome
|
||||
|
||||
@orig_gem_private_key_passphrase = ENV['GEM_PRIVATE_KEY_PASSPHRASE']
|
||||
ENV['GEM_PRIVATE_KEY_PASSPHRASE'] = PRIVATE_KEY_PASSPHRASE
|
||||
|
||||
@default_dir = File.join @tempdir, 'default'
|
||||
|
Loading…
x
Reference in New Issue
Block a user