[前][次][番号順一覧][スレッド一覧]

ruby-changes:42428

From: usa <ko1@a...>
Date: Wed, 6 Apr 2016 16:43:27 +0900 (JST)
Subject: [ruby-changes:42428] usa:r54502 (trunk): * tool/downloader.rb (RubyGems.download): follow the change of the

usa	2016-04-06 17:40:02 +0900 (Wed, 06 Apr 2016)

  New Revision: 54502

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54502

  Log:
    * tool/downloader.rb (RubyGems.download): follow the change of the
      rubygems ssl_certs directory tree introduced by previous commit.

  Modified files:
    trunk/ChangeLog
    trunk/tool/downloader.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 54501)
+++ ChangeLog	(revision 54502)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Wed Apr  6 17:38:42 2016  NAKAMURA Usaku  <usa@r...>
+
+	* 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@r...>
 
 	* lib/rubygems.rb, lib/rubygems/*, test/rubygems/*: Update rubygems-2.6.3.
Index: tool/downloader.rb
===================================================================
--- tool/downloader.rb	(revision 54501)
+++ tool/downloader.rb	(revision 54502)
@@ -57,7 +57,7 @@ class Downloader https://github.com/ruby/ruby/blob/trunk/tool/downloader.rb#L57
     def self.download(name, dir = nil, since = true, options = {})
       require 'rubygems'
       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)
       super("https://rubygems.org/downloads/#{name}", file, nil, since, options) or
         return false

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]