Permalink
Commits on Feb 6, 2009
  1. @js

    Ruby 1.9 compat

    Signed-off-by: Scott Barron <scott@elitists.net>
    js committed with Scott Barron Feb 6, 2009
Commits on Dec 30, 2008
  1. bump revision

    Scott Barron committed Dec 30, 2008
  2. @joshknowles

    Don't add named_scope if the ActiveRecord object responds to the meth…

    …od name already (such as 'new')
    
    Signed-off-by: Scott Barron <scott@elitists.net>
    joshknowles committed with Scott Barron Nov 15, 2008
Commits on Dec 29, 2008
  1. Fix misleading example which uses a 'new' state.

    A state called 'new' would currently not work with activerecord.
    Scott Barron committed Dec 29, 2008
Commits on Dec 24, 2008
  1. bump revs to generate gems

    Scott Barron committed Dec 24, 2008
Commits on Dec 23, 2008
  1. @lazyatom

    Typo - rasie => raise

    lazyatom committed Dec 23, 2008
Commits on Dec 15, 2008
  1. bump rev so new gems are available

    Scott Barron committed Dec 15, 2008
Commits on Dec 12, 2008
  1. Merge branch 'master' of git@github.com:rubyist/aasm

    Scott Barron committed Dec 12, 2008
  2. exclude rcov.rb from rcov report

    Scott Barron committed Dec 12, 2008
Commits on Nov 5, 2008
  1. @tpope

    Allow duplicate state names in subclasses

    When an AASM including class is subclassed, a shallow copy is made of
    the StateMachine object.  This means that all subclasses share the same
    states hash and thus the same set of states, which prevents (among other
    things) different subclasses from using the same state names.
    
    Give StateMachine a smart #clone method that copies the states hash and
    invoke that rather than #dup upon subclassing.
    tpope committed Nov 5, 2008
Commits on Oct 9, 2008
  1. @tpope

    Invoke original inherited callback when subclassed

    When AASM is included into a class, it defines inherited, clobbering
    the original definition.  This problem becomes readily apparent with STI
    in Rails, where the original method is part of the implementation of
    inheritable attributes, a feature relied on for several ActiveRecord
    features such as callbacks and timestamp recording.
    
    Move the implementation of inherited to ClassMethods and invoke the
    original method via super.
    tpope committed Oct 9, 2008
  2. Added support for lambdas and arrays of method symbols to success cal…

    …lback
    Jon Distad committed Oct 9, 2008
Commits on Oct 7, 2008
  1. Version module is causing conflicts with other packages

    Scott Barron committed Oct 7, 2008
Commits on Oct 3, 2008
  1. new aasm unit spec

    Jon Distad committed Oct 3, 2008
  2. modified (and fixed) failed event! behavior due to failed aasm_write_…

    …state() call
    Jon Distad committed Oct 3, 2008
  3. [Jon] increased the scope of active_record persistence to save the wh…

    …ole model
    Edgecase Pair One committed Oct 3, 2008
Commits on Aug 13, 2008
  1. InvalidTransition should inherit from RuntimError, not Exception [Rob…

    … Sanheim]
    Scott Barron committed Aug 13, 2008
  2. This spec wasn't really working right.

    Scott Barron committed Aug 13, 2008
Commits on Jul 22, 2008
Commits on Jul 9, 2008
  1. @eric
  2. @eric
  3. pump version so gem updates

    Scott Barron committed Jul 9, 2008
Commits on Jun 27, 2008
Commits on Jun 23, 2008
  1. update changelog

    Scott Barron committed Jun 23, 2008
Commits on Jun 22, 2008
  1. typo

    Scott Barron committed Jun 22, 2008
  2. add lighthouse and github urls to README

    Scott Barron committed Jun 22, 2008
  3. Take state column for AR persistance out of class variables and add t…

    …hem to the
    
    StateMachine object.
    Scott Barron committed Jun 22, 2008
Commits on Jun 4, 2008
  1. Add Kevin's change to changelog

    Scott Barron committed Jun 4, 2008
  2. @KevinTriplett
Commits on Jun 1, 2008
  1. Get rid of class vars added to classes including AASM, support inheri…

    …tance on AASMs
    Scott Barron committed Jun 1, 2008
Commits on May 31, 2008
  1. SM support events

    instance methods consistently use self.class.aasm_ rather than going through SMFactory
    Scott Barron committed May 31, 2008
  2. StateMachine supports adding State

    Scott Barron committed May 31, 2008