trailblazer-operation 0.2.4 → 0.2.5
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d9e1d5b133331e52c4daa858d788d4a040be8d732b9038e6a8294e1ae868ba7
|
4
|
+
data.tar.gz: 07b4cfe11ffb833ad8b1681207eabaad2b4937fe0422eb920799fb3c238f2e39
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6e77202fc2c6497d6bc5d9819e6334f8ff5165f6d65eda01ef6efb5e4146e34fc9e7f1205266a652c826ddae525d1f8cc811203cd6be129338611096fe821a9
|
7
|
+
data.tar.gz: fbb8bdb761168cf7d361bb04014026aae6ecee8aa481294aca3e05732f769cb78a747176d59099d9468802e37a292a4c6a964d401154b810d98ee57717dda1b2
|
data/CHANGES.md
CHANGED
data/Gemfile
CHANGED
@@ -8,7 +8,7 @@ module Trailblazer
|
|
8
8
|
wrapped_proc = ->( (options, flow_options), **circuit_options ) do
|
9
9
|
result = proc.(circuit_options[:exec_context], options) # run the macro, with the deprecated signature.
|
10
10
|
|
11
|
-
direction = Activity::TaskBuilder
|
11
|
+
direction = Activity::TaskBuilder.binary_signal_for(result, Activity::Right, Activity::Left)
|
12
12
|
|
13
13
|
return direction, [options, flow_options]
|
14
14
|
end
|
@@ -27,7 +27,7 @@ module Trailblazer
|
|
27
27
|
# TODO remove in 2.2
|
28
28
|
def self.deprecate_name(ctx, local_options:, connection_options:, **)
|
29
29
|
connection_options, deprecated_options = Activity::Magnetic::Options.normalize(connection_options, [:name])
|
30
|
-
local_options, _deprecated_options
|
30
|
+
local_options, _deprecated_options = Activity::Magnetic::Options.normalize(local_options, [:name])
|
31
31
|
|
32
32
|
deprecated_options = deprecated_options.merge(_deprecated_options)
|
33
33
|
|
@@ -48,10 +48,10 @@ module Trailblazer
|
|
48
48
|
end
|
49
49
|
|
50
50
|
# add more normalization tasks to the existing Magnetic::Normalizer::Pipeline
|
51
|
-
task Activity::TaskBuilder::Binary
|
52
|
-
task Activity::TaskBuilder::Binary
|
53
|
-
task Activity::TaskBuilder::Binary
|
54
|
-
task Activity::TaskBuilder::Binary
|
51
|
+
task Activity::TaskBuilder::Binary( method(:deprecate_macro_with_two_args) ), before: "split_options"
|
52
|
+
task Activity::TaskBuilder::Binary( method(:deprecate_name) )
|
53
|
+
task Activity::TaskBuilder::Binary( method(:override) )
|
54
|
+
task Activity::TaskBuilder::Binary( method(:raise_on_missing_id) )
|
55
55
|
end
|
56
56
|
end # Normalizer
|
57
57
|
end
|
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
|
|
17
17
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
18
18
|
spec.require_paths = ["lib"]
|
19
19
|
|
20
|
-
spec.add_dependency "trailblazer-activity", ">= 0.5.
|
20
|
+
spec.add_dependency "trailblazer-activity", ">= 0.5.2", "< 0.7.0"
|
21
21
|
spec.add_dependency "trailblazer-context", ">= 0.1.1", "< 0.3.0"
|
22
22
|
|
23
23
|
spec.add_development_dependency "bundler"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trailblazer-operation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Sutterer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-03-
|
11
|
+
date: 2018-03-23 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.5.
|
19
|
+
version: 0.5.2
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 0.7.0
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.5.
|
29
|
+
version: 0.5.2
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 0.7.0
|