trailblazer-activity-dsl-linear 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: e8dd3e02254b671396f311179af67026769e83716736abf5b760ea1ac149da89
4
- data.tar.gz: 15cf93cb0c977ce2c7abd72d8f4e2866c79ff529e7bbb289a3f9baf8c7c2c350
3
+ metadata.gz: d7b19b59ebf1ee26717edb3a9d5e797eec4a4796bc567bdc21ee92ba13fd4a04
4
+ data.tar.gz: 782a283ddf31bdebc6575323c7fcdae0958f301802793c5d193b2c42494f1076
5
5
  SHA512:
6
- metadata.gz: f26e85575fa37251c27f3c63d1ed0d172ad042153cbb10adcd790b627b51794f3f4f404c74cca4c5bbdf8dc5fe9aad0083db0ea4817cd1ac9356f4cc1824072d
7
- data.tar.gz: ca25f0e7612524e6cbd1917e72a0c58256e4ab1f4e1c36232ab1c17c123c14637eda6891a881948812f0bbe6d4801e72cb03d22d699e16f80a655fea4ec463f9
6
+ metadata.gz: bc097663260f945545c68f4f7f9c8e6023631b5ff67552ec0baf0ee39acdf3b6c8517c31b31aecadcaf8d61b09e04ee31c033d0ae80b5019f5cc0b3392da64b1
7
+ data.tar.gz: cafc5c1e5dd50768986066988efac3b4fcbc37a5da13e10b2ca542fec63eb7193dee59a6379437bdd3ac69ea3a2e492065c4c076755e58432b11461e215fb01b
data/CHANGES.md CHANGED
@@ -1,3 +1,8 @@
1
+ # 0.2.5
2
+
3
+ * Patching now requires the [`:patch` option for `Subprocess`](http://2019.trailblazer.to/2.1/docs/activity.html#activity-dsl-options-patching
4
+ ).
5
+
1
6
  # 0.2.4
2
7
 
3
8
  * Add a minimal API for patching nested activities. This allows customizing deeply-nested activities without changing the original.
@@ -80,8 +80,10 @@ module Trailblazer
80
80
  end
81
81
 
82
82
  # Computes the {:outputs} options for {activity}.
83
- def Subprocess(activity, path=[], patch=nil)
84
- activity = Patch.(activity, path, patch) if path.any?
83
+ def Subprocess(activity, patch: {})
84
+ patch.each do |path, patch|
85
+ activity = Patch.(activity, path, patch) # TODO: test if multiple patches works!
86
+ end
85
87
 
86
88
  {
87
89
  task: activity,
@@ -3,7 +3,7 @@ module Trailblazer
3
3
  module Activity
4
4
  module DSL
5
5
  module Linear
6
- VERSION = "0.2.4"
6
+ VERSION = "0.2.5"
7
7
  end
8
8
  end
9
9
  end
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.2.4
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: 2019-12-16 00:00:00.000000000 Z
11
+ date: 2020-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: trailblazer-activity