trailblazer-activity 0.1.5 → 0.1.6

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
  SHA1:
3
- metadata.gz: 767263f9c44b98ac587ae990b3feed3ac74f11ed
4
- data.tar.gz: 0ef9c2e37f99170067b35ee8296705459bf9a9df
3
+ metadata.gz: df4bfa29ae42857b380ae366a8256d60b536f072
4
+ data.tar.gz: 562bf7c08d36f471eb5d609b4148067d0b95bd06
5
5
  SHA512:
6
- metadata.gz: 7e6a9385a56bbbae8747836e5946c3d6fb8966fc50377ec4fc55c5ffb6324a8a435b8bdbbec3fa5f107f32d76410cc556a795885839b67e14fdef9b9e320e023
7
- data.tar.gz: f6ffca410ecc638323d98ac4f2005491431faf3656f914984834ec1e14d4e12b8be516617404feb6b4fcf391cab4cb3849b6ac4f871b85fd15987ac7cf344c82
6
+ metadata.gz: 7776c71ee513ab9638b81becb2b27cdca56e505d0d50d42ba28e61729409da6ab7e96d2356ee0454be5ea34094851f8fe7130da6be17e8de02994fd327c5d132
7
+ data.tar.gz: be1df204fd6f067d45533d1d881d6f9afbad3d4f7a29273506e23fb67ce8eb022b2ab6d5ebc8566a2179a00e7a610d0656eec2dd8354b78272fc20b3920241da
data/CHANGES.md CHANGED
@@ -1,3 +1,9 @@
1
+ # 0.1.6
2
+
3
+ * `Nested` now is `Subprocess` because it literally does nothing else but calling a _process_ (or activity).
4
+
5
+ # 0.1.5
6
+
1
7
  # 0.1.4
2
8
 
3
9
  * `Nested` now uses kw args for `start_at` and the new `call` option. The latter allows to set the called method on the nested activity, e.g. `__call`.
@@ -1,13 +1,13 @@
1
1
  module Trailblazer
2
2
  class Activity
3
3
  # Builder for running a nested process from a specific `start_at` position.
4
- def self.Nested(*args, &block)
5
- Nested.new(*args, &block)
4
+ def self.Subprocess(*args, &block)
5
+ Subprocess.new(*args, &block)
6
6
  end
7
7
 
8
- # Nested allows to have tasks with a different call interface and start event.
8
+ # Subprocess allows to have tasks with a different call interface and start event.
9
9
  # @param activity Activity interface
10
- class Nested
10
+ class Subprocess
11
11
  def initialize(activity, start_at: nil, call: :call, &block)
12
12
  @activity, @start_at, @call, @block = activity, start_at, call, block
13
13
  end
@@ -1,5 +1,5 @@
1
1
  module Trailblazer
2
2
  class Activity
3
- VERSION = "0.1.5"
3
+ VERSION = "0.1.6"
4
4
  end
5
5
  end
@@ -10,7 +10,7 @@ module Trailblazer
10
10
 
11
11
  require "trailblazer/activity/version"
12
12
  require "trailblazer/activity/graph"
13
- require "trailblazer/activity/nested"
13
+ require "trailblazer/activity/subprocess"
14
14
  require "trailblazer/activity/trace"
15
15
  require "trailblazer/activity/present"
16
16
  require "trailblazer/activity/wrap"
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.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Sutterer
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-09-13 00:00:00.000000000 Z
11
+ date: 2017-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hirb
@@ -97,8 +97,8 @@ files:
97
97
  - lib/trailblazer-activity.rb
98
98
  - lib/trailblazer/activity.rb
99
99
  - lib/trailblazer/activity/graph.rb
100
- - lib/trailblazer/activity/nested.rb
101
100
  - lib/trailblazer/activity/present.rb
101
+ - lib/trailblazer/activity/subprocess.rb
102
102
  - lib/trailblazer/activity/trace.rb
103
103
  - lib/trailblazer/activity/version.rb
104
104
  - lib/trailblazer/activity/wrap.rb