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

ruby-changes:34493

From: hsbt <ko1@a...>
Date: Fri, 27 Jun 2014 15:33:06 +0900 (JST)
Subject: [ruby-changes:34493] hsbt:r46574 (trunk): * lib/rubygems/test_case.rb: rescue Gem::LoadError in Gem::TestCase.

hsbt	2014-06-27 15:32:59 +0900 (Fri, 27 Jun 2014)

  New Revision: 46574

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=46574

  Log:
    * lib/rubygems/test_case.rb: rescue Gem::LoadError in Gem::TestCase.
      because it's effected by removing minitest from stdlib.

  Modified files:
    trunk/ChangeLog
    trunk/lib/rubygems/test_case.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 46573)
+++ ChangeLog	(revision 46574)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri Jun 27 15:20:12 2014  SHIBATA Hiroshi  <shibata.hiroshi@g...>
+
+	* lib/rubygems/test_case.rb: rescue Gem::LoadError in Gem::TestCase.
+	  because it's effected by removing minitest from stdlib.
+
 Fri Jun 27 12:29:37 2014  SHIBATA Hiroshi  <shibata.hiroshi@g...>
 
 	* lib/rubygems/specification.rb: fixed broken condition caused
Index: lib/rubygems/test_case.rb
===================================================================
--- lib/rubygems/test_case.rb	(revision 46573)
+++ lib/rubygems/test_case.rb	(revision 46574)
@@ -2,7 +2,7 @@ https://github.com/ruby/ruby/blob/trunk/lib/rubygems/test_case.rb#L2
 
 begin
   gem 'minitest', '~> 4.0'
-rescue NoMethodError
+rescue NoMethodError, Gem::LoadError
   # for ruby tests
 end
 

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

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