ductwork 0.23.0 → 0.25.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: 970768539836272ed6d411c51898eb3abc90daedf469699ab11436614271db52
4
+ data.tar.gz: 07fe94c58e54abf798a9d2e33bf3efdaf28ed9c3b084d3d80f330f178bb4fb47
5
5
  SHA512:
6
- metadata.gz: a5f4c347af00d90e6ae287588d9c66c2056a67ddd687080dd0943d81a12e9bd587c43516034d40312fe7fd28d3c9d20587931caa6288e56644f8789e6c0e1227
7
- data.tar.gz: 8f152357a0230fbc53230ac70f2e56c687c040909f00493e037c2710b0fa2f754c6e38745b736c60e78bce5a7f75b230d8aeb69c6aebf301a0ad36f8a26e9732
6
+ metadata.gz: 2e40a877565d3e9ebdec716ada4c6bbcb5bec0bcef1bf6e15c9bc4ed58c4b8050672dc076f46461e91756d627a5225caaaf4476de2d360be3a9680367b498575
7
+ data.tar.gz: bfe7ef9eb3ea768b0f2b37e29064a13baff9209523545d5971fbb34c670b5ee792f3130d1e126270ee91b4c296bc6b7beaa13a2b3f46e88512499e1b88663071
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Ductwork Changelog
2
2
 
3
+ ## [0.25.0]
4
+
5
+ - chore: align "dampen" naming and remove "pause" naming
6
+
7
+ ## [0.24.0]
8
+
9
+ - feat: add new step transition enum values
10
+
3
11
  ## [0.23.0]
4
12
 
5
13
  - 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
 
@@ -19,7 +19,7 @@ module Ductwork
19
19
  waiting: "waiting",
20
20
  advancing: "advancing",
21
21
  halted: "halted",
22
- paused: "paused",
22
+ dampened: "dampened",
23
23
  completed: "completed"
24
24
 
25
25
  def self.inherited(subclass)
@@ -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
+ dampen: "dampen"
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.dampened?
103
+ "dampened"
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.25.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.25.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyler Ewing