diff options
author | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-09-25 22:28:53 +0000 |
---|---|---|
committer | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-09-25 22:28:53 +0000 |
commit | 6e7268733dd8eb81f30ba3901b49a09f2891b888 (patch) | |
tree | be4c0c6ff6abde3e79d26c99a8629366d952fe34 /tool | |
parent | d45d826f94fcc41d3ff351087631c4a0be2bcf18 (diff) |
* tool/gem-unpack.rb: don't set security policy.
workaround for certificate expiration of minitest-5.8.3.gem.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@56244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rwxr-xr-x | tool/gem-unpack.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tool/gem-unpack.rb b/tool/gem-unpack.rb index 7f84126677..69c9b45a85 100755 --- a/tool/gem-unpack.rb +++ b/tool/gem-unpack.rb @@ -2,10 +2,10 @@ require 'rubygems' require 'rubygems/package' def Gem.unpack(file, dir = nil) - policy = Gem::Security::LowSecurity - (policy = policy.dup).ui = Gem::SilentUI.new + #policy = Gem::Security::LowSecurity + #(policy = policy.dup).ui = Gem::SilentUI.new pkg = Gem::Package.new(file) - pkg.security_policy = policy + #pkg.security_policy = policy spec = pkg.spec target = spec.full_name target = File.join(dir, target) if dir |