light_operations 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/light_operations/core.rb +2 -2
- data/lib/light_operations/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: 300fd25aaa9f8a3883fe4e55219329c8d00f029c
|
4
|
+
data.tar.gz: 756acce1ac950f4c6d7b3f73bbb873ac1fc0ce20
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11148d39c37a1e9eef7d7be388a4c43a0ac685ff0ac121ef9919a5be66975b469ef0911f85456d9ac3f9c69dcd487ba5fcb776b644f857377bd4bfeb0640a8fe
|
7
|
+
data.tar.gz: dfaaa48d2ebb1104a0bd503b4b894ee45d8f516ee73fc7e7fe4963a5d706cf4ecebb3eea74f590d9566b3944301a034de9adcc22656b814f859f67cb529cdf51
|
@@ -102,9 +102,9 @@ module LightOperations
|
|
102
102
|
action.call(subject, errors) if action.is_a?(Proc)
|
103
103
|
end
|
104
104
|
|
105
|
-
def fail!(
|
105
|
+
def fail!(fail_obj = [])
|
106
106
|
@errors = nil
|
107
|
-
@fail_errors =
|
107
|
+
@fail_errors = fail_obj
|
108
108
|
end
|
109
109
|
|
110
110
|
def actions
|