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 +4 -4
- data/lib/workflow.rb +3 -3
- data/lib/workflow/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5bdb3d1daf2300f897ac2c8487ba2aa9ba14d3ec
|
4
|
+
data.tar.gz: 5c5dec3a88f1f2f5f18300ee8b77ee6d16aa6cdc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
97
|
-
|
98
|
-
|
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
|
data/lib/workflow/version.rb
CHANGED