- Fix issue where the scopes and predicates created by
FlowMachine::Workflow.create_scopes_on
use the wrong attribute. (#14) - Upgrade to RSpec 3.8
- Run test suite using Circle 2.0
- Calling a
may_xxx?
method when that transition is not defined for the current state now adds:invalid_event
to theguard_errors
. (PR #11, Issue #10)
-
Class methods that used to be on the root
FlowMachine
have been moved toFlowMachine::Workflow
. (deprecated in 0.1.1) -
To upgrade, change any occurences of:
FlowMachine.workflow_for
toFlowMachine::Workflow.for
FlowMachine::workflow_class_for
toFlowMachine::Workflow.class_for
FlowMachine.workflow_collection_for
toFlowMachine::Workflow.collection_for
- Deprecate
FlowMachine::Factory.workflow_for
in favor ofFlowMachine::Workflow.for
- Initial release