snap-ebs 0.0.24 → 0.0.25

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
2
  SHA1:
3
- metadata.gz: 2061537094f47e4df011fc2d26e44e415b4b3bb0
4
- data.tar.gz: cdd3279f8cfce83678b9e32d9a857e840bb73cdb
3
+ metadata.gz: 0257553105574f8b4e869feef50792d3612be957
4
+ data.tar.gz: 58925791ef6569030d80af2109cd323b602dd2b3
5
5
  SHA512:
6
- metadata.gz: 28ace1110e45b2f3477c83758fe6e6f334d8d6fa91763cea846ae4231e0df18070b7d0a8cb6c6119f1bdf14e448bdbf7e436939bbb6e1ca25852675ac4339ddd
7
- data.tar.gz: c8277d4443918049ac3eb3463f06747301856d764f096c0c59afdc2989152be25c5a465da01af9e74f19d8b9af5e1020cb7a93a0e5057233be76d355e1e9882f
6
+ metadata.gz: 3284b4681c769d9a4d65b53ee2eb871b1a18759c1e29940953746b0e00d313e3c3dc0866cd6db98b12141386000f7a267d79e478c6a293a28976c7ec45a93756
7
+ data.tar.gz: e13e9ad549ca62e259c15cc7dc57795de8ab4d47c07094be3d7e554abb9f9c64d6d9e95fdaad7eee97b4b899fd8ae6f71f6d8f6ba93121644b4748e5381d6396
data/lib/snap_ebs.rb CHANGED
@@ -46,7 +46,10 @@ class SnapEbs
46
46
  next unless plugin.options.enable
47
47
  begin
48
48
  # we don't snap unless all plugin.before calls return a truthy value
49
- ok = ok && plugin.before
49
+ unless plugin.before
50
+ plugin.options.enable = false
51
+ ok = false
52
+ end
50
53
  rescue => e
51
54
  logger.error "Encountered error while running the #{plugin.name} plugin's before hook"
52
55
  logger.error e
@@ -1,3 +1,3 @@
1
1
  class SnapEbs
2
- VERSION = '0.0.24'
2
+ VERSION = '0.0.25'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: snap-ebs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.24
4
+ version: 0.0.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bryan Conrad