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 +4 -4
- data/lib/snap_ebs.rb +4 -1
- data/lib/snap_ebs/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0257553105574f8b4e869feef50792d3612be957
|
4
|
+
data.tar.gz: 58925791ef6569030d80af2109cd323b602dd2b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|
data/lib/snap_ebs/version.rb
CHANGED