linecook-gem 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/linecook/util/config.rb +1 -1
- data/lib/linecook/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c3d5109aee47e294cdfa196893dbd907d920446
|
4
|
+
data.tar.gz: cbdabb4a917555c944d9639517aa37065a41be1c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3d2f2650ca2b234efce8f792fe8af58bee53241dc327332d89616436ce0ea23900b997f4891df008e37cc53bf643c3ff7128cb84fb26b425ca8abac74a1ab4d
|
7
|
+
data.tar.gz: 61f85426c25437b4257d70bbf1bb2a80eb50e01d18d733139d28ca184301b7ab50f4195f3580f6079e308b6dfc32a9a14836b15c9b576af6264f0dd8e6db84d0
|
data/lib/linecook/util/config.rb
CHANGED
@@ -69,7 +69,7 @@ module Linecook
|
|
69
69
|
command = "#{ejson_path} decrypt #{SECRETS_PATH}"
|
70
70
|
secrets = JSON.load(`#{command}`)
|
71
71
|
# if we can't read the ejson key, try again with sudo
|
72
|
-
secrets = JSON.load(`sudo #{command}`) if secrets.empty
|
72
|
+
secrets = JSON.load(`sudo #{command}`) if secrets.empty?
|
73
73
|
secrets.deep_symbolize_keys
|
74
74
|
else
|
75
75
|
{}
|
data/lib/linecook/version.rb
CHANGED