localvault 1.3.1 → 1.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0b105245bc108c66fb889a043714a464b0d6c17c31b3546842c1b2e887c83898
4
- data.tar.gz: c2d881d51515e62c29879bbc6dbee27c14bb7e19bb003c399ea5edd801931add
3
+ metadata.gz: 2c854998a9a601c226e9691607d3b7c1b3d9784c6cb2da3945f1eaac9358c453
4
+ data.tar.gz: 3fe4e808be8b449ea49934fa43564fb778816d8348e29f3680888d001752baf2
5
5
  SHA512:
6
- metadata.gz: da9d072b2bfd8633f687838590636a9982056d086bf8e95e0d085c8974e24e7b6edb8fca2ddca79612bfa3eabbd9fa3edeaadc5f86f96d9b31364cb36410f1bb
7
- data.tar.gz: 66cc50037f18fd47f84d4e6f387904d066eddb0914ba438894c16c5974dd937fa67a729be59bee6df2bd002876c71c17e0a3a8bc7c96d09dfb05dab2f59fbf1f
6
+ metadata.gz: 7522e959e6aad42f76d577fcfe880fff32807d554e01ab44d961b12569d09d9c2bbd12997761fe41631cb9996db9b754c3c555f7cdc6359b508ad1700d2b6490
7
+ data.tar.gz: ae605f85a6f5623684fd77a2e6ec4fee66ea1fcabc40a9b0f1c9bb6d5c2352f00ea914673a2f894443bb29344441c173ab91f3980ff23bcf8712274e63bae9b7
@@ -280,9 +280,9 @@ module LocalVault
280
280
  $stdout.puts table
281
281
  end
282
282
 
283
- desc "unlock", "Output session token for passphrase-free access"
284
- def unlock
285
- vault_name = resolve_vault_name
283
+ desc "unlock [VAULT]", "Cache passphrase for session and output session token"
284
+ def unlock(vault_name = nil)
285
+ vault_name ||= resolve_vault_name
286
286
  store = Store.new(vault_name)
287
287
  unless store.exists?
288
288
  abort_with "Vault '#{vault_name}' does not exist. Run: localvault init #{vault_name}"
@@ -1,3 +1,3 @@
1
1
  module LocalVault
2
- VERSION = "1.3.1"
2
+ VERSION = "1.3.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: localvault
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nauman Tariq