floe 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 379fa04920aa1757f0e189fba83310a25f4a2b2f6faa224016c570bc47a114cd
4
- data.tar.gz: d9558845724ac2ba5e0758953239fe582d90e99aa14d2e3dbdce9a51dd874c1a
3
+ metadata.gz: 12212f802a614d03428c29b36a882efc7b12a2ae0e61ec1ac118aea28c34d95b
4
+ data.tar.gz: 5d62f266c83af21dffce7f8c2a1a8a3686ad24f85ad5421bced3cd483903ccb8
5
5
  SHA512:
6
- metadata.gz: 22f2964e5eab2f3f710dab683b7540e2c9ef59b5dc4045f573ff8857283467be1855a660f80373bd349e83fb94848c16dd114db9bcfeb7e3e45b89f538cac4ae
7
- data.tar.gz: d4507d552bc4bd4415f7d3efb8620100cac8f70456fe121c014085c82103ece545d2ecb69b720d784749886fca0b16367bcd561884ba7b4740cce23838fc1419
6
+ metadata.gz: 16f88b2b6f1cbb7baa4038f5c6f55da0a1f74b2a1a54b49e74ac24480dddb0b64d59fda3c6b26512a116d8060be3a171a68f6f52f4a9e4ff9a971737312c327c
7
+ data.tar.gz: b5a318594423446d5de524950a894bbcac334e5875cc2d52cdfcfaef08f068eb946a1a9120c1626392917a8a325944652b4a8d8fb21aa270393df25a3460fac7
data/CHANGELOG.md CHANGED
@@ -4,8 +4,12 @@ This project adheres to [Semantic Versioning](http://semver.org/).
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [0.1.1] - 2023-06-05
8
+ ### Fixed
9
+ - Fix States::Wait Path initializer arguments (#47)
10
+
7
11
  ## [0.1.0] - 2023-03-13
8
12
  ### Added
9
13
  - Initial release
10
14
 
11
- [Unreleased]: https://github.com/ManageIQ/manageiq-floe/compare/v0.1.0...HEAD
15
+ [Unreleased]: https://github.com/ManageIQ/floe/compare/v0.1.0...HEAD
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # Floe
2
2
 
3
3
  [![CI](https://github.com/ManageIQ/floe/actions/workflows/ci.yaml/badge.svg)](https://github.com/ManageIQ/floe/actions/workflows/ci.yaml)
4
+ [![Code Climate](https://codeclimate.com/github/ManageIQ/floe.svg)](https://codeclimate.com/github/ManageIQ/floe)
5
+ [![Test Coverage](https://codeclimate.com/github/ManageIQ/floe/badges/coverage.svg)](https://codeclimate.com/github/ManageIQ/floe/coverage)
4
6
 
5
7
  ## Overview
6
8
 
@@ -31,7 +33,7 @@ bundle exec ruby exe/floe --workflow examples/workflow.asl --inputs='{"foo": 1}'
31
33
  ```ruby
32
34
  require 'floe'
33
35
 
34
- workflow = Floe::Workflow.load(File.read("workflow.json"))
36
+ workflow = Floe::Workflow.load(File.read("workflow.asl"))
35
37
  workflow.run!
36
38
  ```
37
39
 
@@ -66,6 +66,12 @@
66
66
  "bar": "baz"
67
67
  },
68
68
  "ResultPath": "$.result",
69
+ "Next": "WaitState"
70
+ },
71
+
72
+ "WaitState": {
73
+ "Type": "Wait",
74
+ "Seconds": 1,
69
75
  "Next": "NextState"
70
76
  },
71
77
 
data/lib/floe/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Floe
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
@@ -12,8 +12,8 @@ module Floe
12
12
  @next = payload["Next"]
13
13
  @seconds = payload["Seconds"].to_i
14
14
 
15
- @input_path = Path.new(payload.fetch("InputPath", "$"), context)
16
- @output_path = Path.new(payload.fetch("OutputPath", "$"), context)
15
+ @input_path = Path.new(payload.fetch("InputPath", "$"))
16
+ @output_path = Path.new(payload.fetch("OutputPath", "$"))
17
17
  end
18
18
 
19
19
  def run!(*)
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.1.0
4
+ version: 0.1.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: 2023-03-23 00:00:00.000000000 Z
11
+ date: 2023-06-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: awesome_spawn