lib/bundler/endpoint_specification.rb in bundler-1.16.6 vs lib/bundler/endpoint_specification.rb in bundler-1.17.0.pre.1
- old
+ new
@@ -121,10 +121,10 @@
@required_rubygems_version = Gem::Requirement.new(v)
when "ruby"
@required_ruby_version = Gem::Requirement.new(v)
end
end
- rescue StandardError => e
+ rescue => e
raise GemspecError, "There was an error parsing the metadata for the gem #{name} (#{version}): #{e.class}\n#{e}\nThe metadata was #{data.inspect}"
end
def build_dependency(name, requirements)
Gem::Dependency.new(name, requirements)