lib/rubygems: bump up RubyGems version to 2.6.12. [Backport #13842]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@59813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nagachika 2017-09-10 05:10:55 +00:00
parent 1069d3f18b
commit fd41a38470
17 changed files with 175 additions and 18 deletions

View file

@ -484,7 +484,7 @@ class Gem::TestCase < MiniTest::Unit::TestCase
system @git, 'add', gemspec
system @git, 'commit', '-a', '-m', 'a non-empty commit message', '--quiet'
head = Gem::Util.popen('git', 'rev-parse', 'master').strip
head = Gem::Util.popen(@git, 'rev-parse', 'master').strip
end
return name, git_spec.version, directory, head
@ -1498,6 +1498,8 @@ end
begin
gem 'rdoc'
require 'rdoc'
require 'rubygems/rdoc'
rescue LoadError, Gem::LoadError
end
@ -1514,3 +1516,4 @@ tmpdirs << (ENV['GEM_PATH'] = Dir.mktmpdir("path"))
pid = $$
END {tmpdirs.each {|dir| Dir.rmdir(dir)} if $$ == pid}
Gem.clear_paths
Gem.loaded_specs.clear