Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 1.3 KB

File metadata and controls

41 lines (31 loc) · 1.3 KB
* Updated gems for Rails 5, and fixed any depreciations related
* Added a Railtie
* Changed up the detection for persistence in Rails
* Some code neatening by pedromenezes - Thanks!
* Added simple benchmark which is probably not accurate :)

* Removed the depreciation warnings - FINALLY :)

  • Changed the order of the hooks, now runs in the following order:

- Exit on previous state - Enter on new state - Save to persistence

  • Added a non bang method for events (Check README)

  • Added tests to persistence layers (About time!)

  • Changed the way the persistence layers save to model

  • Protected state column is now supported!

  • Silence depreciation warnings (Fixing irritating issue)

  • Previous state can be accessed with _previous_state instance method after transitioning states

  • Reverted the writes back to update_attributes

  • Added a transition to any event, please look at the tests to understand how it works - Thanks to nu7hatch for the patch!

  • Changed the persistence layers to use write_attribute, instead of update_attribute - Thanks to achirkunov

  • Fixed Mongoid support - Thanks bmartin for pointing that out