Sha256: 2107ac86a7a569d1db46270d1c3301525d3e89436a70fe3aadd4381f008c608e
Contents?: true
Size: 303 Bytes
Versions: 3
Compression:
Stored size: 303 Bytes
Contents
module S3Repo ## # Signer object, signs files w/ GPG class Signer < Base def sign(path) sig_path = path + '.sig' run "gpg --detach-sign --local-user '#{key}' #{path}" sig_path end private def key @options[:key] || raise('no key ID set') end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
s3repo-2.0.3 | lib/s3repo/signer.rb |
s3repo-2.0.2 | lib/s3repo/signer.rb |
s3repo-2.0.1 | lib/s3repo/signer.rb |