- Fix issue where the scopes and predicates created by
FlowMachine::Workflow.create_scopes_onuse 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_eventto theguard_errors. (PR #11, Issue #10)
-
Class methods that used to be on the root
FlowMachinehave been moved toFlowMachine::Workflow. (deprecated in 0.1.1) -
To upgrade, change any occurences of:
FlowMachine.workflow_fortoFlowMachine::Workflow.forFlowMachine::workflow_class_fortoFlowMachine::Workflow.class_forFlowMachine.workflow_collection_fortoFlowMachine::Workflow.collection_for
- Deprecate
FlowMachine::Factory.workflow_forin favor ofFlowMachine::Workflow.for
- Initial release