diff options
Diffstat (limited to 'lib/rubygems/test_case.rb')
-rw-r--r-- | lib/rubygems/test_case.rb | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/rubygems/test_case.rb b/lib/rubygems/test_case.rb index 87a0d6ed76..5c576bbfad 100644 --- a/lib/rubygems/test_case.rb +++ b/lib/rubygems/test_case.rb @@ -83,7 +83,6 @@ 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' @@ -91,7 +90,6 @@ class Gem::Command def self.specific_extra_args_hash=(value) @specific_extra_args_hash = value end - end ## @@ -101,7 +99,6 @@ end # your normal set of gems is not affected. class Gem::TestCase < Minitest::Test - extend Gem::Deprecate attr_accessor :fetcher # :nodoc: @@ -1272,11 +1269,11 @@ Also, a list: end class << self - # :nodoc: ## # Return the join path, with escaping backticks, dollars, and # double-quotes. Unlike `shellescape`, equal-sign is not escaped. + private def escape_path(*path) @@ -1287,7 +1284,6 @@ Also, a list: "\"#{path.gsub(/[`$"]/, '\\&')}\"" end end - end @@good_rake = "#{rubybin} #{escape_path(TEST_PATH, 'good_rake.rb')}" @@ -1405,7 +1401,6 @@ 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. @@ -1460,7 +1455,6 @@ Also, a list: def prefetch(reqs) # :nodoc: end - end ## @@ -1528,7 +1522,6 @@ Also, a list: PUBLIC_KEY = nil PUBLIC_CERT = nil end if defined?(OpenSSL::SSL) - end require 'rubygems/test_utilities' |