1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* tool/downloader.rb: support ruby 1.8.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2014-12-23 20:41:51 +00:00
parent 0f7e301fe1
commit 7a0676e8a5
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Wed Dec 24 05:40:52 2014 NARUSE, Yui <naruse@ruby-lang.org>
* tool/downloader.rb: support ruby 1.8.
Wed Dec 24 02:44:06 2014 NARUSE, Yui <naruse@ruby-lang.org> Wed Dec 24 02:44:06 2014 NARUSE, Yui <naruse@ruby-lang.org>
* lib/net/http/response.rb (Net::HTTPResponse): require one or more * lib/net/http/response.rb (Net::HTTPResponse): require one or more

View file

@ -9,7 +9,7 @@ class Downloader
class RubyGems < self class RubyGems < self
def self.download(name, *rest) def self.download(name, *rest)
super("https://rubygems.org/downloads/#{name}", name, *rest, ssl_ca_cert: Dir.glob(File.expand_path("../lib/rubygems/ssl_certs/*.pem", File.dirname(__FILE__)))) super("https://rubygems.org/downloads/#{name}", name, *rest, :ssl_ca_cert => Dir.glob(File.expand_path("../lib/rubygems/ssl_certs/*.pem", File.dirname(__FILE__))))
end end
end end