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

ruby-changes:66321

From: David <ko1@a...>
Date: Fri, 28 May 2021 12:17:48 +0900 (JST)
Subject: [ruby-changes:66321] 4fb3dd2c42 (master): [rubygems/rubygems] Remove no longer relevant comments

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

From 4fb3dd2c42a707a6298971991eb7eef23e415a20 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...>
Date: Wed, 12 May 2021 11:43:01 +0200
Subject: =?UTF-8?q?[rubygems/rubygems]=20Remove=20no=20longer=20relevant?=
 =?UTF-8?q?=20comments=C2=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

https://github.com/rubygems/rubygems/commit/8dfe1e30b5
---
 test/rubygems/test_case.rb      | 15 +++++----------
 test/rubygems/test_utilities.rb |  2 --
 2 files changed, 5 insertions(+), 12 deletions(-)

diff --git a/test/rubygems/test_case.rb b/test/rubygems/test_case.rb
index c1baa67..857c7d7 100644
--- a/test/rubygems/test_case.rb
+++ b/test/rubygems/test_case.rb
@@ -52,32 +52,28 @@ require 'rubygems/mock_gem_ui' https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_case.rb#L52
 module Gem
 
   ##
-  # Allows setting the gem path searcher.  This method is available when
-  # requiring 'rubygems/test_case'
+  # Allows setting the gem path searcher.
 
   def self.searcher=(searcher)
     @searcher = searcher
   end
 
   ##
-  # Allows toggling Windows behavior.  This method is available when requiring
-  # 'rubygems/test_case'
+  # Allows toggling Windows behavior.
 
   def self.win_platform=(val)
     @@win_platform = val
   end
 
   ##
-  # Allows setting path to Ruby.  This method is available when requiring
-  # 'rubygems/test_case'
+  # Allows setting path to Ruby.
 
   def self.ruby=(ruby)
     @ruby = ruby
   end
 
   ##
-  # When rubygems/test_case is required the default user interaction is a
-  # MockGemUi.
+  # Sets the default user interaction to a MockGemUi.
 
   module DefaultUserInteraction
     @ui = Gem::MockGemUi.new
@@ -88,8 +84,7 @@ require "rubygems/command" https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_case.rb#L84
 
 class Gem::Command
   ##
-  # Allows resetting the hash of specific args per command.  This method is
-  # available when requiring 'rubygems/test_case'
+  # Allows resetting the hash of specific args per command.
 
   def self.specific_extra_args_hash=(value)
     @specific_extra_args_hash = value
diff --git a/test/rubygems/test_utilities.rb b/test/rubygems/test_utilities.rb
index 08faef6..20416fe 100644
--- a/test/rubygems/test_utilities.rb
+++ b/test/rubygems/test_utilities.rb
@@ -348,8 +348,6 @@ end https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_utilities.rb#L348
 # A StringIO duck-typed class that uses Tempfile instead of String as the
 # backing store.
 #
-# This is available when rubygems/test_utilities is required.
-#--
 # This class was added to flush out problems in Rubinius' IO implementation.
 
 class TempIO < Tempfile
-- 
cgit v1.1


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

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