kontena-plugin-digitalocean 0.3.1 → 0.3.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 99e75597e0fcd09ef861574f3eaea5ea4219411f
|
4
|
+
data.tar.gz: e07625bffcdae0d3858c2f4d51a2ec3264d0aff0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ad457cd36d267488c155e070e48eb59002c78f8353467544643b54a6a4afcaf28e6527bbc6da7bc04a72328c26a8eaa9f235741dd7385cea521e1422a98a4f1
|
7
|
+
data.tar.gz: d6501e6f3ced8be3f960211c4ca384a0995089f59e201ad2b70dde9cf532f6bf30d8007d6b2e98fc21ec5ad90b9acec494f399e29c5228de8ecc243340fe9d45
|
@@ -14,7 +14,6 @@ module Kontena::Plugin::DigitalOcean::Prompts
|
|
14
14
|
manager = Kontena::Machine::DigitalOcean::SshKeyManager.new(do_token)
|
15
15
|
|
16
16
|
if self.ssh_key
|
17
|
-
puts self.ssh_key.inspect
|
18
17
|
public_key = File.read(self.ssh_key).strip
|
19
18
|
else
|
20
19
|
keys = manager.list
|
@@ -41,11 +40,10 @@ module Kontena::Plugin::DigitalOcean::Prompts
|
|
41
40
|
q.validate /^ssh-rsa \S+ \S+$/
|
42
41
|
end
|
43
42
|
else
|
44
|
-
|
43
|
+
return key.id
|
45
44
|
end
|
46
|
-
|
47
|
-
manager.find_or_create_by_public_key(public_key).id
|
48
45
|
end
|
46
|
+
manager.find_or_create_by_public_key(public_key).id
|
49
47
|
end
|
50
48
|
|
51
49
|
def ask_do_token
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kontena-plugin-digitalocean
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kontena, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-08-
|
11
|
+
date: 2017-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: kontena-cli
|