statelint 0.4.0 → 0.4.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: a85ee10472e6a79a7ea4481063128240c5d0a8e259b92120d2cbbcffc968f8a9
4
- data.tar.gz: 7920a9883809a0d48f368eb361459b861f12cb296269e5af7b1416c1eaec7d44
3
+ metadata.gz: c3084f3b4eea83b19e2d4bf60acf70ecf6e8bd151c1f86007203bfd8139c7c6d
4
+ data.tar.gz: e3f789d73ddde2eaa63f215598e907df32058bea101a608d68f6a66801e8703c
5
5
  SHA512:
6
- metadata.gz: 34d37d0dd1f7fa13c07d7d09903cb2eb8c99a0d9c57b56161d2619b6415ddec65503ec6ca6ef138a54f23e82b48f0602574cb11adbaa3aa19db494bdc1556a46
7
- data.tar.gz: b4082a0ba043b06cd25904587327b099f4017981a0ebe23e8a4d34c7d8f513ecce659fa0e79fb40bc78f0bc1d7af7c84705c1c4c3e222a8657b3313ac1e7779b
6
+ metadata.gz: b59e83552e82a3e5333d79d99bfd8d19f4e416ab14ed7b1677f78ad48624d98d9384f048836b57f78ecb4480230816f9019218c1e2e46ef104d9e331140da024
7
+ data.tar.gz: 81173298fa0eb6dc22d02dbcf957dca86343f1b6713b5b2e3cef9809eb5a377de4e727189a4ef1ca1d32eddf3e416bf9f51de8d95ea3c073254265f718442ac1
data/Gemfile CHANGED
@@ -1,5 +1,5 @@
1
1
  source "https://rubygems.org"
2
2
 
3
- gem 'j2119', '>=0.3.0'
3
+ gem 'j2119', '>=0.4.0'
4
4
  gem 'rake', '>=12.3.2'
5
5
  gem 'rspec', '>=3.8.0'
@@ -109,6 +109,8 @@ A Wait State MUST have only one of "Seconds", "SecondsPath", "Timestamp", and "T
109
109
  A Wait State MUST have a field named one of "Seconds", "SecondsPath", "Timestamp", or "TimestampPath".
110
110
  A Parallel State MUST have an object-array field named "Branches"; each element is a "Branch".
111
111
  A Map State MUST have an object field named "Iterator"; its value is a "Branch".
112
+ A Map State MAY have a referencePath field named "ItemsPath".
113
+ A Map State MAY have a numeric field named "MaxConcurrency".
112
114
  A Branch MUST have an object field named "States"; each field is a "State".
113
115
  A Branch MUST have a string field named "StartAt".
114
116
  A Branch MAY have a string field named "Comment".
@@ -12,7 +12,6 @@
12
12
  # permissions and limitations under the License.
13
13
  #!/usr/bin/env ruby
14
14
 
15
- $:.unshift("#{File.expand_path(File.dirname(__FILE__))}/../lib")
16
15
  require 'j2119'
17
16
  require 'statelint/state_node'
18
17
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'statelint'
3
- s.version = '0.4.0'
3
+ s.version = '0.4.1'
4
4
  s.summary = "State Machine JSON validator"
5
5
  s.description = "Validates a JSON object representing a State Machine"
6
6
  s.authors = ["Tim Bray"]
@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
15
15
 
16
16
  s.required_ruby_version = '>= 1.9.2'
17
17
 
18
- s.add_runtime_dependency 'j2119', '>= 0.4.0'
18
+ s.add_runtime_dependency 'j2119', '~> 0.4', '>= 0.4.0'
19
19
 
20
20
  s.metadata = {
21
21
  'source_code_uri' => 'https://github.com/awslabs/statelint',
metadata CHANGED
@@ -1,19 +1,22 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: statelint
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Bray
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-18 00:00:00.000000000 Z
11
+ date: 2020-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: j2119
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '0.4'
17
20
  - - ">="
18
21
  - !ruby/object:Gem::Version
19
22
  version: 0.4.0
@@ -21,6 +24,9 @@ dependencies:
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '0.4'
24
30
  - - ">="
25
31
  - !ruby/object:Gem::Version
26
32
  version: 0.4.0
@@ -63,7 +69,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
63
69
  - !ruby/object:Gem::Version
64
70
  version: '0'
65
71
  requirements: []
66
- rubygems_version: 3.0.2
72
+ rubyforge_project:
73
+ rubygems_version: 2.7.4
67
74
  signing_key:
68
75
  specification_version: 4
69
76
  summary: State Machine JSON validator