Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Gem::Commands::PushCommand#get_hosts_for
get_hosts_for(name)
lib/rubygems/commands/push_command.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/rubygems/commands/push_command.rb, line 98
def get_hosts_for(name)
gem_metadata = Gem::Package.new(name).spec.metadata
[
gem_metadata["default_gem_server"],
gem_metadata["allowed_push_host"],
]
end
No documentation available