Sha256: 238a5288ab06f00b66f77abb2be4593c44f61c28d9e2ecab77fc09aff1cf4d49
Contents?: true
Size: 306 Bytes
Versions: 1
Compression:
Stored size: 306 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}' #{db_path}" sig_path end private def key @options[:key] || raise('no key ID set') end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
s3repo-2.0.0 | lib/s3repo/signer.rb |