aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rubygems/remote_fetcher.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-06-04 10:40:30 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-07-31 07:47:02 +0800
commit497efa0ec924b5124309b99a5c5b8f848fc5a632 (patch)
tree1e103a1f0bef42f553138b980aeced8b1315f393 /lib/rubygems/remote_fetcher.rb
parent0817d95714bc73cef7a4eb6cdfc50a1c5ea4a6c1 (diff)
downloadruby-497efa0ec924b5124309b99a5c5b8f848fc5a632.tar.gz
[rubygems/rubygems] Enable `Layout/AlignArray` cop
https://github.com/rubygems/rubygems/commit/1ea674d8f7
Diffstat (limited to 'lib/rubygems/remote_fetcher.rb')
-rw-r--r--lib/rubygems/remote_fetcher.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/remote_fetcher.rb b/lib/rubygems/remote_fetcher.rb
index b8cb9f9294..c399cc9d95 100644
--- a/lib/rubygems/remote_fetcher.rb
+++ b/lib/rubygems/remote_fetcher.rb
@@ -278,7 +278,7 @@ class Gem::RemoteFetcher
rescue Timeout::Error
raise UnknownHostError.new('timed out', uri.to_s)
rescue IOError, SocketError, SystemCallError,
- *(OpenSSL::SSL::SSLError if defined?(OpenSSL)) => e
+ *(OpenSSL::SSL::SSLError if defined?(OpenSSL)) => e
if e.message =~ /getaddrinfo/
raise UnknownHostError.new('no such name', uri.to_s)
else