ruby-changes:66188
From: Hiroshi <ko1@a...>
Date: Wed, 12 May 2021 17:25:29 +0900 (JST)
Subject: [ruby-changes:66188] 655727ee1b (master): [rubygems/rubygems] Added comment for Minitest::Mock
https://git.ruby-lang.org/ruby.git/commit/?id=655727ee1b From 655727ee1b9e5fa2f0e1c6e6ad2b12a596c0c4b6 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA <hsbt@r...> Date: Tue, 11 May 2021 18:31:47 +0900 Subject: [rubygems/rubygems] Added comment for Minitest::Mock https://github.com/rubygems/rubygems/commit/ae44b68d57 --- lib/rubygems/test_case.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/rubygems/test_case.rb b/lib/rubygems/test_case.rb index 1278aa2..592f597 100644 --- a/lib/rubygems/test_case.rb +++ b/lib/rubygems/test_case.rb @@ -1557,6 +1557,7 @@ Also, a list: https://github.com/ruby/ruby/blob/trunk/lib/rubygems/test_case.rb#L1557 end if Gem::HAVE_OPENSSL end +# https://github.com/seattlerb/minitest/blob/master/lib/minitest/mock.rb#L192 class Object def stub(name, val_or_callable, *block_args) new_name = "__minitest_stub__#{name}" -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/