iapi-idlc-sdk-deploy 1.0.5 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/iapi-idlc-sdk-deploy.gemspec +1 -1
- data/lib/iapi-idlc-sdk-deploy/keypair.rb +7 -2
- metadata +16 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c730716335ae644fb598acb6beb6d07b72943c274fad92edbb6f3233c3c7632a
|
4
|
+
data.tar.gz: a262a82d4fa204f81879ddd4818daf27cfb4a30e2838a982b389fbd95ab779ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6762cb9974de29e8af9971d6061beb35ba0114c32b33ada22104a7d3025de84ac23d7f093aa0af0b66bcba45c9b48e2a7d73edc4bde19bcbe1849b0f16df6c34
|
7
|
+
data.tar.gz: e0aa13e1fb1e1167d06994fa5ceba540c895f97ca340c71194d162f17c9af3ac3f0a3b1d311a165a7e023309432283422a916d63cbd55a4117d6ca7ec1cc0333
|
@@ -32,11 +32,11 @@ Gem::Specification.new do |spec|
|
|
32
32
|
spec.add_development_dependency 'pry'
|
33
33
|
spec.add_development_dependency 'yard'
|
34
34
|
|
35
|
-
spec.add_runtime_dependency 'iapi-idlc-sdk-core'
|
36
35
|
spec.add_runtime_dependency 'aws-eventstream', '1.2.0'
|
37
36
|
spec.add_runtime_dependency 'aws-partitions', '1.855.0.0'
|
38
37
|
spec.add_runtime_dependency 'aws-sdk-elasticsearchservice', '1.77.0'
|
39
38
|
spec.add_runtime_dependency 'aws-sdk-ec2', '1.425.0'
|
39
|
+
spec.add_runtime_dependency 'iapi-idlc-sdk-core', '1.0.25'
|
40
40
|
spec.add_runtime_dependency 'net-telnet'
|
41
41
|
spec.add_runtime_dependency 'sshkey', '2.0.0'
|
42
42
|
spec.add_runtime_dependency 'terraform-binary'
|
@@ -10,9 +10,14 @@ module Idlc
|
|
10
10
|
private_key_file = "#{outdir}/private_key.pem"
|
11
11
|
public_key_file = "#{outdir}/public_key.pem"
|
12
12
|
|
13
|
-
|
13
|
+
rsa_key = if File.exist? private_key_file
|
14
|
+
return if File.exist? public_key_file
|
15
|
+
private_key_data = File.read(private_key_file)
|
16
|
+
SSHKey.new(private_key_data)
|
17
|
+
else
|
18
|
+
SSHKey.generate
|
19
|
+
end
|
14
20
|
|
15
|
-
rsa_key = SSHKey.generate
|
16
21
|
private_key = rsa_key.private_key
|
17
22
|
public_key = rsa_key.ssh_public_key
|
18
23
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: iapi-idlc-sdk-deploy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathan Cazell
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2024-01-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -95,20 +95,6 @@ dependencies:
|
|
95
95
|
- - ">="
|
96
96
|
- !ruby/object:Gem::Version
|
97
97
|
version: '0'
|
98
|
-
- !ruby/object:Gem::Dependency
|
99
|
-
name: iapi-idlc-sdk-core
|
100
|
-
requirement: !ruby/object:Gem::Requirement
|
101
|
-
requirements:
|
102
|
-
- - ">="
|
103
|
-
- !ruby/object:Gem::Version
|
104
|
-
version: '0'
|
105
|
-
type: :runtime
|
106
|
-
prerelease: false
|
107
|
-
version_requirements: !ruby/object:Gem::Requirement
|
108
|
-
requirements:
|
109
|
-
- - ">="
|
110
|
-
- !ruby/object:Gem::Version
|
111
|
-
version: '0'
|
112
98
|
- !ruby/object:Gem::Dependency
|
113
99
|
name: aws-eventstream
|
114
100
|
requirement: !ruby/object:Gem::Requirement
|
@@ -165,6 +151,20 @@ dependencies:
|
|
165
151
|
- - '='
|
166
152
|
- !ruby/object:Gem::Version
|
167
153
|
version: 1.425.0
|
154
|
+
- !ruby/object:Gem::Dependency
|
155
|
+
name: iapi-idlc-sdk-core
|
156
|
+
requirement: !ruby/object:Gem::Requirement
|
157
|
+
requirements:
|
158
|
+
- - '='
|
159
|
+
- !ruby/object:Gem::Version
|
160
|
+
version: 1.0.25
|
161
|
+
type: :runtime
|
162
|
+
prerelease: false
|
163
|
+
version_requirements: !ruby/object:Gem::Requirement
|
164
|
+
requirements:
|
165
|
+
- - '='
|
166
|
+
- !ruby/object:Gem::Version
|
167
|
+
version: 1.0.25
|
168
168
|
- !ruby/object:Gem::Dependency
|
169
169
|
name: net-telnet
|
170
170
|
requirement: !ruby/object:Gem::Requirement
|