ductwork 0.23.0 → 0.24.0
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/CHANGELOG.md +4 -0
- data/README.md +1 -1
- data/lib/ductwork/models/step.rb +4 -1
- data/lib/ductwork/processes/pipeline_advancer.rb +7 -1
- data/lib/ductwork/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 91aac235e1b63d708cf26742b11c1222c3b01e66fa31c5fd0e005e52c89dc307
|
|
4
|
+
data.tar.gz: e07876444001b05bf5517cc05b63cec2892502394e66162a556756cec50d4aa9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6c01c026d2876ca74a1b66babe0fe9897aa296eaf7c3a0a15e58b468a47547ce14ce58d24469f52874e279aa8af006f58db950d3d15364b7ce801a02622698f9
|
|
7
|
+
data.tar.gz: 82f617649cfb3e805716f01df46dba5ba92656056528b0fc6d91eab16d6bdc189704ebf93952e0ab2a8d0edb5efcf9040901d2c9263b060e10cfea94b663859f
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
[](https://github.com/ductwork/ductwork/actions/workflows/main.yml)
|
|
4
4
|
[](https://rubygems.org/gems/ductwork)
|
|
5
5
|
|
|
6
|
-
A Ruby pipeline framework.
|
|
6
|
+
A Ruby pipeline and workflow framework.
|
|
7
7
|
|
|
8
8
|
Ductwork lets you build complex pipelines quickly and easily using intuitive Ruby tooling and a natural DSL. No need to learn complicated unified object models or stand up separate runner instances—just write Ruby code and let Ductwork handle the orchestration.
|
|
9
9
|
|
data/lib/ductwork/models/step.rb
CHANGED
|
@@ -24,7 +24,10 @@ module Ductwork
|
|
|
24
24
|
divide: "divide",
|
|
25
25
|
combine: "combine",
|
|
26
26
|
expand: "expand",
|
|
27
|
-
collapse: "collapse"
|
|
27
|
+
collapse: "collapse",
|
|
28
|
+
divert: "divert",
|
|
29
|
+
converge: "converge",
|
|
30
|
+
damper: "damper"
|
|
28
31
|
|
|
29
32
|
def self.build_for_execution(pipeline_id, *, **)
|
|
30
33
|
instance = allocate
|
|
@@ -97,7 +97,13 @@ module Ductwork
|
|
|
97
97
|
)
|
|
98
98
|
|
|
99
99
|
# rubocop:todo Metrics/BlockNesting
|
|
100
|
-
status = pipeline.completed?
|
|
100
|
+
status = if pipeline.completed?
|
|
101
|
+
"completed"
|
|
102
|
+
elsif pipeline.paused?
|
|
103
|
+
"paused"
|
|
104
|
+
else
|
|
105
|
+
"in_progress"
|
|
106
|
+
end
|
|
101
107
|
# rubocop:enable Metrics/BlockNesting
|
|
102
108
|
ensure
|
|
103
109
|
# release the pipeline and set last advanced at so it doesn't
|
data/lib/ductwork/version.rb
CHANGED