ruby-changes:62456
From: David <ko1@a...>
Date: Fri, 31 Jul 2020 21:08:25 +0900 (JST)
Subject: [ruby-changes:62456] b84b4e8bfa (master): [rubygems/rubygems] Remove unnecessary stuff
https://git.ruby-lang.org/ruby.git/commit/?id=b84b4e8bfa From b84b4e8bfac71842f795985bea814575f0a1eccb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...> Date: Sat, 11 Jul 2020 10:04:39 +0200 Subject: [rubygems/rubygems] Remove unnecessary stuff The `rubygems/security` require already does this. https://github.com/rubygems/rubygems/commit/bbb444b6f1 diff --git a/lib/rubygems/commands/cert_command.rb b/lib/rubygems/commands/cert_command.rb index 837cb95..e5355d3 100644 --- a/lib/rubygems/commands/cert_command.rb +++ b/lib/rubygems/commands/cert_command.rb @@ -1,12 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/lib/rubygems/commands/cert_command.rb#L1 # frozen_string_literal: true require 'rubygems/command' require 'rubygems/security' -begin - require 'openssl' -rescue LoadError => e - raise unless (e.respond_to?(:path) && e.path == 'openssl') || - e.message =~ / -- openssl$/ -end class Gem::Commands::CertCommand < Gem::Command def initialize -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/