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

ruby-changes:26880

From: drbrain <ko1@a...>
Date: Fri, 25 Jan 2013 10:06:11 +0900 (JST)
Subject: [ruby-changes:26880] drbrain:r38932 (trunk): * lib/rubygems/compatibility.rb: Hide compatibility shims from RDoc

drbrain	2013-01-25 10:04:18 +0900 (Fri, 25 Jan 2013)

  New Revision: 38932

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

  Log:
    * lib/rubygems/compatibility.rb:  Hide compatibility shims from RDoc
    
    * lib/rubygems/config_file.rb:  Hide RbConfig use from RDoc
    
    * lib/rubygems/test_case.rb:  Added note to use realpath when 1.8
      support is dropped.

  Modified files:
    trunk/ChangeLog
    trunk/lib/rubygems/compatibility.rb
    trunk/lib/rubygems/config_file.rb
    trunk/lib/rubygems/test_case.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 38931)
+++ ChangeLog	(revision 38932)
@@ -1,3 +1,12 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri Jan 25 10:04:07 2013  Eric Hodel  <drbrain@s...>
+
+	* lib/rubygems/compatibility.rb:  Hide compatibility shims from RDoc
+
+	* lib/rubygems/config_file.rb:  Hide RbConfig use from RDoc
+
+	* lib/rubygems/test_case.rb:  Added note to use realpath when 1.8
+	  support is dropped.
+
 Fri Jan 25 09:14:43 2013  Eric Hodel  <drbrain@s...>
 
 	* lib/rdoc/generator/darkfish.rb:  Fixed debug message.  RDoc bug #174
Index: lib/rubygems/config_file.rb
===================================================================
--- lib/rubygems/config_file.rb	(revision 38931)
+++ lib/rubygems/config_file.rb	(revision 38932)
@@ -50,6 +50,8 @@ class Gem::ConfigFile https://github.com/ruby/ruby/blob/trunk/lib/rubygems/config_file.rb#L50
 
   PLATFORM_DEFAULTS = {}
 
+  # :stopdoc:
+
   system_config_path =
     begin
       require "etc"
@@ -77,6 +79,8 @@ class Gem::ConfigFile https://github.com/ruby/ruby/blob/trunk/lib/rubygems/config_file.rb#L79
       end
     end
 
+  # :startdoc:
+
   SYSTEM_WIDE_CONFIG_FILE = File.join system_config_path, 'gemrc'
 
   ##
Index: lib/rubygems/compatibility.rb
===================================================================
--- lib/rubygems/compatibility.rb	(revision 38931)
+++ lib/rubygems/compatibility.rb	(revision 38932)
@@ -1,3 +1,5 @@ https://github.com/ruby/ruby/blob/trunk/lib/rubygems/compatibility.rb#L1
+# :stopdoc:
+
 # This file contains all sorts of little compatibility hacks that we've
 # had to introduce over the years. Quarantining them into one file helps
 # us know when we can get rid of them.
Index: lib/rubygems/test_case.rb
===================================================================
--- lib/rubygems/test_case.rb	(revision 38931)
+++ lib/rubygems/test_case.rb	(revision 38932)
@@ -133,6 +133,8 @@ class Gem::TestCase < MiniTest::Unit::Te https://github.com/ruby/ruby/blob/trunk/lib/rubygems/test_case.rb#L133
     # This makes the tempdir consistent on OS X.
     # File.expand_path Dir.tmpdir                      #=> "/var/..."
     # Dir.chdir Dir.tmpdir do File.expand_path '.' end #=> "/private/var/..."
+    # TODO use File#realpath above instead of #expand_path once 1.8 support is
+    # dropped.
     Dir.chdir @tempdir do
       @tempdir = File.expand_path '.'
       @tempdir.untaint

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

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