mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Merge RubyGems-2.7.5 from upstream.
Please see its details: http://blog.rubygems.org/2018/02/06/2.7.5-released.html git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
eb537609ba
commit
7112c6a1c1
50 changed files with 252 additions and 175 deletions
|
@ -94,7 +94,7 @@ command help for an example.
|
|||
|
||||
spec_file = File.basename spec.spec_file
|
||||
|
||||
open spec_file, 'w' do |io|
|
||||
File.open spec_file, 'w' do |io|
|
||||
io.write metadata
|
||||
end
|
||||
else
|
||||
|
@ -176,7 +176,7 @@ command help for an example.
|
|||
|
||||
metadata = nil
|
||||
|
||||
open path, Gem.binary_mode do |io|
|
||||
File.open path, Gem.binary_mode do |io|
|
||||
tar = Gem::Package::TarReader.new io
|
||||
tar.each_entry do |entry|
|
||||
case entry.full_name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue