mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 16:44:01 +02:00
[rubygems/rubygems] There is no usage of @orig_env_* variables in test suite.
2adef51dc9
This commit is contained in:
parent
a3c0ea55f8
commit
d1806bd8da
1 changed files with 0 additions and 2 deletions
|
@ -307,7 +307,6 @@ class Gem::TestCase < (defined?(Minitest::Test) ? Minitest::Test : MiniTest::Uni
|
||||||
|
|
||||||
Dir.chdir @tempdir
|
Dir.chdir @tempdir
|
||||||
|
|
||||||
@orig_ENV_HOME = ENV['HOME']
|
|
||||||
ENV['HOME'] = @userhome
|
ENV['HOME'] = @userhome
|
||||||
Gem.instance_variable_set :@user_home, nil
|
Gem.instance_variable_set :@user_home, nil
|
||||||
Gem.instance_variable_set :@gemdeps, 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 @gemhome
|
||||||
FileUtils.mkdir_p @userhome
|
FileUtils.mkdir_p @userhome
|
||||||
|
|
||||||
@orig_gem_private_key_passphrase = ENV['GEM_PRIVATE_KEY_PASSPHRASE']
|
|
||||||
ENV['GEM_PRIVATE_KEY_PASSPHRASE'] = PRIVATE_KEY_PASSPHRASE
|
ENV['GEM_PRIVATE_KEY_PASSPHRASE'] = PRIVATE_KEY_PASSPHRASE
|
||||||
|
|
||||||
@default_dir = File.join @tempdir, 'default'
|
@default_dir = File.join @tempdir, 'default'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue