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

ruby-changes:44171

From: nagachika <ko1@a...>
Date: Mon, 26 Sep 2016 07:29:24 +0900 (JST)
Subject: [ruby-changes:44171] nagachika:r56244 (ruby_2_3): * tool/gem-unpack.rb: don't set security policy.

nagachika	2016-09-26 07:28:53 +0900 (Mon, 26 Sep 2016)

  New Revision: 56244

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

  Log:
    * tool/gem-unpack.rb: don't set security policy.
      workaround for certificate expiration of minitest-5.8.3.gem.

  Modified files:
    branches/ruby_2_3/ChangeLog
    branches/ruby_2_3/tool/gem-unpack.rb
    branches/ruby_2_3/version.h
Index: ruby_2_3/version.h
===================================================================
--- ruby_2_3/version.h	(revision 56243)
+++ ruby_2_3/version.h	(revision 56244)
@@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_3/version.h#L1
 #define RUBY_VERSION "2.3.2"
 #define RUBY_RELEASE_DATE "2016-09-26"
-#define RUBY_PATCHLEVEL 187
+#define RUBY_PATCHLEVEL 188
 
 #define RUBY_RELEASE_YEAR 2016
 #define RUBY_RELEASE_MONTH 9
Index: ruby_2_3/ChangeLog
===================================================================
--- ruby_2_3/ChangeLog	(revision 56243)
+++ ruby_2_3/ChangeLog	(revision 56244)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_3/ChangeLog#L1
+Mon Sep 26 07:26:44 2016  CHIKANAGA Tomoyuki  <nagachika@r...>
+
+	* tool/gem-unpack.rb: don't set security policy.
+	  workaround for certificate expiration of minitest-5.8.3.gem.
+
 Mon Sep 26 06:33:16 2016  Aaron Patterson <tenderlove@r...>
 
 	* lib/uri/generic.rb (def check_password): don't include bad password
Index: ruby_2_3/tool/gem-unpack.rb
===================================================================
--- ruby_2_3/tool/gem-unpack.rb	(revision 56243)
+++ ruby_2_3/tool/gem-unpack.rb	(revision 56244)
@@ -2,10 +2,10 @@ require 'rubygems' https://github.com/ruby/ruby/blob/trunk/ruby_2_3/tool/gem-unpack.rb#L2
 require 'rubygems/package'
 
 def Gem.unpack(file, dir = nil)
-  policy = Gem::Security::LowSecurity
-  (policy = policy.dup).ui = Gem::SilentUI.new
+  #policy = Gem::Security::LowSecurity
+  #(policy = policy.dup).ui = Gem::SilentUI.new
   pkg = Gem::Package.new(file)
-  pkg.security_policy = policy
+  #pkg.security_policy = policy
   spec = pkg.spec
   target = spec.full_name
   target = File.join(dir, target) if dir

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

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