1
0
Fork 0
mirror of https://github.com/aasm/aasm synced 2023-03-27 23:22:41 -04:00
Commit graph

15 commits

Author SHA1 Message Date
Tim Masliuchenko
5af931a309 Add before_success event on event layer 2016-12-19 11:29:19 +02:00
Thorsten Böttger
f34d152bc9 Merge branch 'transition_success_callbacks' of https://github.com/brega/aasm into brega-transition_success_callbacks
Conflicts:
	lib/aasm/core/transition.rb
	spec/models/callbacks/basic.rb
	spec/unit/transition_spec.rb
2016-03-19 17:42:35 +13:00
HoyaBoya
e64a84f71f attempt add global before transitions
coverage for not calling the transition callbacks

complete rething, support before after all events, error all events, and ensure
2015-11-04 22:01:13 -05:00
Thorsten Böttger
6396847041 provide after_all_transitions callback 2015-10-17 12:19:25 +13:00
Rin Raeuber
4409bd8217 Fix typo in specs. 2015-10-06 15:01:01 +02:00
Bregadeesh Samapathy
cd9922bac0 Update/fix specs 2015-06-18 19:32:37 +08:00
Thorsten Böttger
d0172e9863 more tests for multiple state machines (callbacks, rest) 2015-05-26 21:29:18 +12:00
Thorsten Böttger
69997ffec8 little changes 2015-05-26 21:29:17 +12:00
Thorsten Böttger
2280f03e88 first tests for state machines with multiple state attributes (callbacks, part 1) 2015-05-26 21:29:17 +12:00
Tobias Thiel
199ab29797 pass arguments into state callbacks 2015-03-04 11:55:34 +01:00
Thorsten Böttger
763957f6ec bugfix: take private methods into account when checking for callbacks #197 2014-12-20 20:12:15 +01:00
Thorsten Böttger
bb01034c1a an event's :error callback now retrieves all arguments passed to the event #196 2014-12-13 00:43:38 +01:00
Thorsten Böttger
4e8d65202b corrected callback order in README 2014-12-05 17:20:32 +01:00
Thorsten Böttger
bde1780eb6 little clean-up for test classes 2014-11-25 22:49:21 +01:00
Thorsten Böttger
9aa50f9c11 bugfix: fire guards only once per transition, part 2 #187 2014-11-25 22:23:23 +01:00