All Versions
60
Latest Version
Avg Release Cycle
43 days
Latest Release
504 days ago

Changelog History
Page 6

  • v0.7.0 Changes

    June 25, 2014

    โž• Additions

    • Adapters::ActiveRecord now handles ActiveRecord::RecordNotUnique errors explicitly and re-raises with a Statesman::TransitionConflictError if it is due to duplicate sort_keys (patch by @greysteil)
  • v0.6.1 Changes

    May 21, 2014

    ๐Ÿ›  Fixes

    • ๐Ÿ›  Fixes an issue where the wrong transition was passed to after_transition callbacks for the second and subsequent transition of a given state machine (patch by @alan)
  • v0.6.0 Changes

    May 19, 2014

    โž• Additions

    • Generators now handle namespaced classes (patch by @hrmrebecca)

    ๐Ÿ”„ Changes

    • ๐Ÿ‘ป Machine#transition_to now only swallows Statesman generated errors. An exception in your guard or callback will no longer be caught by Statesman (patch by @paulspringett)
  • v0.5.0 Changes

    March 27, 2014

    โž• Additions

    • Scope methods. Adds a module which can be mixed in to an ActiveRecord model to provide .in_state and .not_in_state query scopes.
    • โž• Adds Machine#after_initialize hook (patch by @att14)

    ๐Ÿ›  Fixes

    • โž• Added MongoidTransition to the autoload statements, fixing #29 (patch by @tomclose)
  • v0.4.0 Changes

    February 27, 2014

    โž• Additions

    • Adds after_commit flag to after_transition for callbacks to be executed after the transaction has been committed on the ActiveRecord adapter. These callbacks will still be executed on non transactional adapters.
  • v0.3.0 Changes

    February 20, 2014

    โž• Additions

    • โž• Adds Machine#allowed_transitions method (patch by @prikha)
  • v0.2.1 Changes

    December 31, 2013

    ๐Ÿ›  Fixes

    • ๐Ÿš… Don't add attr_accessible to generated transition model if running in Rails 4
  • v0.2.0 Changes

    December 16, 2013

    โž• Additions

    • โž• Adds Ruby 1.9.3 support (patch by @jakehow)
    • โœ… All Mongo dependent tests are tagged so they can be excluded from test runs

    ๐Ÿ”„ Changes

    • Specs now crash immediately if Mongo is not running
  • v0.1.0 Changes

    November 05, 2013

    โž• Additions

    • โž• Adds Mongoid adapter and generators (patch by @dluxemburg)

    ๐Ÿ”„ Changes

    • Replaces config#transition_class with Statesman::Adapters::ActiveRecordTransition mixin. (inspired by @cjbell88)
    • Renames the active record transition generator from statesman:transition to statesman:active_record_transition.
    • ๐Ÿšš Moves to using require_relative internally where possible to avoid stomping on application load paths.
  • v0.0.1 Changes

    October 28, 2013
    • ๐ŸŽ‰ Initial release