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

ruby-changes:10152

From: yugui <ko1@a...>
Date: Tue, 20 Jan 2009 18:54:19 +0900 (JST)
Subject: [ruby-changes:10152] Ruby:r21696 (ruby_1_9_1): * lib/rdoc/ri/path.rb: Gem::Enable was removed.

yugui	2009-01-20 18:53:54 +0900 (Tue, 20 Jan 2009)

  New Revision: 21696

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

  Log:
    * lib/rdoc/ri/path.rb: Gem::Enable was removed.
      Use just defined?(Gem).
      And this prevents unexpected directory creation at
      installation. [ruby-core:20990]

  Modified files:
    branches/ruby_1_9_1/ChangeLog
    branches/ruby_1_9_1/lib/rdoc/ri/paths.rb

Index: ruby_1_9_1/ChangeLog
===================================================================
--- ruby_1_9_1/ChangeLog	(revision 21695)
+++ ruby_1_9_1/ChangeLog	(revision 21696)
@@ -1,3 +1,10 @@
+Tue Jan 20 18:49:59 2009  Yuki Sonoda (Yugui)  <yugui@y...>
+
+	* lib/rdoc/ri/path.rb: Gem::Enable was removed.
+	  Use just defined?(Gem).
+	  And this prevents unexpected directory creation at
+	  installation. [ruby-core:20990]
+
 Tue Jan 20 17:59:52 2009  Yuki Sonoda (Yugui)  <yugui@y...>
 
 	* Reverts r21598 and r21599 because the original behavior is
Index: ruby_1_9_1/lib/rdoc/ri/paths.rb
===================================================================
--- ruby_1_9_1/lib/rdoc/ri/paths.rb	(revision 21695)
+++ ruby_1_9_1/lib/rdoc/ri/paths.rb	(revision 21696)
@@ -40,8 +40,7 @@
   end
 
   begin
-    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/

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