Permalink
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
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 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
  4. Update README.rdoc

    troessner committed Oct 27, 2011
  5. Add travis config.

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

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

    troessner committed Oct 27, 2011
  8. Add rvmrc.

    troessner committed Oct 27, 2011
Commits on Oct 12, 2011
  1. Bump version.

    troessner committed Oct 12, 2011
Commits on Oct 4, 2011
  1. Merge pull request #37 from Bodacious/define_method

    Prefer define_method over class_eval.
    troessner committed Oct 4, 2011
  2. Merge pull request #36 from Bodacious/timestamp_rework

    Add timestamps to state transitions.
    troessner committed Oct 4, 2011
Commits on Oct 3, 2011
  1. added .rvmrc to .gitignore

    Bodacious committed Oct 3, 2011
  2. updated README

    Bodacious committed Oct 3, 2011
  3. cleaned up test DB code

    Bodacious committed Oct 3, 2011
  4. Added .rvmrc file

    Bodacious committed Oct 3, 2011
Commits on Sep 29, 2011
  1. Merge pull request #34 from appfertigung/master

    Mimic ActiveRecord interface for locking and stringify state names.
    troessner committed Sep 29, 2011
  2. Added comment for reload method

    dbloete committed Sep 29, 2011
Commits on Sep 28, 2011
  1. 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'")
    dbloete committed Sep 28, 2011
  2. Mimic ActiveRecord interface

    dbloete committed Sep 28, 2011
Commits on Aug 25, 2011
  1. Add myself as a contributor.

    troessner committed Aug 25, 2011
Commits on Aug 23, 2011
Commits on Aug 11, 2011
  1. Bump version to 0.0.10.

    troessner committed Aug 11, 2011
  2. Revert "Bump version."

    This reverts commit 986540b.
    troessner committed Aug 11, 2011
  3. Bump version.

    troessner committed Aug 11, 2011