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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 52d7e43f1786f53222062344f5ba1c21473d384981a7cf6ffddaa1980d707252
4
- data.tar.gz: 7453aa7396775663b8f040fe507ec251dabefbc8e1d5ac2255eee919c65d2943
3
+ metadata.gz: 398ceefff1e7e57f7ad43cb979c1ef0f7b4430bbc017e92396a8e66565d86be9
4
+ data.tar.gz: 82b81adf9a24970e3dfc3b51b76a833115c535b356dd41d3c84b619cd36308df
5
5
  SHA512:
6
- metadata.gz: ea9d73885acedf923e33f1ace3e3649142a2ca1615a402a78ff93b216a412b369668f14139fd688fa225eea26120d6fd1e668cf1cb18cd8c3fd76f79e974436f
7
- data.tar.gz: ba2e70358c97d8e4fbd5af668f1db770b1d99cf292b7d8d42d661420bff553978d9961b676cdc1b1083a6ce70229c1c572cc1f3a10db9ec212287cc6f20a01b2
6
+ metadata.gz: 2ea3ac89978a5ba280a6729623e25e14b48ac2f0e858ee92c41fafb6570f18dea35e43824b480db7d62dc9d6f13cd58adc477265f1ae24d4e67dbe98a6d309c5
7
+ data.tar.gz: 9e3de820fcb941446252427f2daf864c5d17d7f82f7b16d87f1d4aa5e0227b27e8924871539b251264c0dadf5ce7b3c71f9c70fdad9023a45b27ad176c2cb637
@@ -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)
@@ -1,3 +1,3 @@
1
1
  module DirtyPipeline
2
- VERSION = "0.6.1"
2
+ VERSION = "0.6.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dirty_pipeline
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergey Dolganov