floe 0.11.1 → 0.11.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -2
- data/floe.gemspec +1 -0
- data/lib/floe/runner.rb +1 -1
- data/lib/floe/version.rb +1 -1
- data/lib/floe/workflow/reference_path.rb +0 -10
- data/lib/floe/workflow/states/choice.rb +2 -3
- data/lib/floe/workflow/states/pass.rb +1 -2
- data/lib/floe/workflow/states/succeed.rb +0 -4
- data/lib/floe/workflow/states/task.rb +0 -4
- data/lib/floe/workflow.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 302eabcce76893426ed95920bff11ed2bba9956a7d006249d86212e30c5cc67c
|
4
|
+
data.tar.gz: 4148b20da8ef81e6e45a4ec73489cdcf956115d1f99535019aef3b561ed45e00
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 73a1a714b1d729af89dd9839655955f76c3ed69fa8814e230fc03746175d1ff243b8b58fd02dce272d683b39fe50cd88c1c3a7f05cd2e36e9aa070747f85ae6f
|
7
|
+
data.tar.gz: bf13a6c8f07a5918e78d99bb5a03c29b3a76e059c92cd6f3fec85dd64b1d701138a16a9c0e6df10ed820f4f97ef932152f1d0a61b38a60d3d344728da9ec33c7
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,11 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
4
4
|
|
5
5
|
## [Unreleased]
|
6
6
|
|
7
|
+
## [0.11.2] - 2024-05-24
|
8
|
+
### Fixed
|
9
|
+
- Output now based upon raw input not effective input ([#191](https://github.com/ManageIQ/floe/pull/191))
|
10
|
+
- Fix error raised on invalid resource scheme ([#195](https://github.com/ManageIQ/floe/pull/195))
|
11
|
+
|
7
12
|
## [0.11.1] - 2024-05-20
|
8
13
|
### Fixed
|
9
14
|
- Fix issue where a failed state can leave a workflow in "running" ([#182](https://github.com/ManageIQ/floe/pull/182))
|
@@ -27,7 +32,6 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
27
32
|
### Removed
|
28
33
|
- Remove unused run! method ([#176](https://github.com/ManageIQ/floe/pull/176))
|
29
34
|
|
30
|
-
|
31
35
|
## [0.10.0] - 2024-04-05
|
32
36
|
### Fixed
|
33
37
|
- Fix rubocops ([#164](https://github.com/ManageIQ/floe/pull/164))
|
@@ -173,7 +177,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
173
177
|
### Added
|
174
178
|
- Initial release
|
175
179
|
|
176
|
-
[Unreleased]: https://github.com/ManageIQ/floe/compare/v0.11.
|
180
|
+
[Unreleased]: https://github.com/ManageIQ/floe/compare/v0.11.2...HEAD
|
181
|
+
[0.11.2]: https://github.com/ManageIQ/floe/compare/v0.11.1...v0.11.2
|
177
182
|
[0.11.1]: https://github.com/ManageIQ/floe/compare/v0.11.0...v0.11.1
|
178
183
|
[0.11.0]: https://github.com/ManageIQ/floe/compare/v0.10.0...v0.11.0
|
179
184
|
[0.10.0]: https://github.com/ManageIQ/floe/compare/v0.9.0...v0.10.0
|
data/floe.gemspec
CHANGED
@@ -13,6 +13,7 @@ Gem::Specification.new do |spec|
|
|
13
13
|
spec.required_ruby_version = ">= 2.7.0"
|
14
14
|
|
15
15
|
spec.metadata["allowed_push_host"] = "https://rubygems.org"
|
16
|
+
spec.metadata['rubygems_mfa_required'] = "true"
|
16
17
|
|
17
18
|
spec.metadata["homepage_uri"] = spec.homepage
|
18
19
|
spec.metadata["source_code_uri"] = spec.homepage
|
data/lib/floe/runner.rb
CHANGED
data/lib/floe/version.rb
CHANGED
@@ -3,16 +3,6 @@
|
|
3
3
|
module Floe
|
4
4
|
class Workflow
|
5
5
|
class ReferencePath < Path
|
6
|
-
class << self
|
7
|
-
def get(payload, context)
|
8
|
-
new(payload).get(context)
|
9
|
-
end
|
10
|
-
|
11
|
-
def set(payload, context, value)
|
12
|
-
new(payload).set(context, value)
|
13
|
-
end
|
14
|
-
end
|
15
|
-
|
16
6
|
attr_reader :path
|
17
7
|
|
18
8
|
def initialize(*)
|
@@ -19,9 +19,8 @@ module Floe
|
|
19
19
|
end
|
20
20
|
|
21
21
|
def finish
|
22
|
-
|
23
|
-
next_state = choices.detect { |choice| choice.true?(context,
|
24
|
-
output = output_path.value(context, input)
|
22
|
+
output = output_path.value(context, context.input)
|
23
|
+
next_state = choices.detect { |choice| choice.true?(context, output) }&.next || default
|
25
24
|
|
26
25
|
context.next_state = next_state
|
27
26
|
context.output = output
|
data/lib/floe/workflow.rb
CHANGED
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.2
|
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-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: awesome_spawn
|
@@ -223,6 +223,7 @@ homepage: https://github.com/ManageIQ/floe
|
|
223
223
|
licenses: []
|
224
224
|
metadata:
|
225
225
|
allowed_push_host: https://rubygems.org
|
226
|
+
rubygems_mfa_required: 'true'
|
226
227
|
homepage_uri: https://github.com/ManageIQ/floe
|
227
228
|
source_code_uri: https://github.com/ManageIQ/floe
|
228
229
|
changelog_uri: https://github.com/ManageIQ/floe/blob/master/CHANGELOG.md
|
@@ -241,7 +242,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
241
242
|
- !ruby/object:Gem::Version
|
242
243
|
version: '0'
|
243
244
|
requirements: []
|
244
|
-
rubygems_version: 3.
|
245
|
+
rubygems_version: 3.5.10
|
245
246
|
signing_key:
|
246
247
|
specification_version: 4
|
247
248
|
summary: Simple Workflow Runner.
|