floe 0.11.0 → 0.11.1
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 +10 -1
- data/lib/floe/version.rb +1 -1
- data/lib/floe/workflow/states/non_terminal_mixin.rb +3 -1
- data/lib/floe/workflow/states/pass.rb +2 -3
- data/lib/floe/workflow/states/task.rb +0 -5
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ddff07ec60a21f0d90224e992e9e08d51c420a66203daf3d2f9a46257b0df9fa
|
|
4
|
+
data.tar.gz: bd1dee4d43ea4e62bae056893342aec18fd3acfdcde4b916c1f8cb3f04f9607e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 54c7fc79d150ff6801ab36b686fea09543902ee8a76b2fb787a5e038bc2dfef6c55a33f628f4abb888c057db73ab51613aea545a643a64adbaffe6895bc1e8cb
|
|
7
|
+
data.tar.gz: 3b73fadfc840a7f69d923116005f174a07d7e8f9ddd878e852c979563bcd7b63ff1acc7461c9222c48bd598e169fe010a786f970c37029d1225c4fe78118a624
|
data/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,14 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [0.11.1] - 2024-05-20
|
|
8
|
+
### Fixed
|
|
9
|
+
- Fix issue where a failed state can leave a workflow in "running" ([#182](https://github.com/ManageIQ/floe/pull/182))
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
- Drop unused Task#status ([#180](https://github.com/ManageIQ/floe/pull/180))
|
|
13
|
+
- Check task failed? in non_terminal_mixin ([#183](https://github.com/ManageIQ/floe/pull/183))
|
|
14
|
+
|
|
7
15
|
## [0.11.0] - 2024-05-02
|
|
8
16
|
### Fixed
|
|
9
17
|
- Ensure the local code is loaded in exe/floe ([#173](https://github.com/ManageIQ/floe/pull/173))
|
|
@@ -165,7 +173,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
165
173
|
### Added
|
|
166
174
|
- Initial release
|
|
167
175
|
|
|
168
|
-
[Unreleased]: https://github.com/ManageIQ/floe/compare/v0.11.
|
|
176
|
+
[Unreleased]: https://github.com/ManageIQ/floe/compare/v0.11.1...HEAD
|
|
177
|
+
[0.11.1]: https://github.com/ManageIQ/floe/compare/v0.11.0...v0.11.1
|
|
169
178
|
[0.11.0]: https://github.com/ManageIQ/floe/compare/v0.10.0...v0.11.0
|
|
170
179
|
[0.10.0]: https://github.com/ManageIQ/floe/compare/v0.9.0...v0.10.0
|
|
171
180
|
[0.9.0]: https://github.com/ManageIQ/floe/compare/v0.8.0...v0.9.0
|
data/lib/floe/version.rb
CHANGED
|
@@ -25,9 +25,8 @@ module Floe
|
|
|
25
25
|
end
|
|
26
26
|
|
|
27
27
|
def finish
|
|
28
|
-
input
|
|
29
|
-
context.output
|
|
30
|
-
context.next_state = end? ? nil : @next
|
|
28
|
+
input = process_input(context.input)
|
|
29
|
+
context.output = process_output(input, result)
|
|
31
30
|
super
|
|
32
31
|
end
|
|
33
32
|
|
|
@@ -41,10 +41,6 @@ module Floe
|
|
|
41
41
|
context.state["RunnerContext"] = runner_context
|
|
42
42
|
end
|
|
43
43
|
|
|
44
|
-
def status
|
|
45
|
-
@end ? "success" : "running"
|
|
46
|
-
end
|
|
47
|
-
|
|
48
44
|
def finish
|
|
49
45
|
output = runner.output(context.state["RunnerContext"])
|
|
50
46
|
|
|
@@ -53,7 +49,6 @@ module Floe
|
|
|
53
49
|
context.output = process_output(context.input.dup, output)
|
|
54
50
|
super
|
|
55
51
|
else
|
|
56
|
-
context.next_state = nil
|
|
57
52
|
context.output = error = parse_error(output)
|
|
58
53
|
super
|
|
59
54
|
retry_state!(error) || catch_error!(error) || fail_workflow!(error)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: floe
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.11.
|
|
4
|
+
version: 0.11.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- ManageIQ Developers
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-05-
|
|
11
|
+
date: 2024-05-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: awesome_spawn
|