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

ruby-changes:21033

From: ryan <ko1@a...>
Date: Sat, 27 Aug 2011 06:48:06 +0900 (JST)
Subject: [ruby-changes:21033] ryan:r33082 (trunk): Added gem activation for minitest/autoload to help users keep current

ryan	2011-08-27 06:45:02 +0900 (Sat, 27 Aug 2011)

  New Revision: 33082

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

  Log:
    Added gem activation for minitest/autoload to help users keep current

  Modified files:
    trunk/lib/minitest/autorun.rb

Index: lib/minitest/autorun.rb
===================================================================
--- lib/minitest/autorun.rb	(revision 33081)
+++ lib/minitest/autorun.rb	(revision 33082)
@@ -4,6 +4,12 @@
 # File a patch instead and assign it to Ryan Davis.
 ######################################################################
 
+begin
+  gem 'minitest'
+rescue Gem::LoadError
+  # do nothing
+end
+
 require 'minitest/unit'
 require 'minitest/spec'
 require 'minitest/mock'

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

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