trailblazer-activity-dsl-linear 0.3.2 → 0.3.3

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: e481aa5153de44b0da4d54cbfe4782ba8347dbb49032a7c1045c9e7e6cb1042a
4
- data.tar.gz: b2d3a3aa554e024c0b21df9da96a9602ee95ab180413067f1b3051085777d5b4
3
+ metadata.gz: a7741680df8be738f51b14cbebc68d19b82fea3b0464f3ab40a665c66271625d
4
+ data.tar.gz: edd0e20d30c0b3ff3d89b7f87debcdeed0f6d1750e74615b77ed84e237ad5cee
5
5
  SHA512:
6
- metadata.gz: fb497050bd9724d6c7983ed6add78c1db935037420f298146cdf782846d3327dbd7f056b7356333a10873ba0a7fb1e5bfecff43e4108576696ef4724ab1d6284
7
- data.tar.gz: 9228ce6fae917cf7fba140893d1909616c29d9741312e7319dd21e4d0aca575a5201b272eddd865aad6df2ba6624abb6dde64accef4c8fc31e14e002e9b0b7fe
6
+ metadata.gz: 89a399c069191179de81b7ddecfb42981369e5a9fb648e058c4303fe73e2de1eed581a121a2f1aa99a34985f6616a79602ce6b5bbf0e769df82b26f08e18196f
7
+ data.tar.gz: 14de736b4f569bcb2c258039b45ca100e99bc9e280d5cf7fca809ff180420d8ab6ff05041d9b12f3b3844ebb74934655f989124e08deecdb2179dd673b19a88a
data/CHANGES.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.3.3
2
+
3
+ * Fix for registering `PassFast` & `FailFast` ends in `FastTrack` to fix circuit interface callables which emits those signals.
4
+
1
5
  # 0.3.2
2
6
 
3
7
  * Updrading `trailblazer-activity` version to utilise new `trailblazer-context` :drum:
@@ -3,7 +3,7 @@ module Trailblazer
3
3
  module Activity
4
4
  module DSL
5
5
  module Linear
6
- VERSION = "0.3.2"
6
+ VERSION = "0.3.3"
7
7
  end
8
8
  end
9
9
  end
@@ -63,6 +63,11 @@ module Trailblazer
63
63
  def pass_fast_option((ctx, flow_options), *)
64
64
  ctx = merge_connections_for(ctx, ctx, :pass_fast, :success)
65
65
 
66
+ ctx = merge_connections_for(ctx, ctx, :pass_fast, :pass_fast, :pass_fast)
67
+ ctx = merge_outputs_for(ctx,
68
+ pass_fast: Activity.Output(Activity::FastTrack::PassFast, :pass_fast),
69
+ )
70
+
66
71
  return Right, [ctx, flow_options]
67
72
  end
68
73
 
@@ -76,6 +81,11 @@ module Trailblazer
76
81
  def fail_fast_option((ctx, flow_options), *)
77
82
  ctx = merge_connections_for(ctx, ctx, :fail_fast, :failure)
78
83
 
84
+ ctx = merge_connections_for(ctx, ctx, :fail_fast, :fail_fast, :fail_fast)
85
+ ctx = merge_outputs_for(ctx,
86
+ fail_fast: Activity.Output(Activity::FastTrack::FailFast, :fail_fast),
87
+ )
88
+
79
89
  return Right, [ctx, flow_options]
80
90
  end
81
91
 
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
19
19
  end
20
20
  spec.require_paths = ["lib"]
21
21
 
22
- spec.add_dependency "trailblazer-activity", ">= 0.11.2", "< 1.0.0"
22
+ spec.add_dependency "trailblazer-activity", ">= 0.11.3", "< 1.0.0"
23
23
 
24
24
  spec.add_development_dependency "bundler"
25
25
  spec.add_development_dependency "minitest", "~> 5.0"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trailblazer-activity-dsl-linear
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Sutterer
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-20 00:00:00.000000000 Z
11
+ date: 2020-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: trailblazer-activity
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.11.2
19
+ version: 0.11.3
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 1.0.0
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.11.2
29
+ version: 0.11.3
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 1.0.0
@@ -120,7 +120,7 @@ homepage: http://trailblazer.to
120
120
  licenses:
121
121
  - LGPL-3.0
122
122
  metadata: {}
123
- post_install_message:
123
+ post_install_message:
124
124
  rdoc_options: []
125
125
  require_paths:
126
126
  - lib
@@ -136,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  version: '0'
137
137
  requirements: []
138
138
  rubygems_version: 3.0.8
139
- signing_key:
139
+ signing_key:
140
140
  specification_version: 4
141
141
  summary: Simple DSL to define Trailblazer activities.
142
142
  test_files: []