ruby-changes:62466
From: David <ko1@a...>
Date: Fri, 31 Jul 2020 21:08:35 +0900 (JST)
Subject: [ruby-changes:62466] 6b14249c98 (master): [rubygems/rubygems] In the rubies we support `Exception#path` is always there
https://git.ruby-lang.org/ruby.git/commit/?id=6b14249c98 From 6b14249c9817b7afdad57de8b444c2ee4f42cd30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...> Date: Mon, 29 Jun 2020 18:40:34 +0200 Subject: [rubygems/rubygems] In the rubies we support `Exception#path` is always there https://github.com/rubygems/rubygems/commit/babf943144 diff --git a/lib/rubygems/security.rb b/lib/rubygems/security.rb index 93bc658..5c67bf5 100644 --- a/lib/rubygems/security.rb +++ b/lib/rubygems/security.rb @@ -11,8 +11,7 @@ require 'fileutils' https://github.com/ruby/ruby/blob/trunk/lib/rubygems/security.rb#L11 begin require 'openssl' rescue LoadError => e - raise unless (e.respond_to?(:path) && e.path == 'openssl') || - e.message =~ / -- openssl$/ + raise unless e.path == 'openssl' end ## -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/