summaryrefslogtreecommitdiff
path: root/lib/rubygems/remote_fetcher.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <[email protected]>2020-07-13 12:01:07 +0200
committerHiroshi SHIBATA <[email protected]>2020-07-31 21:07:19 +0900
commita89665b7b1abb5bb6005fd638dc920848cc50f72 ()
treef6c84f1bfb1148d203cd63c72c458de3a8f5e961 /lib/rubygems/remote_fetcher.rb
parenta6bfc951aa9c48e2a4608a9ae84e2e3b4fd9b390 (diff)
Enforce no empty lines around class body in rubygems
To normalize the code style with `bundler`.
Notes: Merged: https://.com/ruby/ruby/pull/3379
-rw-r--r--lib/rubygems/remote_fetcher.rb4
1 files changed, 0 insertions, 4 deletions
@@ -13,7 +13,6 @@ require 'resolv'
# a remote source.
class Gem::RemoteFetcher
-
include Gem::UserInteraction
include Gem::UriParsing
@@ -22,7 +21,6 @@ class Gem::RemoteFetcher
# that could happen while downloading from the internet.
class FetchError < Gem::Exception
-
include Gem::UriParsing
##
@@ -43,7 +41,6 @@ class Gem::RemoteFetcher
def to_s # :nodoc:
"#{super} (#{uri})"
end
-
end
##
@@ -341,5 +338,4 @@ class Gem::RemoteFetcher
@pools[proxy] ||= Gem::Request::ConnectionPools.new proxy, @cert_files
end
end
-
end