From b84b4e8bfac71842f795985bea814575f0a1eccb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Sat, 11 Jul 2020 10:04:39 +0200 Subject: [PATCH] [rubygems/rubygems] Remove unnecessary stuff The `rubygems/security` require already does this. https://github.com/rubygems/rubygems/commit/bbb444b6f1 --- lib/rubygems/commands/cert_command.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/rubygems/commands/cert_command.rb b/lib/rubygems/commands/cert_command.rb index 837cb9526f..e5355d3652 100644 --- a/lib/rubygems/commands/cert_command.rb +++ b/lib/rubygems/commands/cert_command.rb @@ -1,12 +1,6 @@ # 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