diff options
author | Hiroshi SHIBATA <[email protected]> | 2020-09-23 21:02:56 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2020-09-23 21:02:56 +0900 |
commit | 31a6eaabc165d8a222e176f2c809d90622d88ec2 (patch) | |
tree | b5333db2c13888ede5062ccd8ecca649ea261b4c /lib/rubygems/installer.rb | |
parent | f56fc720ee8cd4b79824a1c3843058b662a302bd (diff) |
Manually merged from https://github.com/rubygems/rubygems/pull/2636
Enable Style/EmptyLinesAroundClassBody rubocop cop.
Diffstat (limited to 'lib/rubygems/installer.rb')
-rw-r--r-- | lib/rubygems/installer.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/rubygems/installer.rb b/lib/rubygems/installer.rb index 33171a8eb9..5ee3af1e58 100644 --- a/lib/rubygems/installer.rb +++ b/lib/rubygems/installer.rb @@ -28,6 +28,7 @@ require 'fileutils' # file. See Gem.pre_install and Gem.post_install for details. class Gem::Installer + extend Gem::Deprecate ## @@ -72,6 +73,7 @@ class Gem::Installer @install_lock = Mutex.new class << self + ## # True if we've warned about PATH not including Gem.bindir @@ -96,6 +98,7 @@ class Gem::Installer def exec_format @exec_format ||= Gem.default_exec_format end + end ## @@ -108,6 +111,7 @@ class Gem::Installer end class FakePackage + attr_accessor :spec attr_accessor :dir_mode @@ -133,6 +137,7 @@ class Gem::Installer def copy_to(path) end + end ## @@ -958,4 +963,5 @@ TEXT raise Gem::FilePermissionError.new(dir) unless File.writable? dir end + end |