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

ruby-changes:15294

From: nobu <ko1@a...>
Date: Fri, 2 Apr 2010 13:59:47 +0900 (JST)
Subject: [ruby-changes:15294] Ruby:r27179 (trunk): * lib/rdoc/ri/paths.rb (RDoc::RI::Paths): Gem::Enable has been

nobu	2010-04-02 13:59:27 +0900 (Fri, 02 Apr 2010)

  New Revision: 27179

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

  Log:
    * lib/rdoc/ri/paths.rb (RDoc::RI::Paths): Gem::Enable has been
      obsolete.  reapplied r24599.

  Modified files:
    trunk/ChangeLog
    trunk/lib/rdoc/ri/paths.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 27178)
+++ ChangeLog	(revision 27179)
@@ -1,5 +1,8 @@
-Fri Apr  2 13:57:08 2010  Nobuyoshi Nakada  <nobu@r...>
+Fri Apr  2 13:59:17 2010  Nobuyoshi Nakada  <nobu@r...>
 
+	* lib/rdoc/ri/paths.rb (RDoc::RI::Paths): Gem::Enable has been
+	  obsolete.  reapplied r24599.
+
 	* lib/rdoc/ri/paths.rb: follows $ridir.  reapplied r23554.
 
 	* lib/rdoc/ri/paths.rb (RDoc::HOMEDIR): expand_path deals with
Index: lib/rdoc/ri/paths.rb
===================================================================
--- lib/rdoc/ri/paths.rb	(revision 27178)
+++ lib/rdoc/ri/paths.rb	(revision 27179)
@@ -54,8 +54,7 @@
   def self.gemdirs
     return @gemdirs if @gemdirs
 
-    require 'rubygems' unless defined?(Gem) and defined?(Gem::Enable) and
-                              Gem::Enable
+    require 'rubygems' unless defined?(Gem)
 
     # HACK dup'd from Gem.latest_partials and friends
     all_paths = []

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

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