minke 1.5.8 → 1.5.9

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
- MGE3OGM5MjEyOTNlYzExMTAxOTYzOGY0OWE2YzI2ZDkwMDBkZTgzNA==
4
+ YzM4YjVmNTJmNWFhOWQ0MmM1Njc2NzNiYjE5ZDc3NTMyYjdlMWU5OA==
5
5
  data.tar.gz: !binary |-
6
- NWFkZTFhYWE1YjI0YjI4Y2IyNWQ3M2Y1MmZkMTk1MzNiZmE2NzJmNQ==
6
+ NjBhYTA3ZWQzN2Q3MWZhZjM4ZmE3Yjk3MGY5MzYyN2I3NDk4Zjk0NA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NzZlNjEzYmFlZWEwNWUyMGRkZjU1OWZmNGVkY2RkOTM4NmZjMzIzZTZlNTU4
10
- YTViN2E3MjUwZmVjMGJkYmUzYTEwYWM2OTcyMzg0NjY4ZDhiZTA4N2E0NmFk
11
- YTQ0OGJhNTJmYjU2MmU2MjNkNzgyNTIwNDBlMjlkYzE4NzE3OGY=
9
+ ZGEwODA3ZjExZWU0Nzg1ZDljMmJjNGZiMTJiMTRlYjAxYjA2ODYxMTBiYjZh
10
+ MTcwZTdhYmIwODc4ZjRlODRjNDI3NDUxYjNlZWM0MWFiMmU5YWI1ZmJhMzM4
11
+ MDdiMTlmYzI0M2U4NjM1YmRhZmE2ZWViN2FlMzE4OWNjNjRhMzc=
12
12
  data.tar.gz: !binary |-
13
- ZThmNWEwMjJhZTFhZWVhN2MzZTYxM2M0ZmMyOTUyNGMzZTlhOGZiNzI3ZDMw
14
- MjhkNDVmZWJmMzFkOTcxNTQ0MTMxYTc3NDE4OGMwYzUxZmQ3OGJjNzQ3ZmVj
15
- MmU3NDBiYTJmZTE3MzZjYWQyNDM1NjI1OGQ1YTJlNDYxZDI0NjU=
13
+ NzUxNzE5MDhjODZhNGZlNWZkOTU5NzhmZTk3YzhjNmI1OGU1MDk3OGVmMDM3
14
+ NDQ2YjA2MzQ0ZGVkNTBiOGE3OGFmM2FiMjExNDc3MWVlYmI5NWI5NDFkYTA0
15
+ OWU3ZTM5Y2Y1ZWFkYmYyMmVhOTkyMWRmYjhlNDkwMmE5MTQwNjk=
@@ -103,6 +103,12 @@ module Minke
103
103
  locator = Minke::Encryption::KeyLocator.new key_path
104
104
  key_path = locator.locate_key fingerprint
105
105
 
106
+ puts key_path
107
+ if key_path.to_s.empty?
108
+ puts "Unable to find SSL key matching fingerprint if your SSL keys are not in ~/.ssh you can set the environment variable SSL_KEY_PATH to point to the correct directory."
109
+ return
110
+ end
111
+
106
112
  encrypt = Minke::Encryption::Encryption.new key_path
107
113
  encrypt.decrypt_string value
108
114
  end
@@ -39,7 +39,7 @@ module Minke
39
39
  # pull_image pulls a new copy of the given image from the registry
40
40
  def pull_image image_name
41
41
  puts "Pulling Image: #{image_name}"
42
- puts `docker pull #{image_name}`
42
+ ::Docker::Image.create('fromImage' => image_name)
43
43
  end
44
44
 
45
45
  ##
@@ -17,7 +17,7 @@ module Minke
17
17
  end
18
18
  end
19
19
 
20
- throw "Unable to find SSL key matching fingerprint if your SSL keys are not in ~/.ssh you can set the environment variable SSL_KEY_PATH to point to the correct directory."
20
+ return nil
21
21
  end
22
22
  end
23
23
  end
data/lib/minke/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Minke
2
- VERSION = "1.5.8"
2
+ VERSION = "1.5.9"
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.8
4
+ version: 1.5.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nic Jackson