just_state_machine 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -0
- data/lib/jsm/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b23d8dd4eb56dd0a802be1918affefcff75fe565
|
4
|
+
data.tar.gz: cb6974426a7e9eb2ea71f9f2c27d67c8409d956e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9d72196d142f810af4e75ed3d43b968fc15b8f58f472b6634480de092e45cb07b5833e5743803b560d11e4849537bf315dfd08788ffa735492d082d14575d90
|
7
|
+
data.tar.gz: 122b975bcb53527e924e2fcf94682b92847b7b6248b1d7b667186d0905e6dd78a8bbefcc9885c69fd935c3719313cdc5f0302df61fc02f0619554312163f959d
|
data/README.md
CHANGED
@@ -357,6 +357,11 @@ end
|
|
357
357
|
```
|
358
358
|
`Jsm` support `ActiveRecord`. In the `client` class include the `Jsm::Client::ActiveRecord`. It also support `ActiveRecord` Validation. The behavior is same with `ActiveModel` client.
|
359
359
|
|
360
|
+
|
361
|
+
## Mongoid Integration
|
362
|
+
|
363
|
+
Mongoid use ActiveModel for validation etc. so you can use JSM integration with ActiveModel part
|
364
|
+
|
360
365
|
## StateMachine Visualization
|
361
366
|
When you want to visualize the state machine that has been defined. You can use the `Jsm::Drawer:Graphviz`. Basically it will generate an url for images of states diagram with theirs events. Basically the image is generated by `google chart`. They provide a really good API to generate state diagram.
|
362
367
|
|
data/lib/jsm/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: just_state_machine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- wendy0402
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-07-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -186,7 +186,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
186
186
|
version: '0'
|
187
187
|
requirements: []
|
188
188
|
rubyforge_project:
|
189
|
-
rubygems_version: 2.4.
|
189
|
+
rubygems_version: 2.4.8
|
190
190
|
signing_key:
|
191
191
|
specification_version: 4
|
192
192
|
summary: Just State Machine, State Machine That support custom validations, it also
|