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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: df4c6b926f369e4b1cb6cdbad52818d61781ce71
4
- data.tar.gz: 41a8663e649b6fe159814f5b0891cd1f8e2fd1c0
2
+ SHA256:
3
+ metadata.gz: 58d29df27f5b65c15d6dbdcf9b4bfb8f8924337407e19744f64440f3384695d0
4
+ data.tar.gz: 015043f0f48cb047a1c5f8180a5a0ab57a13c17e563772352f11dd5557314c3d
5
5
  SHA512:
6
- metadata.gz: f2a029b6746f3e63e7b48cde244ce7b122ce96a9accf89904278da34b53fc7f808842125173342d189872008d7d6d689254a12770eb1cc983426db2f907391e4
7
- data.tar.gz: dbbb8484a8ccc37817376d48fae13ea261b7f0828bd93254c8f7e227505c810dffbd22b54648e1a152fe483ded1931c4aefa4850a19cf158bcbe211448b03259
6
+ metadata.gz: 748a2421bf26967fb472dd0decadc2658082c234c6aa732d032d5f1bc56048bef9622e4938b447efb1501aa2c82610fb1286b20385757cb92ef6a81f88653b5f
7
+ data.tar.gz: a516b3baac6eeb071dc1dcc9f9fda38edcfe51eff3a0ba22772d3030fa09a23a223a26d24284bf55d2f3c15b8af807b425799b84f78860782078d725167f5a3d
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -126,7 +126,10 @@ class InstantEC2
126
126
  #
127
127
  def start(s, duration: nil)
128
128
 
129
- self.find_image(s).start duration: duration
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.1.4
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -10,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
+ 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: 2015-12-21 00:00:00.000000000 Z
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: '2.2'
46
+ version: '3.0'
43
47
  - - ">="
44
48
  - !ruby/object:Gem::Version
45
- version: 2.2.7
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: '2.2'
56
+ version: '3.0'
53
57
  - - ">="
54
58
  - !ruby/object:Gem::Version
55
- version: 2.2.7
59
+ version: 3.0.1
56
60
  description:
57
- email: james@r0bertson.co.uk
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
- rubyforge_project:
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