diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-30 00:54:12 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-30 00:54:12 +0000 |
commit | e00d5437d1453f0ec4fbc980a81c15630624eb71 (patch) | |
tree | 07c1340a8c4ea3d0b7ae2f209866af85de089f27 /test/rubygems/test_gem_specification.rb | |
parent | f363bbdf1042562e40aaccbd1bdd7b783c096ff0 (diff) | |
download | ruby-e00d5437d1453f0ec4fbc980a81c15630624eb71.tar.gz |
* lib/rubygems: Update to RubyGems HEAD(60d7972).
this version contains pull requests number of #1343, #1356, #1357, #1363
at https://github.com/rubygems/rubygems/pulls
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rubygems/test_gem_specification.rb')
-rw-r--r-- | test/rubygems/test_gem_specification.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/rubygems/test_gem_specification.rb b/test/rubygems/test_gem_specification.rb index 0ada8db490..60f603361a 100644 --- a/test/rubygems/test_gem_specification.rb +++ b/test/rubygems/test_gem_specification.rb @@ -1724,6 +1724,8 @@ dependencies: [] class << Gem alias orig_default_ext_dir_for default_ext_dir_for + remove_method :default_ext_dir_for + def Gem.default_ext_dir_for(base_dir) 'elsewhere' end @@ -2033,6 +2035,8 @@ dependencies: [] def test_require_paths_default_ext_dir_for class << Gem send :alias_method, :orig_default_ext_dir_for, :default_ext_dir_for + + remove_method :default_ext_dir_for end def Gem.default_ext_dir_for base_dir |