All Versions
26
Latest Version
Avg Release Cycle
104 days
Latest Release
1294 days ago

Changelog History
Page 2

  • v0.10.0 Changes

    November 16, 2014

    โž• Added

    • โž• Add #alias_target to allow renaming of target object by @reggieb
    • โž• Add :log_transitions option for easy transition debugging

    ๐Ÿ”„ Changed

    • ๐Ÿ”„ Change TransitionEvent, AsyncCall to be immutable
    • โœ… Increase test coverage to 99%

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fix issue with async calls passing wrong arguments to conditionals
  • v0.9.2 Changes

    September 27, 2014

    ๐Ÿ”„ Changed

    • โœ‚ Removes use of class variable to share Sync by @reggieb

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fix observer to differentiate between any state and any event
    • [#23] Fix transition to correctly set :from and :to parameters for :any state
    • [#25] Fix passing parameters to choice events with same named events
    • ๐Ÿ›  Fix choice pseudostate to work with :any state
  • v0.9.1 Changes

    August 10, 2014

    โž• Added

    • โž• Add TransitionBuilder to internally build transitions from states
    • โž• Add #current? to Transition to determine if matches from state
    • Add #select_choice_transition to EventsChain to determine matching choice transition

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fix #choice to allow for multiple from states
    • ๐Ÿ›  Fix #choice to work with same named events
  • v0.9.0 Changes

    August 03, 2014

    โž• Added

    • โž• Add Definition class to allow to define standalone state machine
    • โž• Add #build method to HookEvent

    ๐Ÿ”„ Changed

    • ๐Ÿ”„ Change initial helper to simply state name with options
    • ๐Ÿ”„ Change HookEvent to be immutable and extend comparison
    • ๐Ÿ”„ Change Event to be immutable and extend comparison
    • ๐Ÿ”„ Change finished? to terminated? and allow for multiple terminal states
    • ๐Ÿ”„ Change to require explicit context to call target methods
    • ๐Ÿ”จ Upgrade RSpec dependency and refactor specs
  • v0.8.1 Changes

    July 05, 2014

    โž• Added

    • โž• Add EventsChain to handle internal events logic
    • โž• Add EventBuilder to handle events construction
  • v0.8.0 Changes

    June 22, 2014

    โž• Added

    • โž• Add silent option for state machine events to allow turning on/off selectively callbacks
    • Ensure that can? & cannot? take into account conditionl logic applied to transitions
    • โž• Add restore! method to allow to set the state directly without callbacks
    • โž• Add ability to do dynamic conditional branching using the choice DSL or grouped events with different outgoing transitions [solves #13 and #6 issue]
  • v0.7.1 Changes

    June 08, 2014

    ๐Ÿ”„ Changed

    • ๐Ÿ”„ Change to relax callback name checks to allow for duplicate state and event names
    • ๐Ÿ”„ Change so that transition to initial state triggers callbacks
  • v0.7.0 Changes

    May 26, 2014

    โž• Added

    • โž• Add Event to hold the logic for event specification
    • โž• Add string inspection to hooks
    • โž• Add check for callback name conflicts

    ๐Ÿ”„ Changed

    • ๐Ÿ”„ Change Event to EventHook for callback events
    • ๐Ÿ”„ Change to allow for self-transition - fixes issue #9
    • ๐Ÿ”„ Change to detect attempt to overwrite already defined method - fixes issue #10
    • Change to separate state and event callbacks. Introduced on_enter, on_before, once_on_enter, once_on_before new event callbacks.
    • Change generic callbacks to default to any state for on_enter, on_transition, on_exit and any event for on_before and on_after
    • ๐Ÿ”„ Change to ensure proper callback lifecycle

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fix issue #8 to preserve conditionals between event specifications
    • ๐Ÿ›  Fix #respond_to on state machine to include observer
    • ๐Ÿ›  Fix observer missing methods resolution
  • v0.6.1

    May 10, 2014
  • v0.6.0

    May 10, 2014