aebus 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aebus.rb +2 -7
- data/lib/aebus/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32d5906cb22b85195ac9c53ebcfb9d649e23e6f2
|
4
|
+
data.tar.gz: 96d9aa8e94fcaf210c372558acb8cecc2e91832e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7080170574769579b37201cc4f80ec823df00d6b399ef068192c1ecc33fe1a4e268976c3c2de8a10dd00b073d25acfaf8b2fee96065e85539c2a0657b83d130d
|
7
|
+
data.tar.gz: a1a40eae48332029200071fb09ecaa77b1612e7cf991540af64ee4638e6f9a8d1a7796bec2bdf26224fb5c2990e40240d9f7b944e18810c1b7695663cd3b7edc
|
data/lib/aebus.rb
CHANGED
@@ -288,13 +288,8 @@ module Aebus
|
|
288
288
|
|
289
289
|
def purge_snapshot(snapshot_id)
|
290
290
|
begin
|
291
|
-
|
292
|
-
|
293
|
-
logger.info("Purged snapshot #{snapshot_id}")
|
294
|
-
true
|
295
|
-
else
|
296
|
-
false
|
297
|
-
end
|
291
|
+
@ec2.delete_snapshot(:snapshot_id => snapshot_id)
|
292
|
+
logger.info("Purged snapshot #{snapshot_id}")
|
298
293
|
rescue Aws::EC2::Errors::ServiceError => e
|
299
294
|
logger.warn("Could not purge snapshot #{snapshot_id}; underlying message #{e.message}")
|
300
295
|
false
|
data/lib/aebus/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aebus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marco Sandrini
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-03-
|
11
|
+
date: 2017-03-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: commander
|