andrew/split — pull request #98 by patbenatar (2012-12-07 22:30:03+00:00)
Title: Persistence Adapters: Cookies and Session

* Implements Persistance Adapters and adds two standard ones:
* Split::Persistence::SessionAdapter - Behaves exactly like the existing persistence layer
* Split::Persistence::CookieAdapter - Stores the ab_user in the cookie so return visitors are always presented with the same version of the split test.
* Allows for configuring your desired persistence layer by symbol (:cookie or :session) or class name, including custom adapters. Defaults to Split::Persistence::SessionAdapter.
* Adds passing specs for the new adapter layer.
* Updates existing specs to work with the new adapter layer.