Permalink
Commits on Apr 17, 2012
  1. Bump version to 0.0.15.

    troessner committed Apr 17, 2012
Commits on Apr 16, 2012
  1. Bump version to 0.0.14.

    troessner committed Apr 16, 2012
  2. Add CHANGELOG.

    troessner committed Apr 16, 2012
Commits on Mar 20, 2012
  1. Merge pull request #43 from siuying/mongoid-support

    use active_model to avoid invoke ActiveRecord
    troessner committed Mar 20, 2012
Commits on Dec 22, 2011
  1. Merge pull request #42 from mhayes/patch-1

    fixed super tiny typo :)
    troessner committed Dec 22, 2011
Commits on Dec 21, 2011
  1. fixed super tiny typo :)

    mhayes committed Dec 21, 2011
Commits on Dec 20, 2011
  1. Bump version.

    troessner committed Dec 20, 2011
Commits on Nov 25, 2011
  1. Merge pull request #41 from railsbros-dirk/master

    Using a lambda as event success callback, add ruby-debug, fix event_failed callback.
    troessner committed Nov 25, 2011
Commits on Nov 23, 2011
  1. Revert "Updated the README for AR integration"

    This reverts commit f3615d3.
    railsbros-dirk committed Nov 23, 2011
  2. Added tests for calling the failure and success callbacks

    This uncovered some bug not firering the event_failed callback
    in any case of an exception has been raised. This is now handled.
    
    The exception is just re-raised if the record doesn't have defined
    a event_failed callback. If he had it is up to the implementation
    to handle the execption. We are just return false.
    railsbros-dirk committed Nov 23, 2011
  3. Pass a lambda as a success callback, too

    Internally the callback will now always be a lambda to simplify the
    implementation on the caller site
    railsbros-dirk committed Nov 23, 2011
  4. Moved the :auto_scopes tests to the AR-tests

    This prevents failing tests when tests are executed in an unpredictable
    order. Furthermore I think all AR-related tests should stand together
    including the required migrations.
    railsbros-dirk committed Nov 23, 2011
Commits on Nov 22, 2011
  1. Merge branch 'master' of https://github.com/troessner/transitions

    * 'master' of https://github.com/troessner/transitions:
      Update README.
      Bump version.
      Make auto generation of AR scopes configurable and raise an exception in case we would override an existing method.
      Fix specs - we need to run migrations before calling `state_machine`.
    railsbros-dirk committed Nov 22, 2011
Commits on Nov 18, 2011
  1. Update README.

    troessner committed Nov 18, 2011
Commits on Nov 17, 2011
  1. Bump version.

    troessner committed Nov 17, 2011
  2. Make auto generation of AR scopes configurable and raise an exception…

    … in case we would override an existing method.
    troessner committed Nov 17, 2011
Commits on Nov 16, 2011
  1. Merge branch 'master' of https://github.com/troessner/transitions

    * 'master' of https://github.com/troessner/transitions:
      added test for event_fired_callback
    railsbros-dirk committed Nov 16, 2011
Commits on Nov 11, 2011
  1. Merge pull request #30 from tisba/master

    add event name to event_fired_callback
    troessner committed Nov 11, 2011
  2. added test for event_fired_callback

    If event_fired is defined on record, the current
    state, the new state and the event is passed. This
    test checks if everything is passed to the
    callback properly.
    tisba committed Nov 11, 2011
  3. Merge https://github.com/troessner/transitions

    * https://github.com/troessner/transitions: (26 commits)
      Ignore Rubymine.
      Fix homepage in gemspec.
      Revert "Refactor."
      Refactor.
      Update README.rdoc
      Update README.rdoc
      Add travis config.
      Update README.rdoc
      Update README.rdoc
      Add rvmrc.
      Bump version.
      replaced class_eval with define_method in transitions#define_state_query_method
      added .rvmrc to .gitignore
      changed one timestamp value in tests to string to ensure wider test coverage
      updated README
      Added tests for timestamp and satisfied tests
      cleaned up test DB code
      Added .rvmrc file
      Added comment for reload method
      Stringify state name AR prefixes the state with the table name (i.e. "`traffic_lights`.`state` = `traffic_lights`.`red`") if we pass the name as symbol. We need to pass it as string, so that it works ("`traffic_lights`.`state` = 'red'")
      ...
    tisba committed Nov 11, 2011
Commits on Nov 2, 2011
  1. Merge branch 'master' of https://github.com/tisba/transitions

    * 'master' of https://github.com/tisba/transitions:
      add event name to the event_fired_callback
    railsbros-dirk committed Nov 2, 2011
Commits on Nov 1, 2011
  1. Ignore Rubymine.

    troessner committed Nov 1, 2011
  2. Fix homepage in gemspec.

    troessner committed Nov 1, 2011
Commits on Oct 27, 2011
  1. Revert "Refactor."

    This reverts commit fcaa2ea.
    troessner committed Oct 27, 2011
  2. Refactor.

    troessner committed Oct 27, 2011
  3. Update README.rdoc

    troessner committed Oct 27, 2011