diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-11-17 03:55:02 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-11-17 03:55:02 +0000 |
commit | d35a2bd4dfdb974ff741736ad27b420c40365515 (patch) | |
tree | 2a8542408af557908a28fba1df80c21ecf10f7aa /lib/rubygems/package | |
parent | 1133596e6ba77ddeb93552fc8274a3bbdd87e6f3 (diff) | |
download | ruby-d35a2bd4dfdb974ff741736ad27b420c40365515.tar.gz |
* lib/rubygems/*, test/rubygems/*: Update to RubyGems 2.4.4
master (2f6e42e).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rubygems/package')
-rw-r--r-- | lib/rubygems/package/old.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rubygems/package/old.rb b/lib/rubygems/package/old.rb index 65bcbb2283..d7b228d893 100644 --- a/lib/rubygems/package/old.rb +++ b/lib/rubygems/package/old.rb @@ -153,10 +153,10 @@ class Gem::Package::Old < Gem::Package begin @spec = Gem::Specification.from_yaml yaml - rescue yaml_error => e + rescue yaml_error raise Gem::Exception, "Failed to parse gem specification out of gem file" end - rescue ArgumentError => e + rescue ArgumentError raise Gem::Exception, "Failed to parse gem specification out of gem file" end |