dirty_pipeline 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dirty_pipeline/base.rb +1 -1
- data/lib/dirty_pipeline/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 398ceefff1e7e57f7ad43cb979c1ef0f7b4430bbc017e92396a8e66565d86be9
|
4
|
+
data.tar.gz: 82b81adf9a24970e3dfc3b51b76a833115c535b356dd41d3c84b619cd36308df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ea3ac89978a5ba280a6729623e25e14b48ac2f0e858ee92c41fafb6570f18dea35e43824b480db7d62dc9d6f13cd58adc477265f1ae24d4e67dbe98a6d309c5
|
7
|
+
data.tar.gz: 9e3de820fcb941446252427f2daf864c5d17d7f82f7b16d87f1d4aa5e0227b27e8924871539b251264c0dadf5ce7b3c71f9c70fdad9023a45b27ad176c2cb637
|
data/lib/dirty_pipeline/base.rb
CHANGED
@@ -156,6 +156,7 @@ module DirtyPipeline
|
|
156
156
|
def interupt_on_error(event)
|
157
157
|
return unless (fail_cause = catch(:fail_transition) { yield; nil })
|
158
158
|
Failure(event, fail_cause, type: :error)
|
159
|
+
throw :abort_transaction, true
|
159
160
|
end
|
160
161
|
|
161
162
|
def find_subject_args
|
@@ -166,7 +167,6 @@ module DirtyPipeline
|
|
166
167
|
railway.switch_to(:undo)
|
167
168
|
event.failure!
|
168
169
|
@status = Status.failure(cause, tag: type)
|
169
|
-
throw :abort_transaction, true
|
170
170
|
end
|
171
171
|
|
172
172
|
def Success(event, changes, destination)
|