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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b71df1c88832b6becc3a4c594a60a0f42a474200bb74675d3f715c8b042c92a3
4
- data.tar.gz: e192a5ce46f271798c928c3c6202e06516f96a754d960631fc4fff5662d3e03b
3
+ metadata.gz: ca5abce1e9259f1fc05a8f2fb25aa4081b1c9cdb7ee0911c91c4e0c70b92ed91
4
+ data.tar.gz: 5382f4bd2c33a919813e37533beb4232a5293c5e026550a15ea82acdfc84c883
5
5
  SHA512:
6
- metadata.gz: 6c1bbe329aa90e5d03c1b82f6664aff19f1dd4e1a44527ff07876155bca04ae8593d5656b99fea77ffd123f157e6de63d880f4bcb5e3d21eb61e411917d2e37a
7
- data.tar.gz: b406b370be0b87830a5e9d5e106f16032e1d03889ec0a3af9b637073768d122a6dbdf77e11b76cb221b74a775f3d3dcd57b0c9a6a726a4976e5d8464ca49e07d
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
  ---------
@@ -1,3 +1,3 @@
1
1
  module WorkflowActiverecord
2
- VERSION = "4.1.3"
2
+ VERSION = "4.1.4"
3
3
  end
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.3
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-04-11 00:00:00.000000000 Z
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