trailblazer-activity 0.8.2 → 0.8.3
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/CHANGES.md +4 -0
- data/README.md +6 -0
- data/lib/trailblazer/activity/introspect.rb +3 -2
- data/lib/trailblazer/activity/task_wrap/inject.rb +3 -1
- data/lib/trailblazer/activity/version.rb +1 -1
- data/trailblazer-activity.gemspec +2 -2
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 963c78273fd623d221116e36d467bcbcaf0f2ac133ae2eba3284fd6438228a4b
|
|
4
|
+
data.tar.gz: 341dc4c8ffa718fe459d11c2d33f059afd97ba44ab8c04b137861179d3403cef
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 730319c87eac30efc200fa2e043d12a50c5956301fd50050e1e44477248b3cc5de9a6a79376817af362b0b640a87de99bd5e10d1437a1095ec74a31b0dc524b8
|
|
7
|
+
data.tar.gz: 68bd28cd5e6353e80c8b812c96c0cb587240fec872ca34ca870912cd2123d918f1c86168c7def9979f098b86da267c88cd91116951fb92c17787841a66f16784
|
data/CHANGES.md
CHANGED
data/README.md
CHANGED
|
@@ -79,3 +79,9 @@ With Activity, modeling business processes turns out to be ridiculously simple:
|
|
|
79
79
|
## Operation
|
|
80
80
|
|
|
81
81
|
Trailblazer's [`Operation`](http://trailblazer.to/2.1/operation) internally uses an activity to model the processes.
|
|
82
|
+
|
|
83
|
+
## License
|
|
84
|
+
|
|
85
|
+
© Copyright 2018, Trailblazer GmbH
|
|
86
|
+
|
|
87
|
+
Licensed under the LGPLv3 license. We also offer a [commercial-friendly license](http://trailblazer.to/pro).
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
module Trailblazer
|
|
2
2
|
class Activity
|
|
3
|
-
# The Introspect API
|
|
4
|
-
# to third-parties such as
|
|
3
|
+
# The Introspect API provides inflections for `Activity` instances.
|
|
4
|
+
# It abstracts internals about circuits and provides a convenient API to third-parties such as
|
|
5
|
+
# tracing, rendering an activity, or finding particular tasks.
|
|
5
6
|
module Introspect
|
|
6
7
|
def self.Graph(*args)
|
|
7
8
|
Graph.new(*args)
|
|
@@ -11,7 +11,9 @@ class Trailblazer::Activity
|
|
|
11
11
|
input = ->(original_ctx) do
|
|
12
12
|
defaulted_options = defaults_for(defaults, original_ctx)
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
ctx = original_ctx.merge(defaulted_options)
|
|
15
|
+
|
|
16
|
+
Trailblazer::Context.for(ctx, [original_ctx, {}], {})
|
|
15
17
|
end
|
|
16
18
|
|
|
17
19
|
output = ->(original_ctx, new_ctx) { # FIXME: use Unscope
|
|
@@ -10,14 +10,14 @@ Gem::Specification.new do |spec|
|
|
|
10
10
|
|
|
11
11
|
spec.summary = %q{Runtime code for Trailblazer activities.}
|
|
12
12
|
spec.homepage = "http://trailblazer.to"
|
|
13
|
-
spec.licenses = ["
|
|
13
|
+
spec.licenses = ["LGPL-3.0"]
|
|
14
14
|
|
|
15
15
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
|
16
16
|
f.match(%r{^(test)/})
|
|
17
17
|
end
|
|
18
18
|
spec.require_paths = ["lib"]
|
|
19
19
|
|
|
20
|
-
spec.add_dependency "trailblazer-context"
|
|
20
|
+
spec.add_dependency "trailblazer-context", ">= 0.1.4"
|
|
21
21
|
|
|
22
22
|
spec.add_development_dependency "bundler"
|
|
23
23
|
spec.add_development_dependency "minitest", "~> 5.0"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: trailblazer-activity
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.8.
|
|
4
|
+
version: 0.8.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nick Sutterer
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-07-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: trailblazer-context
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version:
|
|
19
|
+
version: 0.1.4
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - ">="
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version:
|
|
26
|
+
version: 0.1.4
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: bundler
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -120,7 +120,7 @@ files:
|
|
|
120
120
|
- trailblazer-activity.gemspec
|
|
121
121
|
homepage: http://trailblazer.to
|
|
122
122
|
licenses:
|
|
123
|
-
-
|
|
123
|
+
- LGPL-3.0
|
|
124
124
|
metadata: {}
|
|
125
125
|
post_install_message:
|
|
126
126
|
rdoc_options: []
|