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

ruby-changes:45929

From: naruse <ko1@a...>
Date: Fri, 17 Mar 2017 13:44:19 +0900 (JST)
Subject: [ruby-changes:45929] naruse:r58002 (ruby_2_4): merge revision(s) 57956:

naruse	2017-03-17 13:44:13 +0900 (Fri, 17 Mar 2017)

  New Revision: 58002

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

  Log:
    merge revision(s) 57956:
    
    Raise error if spec is nil
    
    With parallel test-all, the spec is sometimes nil.
    To debug it raise more detailed error.

  Modified directories:
    branches/ruby_2_4/
  Modified files:
    branches/ruby_2_4/lib/rubygems/specification.rb
    branches/ruby_2_4/version.h
Index: ruby_2_4/version.h
===================================================================
--- ruby_2_4/version.h	(revision 58001)
+++ ruby_2_4/version.h	(revision 58002)
@@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_4/version.h#L1
 #define RUBY_VERSION "2.4.0"
 #define RUBY_RELEASE_DATE "2017-03-17"
-#define RUBY_PATCHLEVEL 103
+#define RUBY_PATCHLEVEL 104
 
 #define RUBY_RELEASE_YEAR 2017
 #define RUBY_RELEASE_MONTH 3
Index: ruby_2_4/lib/rubygems/specification.rb
===================================================================
--- ruby_2_4/lib/rubygems/specification.rb	(revision 58001)
+++ ruby_2_4/lib/rubygems/specification.rb	(revision 58002)
@@ -1128,6 +1128,9 @@ class Gem::Specification < Gem::BasicSpe https://github.com/ruby/ruby/blob/trunk/ruby_2_4/lib/rubygems/specification.rb#L1128
     native = {}
 
     specs.reverse_each do |spec|
+      unless spec
+        raise Gem::Exception, "unexpectedly spec is nil: #{specs}"
+      end
       next if spec.version.prerelease? unless prerelease
 
       native[spec.name] = spec.version if spec.platform == Gem::Platform::RUBY

Property changes on: ruby_2_4
___________________________________________________________________
Modified: svn:mergeinfo
   Merged /trunk:r57956


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

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