mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* tool/downloader.rb: Removed verification of gem certification.
Because signed gem is not working on rubygems ecosystem. * tool/gem-unpack.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2db9a0db99
commit
2e5fffa7cf
3 changed files with 6 additions and 18 deletions
|
|
@ -5,10 +5,7 @@ require 'rubygems/package'
|
|||
# unpack bundled gem files.
|
||||
|
||||
def Gem.unpack(file, dir = nil)
|
||||
policy = Gem::Security::LowSecurity
|
||||
(policy = policy.dup).ui = Gem::SilentUI.new
|
||||
pkg = Gem::Package.new(file)
|
||||
pkg.security_policy = policy
|
||||
spec = pkg.spec
|
||||
target = spec.full_name
|
||||
target = File.join(dir, target) if dir
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue