diff options
-rw-r--r-- | lib/rubygems/specification.rb | 3 | ||||
-rw-r--r-- | version.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/lib/rubygems/specification.rb b/lib/rubygems/specification.rb index 5bbaec3911..a2f289d162 100644 --- a/lib/rubygems/specification.rb +++ b/lib/rubygems/specification.rb @@ -1128,6 +1128,9 @@ class Gem::Specification < Gem::BasicSpecification 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 @@ -1,6 +1,6 @@ #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 |