* tool/downloader.rb (RubyGems.download): follow the change of the
rubygems ssl_certs directory tree introduced by previous commit. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
373a7006dd
commit
3f1fc5e42b
@ -1,3 +1,8 @@
|
|||||||
|
Wed Apr 6 17:38:42 2016 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
|
* tool/downloader.rb (RubyGems.download): follow the change of the
|
||||||
|
rubygems ssl_certs directory tree introduced by previous commit.
|
||||||
|
|
||||||
Wed Apr 6 15:00:27 2016 SHIBATA Hiroshi <hsbt@ruby-lang.org>
|
Wed Apr 6 15:00:27 2016 SHIBATA Hiroshi <hsbt@ruby-lang.org>
|
||||||
|
|
||||||
* lib/rubygems.rb, lib/rubygems/*, test/rubygems/*: Update rubygems-2.6.3.
|
* lib/rubygems.rb, lib/rubygems/*, test/rubygems/*: Update rubygems-2.6.3.
|
||||||
|
@ -57,7 +57,7 @@ class Downloader
|
|||||||
def self.download(name, dir = nil, since = true, options = {})
|
def self.download(name, dir = nil, since = true, options = {})
|
||||||
require 'rubygems'
|
require 'rubygems'
|
||||||
require 'rubygems/package'
|
require 'rubygems/package'
|
||||||
options[:ssl_ca_cert] = Dir.glob(File.expand_path("../lib/rubygems/ssl_certs/*.pem", File.dirname(__FILE__)))
|
options[:ssl_ca_cert] = Dir.glob(File.expand_path("../lib/rubygems/ssl_certs/**/*.pem", File.dirname(__FILE__)))
|
||||||
file = under(dir, name)
|
file = under(dir, name)
|
||||||
super("https://rubygems.org/downloads/#{name}", file, nil, since, options) or
|
super("https://rubygems.org/downloads/#{name}", file, nil, since, options) or
|
||||||
return false
|
return false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user