Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/artcom/hsm-rb
Ruby Statemachine gem
https://github.com/artcom/hsm-rb
Last synced: about 1 month ago
JSON representation
Ruby Statemachine gem
- Host: GitHub
- URL: https://github.com/artcom/hsm-rb
- Owner: artcom
- License: mit
- Created: 2015-04-02T10:31:23.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-07-02T09:43:47.000Z (over 9 years ago)
- Last Synced: 2024-11-07T06:36:37.105Z (3 months ago)
- Language: Ruby
- Size: 180 KB
- Stars: 1
- Watchers: 16
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: License
Awesome Lists containing this project
README
# Hierarchical Statemachine for Ruby
[![Build Status](https://img.shields.io/travis/artcom/hsm-rb/master.svg?style=flat)](https://travis-ci.org/artcom/hsm-rb)
Reference is http://en.wikipedia.org/wiki/UML_state_machine
## Developer Setup
### Install dependencies and setup environment
Requires the specified ruby version to be installed. For details see `.ruby-version.dev`
Enter directory and first link up the `.ruby*` files:
$ ln -s .ruby-version.dev .ruby-version
$ ln -s .ruby-gemset.dev .ruby-gemset
$ cd . # to activate this settingAlternatively the rake-task `rvm:dotfiles:link` can be used
$ rake rvm:dotfiles:link
$ cd .Then install all required gems via
$ bundle
### Running tests
* Without coverage
`$ bundle exec guard`
* With coverage
`$ COVERAGE=html bundle exec guard`
## License
Please consult the `License` file.# TODO
Please see issue tracker.
* Add visualization
* Make state machine inspection simpler
* Revisit syntax (DSL ?), structure