Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
instance method
Gem::Commands::PushCommand#send_push_request
send_push_request(name, args)
lib/rubygems/commands/push_command.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/lib/rubygems/commands/push_command.rb, line 156
def send_push_request(name, args)
# Always honor explicit --attestation option
# Auto-attestation is only supported on rubygems.org with GitHub Actions (not JRuby)
if options[:attestations].any? || (RUBY_ENGINE != "jruby" && attestation_supported_host? && ENV["GITHUB_ACTIONS"] == "true")
send_push_request_with_attestation(name, args)
else
send_push_request_without_attestation(name, args)
end
end
No documentation available
See also
#send_gem
#send_push_request_with_attestation
#resolve_gem_name
#send_push_request_without_attestation
also in
4.0 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0