summaryrefslogtreecommitdiff
path: root/lib/rubygems/config_file.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2024-03-29 18:41:09 +0900
committerHiroshi SHIBATA <[email protected]>2024-04-04 11:30:02 +0900
commit0930231361a72e4c45fde8865e29473fa8e76fce ()
tree4db2b594ffae044a514d164a53d60528e8cd687f /lib/rubygems/config_file.rb
parent0be7133b7fd08c96e33e889bb034f90df445453d (diff)
[rubygems/rubygems] Allow to use String keys some of configuration
https://.com/rubygems/rubygems/commit/ee0bef2786
-rw-r--r--lib/rubygems/config_file.rb11
1 files changed, 11 insertions, 0 deletions
@@ -210,6 +210,17 @@ class Gem::ConfigFile
@hash = @hash.merge environment_config
end
# HACK: these override command-line args, which is bad
@backtrace = @hash[:backtrace] if @hash.key? :backtrace
@bulk_threshold = @hash[:bulk_threshold] if @hash.key? :bulk_threshold