* 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. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e2d341d9e5
commit
5e3ebde7c8
@ -1,3 +1,12 @@
|
|||||||
|
Fri Jan 25 10:04:07 2013 Eric Hodel <drbrain@segment7.net>
|
||||||
|
|
||||||
|
* 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@segment7.net>
|
Fri Jan 25 09:14:43 2013 Eric Hodel <drbrain@segment7.net>
|
||||||
|
|
||||||
* lib/rdoc/generator/darkfish.rb: Fixed debug message. RDoc bug #174
|
* lib/rdoc/generator/darkfish.rb: Fixed debug message. RDoc bug #174
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
# :stopdoc:
|
||||||
|
|
||||||
# This file contains all sorts of little compatibility hacks that we've
|
# This file contains all sorts of little compatibility hacks that we've
|
||||||
# had to introduce over the years. Quarantining them into one file helps
|
# had to introduce over the years. Quarantining them into one file helps
|
||||||
# us know when we can get rid of them.
|
# us know when we can get rid of them.
|
||||||
|
@ -50,6 +50,8 @@ class Gem::ConfigFile
|
|||||||
|
|
||||||
PLATFORM_DEFAULTS = {}
|
PLATFORM_DEFAULTS = {}
|
||||||
|
|
||||||
|
# :stopdoc:
|
||||||
|
|
||||||
system_config_path =
|
system_config_path =
|
||||||
begin
|
begin
|
||||||
require "etc"
|
require "etc"
|
||||||
@ -77,6 +79,8 @@ class Gem::ConfigFile
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# :startdoc:
|
||||||
|
|
||||||
SYSTEM_WIDE_CONFIG_FILE = File.join system_config_path, 'gemrc'
|
SYSTEM_WIDE_CONFIG_FILE = File.join system_config_path, 'gemrc'
|
||||||
|
|
||||||
##
|
##
|
||||||
|
@ -133,6 +133,8 @@ class Gem::TestCase < MiniTest::Unit::TestCase
|
|||||||
# This makes the tempdir consistent on OS X.
|
# This makes the tempdir consistent on OS X.
|
||||||
# File.expand_path Dir.tmpdir #=> "/var/..."
|
# File.expand_path Dir.tmpdir #=> "/var/..."
|
||||||
# Dir.chdir Dir.tmpdir do File.expand_path '.' end #=> "/private/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
|
Dir.chdir @tempdir do
|
||||||
@tempdir = File.expand_path '.'
|
@tempdir = File.expand_path '.'
|
||||||
@tempdir.untaint
|
@tempdir.untaint
|
||||||
|
Loading…
x
Reference in New Issue
Block a user