statelint 0.1.3 → 0.1.4
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/data/StateMachine.j2119 +2 -2
- data/statelint.gemspec +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6bee89be701a12fd45bd3d6b0de5b505aad1c602
|
|
4
|
+
data.tar.gz: 6b6f4208af22128dd92b36c9a81b7def5146e111
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: eb442240dd8d5a919fecc74eed803bda47052b4ddad5ad7b1a9a0d6de092dd9625d809a0124801fe09a28d26df95437d1abbe5b344d10ddaa1a485f5de56f400
|
|
7
|
+
data.tar.gz: d7bf9684350829a5dae1e5b732bb6268fda45f4921f3626309b3d1cb5ff4342e7b5c27be7dc024a52701065eac9e6cb0ac2bd63c833270738c2df79adfd019ec
|
data/data/StateMachine.j2119
CHANGED
|
@@ -13,13 +13,13 @@ A State whose "Type" field's value is "Choice" is a "Choice State".
|
|
|
13
13
|
A State whose "Type" field's value is "Wait" is a "Wait State".
|
|
14
14
|
A State whose "Type" field's value is "Parallel" is a "Parallel State".
|
|
15
15
|
A State MAY have a string field named "Comment".
|
|
16
|
-
Each of a Pass State, a Task State, and a Parallel State MAY have a boolean field named "End".
|
|
16
|
+
Each of a Pass State, a Task State, a Wait State, and a Parallel State MAY have a boolean field named "End".
|
|
17
17
|
A State whose "End" field's value is true is a "Terminal State".
|
|
18
18
|
Each of a Succeed State and a Fail State is a "Terminal State".
|
|
19
19
|
A State which is not a Terminal State or a Choice State MUST have a string field named "Next".
|
|
20
20
|
A Terminal State MUST NOT have a field named "Next".
|
|
21
21
|
A State MAY have a nullable-JSONPath field named "InputPath".
|
|
22
|
-
Each of a Pass State, a Task State,
|
|
22
|
+
Each of a Pass State, a Task State, and a Parallel State MAY have a nullable-referencePath field named "ResultPath".
|
|
23
23
|
A State MAY have a nullable-JSONPath field named "OutputPath".
|
|
24
24
|
A Pass State MAY have a field named "Result".
|
|
25
25
|
A Fail State MUST NOT have a field named "InputPath".
|
data/statelint.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: statelint
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tim Bray
|
|
@@ -14,14 +14,14 @@ dependencies:
|
|
|
14
14
|
name: j2119
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- -
|
|
17
|
+
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
19
|
version: '0'
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
|
-
- -
|
|
24
|
+
- - ">="
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: '0'
|
|
27
27
|
description: Validates a JSON object representing a State Machine
|
|
@@ -31,7 +31,7 @@ executables:
|
|
|
31
31
|
extensions: []
|
|
32
32
|
extra_rdoc_files: []
|
|
33
33
|
files:
|
|
34
|
-
- .gitignore
|
|
34
|
+
- ".gitignore"
|
|
35
35
|
- Gemfile
|
|
36
36
|
- LICENSE
|
|
37
37
|
- NOTICE.txt
|
|
@@ -52,12 +52,12 @@ require_paths:
|
|
|
52
52
|
- lib
|
|
53
53
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
54
54
|
requirements:
|
|
55
|
-
- -
|
|
55
|
+
- - ">="
|
|
56
56
|
- !ruby/object:Gem::Version
|
|
57
57
|
version: '0'
|
|
58
58
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
59
59
|
requirements:
|
|
60
|
-
- -
|
|
60
|
+
- - ">="
|
|
61
61
|
- !ruby/object:Gem::Version
|
|
62
62
|
version: '0'
|
|
63
63
|
requirements: []
|