Changeset [dc002d4684a481fed59c88b4916f7b0c29354d96] by Travis Tilley

October 19th, 2009 @ 02:38 PM

cleanup, some refactoring, additional tests (one modeled after a common use of AASM, from restful authentication), fire callbacks on entering initial state, whitespace
http://github.com/rubyist/aasm/commit/dc002d4684a481fed59c88b4916f7...

Committed by Travis Tilley

  • A test/functional/auth_machine_test.rb
  • A test/test_helper.rb
  • A test/unit/event_test.rb
  • A test/unit/state_test.rb
  • A test/unit/state_transition_test.rb
  • M .gitignore
  • M Rakefile
  • M lib/aasm/aasm.rb
  • M lib/aasm/event.rb
  • M lib/aasm/persistence/active_record_persistence.rb
  • M lib/aasm/state.rb
  • M lib/aasm/state_machine.rb
  • M lib/aasm/state_transition.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.