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

ruby-changes:71756

From: David <ko1@a...>
Date: Sat, 16 Apr 2022 22:58:53 +0900 (JST)
Subject: [ruby-changes:71756] 9a20bcd5c8 (master): [rubygems/rubygems] I don't think this is necessary

https://git.ruby-lang.org/ruby.git/commit/?id=9a20bcd5c8

From 9a20bcd5c8b5e5114783febc5168506972b1c234 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...>
Date: Sat, 16 Apr 2022 13:52:40 +0200
Subject: [rubygems/rubygems] I don't think this is necessary

https://github.com/rubygems/rubygems/commit/836f3e5aa5
---
 lib/rubygems/installer.rb | 2 --
 1 file changed, 2 deletions(-)

diff --git a/lib/rubygems/installer.rb b/lib/rubygems/installer.rb
index 4cda09f200..5c1674f2e8 100644
--- a/lib/rubygems/installer.rb
+++ b/lib/rubygems/installer.rb
@@ -285,8 +285,6 @@ class Gem::Installer https://github.com/ruby/ruby/blob/trunk/lib/rubygems/installer.rb#L285
 
   def spec
     @package.spec
-  rescue Gem::Package::Error => e
-    raise Gem::InstallError, "invalid gem: #{e.message}"
   end
 
   ##
-- 
cgit v1.2.1


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

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