instant_ec2 0.1.4 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/instant_ec2.rb +5 -2
- metadata +32 -29
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 58d29df27f5b65c15d6dbdcf9b4bfb8f8924337407e19744f64440f3384695d0
|
4
|
+
data.tar.gz: 015043f0f48cb047a1c5f8180a5a0ab57a13c17e563772352f11dd5557314c3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 748a2421bf26967fb472dd0decadc2658082c234c6aa732d032d5f1bc56048bef9622e4938b447efb1501aa2c82610fb1286b20385757cb92ef6a81f88653b5f
|
7
|
+
data.tar.gz: a516b3baac6eeb071dc1dcc9f9fda38edcfe51eff3a0ba22772d3030fa09a23a223a26d24284bf55d2f3c15b8af807b425799b84f78860782078d725167f5a3d
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/instant_ec2.rb
CHANGED
@@ -126,7 +126,10 @@ class InstantEC2
|
|
126
126
|
#
|
127
127
|
def start(s, duration: nil)
|
128
128
|
|
129
|
-
self.find_image(s)
|
129
|
+
found = self.find_image(s)
|
130
|
+
return unless found
|
131
|
+
|
132
|
+
found.start duration: duration
|
130
133
|
|
131
134
|
end
|
132
135
|
|
@@ -206,4 +209,4 @@ class InstantEC2
|
|
206
209
|
end
|
207
210
|
|
208
211
|
end
|
209
|
-
end
|
212
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: instant_ec2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -10,28 +10,32 @@ bindir: bin
|
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
13
|
+
MIIEXjCCAsagAwIBAgIBATANBgkqhkiG9w0BAQsFADAsMSowKAYDVQQDDCFnZW1t
|
14
|
+
YXN0ZXIvREM9amFtZXNyb2JlcnRzb24vREM9ZXUwHhcNMTkwNDIwMTcyMjQ4WhcN
|
15
|
+
MjAwNDE5MTcyMjQ4WjAsMSowKAYDVQQDDCFnZW1tYXN0ZXIvREM9amFtZXNyb2Jl
|
16
|
+
cnRzb24vREM9ZXUwggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQC5EwJh
|
17
|
+
wrCszsG9FwtXpLfjwB3eSpSng9NoERQH7LsPoDbz7+n0n53qpp7WyuOb+zmMOEo0
|
18
|
+
WaOMpBhctth1rDvdeI63zrPXIIgoRORF/i4Mvk4ThiFbGdHuJ/27EXQJkiQLjqTc
|
19
|
+
EekcrHhTPvLhVIaRAN39RXBJBYuSyU/DSLSQOR4XXquBrK/mU2NVChB/Nswyo0Df
|
20
|
+
EATj8NGl3LaU8gC2IAhmIzNJSFotRaks/UKzMvn/QFxeaspN2vaP4Dc/3TUR5Ver
|
21
|
+
zTwmQ01TThBMIh9NJ9hJJiQ9RKtWPCNS19yxJaMiWmEEzwaZzOCxBaPkS0k0t+vF
|
22
|
+
u5heLF0/OTktNG02Vpouzns9WQ2hkL4ABkCB4M0GJ0IhjuHRg4D0QD44i436BLmt
|
23
|
+
4VmJGZ5+zqukEC2rQPsKCe8w9WziPXT5jzn45Fb4W2VEdp0posKluRMSi5eZLedT
|
24
|
+
abM4Z+YoIzxwPW6t1cLERSTOTPEWX5P9rqj1QF87nwCj3idnDzFCrvwkKS0CAwEA
|
25
|
+
AaOBijCBhzAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQUA0RtH1TW
|
26
|
+
RwOY/mV9qp7w65aywjkwJgYDVR0RBB8wHYEbZ2VtbWFzdGVyQGphbWVzcm9iZXJ0
|
27
|
+
c29uLmV1MCYGA1UdEgQfMB2BG2dlbW1hc3RlckBqYW1lc3JvYmVydHNvbi5ldTAN
|
28
|
+
BgkqhkiG9w0BAQsFAAOCAYEALOorct9uxmjfvLYT/D32YeWRhvXLMB7yqVQNaIkv
|
29
|
+
4pu8Ltmb/y1Y1zwlHi/p727r7RIcVCROk9O2N8YPpzrMXJj/MRw6cZrpUp/yEXDb
|
30
|
+
WCYXPoL4IQoI70B/BvSbdvYNIqg+zw230f6MyMYY98mVX4w1ae60MrYeRKBuYtsn
|
31
|
+
QeBqD/Tf20qDh7uYSUK9zvdGAhsQAovdKZVOgMWI9i8Dg/Y4sNySxS1VSRlt1lkS
|
32
|
+
zpfdSPdOThuKbqlsDh067Vz49uLKDeV5Y0EPUzDtgraecMD4DshuIXHrZmcxmUJn
|
33
|
+
Gi4qZy7WBinFUKZ/hh2qcgJWGhr6ZfgYVAK+D2xlvhlc4z82knQxKAfrjeOPd6Va
|
34
|
+
jXbgh56nMowmtbI8+cA7gcwVv8WeJrKm97a0PdVE0fbMxgzr9h1Xn/dFLCE2lD8p
|
35
|
+
g0+T4DmZyRE8wA4mjL6h5UKfyZGDUTkUpLj6JrugC53BEdaFH25WFhKZOKiPYNEf
|
36
|
+
0d4USvC4kbcpfGpUnKnTD/23
|
33
37
|
-----END CERTIFICATE-----
|
34
|
-
date:
|
38
|
+
date: 2019-04-20 00:00:00.000000000 Z
|
35
39
|
dependencies:
|
36
40
|
- !ruby/object:Gem::Dependency
|
37
41
|
name: aws-sdk
|
@@ -39,22 +43,22 @@ dependencies:
|
|
39
43
|
requirements:
|
40
44
|
- - "~>"
|
41
45
|
- !ruby/object:Gem::Version
|
42
|
-
version: '
|
46
|
+
version: '3.0'
|
43
47
|
- - ">="
|
44
48
|
- !ruby/object:Gem::Version
|
45
|
-
version:
|
49
|
+
version: 3.0.1
|
46
50
|
type: :runtime
|
47
51
|
prerelease: false
|
48
52
|
version_requirements: !ruby/object:Gem::Requirement
|
49
53
|
requirements:
|
50
54
|
- - "~>"
|
51
55
|
- !ruby/object:Gem::Version
|
52
|
-
version: '
|
56
|
+
version: '3.0'
|
53
57
|
- - ">="
|
54
58
|
- !ruby/object:Gem::Version
|
55
|
-
version:
|
59
|
+
version: 3.0.1
|
56
60
|
description:
|
57
|
-
email: james@
|
61
|
+
email: james@jamesrobertson.eu
|
58
62
|
executables: []
|
59
63
|
extensions: []
|
60
64
|
extra_rdoc_files: []
|
@@ -79,8 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
79
83
|
- !ruby/object:Gem::Version
|
80
84
|
version: '0'
|
81
85
|
requirements: []
|
82
|
-
|
83
|
-
rubygems_version: 2.4.8
|
86
|
+
rubygems_version: 3.0.1
|
84
87
|
signing_key:
|
85
88
|
specification_version: 4
|
86
89
|
summary: Start your EC2 instance in an instant.
|
metadata.gz.sig
CHANGED
Binary file
|