diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-06 02:58:35 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-06 02:58:35 +0000 |
commit | 7112c6a1c15b26eebf0c020dfee7abd30eebde2d (patch) | |
tree | 16e0369e6aa7aee5bbbf79ba3d5ceacb53084534 /test/rubygems/test_gem_commands_push_command.rb | |
parent | eb537609ba0de060c6633dc3e7dd9ba5e85c6d1b (diff) | |
download | ruby-7112c6a1c15b26eebf0c020dfee7abd30eebde2d.tar.gz |
Merge RubyGems-2.7.5 from upstream.
Please see its details: http://blog.rubygems.org/2018/02/06/2.7.5-released.html
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rubygems/test_gem_commands_push_command.rb')
-rw-r--r-- | test/rubygems/test_gem_commands_push_command.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/rubygems/test_gem_commands_push_command.rb b/test/rubygems/test_gem_commands_push_command.rb index b888a741f0..1c5dbfe23e 100644 --- a/test/rubygems/test_gem_commands_push_command.rb +++ b/test/rubygems/test_gem_commands_push_command.rb @@ -132,7 +132,7 @@ class TestGemCommandsPushCommand < Gem::TestCase } FileUtils.mkdir_p File.dirname Gem.configuration.credentials_path - open Gem.configuration.credentials_path, 'w' do |f| + File.open Gem.configuration.credentials_path, 'w' do |f| f.write keys.to_yaml end Gem.configuration.load_api_keys @@ -166,7 +166,7 @@ class TestGemCommandsPushCommand < Gem::TestCase } FileUtils.mkdir_p File.dirname Gem.configuration.credentials_path - open Gem.configuration.credentials_path, 'w' do |f| + File.open Gem.configuration.credentials_path, 'w' do |f| f.write keys.to_yaml end Gem.configuration.load_api_keys @@ -193,7 +193,7 @@ class TestGemCommandsPushCommand < Gem::TestCase } FileUtils.mkdir_p File.dirname Gem.configuration.credentials_path - open Gem.configuration.credentials_path, 'w' do |f| + File.open Gem.configuration.credentials_path, 'w' do |f| f.write keys.to_yaml end Gem.configuration.load_api_keys @@ -235,7 +235,7 @@ class TestGemCommandsPushCommand < Gem::TestCase } FileUtils.mkdir_p File.dirname Gem.configuration.credentials_path - open Gem.configuration.credentials_path, 'w' do |f| + File.open Gem.configuration.credentials_path, 'w' do |f| f.write keys.to_yaml end Gem.configuration.load_api_keys @@ -266,7 +266,7 @@ class TestGemCommandsPushCommand < Gem::TestCase } FileUtils.mkdir_p File.dirname Gem.configuration.credentials_path - open Gem.configuration.credentials_path, 'w' do |f| + File.open Gem.configuration.credentials_path, 'w' do |f| f.write keys.to_yaml end Gem.configuration.load_api_keys |