The Ruby Toolbox - Know your options!

state_machine

3.94
Adds support for creating state machines for attributes on any Ruby class
 Popularity
Downloads
9,409,709
Stars
3,622
Forks
465
Watchers
89

aasm

2.93
AASM is a continuation of the acts-as-state-machine rails plugin, built for plain Ruby objects.
 Popularity
Downloads
5,641,774
Stars
3,152
Forks
460
Watchers
53
 Releases
Total releases
84
First release
Latest release

workflow

0.44
Workflow is a finite-state-machine-inspired API for modeling and interacting with what we tend to refer to as 'workflow'. * nice DSL to describe your states, events and transitions * robust integration with ActiveRecord and non relational data stores * various hooks for single transitions, entering state etc. * convenient access to the workflow specification: list states, possible events for particular state
 Popularity
Downloads
945,460

micromachine

0.4
There are many finite state machine implementations for Ruby, and they all provide a nice DSL for declaring events, exceptions, callbacks, and all kinds of niceties in general. But if all you want is a finite state machine, look no further: this has less than 50 lines of code and provides everything a finite state machine must have, and nothing more.
 Popularity
Downloads
881,309
Stars
448
Forks
44
Watchers
16

transitions

0.37
Lightweight state machine extracted from ActiveModel
 Popularity
Downloads
371,396
Stars
504
Forks
92
Watchers
13

ruote

0.29
ruote is an open source Ruby workflow engine
 Popularity
Downloads
65,983
Stars
506
Forks
83
Watchers
38

stateflow

0.12
State machine that allows dynamic transitions for business workflows
 Popularity
Downloads
77,372
Stars
119
Forks
42
Watchers
4

simple_states

0.07
[description]
 Popularity
Downloads
99,246
Stars
92
Forks
14
Watchers
3

simple_state_machine

0.03
A simple DSL to decorate existing methods with state transition guards.
 Popularity
Downloads
41,598
Stars
33
Forks
4
Watchers
3

alter-ego

0.01
AlterEgo is a Ruby implementation of the State pattern as described by the Gang of Four. It differs from other Ruby state machine libraries in that it focuses on providing polymorphic behavior based on object state. In effect, it makes it easy to give an object different personalities depending on the state it is in.
 Popularity
Downloads
11,552

stamina

0.01
Stamina is an automaton and regular inference toolkit initially developped for the baseline of the Stamina Competition (stamina.chefbe.net).
 Popularity
Downloads
16,635
Stars
6
Forks
1
Watchers
1

state-fu

0.01
A rich library for state-oriented programming with state machines / workflows
 Popularity
Downloads
17,240

golem_statemachine

0.01
Adds finite state machine behaviour to Ruby classes. Meant as an alternative to acts_as_state_machine/AASM.
 Popularity
Downloads
5,870
Stars
14
Forks
1
Watchers
2
 Releases
Total releases
4
First release
Latest release

state_objects

0.01
'State' Design Pattern from the Gang of Four book. Many other state machines focus on events and transitions. This state machine focuses on behavior and reducing conditional logic.
 Popularity
Downloads
11,674
Stars
12
Forks
0
Watchers
1

status-manager

0.01
ActiveRecord Model Status Manager
 Popularity
Downloads
11,868
Stars
9
Forks
2
Watchers
4