lib/s3repo/signer.rb in s3repo-2.0.0 vs lib/s3repo/signer.rb in s3repo-2.0.1
- old
+ new
@@ -2,10 +2,10 @@
##
# 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}"
+ run "gpg --detach-sign --local-user '#{key}' #{path}"
sig_path
end
private