method
build
v2_6_3 -
Show latest stable
- Class:
Gem::Commands::CertCommand
build(email)public
No documentation available.
# File lib/rubygems/commands/cert_command.rb, line 135
def build(email)
if !valid_email?(email)
raise Gem::CommandLineError, "Invalid email address #{email}"
end
key, key_path = build_key
cert_path = build_cert email, key
say "Certificate: #{cert_path}"
if key_path
say "Private Key: #{key_path}"
say "Don't forget to move the key file to somewhere private!"
end
end