lib/bundler/endpoint_specification.rb in bundler-1.17.0.pre.1 vs lib/bundler/endpoint_specification.rb in bundler-1.17.0.pre.2
- 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 => e
+ rescue StandardError => 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)