Permalink
Switch branches/tags
Commits on May 15, 2012
  1. Release.

    soveran committed May 15, 2012
  2. Add .gems manifest.

    soveran committed May 15, 2012
  3. Merge pull request #6 from senny/remove_no_method_rescue

    don't rescue NoMethodError
    soveran committed May 15, 2012
Commits on May 3, 2012
  1. don't rescue NoMethodError

    senny committed May 3, 2012
Commits on Apr 16, 2012
  1. Release.

    soveran committed Apr 16, 2012
Commits on Mar 30, 2012
  1. Update description.

    soveran committed Mar 30, 2012
Commits on Mar 29, 2012
  1. Change description in gemspec.

    soveran committed Mar 29, 2012
  2. Bump version.

    soveran committed Mar 29, 2012
  3. Add when and events methods.

    soveran committed Mar 29, 2012
Commits on Mar 28, 2012
  1. Release.

    soveran committed Mar 28, 2012
  2. Formatting changes for README.

    soveran committed Mar 28, 2012
  3. Update examples.

    soveran committed Mar 28, 2012
Commits on Jul 17, 2011
  1. Bump version.

    soveran committed Jul 17, 2011
Commits on Jul 15, 2011
  1. Merge pull request #1 from foca/patch-1

    Allow comparing a Machine to a String
    soveran committed Jul 15, 2011
Commits on Jun 28, 2011
  1. Allow comparing a Machine to a String

    This lets us redefine model methods as FSMs, and still be able to compare:
    
        class SomeModel < ActiveRecord::Base
          def activate!
            state.trigger(:activate)
            save!
          end
    
          def state
            @_state ||= MicroMachine.new(self[:state]).tap do |fsm|
              fsm.transitions_for[:activate] = { "pending" => "active" }
              fsm.on(:any) { self[:state] = state.state }
            end
          end
        end
    
        model = SomeModel.new
        model.activate!
        model.state == "active"
    foca committed Jun 28, 2011
Commits on Mar 1, 2010
  1. Release 0.0.10

    soveran committed Mar 1, 2010
  2. Update documentation

    soveran committed Mar 1, 2010
Commits on Feb 25, 2010
Commits on Feb 24, 2010
  1. documented :any callback

    Tony Hillerson committed Feb 24, 2010
  2. added ability for an :any callback

    Tony Hillerson committed Feb 24, 2010
Commits on Aug 5, 2009
Commits on Jun 8, 2009
Commits on Jun 7, 2009
Commits on May 20, 2009
  1. Changed line count in README

    soveran committed May 20, 2009
Commits on Apr 4, 2009
  1. Replaced shoulda with contest

    soveran committed Apr 4, 2009
Commits on Mar 16, 2009
  1. Added callbacks

    soveran committed Mar 16, 2009
Commits on Mar 11, 2009
  1. Added tests

    soveran committed Mar 11, 2009
  2. Updated documentation

    soveran committed Mar 11, 2009
Commits on Mar 7, 2009
  1. Version bump

    soveran committed Mar 7, 2009