lib/s3repo/signer.rb in s3repo-2.0.3 vs lib/s3repo/signer.rb in s3repo-3.0.1
- old
+ new
@@ -1,10 +1,10 @@
module S3Repo
##
# Signer object, signs files w/ GPG
class Signer < Base
def sign(path)
- sig_path = path + '.sig'
+ sig_path = "#{path}.sig"
run "gpg --detach-sign --local-user '#{key}' #{path}"
sig_path
end
private