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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dd9c5a65cacf27cf8547498b7f12850b213325dc
4
- data.tar.gz: 9ab82cb64b8149ac07508852dcf2dc3ad675ab4d
3
+ metadata.gz: 6c3d5109aee47e294cdfa196893dbd907d920446
4
+ data.tar.gz: cbdabb4a917555c944d9639517aa37065a41be1c
5
5
  SHA512:
6
- metadata.gz: 55be67bce09d430b0847ee4c3466a1040987cd2cb6fb16666dd9553a96005117d58fc56fdc8479a93b13c334e7651b148e84c15fca3658456684eacd63257f01
7
- data.tar.gz: 87c1043779ae80232bdc295407c18ee4777a5c66453790e874639be689a168f82d08998bdab37f8911fc367d791848620eba639e8a1c308fdf02b44d02e08ba6
6
+ metadata.gz: b3d2f2650ca2b234efce8f792fe8af58bee53241dc327332d89616436ce0ea23900b997f4891df008e37cc53bf643c3ff7128cb84fb26b425ca8abac74a1ab4d
7
+ data.tar.gz: 61f85426c25437b4257d70bbf1bb2a80eb50e01d18d733139d28ca184301b7ab50f4195f3580f6079e308b6dfc32a9a14836b15c9b576af6264f0dd8e6db84d0
@@ -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
  {}
@@ -1,3 +1,3 @@
1
1
  module Linecook
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: linecook-gem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dale Hamel