ruby-changes:37378
From: usa <ko1@a...>
Date: Sat, 31 Jan 2015 20:40:56 +0900 (JST)
Subject: [ruby-changes:37378] usa:r49459 (trunk): * tool/downloader.rb (Downloader::RubyGems.download): Gem::Security::*#ui= is
usa 2015-01-31 20:40:43 +0900 (Sat, 31 Jan 2015) New Revision: 49459 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=49459 Log: * tool/downloader.rb (Downloader::RubyGems.download): Gem::Security::*#ui= is very new feature. Modified files: trunk/tool/downloader.rb Index: tool/downloader.rb =================================================================== --- tool/downloader.rb (revision 49458) +++ tool/downloader.rb (revision 49459) @@ -48,7 +48,7 @@ class Downloader https://github.com/ruby/ruby/blob/trunk/tool/downloader.rb#L48 super("#{$rubygems_schema}://rubygems.org/downloads/#{name}", file, nil, ims, options) or return false policy = Gem::Security::LowSecurity - (policy = policy.dup).ui = Gem::SilentUI.new + (policy = policy.dup).ui = Gem::SilentUI.new if policy.respond_to?(:'ui=') pkg = Gem::Package.new(file) pkg.security_policy = policy begin -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/