summaryrefslogtreecommitdiff
path: root/lib/rubygems/test_case.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2020-09-23 21:02:56 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-09-23 21:02:56 +0900
commit31a6eaabc165d8a222e176f2c809d90622d88ec2 (patch)
treeb5333db2c13888ede5062ccd8ecca649ea261b4c /lib/rubygems/test_case.rb
parentf56fc720ee8cd4b79824a1c3843058b662a302bd (diff)
Manually merged from https://github.com/rubygems/rubygems/pull/2636
Enable Style/EmptyLinesAroundClassBody rubocop cop.
Diffstat (limited to 'lib/rubygems/test_case.rb')
-rw-r--r--lib/rubygems/test_case.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/rubygems/test_case.rb b/lib/rubygems/test_case.rb
index 7bf7142a45..3dd10d6dfc 100644
--- a/lib/rubygems/test_case.rb
+++ b/lib/rubygems/test_case.rb
@@ -83,6 +83,7 @@ end
require "rubygems/command"
class Gem::Command
+
##
# Allows resetting the hash of specific args per command. This method is
# available when requiring 'rubygems/test_case'
@@ -90,6 +91,7 @@ class Gem::Command
def self.specific_extra_args_hash=(value)
@specific_extra_args_hash = value
end
+
end
##
@@ -99,6 +101,7 @@ end
# your normal set of gems is not affected.
class Gem::TestCase < Minitest::Test
+
extend Gem::Deprecate
attr_accessor :fetcher # :nodoc:
@@ -1267,6 +1270,7 @@ Also, a list:
end
class << self
+
# :nodoc:
##
# Return the join path, with escaping backticks, dollars, and
@@ -1282,6 +1286,7 @@ Also, a list:
"\"#{path.gsub(/[`$"]/, '\\&')}\""
end
end
+
end
@@good_rake = "#{rubybin} #{escape_path(TEST_PATH, 'good_rake.rb')}"
@@ -1399,6 +1404,7 @@ Also, a list:
# It is available by requiring Gem::TestCase.
class StaticSet < Gem::Resolver::Set
+
##
# A StaticSet ignores remote because it has a fixed set of gems.
@@ -1453,6 +1459,7 @@ Also, a list:
def prefetch(reqs) # :nodoc:
end
+
end
##
@@ -1520,6 +1527,7 @@ Also, a list:
PUBLIC_KEY = nil
PUBLIC_CERT = nil
end if defined?(OpenSSL::SSL)
+
end
require 'rubygems/test_utilities'