[前][次][番号順一覧][スレッド一覧]

ruby-changes:61132

From: Hiroshi <ko1@a...>
Date: Fri, 8 May 2020 14:14:57 +0900 (JST)
Subject: [ruby-changes:61132] 4e436e605c (master): [rubygems/rubygems] Removed needless setup to clear credential

https://git.ruby-lang.org/ruby.git/commit/?id=4e436e605c

From 4e436e605c7d3dd853eaf72bd3ac45d84d1c48e6 Mon Sep 17 00:00:00 2001
From: Hiroshi SHIBATA <hsbt@r...>
Date: Wed, 29 Apr 2020 19:23:21 +0900
Subject: [rubygems/rubygems] Removed needless setup to clear credential

https://github.com/rubygems/rubygems/commit/4f694f4fb7

diff --git a/test/rubygems/test_gem_commands_signout_command.rb b/test/rubygems/test_gem_commands_signout_command.rb
index 9a47daf..2bb782e 100644
--- a/test/rubygems/test_gem_commands_signout_command.rb
+++ b/test/rubygems/test_gem_commands_signout_command.rb
@@ -8,7 +8,7 @@ class TestGemCommandsSignoutCommand < Gem::TestCase https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_gem_commands_signout_command.rb#L8
 
   def setup
     super
-    File.delete Gem.configuration.credentials_path if File.exist?(Gem.configuration.credentials_path)
+
     @cmd = Gem::Commands::SignoutCommand.new
   end
 
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]