https://github.com/awslabs/statelint

A Ruby gem that provides a command-line validator for Amazon States Language JSON files.

https://github.com/awslabs/statelint

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (6.2%) to scientific vocabulary
Last synced: 11 months ago · JSON representation

Repository

A Ruby gem that provides a command-line validator for Amazon States Language JSON files.

Basic Info
  • Host: GitHub
  • Owner: awslabs
  • License: apache-2.0
  • Language: Ruby
  • Default Branch: master
  • Size: 55.7 KB
Statistics
  • Stars: 352
  • Watchers: 15
  • Forks: 46
  • Open Issues: 16
  • Releases: 0
Created over 9 years ago · Last pushed over 1 year ago
Metadata Files
Readme License

README.md

statelint

A Ruby gem that provides a command-line validator for Amazon States Language JSON files.

Installation

Add this line to your application's Gemfile:

ruby gem 'statelint'

And then execute:

$ bundle

Or install it yourself as:

$ gem install statelint

Usage

statelint state-machine-spec, state-machinespec...

There are no options. If you see no output, your state machine is fine.

To do

Currently covers most of the grammatical constraints for state-machine definitions. The checking of JsonPath syntax is hand-built and probably imperfect.

The Ruby JSON parser unfortunately does not detect duplicate keys in objects, so neither does statelint.

Contributing

Bug reports and pull requests are welcome on GitHub

Testing

All changes should be covered by unit tests in the spec directory. To run tests, execute the following from the package root:

bundle exec rspec

Owner

  • Name: Amazon Web Services - Labs
  • Login: awslabs
  • Kind: organization
  • Location: Seattle, WA

AWS Labs

GitHub Events

Total
  • Issues event: 3
  • Watch event: 14
  • Delete event: 2
  • Issue comment event: 7
  • Push event: 4
  • Pull request review event: 3
  • Pull request event: 6
  • Fork event: 3
  • Create event: 2
Last Year
  • Issues event: 3
  • Watch event: 14
  • Delete event: 2
  • Issue comment event: 7
  • Push event: 4
  • Pull request review event: 3
  • Pull request event: 6
  • Fork event: 3
  • Create event: 2

Committers

Last synced: over 3 years ago

All Time
  • Total Commits: 25
  • Total Committers: 9
  • Avg Commits per committer: 2.778
  • Development Distribution Score (DDS): 0.44
Top Committers
Name Email Commits
Tim Bray t****y@a****m 14
Varun Ravishankar v****v@a****m 3
Vaib Suri s****b@a****m 2
Jacob Peddicord j****b@p****t 1
Eric Marden e****n@g****m 1
Ashley Davis A****s@b****k 1
Mo e****i@a****m 1
Ashley Davis a****s@b****k 1
Scott Triglia s****a@g****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 34
  • Total pull requests: 34
  • Average time to close issues: over 1 year
  • Average time to close pull requests: about 1 month
  • Total issue authors: 27
  • Total pull request authors: 20
  • Average comments per issue: 2.94
  • Average comments per pull request: 1.24
  • Merged pull requests: 26
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 3
  • Pull requests: 4
  • Average time to close issues: 2 days
  • Average time to close pull requests: 2 days
  • Issue authors: 2
  • Pull request authors: 3
  • Average comments per issue: 2.33
  • Average comments per pull request: 1.5
  • Merged pull requests: 3
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • dinvlad (3)
  • ghost (3)
  • derek-pryor (3)
  • RafaelWO (2)
  • rgarcia (1)
  • foobarbazbuz (1)
  • xentek (1)
  • nikita-sheremet-clearscale (1)
  • doomchild (1)
  • G-Rath (1)
  • theshadow (1)
  • techmag (1)
  • RobertAtomic (1)
  • RobertFischer (1)
  • richardkeit (1)
Pull Request Authors
  • yaythomas (6)
  • timbray (5)
  • wong-a (4)
  • qrabigail (4)
  • itstheceo (3)
  • chilledornaments (2)
  • RafaelWO (2)
  • radar (2)
  • vrdabomb5717 (2)
  • zbintliff (1)
  • edyesed (1)
  • striglia (1)
  • vaib-amz (1)
  • matchbookmac (1)
  • The1hauntedX (1)
Top Labels
Issue Labels
bug (4) enhancement (3) parity (3) wontfix (1)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • rubygems 189,807 total
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 13
  • Total maintainers: 4
rubygems.org: statelint

Validates a JSON object representing a State Machine

  • Versions: 13
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 189,807 Total
Rankings
Stargazers count: 3.0%
Forks count: 3.8%
Downloads: 7.0%
Average: 15.2%
Dependent packages count: 15.7%
Dependent repos count: 46.8%
Maintainers (4)
Last synced: 11 months ago

Dependencies

Gemfile rubygems
  • j2119 >= 0.4.0
  • rake >= 12.3.2
  • rspec >= 3.8.0
statelint.gemspec rubygems
  • j2119 ~> 0.4, >= 0.4.0