Changeset [e43b87444ce7c8376e91a390b493fc98a036bbca] by Vlad Gramuzov

June 19th, 2018 @ 02:11 PM

chore(invokers): Refactor callback invokers, add class-callbacks support
https://github.com/aasm/aasm/commit/e43b87444ce7c8376e91a390b493fc9...

Committed by Vlad Gramuzov

  • A lib/aasm/core/invoker.rb
  • A lib/aasm/core/invokers/base_invoker.rb
  • A lib/aasm/core/invokers/class_invoker.rb
  • A lib/aasm/core/invokers/literal_invoker.rb
  • A lib/aasm/core/invokers/proc_invoker.rb
  • A spec/unit/invoker_spec.rb
  • A spec/unit/invokers/base_invoker_spec.rb
  • A spec/unit/invokers/class_invoker_spec.rb
  • A spec/unit/invokers/literal_invoker_spec.rb
  • A spec/unit/invokers/proc_invoker_spec.rb
  • M README.md
  • M lib/aasm.rb
  • M lib/aasm/core/event.rb
  • M lib/aasm/core/state.rb
  • M lib/aasm/core/transition.rb
  • M spec/unit/state_spec.rb
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Library for adding state machines to Ruby classes. Includes persistence layers for things like ActiveRecord. Formerly known as acts_as_state_machine.