diff --git a/dotgpg.gemspec b/dotgpg.gemspec index 4d1250a..e6c8e6f 100644 --- a/dotgpg.gemspec +++ b/dotgpg.gemspec @@ -1,6 +1,6 @@ Gem::Specification.new do |gem| gem.name = 'dotgpg' - gem.version = '0.6.0' + gem.version = '0.6.1' gem.summary = 'gpg-encrypted backup for your dotenv files' gem.description = "Easy management of gpg-encrypted backup files" diff --git a/lib/dotgpg/cli.rb b/lib/dotgpg/cli.rb index 7ff1bdd..c7d8d39 100644 --- a/lib/dotgpg/cli.rb +++ b/lib/dotgpg/cli.rb @@ -25,8 +25,8 @@ def init(directory=".") FileUtils.mkdir_p(dir.dotgpg) unless File.exist? 'README.md' FileUtils.cp Pathname.new(__FILE__).dirname.join("template/README.md"), dir.path.join("README.md") - dir.add_key(key) end + dir.add_key(key) end desc "key", "export your GPG public key in a format that `dotgpg add` will understand"