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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 686d40932f01858794198573db83781441b957b5f1b6feb40c573fae0d6b875c
4
- data.tar.gz: e8c518dbbf9efd739469acf901818e01d1ef2bcdce6dbbbb27be02374f1f252a
3
+ metadata.gz: 91aac235e1b63d708cf26742b11c1222c3b01e66fa31c5fd0e005e52c89dc307
4
+ data.tar.gz: e07876444001b05bf5517cc05b63cec2892502394e66162a556756cec50d4aa9
5
5
  SHA512:
6
- metadata.gz: a5f4c347af00d90e6ae287588d9c66c2056a67ddd687080dd0943d81a12e9bd587c43516034d40312fe7fd28d3c9d20587931caa6288e56644f8789e6c0e1227
7
- data.tar.gz: 8f152357a0230fbc53230ac70f2e56c687c040909f00493e037c2710b0fa2f754c6e38745b736c60e78bce5a7f75b230d8aeb69c6aebf301a0ad36f8a26e9732
6
+ metadata.gz: 6c01c026d2876ca74a1b66babe0fe9897aa296eaf7c3a0a15e58b468a47547ce14ce58d24469f52874e279aa8af006f58db950d3d15364b7ce801a02622698f9
7
+ data.tar.gz: 82f617649cfb3e805716f01df46dba5ba92656056528b0fc6d91eab16d6bdc189704ebf93952e0ab2a8d0edb5efcf9040901d2c9263b060e10cfea94b663859f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Ductwork Changelog
2
2
 
3
+ ## [0.24.0]
4
+
5
+ - feat: add new step transition enum values
6
+
3
7
  ## [0.23.0]
4
8
 
5
9
  - chore: add `paused` pipeline status to enum
data/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  [![CI](https://github.com/ductwork/ductwork/actions/workflows/main.yml/badge.svg)](https://github.com/ductwork/ductwork/actions/workflows/main.yml)
4
4
  [![Gem Version](https://badge.fury.io/rb/ductwork.svg?icon=si%3Arubygems)](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
 
@@ -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? ? "completed" : "in_progress"
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ductwork
4
- VERSION = "0.23.0"
4
+ VERSION = "0.24.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ductwork
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.0
4
+ version: 0.24.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyler Ewing