minke 1.5.7 → 1.5.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZDhiMzdlMmI2ZGU0MTMzZTkyNDQ4ZGI1OTYzYTVjYmY4NDQ5N2M0Nw==
4
+ MGE3OGM5MjEyOTNlYzExMTAxOTYzOGY0OWE2YzI2ZDkwMDBkZTgzNA==
5
5
  data.tar.gz: !binary |-
6
- MGFjNzY3YzlkYjQzNzJjYWE0NDc0ZGNmYTgwNDkyOTU2NmFjNDE3OA==
6
+ NWFkZTFhYWE1YjI0YjI4Y2IyNWQ3M2Y1MmZkMTk1MzNiZmE2NzJmNQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YTgwZmE1MWQ4NzMzMmY0NWY0MjkzOTkzY2ZmNDVlZTA3ZGZlZWM3YWEyMzE3
10
- OWY5ZjM0ZTE3NzhlZWFmYTUzZTcxYzkyY2I1NTc2NmQ4NzE3Njg4NjM2Zjgy
11
- MDU2OWJiMTM2YjY0MGI0NGQ5MTk3ZGRiMDU0ZTBiYmVmMTlmYjk=
9
+ NzZlNjEzYmFlZWEwNWUyMGRkZjU1OWZmNGVkY2RkOTM4NmZjMzIzZTZlNTU4
10
+ YTViN2E3MjUwZmVjMGJkYmUzYTEwYWM2OTcyMzg0NjY4ZDhiZTA4N2E0NmFk
11
+ YTQ0OGJhNTJmYjU2MmU2MjNkNzgyNTIwNDBlMjlkYzE4NzE3OGY=
12
12
  data.tar.gz: !binary |-
13
- N2IwZDAwYTM1MmYyNzEwNGE0YmU2YTk3ZmYyNjU1Y2EzYjVhZjg5ZDlkZDEx
14
- MWZhMGNmYWY3YmM5NWJiZTYzMTlmY2E1NjE4NjFkZDdmYjEwZDQ5YmRkZjRk
15
- YThjYmQ3MzdkZDZlZTFlNWNjM2IxMzlhZjVjNmI4OGE0ODdlZTI=
13
+ ZThmNWEwMjJhZTFhZWVhN2MzZTYxM2M0ZmMyOTUyNGMzZTlhOGZiNzI3ZDMw
14
+ MjhkNDVmZWJmMzFkOTcxNTQ0MTMxYTc3NDE4OGMwYzUxZmQ3OGJjNzQ3ZmVj
15
+ MmU3NDBiYTJmZTE3MzZjYWQyNDM1NjI1OGQ1YTJlNDYxZDI0NjU=
@@ -92,6 +92,10 @@ module Minke
92
92
 
93
93
  def read_secure hash
94
94
  key_path = ENV['SSL_KEY_PATH'].to_s == '' ? "#{ENV['HOME']}/.ssh" : ENV['SSL_KEY_PATH']
95
+ unless Dir.exists? key_path
96
+ puts "Unable to find SSH keys to decrypt secrets, please set environment variable SSL_KEY_PATH or place the keys in ~/.ssh"
97
+ return
98
+ end
95
99
 
96
100
  fingerprint = hash['secure']['fingerprint']
97
101
  value = hash['secure']['value']
data/lib/minke/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Minke
2
- VERSION = "1.5.7"
2
+ VERSION = "1.5.8"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minke
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.7
4
+ version: 1.5.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nic Jackson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-08 00:00:00.000000000 Z
11
+ date: 2016-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler