class S3Repo::Signer
Signer
object, signs files w/ GPG
Public Instance Methods
sign(path)
click to toggle source
# File lib/s3repo/signer.rb, line 5 def sign(path) sig_path = path + '.sig' run "gpg --detach-sign --local-user '#{key}' #{path}" sig_path end
Private Instance Methods
key()
click to toggle source
# File lib/s3repo/signer.rb, line 13 def key @options[:key] || raise('no key ID set') end