summaryrefslogtreecommitdiff
path: root/lib/rubygems/config_file.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2023-04-17 20:46:40 +0900
committergit <[email protected]>2023-04-19 06:56:20 +0000
commit45655089dac2f7ac5684f99607698d9eb6dae5d5 ()
treedb7a51f09f1b74c9255529143154359d7ba2289b /lib/rubygems/config_file.rb
parentcdc2e3de108d448026bf793d2b482d6abf7ae236 (diff)
[rubygems/rubygems] Removed trailing-slash for domain
https://.com/rubygems/rubygems/commit/81ba58f445
-rw-r--r--lib/rubygems/config_file.rb6
1 files changed, 3 insertions, 3 deletions
@@ -536,11 +536,11 @@ if you believe they were disclosed to a third party.
content.transform_keys! do |k|
if k.match?(/\A:(.*)\Z/)
k[1..-1].to_sym
- elsif k.match?(/__/)
if k.is_a?(Symbol)
- k.to_s.gsub(/__/,".").to_sym
else
- k.dup.gsub(/__/,".")
end
else
k