Changeset [92c9175574358e84d52d7ede100343c488830d42] by Joiey Seeley

November 8th, 2014 @ 01:44 AM

Added tags file to gitignore. This is the index file created by ctags
which is used by some text editors and is developer environment
specific.

Added the option to use :if syntax as syntactic sugar for guard.

Added the option to use :unless syntax which essentially behaves
as a negated guard.

Added a couple of tests for the :unless syntax since the logic was
slightly different.

Noticed a couple of tests were just returning true/false at
the end rather than checking for expectations. Fixed a couple
of those; still some remaining.

Changed AASM#perform method to allowed?
https://github.com/aasm/aasm/commit/92c9175574358e84d52d7ede100343c...

Committed by Joiey Seeley

  • M ".gitignore"
  • M lib/aasm/event.rb
  • M lib/aasm/transition.rb
  • M spec/unit/transition_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.