End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::GemcutterUtilities#pretty_host
pretty_host(host)
lib/rubygems/gemcutter_utilities.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.1.3/lib/rubygems/gemcutter_utilities.rb, line 258
def pretty_host(host)
if default_host?
"RubyGems.org"
else
host
end
end
No documentation available
See also
#otp
#request_with_otp
#mfa_unauthorized?
#rubygems_api_request
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.0