minke 1.5.1 → 1.5.2

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
- ZWRjYWRmNDY5MzI3MTI2NWQ2OWZkNzc1NmY2N2I3MmZjOTY3MjE5OA==
4
+ NjZiZGRhNzg4MWU3MWRmZjFmYTJlMWZmYjIxM2NjMGUwMzVjNzI4Ng==
5
5
  data.tar.gz: !binary |-
6
- YWQzNzVkNWRlMzM1YzRmNjViNjBkYjU2MTIzMzU0MzE4OTRiMzU2NQ==
6
+ ZTM0NmYzZTUzNWMwMTU3YjRkNDIzNzdiZmM2MzRjYjk2YjgyYmU1YQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- Njk1Mjk0MTI5YjJiMjcxOGI4NjU5YTVhYzg2ZTg4YzY5ZGViOTg1YzdjNDg1
10
- ODNlMWRiMTg2ZDYxMWVjOTZmNDBhNGRjOWU4YTc5NjJhYjZkNDJiNGEyMGVl
11
- M2FhNDY1OWE1ZDlhMjJiZjI3NmM0MDZlYTA1ZTc2YjIxMzFlZDI=
9
+ ZGVhYWJmYzEyYmVhZmFmOGJhOGJmODIxNGUzY2ZmNDcyZGMyOWFlN2Y5ZTg2
10
+ NTM2NjA1ZjU4ZWU1MzdhZWNkMzNlOGM5MDFjYzdiYzI5NDIxY2YyYmIwOWJk
11
+ ODE3ZDFlMmUzNmMzNjc4NWY4MTE2ZjliYjE0NGJjYTczYzc1OTc=
12
12
  data.tar.gz: !binary |-
13
- ZDEyOWE1ZTE3YjUzYjliOGYyNDc4YWYwNzU0ZTkyNTM4NzQzOGEyZjcyYmMx
14
- ODhiZGJmZWZjZWYwOGNhZTFlODFiMDIwMzk1MmMzZDZhMDYwMTk5M2I0OThi
15
- M2QyZGE0NGEwYWY0ZWY4OTU0NjA0ZjYzMDUxYjNlZjcwMzNjZjE=
13
+ ODBlYjdhNTg3Nzk5Nzk1Yzc0MmIxMThhN2MzODllNGVmZWU3YWYwOGM0MjY4
14
+ NTg2Y2Q4NzNmMzk4Yzg0OWZhMDM3NWJmMTU2ZjFjZjE2MjE3NzM3NTMyMDY2
15
+ MDY0Mzg5Y2ZkY2E3N2Q4ZTY3MTI2MzIwMjczYzZjYTAxM2ExMDE=
@@ -91,10 +91,13 @@ module Minke
91
91
  end
92
92
 
93
93
  def read_secure hash
94
+ key_path = ENV['SSL_KEY_PATH'].to_s == '' ? '~/.ssh' : ENV['SSL_KEY_PATH']
95
+
96
+
94
97
  fingerprint = hash['secure']['fingerprint']
95
98
  value = hash['secure']['value']
96
99
 
97
- locator = Minke::Encryption::KeyLocator.new ENV['SSL_KEY_PATH']
100
+ locator = Minke::Encryption::KeyLocator.new key_path
98
101
  key_path = locator.locate_key fingerprint
99
102
 
100
103
  encrypt = Minke::Encryption::Encryption.new key_path
data/lib/minke/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Minke
2
- VERSION = "1.5.1"
2
+ VERSION = "1.5.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minke
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.1
4
+ version: 1.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nic Jackson