aebus 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/aebus.rb +2 -7
  3. data/lib/aebus/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d4961058fa793c8cccd9961a3d70f01e0b06436d
4
- data.tar.gz: 5f9917ee6161fccaec5e1b74a2a71f1bb4308fb7
3
+ metadata.gz: 32d5906cb22b85195ac9c53ebcfb9d649e23e6f2
4
+ data.tar.gz: 96d9aa8e94fcaf210c372558acb8cecc2e91832e
5
5
  SHA512:
6
- metadata.gz: 0f331ed5ca55071aa1da176411a3894100ed9c70e9138dedcb1870295fb8ee9a3ded016c08711b351a3271e8e978a5d567d419c71123c8568a03c7ab93d48a41
7
- data.tar.gz: eca2695285ad5d95c371d11477f0f6a024d43974ff83db64ae6cd8665f2c42b226a98559d2569932c7ee03bb83c4a74b3880bd065bb64157e26f439020b7a532
6
+ metadata.gz: 7080170574769579b37201cc4f80ec823df00d6b399ef068192c1ecc33fe1a4e268976c3c2de8a10dd00b073d25acfaf8b2fee96065e85539c2a0657b83d130d
7
+ data.tar.gz: a1a40eae48332029200071fb09ecaa77b1612e7cf991540af64ee4638e6f9a8d1a7796bec2bdf26224fb5c2990e40240d9f7b944e18810c1b7695663cd3b7edc
@@ -288,13 +288,8 @@ module Aebus
288
288
 
289
289
  def purge_snapshot(snapshot_id)
290
290
  begin
291
- response = @ec2.delete_snapshot(:snapshot_id => snapshot_id)
292
- if response['return']
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
@@ -1,3 +1,3 @@
1
1
  module Aebus
2
- VERSION = '0.3.0'
2
+ VERSION = '0.3.1'
3
3
  end
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.0
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-14 00:00:00.000000000 Z
11
+ date: 2017-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: commander