Merge from vendor branch TNF:
authortaca <taca>
Sat, 17 Dec 2011 17:26:53 +0000 (17:26 +0000)
committertaca <taca>
Sat, 17 Dec 2011 17:26:53 +0000 (17:26 +0000)
commit6ddf1c7eff517740ea80872628eaabe716f28831
tree5f2625e416e010095e077702ce5632fd8bdea794
parent0e4e3bc7c57a60e5204ea01107a2a985a07ea3b1
parent4366d401686a3438b799375aac357c34b1908496
Merge from vendor branch TNF:
Importing databases/ruby-dm-is-state_machine package version 1.2.0.

DataMapper plugin that adds state machine functionality to your models.

== Why is this plugin useful?

Your DataMapper resource might benefit from a state machine if it:

* has different "modes" of operation
* has discrete behaviors
* especially if the behaviors are mutually exclusive

And you want a clean, high-level way of describing these modes / behaviors
and how the resource moves between them.  This plugin allows you to
declaratively describe the states and transitions involved.