instance method
Gem::Commands::PushCommand#execute
execute
lib/rubygems/commands/push_command.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/rubygems/commands/push_command.rb, line 56
def execute
gem_name = get_one_gem_name
default_gem_server, push_host = get_hosts_for(gem_name)
@host = if @user_defined_host
options[:host]
elsif default_gem_server
default_gem_server
elsif push_host
push_host
else
options[:host]
end
sign_in @host, scope: get_push_scope
send_gem(gem_name)
end
No documentation available