diff options
author | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-10-12 13:33:19 +0000 |
---|---|---|
committer | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-10-12 13:33:19 +0000 |
commit | 50454616565ed8c1565a90d1d0fa11c42adb3fdf (patch) | |
tree | 90212bc3ff02eb43276891dbf2055962bfaa489c /tool/gem-unpack.rb | |
parent | 67351ac6f503dfafb1aba0b6e4e3928f12c36b96 (diff) |
merge revision(s) 56399:
* 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/branches/ruby_2_3@56402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/gem-unpack.rb')
-rwxr-xr-x | tool/gem-unpack.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tool/gem-unpack.rb b/tool/gem-unpack.rb index 7f84126677..3a53dd50c8 100755 --- a/tool/gem-unpack.rb +++ b/tool/gem-unpack.rb @@ -2,10 +2,7 @@ require 'rubygems' require 'rubygems/package' 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 |