rails-workflow 1.4.1 → 1.4.1.1

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
  SHA1:
3
- metadata.gz: 4d4af30f4a809105e7d5606ebba0c2435f99f30b
4
- data.tar.gz: cc78d2997abf897759e0990b41eaddf898e0f8e6
3
+ metadata.gz: 5bdb3d1daf2300f897ac2c8487ba2aa9ba14d3ec
4
+ data.tar.gz: 5c5dec3a88f1f2f5f18300ee8b77ee6d16aa6cdc
5
5
  SHA512:
6
- metadata.gz: 9935683104d9b6b3c9d33465a5945b2f7a21874163c799422a848fa97251a7d406e16f01887211434e14814dd4c60980a1705f1cf48453021de671771dcc5f37
7
- data.tar.gz: f1a00168637a01d22c78389f384603578ce0b4948efc19a92aa69231aa35c997209e32980a118a30dc5b59c73775b1c0579bd34a5a43ae2ab0a8c591bd9a8f76
6
+ metadata.gz: 4c14d6f89ec3bbba41641ba5e3cf7708079d7b2cb84c639e675769b01f9c6bfbc900ea8643f5198080cfba5ba2a7e96016b04ecca29e75d5282b9465c2262d0c
7
+ data.tar.gz: cfedf1cf293398c066ac3d7352e989162411ffa3fe31b481dad481c337aa8825ea04bfad55fd17fde6fc40288c448731151455c9e163a2e93e50434707ac3116
data/lib/workflow.rb CHANGED
@@ -93,9 +93,9 @@ module Workflow
93
93
  named_arguments: workflow_spec.named_arguments
94
94
 
95
95
  run_all_callbacks do
96
- callback_value = run_action_callback name, *args
97
- return_value = callback_value
98
- return_value ||= persist_workflow_state(target.name) || true
96
+ callback_value = run_action_callback name, *args
97
+ persist_value = persist_workflow_state(target.name)
98
+ callback_value || persist_value
99
99
  end
100
100
  ensure
101
101
  @transition_context = nil
@@ -1,3 +1,3 @@
1
1
  module Workflow
2
- VERSION = "1.4.1"
2
+ VERSION = "1.4.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-workflow
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.4.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyler Gannon