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 +4 -4
- data/lib/localvault/cli.rb +3 -3
- data/lib/localvault/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2c854998a9a601c226e9691607d3b7c1b3d9784c6cb2da3945f1eaac9358c453
|
|
4
|
+
data.tar.gz: 3fe4e808be8b449ea49934fa43564fb778816d8348e29f3680888d001752baf2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7522e959e6aad42f76d577fcfe880fff32807d554e01ab44d961b12569d09d9c2bbd12997761fe41631cb9996db9b754c3c555f7cdc6359b508ad1700d2b6490
|
|
7
|
+
data.tar.gz: ae605f85a6f5623684fd77a2e6ec4fee66ea1fcabc40a9b0f1c9bb6d5c2352f00ea914673a2f894443bb29344441c173ab91f3980ff23bcf8712274e63bae9b7
|
data/lib/localvault/cli.rb
CHANGED
|
@@ -280,9 +280,9 @@ module LocalVault
|
|
|
280
280
|
$stdout.puts table
|
|
281
281
|
end
|
|
282
282
|
|
|
283
|
-
desc "unlock", "
|
|
284
|
-
def unlock
|
|
285
|
-
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}"
|
data/lib/localvault/version.rb
CHANGED