summaryrefslogtreecommitdiff
path: root/lib/rubygems/installer.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2020-07-13 12:01:07 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-07-31 21:07:19 +0900
commita89665b7b1abb5bb6005fd638dc920848cc50f72 (patch)
treef6c84f1bfb1148d203cd63c72c458de3a8f5e961 /lib/rubygems/installer.rb
parenta6bfc951aa9c48e2a4608a9ae84e2e3b4fd9b390 (diff)
Enforce no empty lines around class body in rubygems
To normalize the code style with `bundler`.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3379
Diffstat (limited to 'lib/rubygems/installer.rb')
-rw-r--r--lib/rubygems/installer.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/rubygems/installer.rb b/lib/rubygems/installer.rb
index 54e7a59bbf..33de7f2f7c 100644
--- a/lib/rubygems/installer.rb
+++ b/lib/rubygems/installer.rb
@@ -28,7 +28,6 @@ require 'fileutils'
# file. See Gem.pre_install and Gem.post_install for details.
class Gem::Installer
-
extend Gem::Deprecate
##
@@ -73,7 +72,6 @@ class Gem::Installer
@install_lock = Mutex.new
class << self
-
##
# True if we've warned about PATH not including Gem.bindir
@@ -98,7 +96,6 @@ class Gem::Installer
def exec_format
@exec_format ||= Gem.default_exec_format
end
-
end
##
@@ -111,7 +108,6 @@ class Gem::Installer
end
class FakePackage
-
attr_accessor :spec
attr_accessor :dir_mode
@@ -137,7 +133,6 @@ class Gem::Installer
def copy_to(path)
end
-
end
##
@@ -961,5 +956,4 @@ TEXT
raise Gem::FilePermissionError.new(dir) unless File.writable? dir
end
-
end