State Machine v1.0.2 Release Notes

Release Date: 2011-08-10 // over 10 years ago
    • ๐Ÿ‘ Allow transitions to be defined within a state, event, or machine context
    • ๐Ÿ‘‰ Use supported framework hooks for integrating Sequel 3.24.0+
    • โœ… Use appraisal for testing integrations
    • ๐Ÿ‘Œ Improve documentation on the handling of method conflicts
    • โšก๏ธ Update Mongoid integration for 2.1.0+ support
    • ๐Ÿ›  Fix ActiveRecord machine state predicates incorrectly calling superclass implementation when using targeted attributes
    • ๐Ÿ›  Fix error when defining states with the same name as the state's machine in ActiveRecord, MongoMapper, and Mongoid integrations
    • ๐Ÿ›  Fix machine state predicate not calling superclass implementation if defined after machine definition
    • โš  Generate warnings when defining a helper method more than once
    • ๐Ÿ›  Fix multiple machines not being able to target the same attribute if all possible states aren't defined in each
    • ๐Ÿ›  Fix ActiveModel / DataMapper integrations not overriding StateMachine::Machine#after_initialize properly
    • ๐Ÿ‘Œ Improve documentation for overriding states and integration transactions