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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -0
  3. data/lib/jsm/version.rb +1 -1
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6dd85cf3308e7d6f0527471ab0fe85945e991327
4
- data.tar.gz: 68c3b37cbae7d79ea3cbad4dd89cb8e2b3cb149e
3
+ metadata.gz: b23d8dd4eb56dd0a802be1918affefcff75fe565
4
+ data.tar.gz: cb6974426a7e9eb2ea71f9f2c27d67c8409d956e
5
5
  SHA512:
6
- metadata.gz: d99607447c78028062f5681c6e3dd6ecfa7e8e3d728b491db51ee17cce8847f56cb90a0051950b4e83d832e4fa13a39c63824dbc787587be348ad7ebea5d4d61
7
- data.tar.gz: 19aef30e55e7650abc00cc19d832ee3462545931ae5e451eaec1eca468d8ef3ea5dbca6528c7151af29a51981b7ae687acb57ab6c8410cda76dec3ccd9b61880
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
 
@@ -1,3 +1,3 @@
1
1
  module Jsm
2
- VERSION = "0.4.1"
2
+ VERSION = "0.4.2"
3
3
  end
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.1
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: 2015-11-02 00:00:00.000000000 Z
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.3
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