diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-12-23 20:41:51 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-12-23 20:41:51 +0000 |
commit | 7a0676e8a5fad060fa675b90f72b9dac391c8af7 (patch) | |
tree | 97b272cf6d15891cf01a0e32eac13bbfaf584e0f | |
parent | 0f7e301fe12cdab3084a9a9e8c46113f327b9332 (diff) |
* tool/downloader.rb: support ruby 1.8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | tool/downloader.rb | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -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> * lib/net/http/response.rb (Net::HTTPResponse): require one or more diff --git a/tool/downloader.rb b/tool/downloader.rb index 67c27522dc..19a5671598 100644 --- a/tool/downloader.rb +++ b/tool/downloader.rb @@ -9,7 +9,7 @@ class Downloader class RubyGems < self 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 |