summaryrefslogtreecommitdiff
path: root/lib/rubygems/config_file.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2022-08-09 11:16:07 +0900
committerHiroshi SHIBATA <[email protected]>2022-08-09 12:05:19 +0900
commit44264b4fee1e208e759710c39271186ff9856b40 ()
tree939a9810293c86553e7b600bce9fb426776f6000 /lib/rubygems/config_file.rb
parentf8936b3341376948112e31f9e9b0cb3ad6e91e7c (diff)
Merge rubygems/bundler HEAD.
Pick from https://.com/rubygems/rubygems/commit/dfbb5a38114640e0d8d616861607f3de73ee0199
Notes: Merged: https://.com/ruby/ruby/pull/6224
-rw-r--r--lib/rubygems/config_file.rb12
1 files changed, 6 insertions, 6 deletions
@@ -368,7 +368,7 @@ if you believe they were disclosed to a third party.
# True if the backtrace option has been specified, or debug is on.
def backtrace
- @backtrace or $DEBUG
end
# The name of the configuration file.
@@ -477,11 +477,11 @@ if you believe they were disclosed to a third party.
end
def ==(other) # :nodoc:
- self.class === other and
- @backtrace == other.backtrace and
- @bulk_threshold == other.bulk_threshold and
- @verbose == other.verbose and
- @update_sources == other.update_sources and
@hash == other.hash
end