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-4.0.0/lib/rubygems/commands/push_command.rb, line 112
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
See also
#get_attestations_part
#get_push_scope
#execute
#send_gem
also in
4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0