workflow-activerecord 4.1.3 → 4.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -1
- data/lib/workflow_activerecord/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ca5abce1e9259f1fc05a8f2fb25aa4081b1c9cdb7ee0911c91c4e0c70b92ed91
|
4
|
+
data.tar.gz: 5382f4bd2c33a919813e37533beb4232a5293c5e026550a15ea82acdfc84c883
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9979dbda710aa7f00159c2e9059cfbd7cf4a2ca5317de7384072cfabbd022116bb0ebeadb8f8aa47e08e3355d4c8f4837cfa0d01ef7a584d427ee13bbabf1d0e
|
7
|
+
data.tar.gz: 479e2b2758f40b69e0a2d77460baf0fb5a22b4519d6885ad71c19330a31d92d3c905171beb0231de897590093ba050a403bffe12947d573bd9f8e3d2557f7e88
|
data/README.md
CHANGED
@@ -180,10 +180,16 @@ You can also encapsulate this in a class method or even put in some
|
|
180
180
|
ActiveRecord callback. Please also have a look at [the full working
|
181
181
|
example][multiple_workflow_test]!
|
182
182
|
|
183
|
+
### on_transition
|
184
|
+
|
185
|
+
You can have a look at an advanced [`on_transition`][] example in
|
186
|
+
[this test file][advanced_hooks_and_validation_test].
|
187
|
+
|
183
188
|
[STI]: http://www.martinfowler.com/eaaCatalog/singleTableInheritance.html
|
184
189
|
[ActiveRecord]: http://api.rubyonrails.org/classes/ActiveRecord/Base.html
|
185
190
|
[multiple_workflow_test]: https://github.com/geekq/workflow-activerecord/blob/develop/test/multiple_workflows_test.rb
|
186
|
-
|
191
|
+
[`on_transition`]: https://github.com/geekq/workflow#on_transition
|
192
|
+
[advanced_hooks_and_validation_test]: http://github.com/geekq/workflow-activerecord/blob/develop/test/advanced_hooks_and_validation_test.rb
|
187
193
|
|
188
194
|
Changelog
|
189
195
|
---------
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: workflow-activerecord
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.1.
|
4
|
+
version: 4.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vladimir Dobriakov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: workflow
|
@@ -33,7 +33,7 @@ dependencies:
|
|
33
33
|
version: '3.0'
|
34
34
|
- - "<"
|
35
35
|
- !ruby/object:Gem::Version
|
36
|
-
version: '6'
|
36
|
+
version: '6.1'
|
37
37
|
type: :runtime
|
38
38
|
prerelease: false
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: '3.0'
|
44
44
|
- - "<"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: '6'
|
46
|
+
version: '6.1'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: rdoc
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|