inaka/sumo_db — pull request #5 by igaray (2013-07-29 19:50:16+00:00)
Title: Fixed a bug affecting persistence of non-proplist sumo_docs.

When a client implements a sumo_doc behaviour, the sumo_sleep and sumo_wakeup functions are meant to translate between sumo_db's proplist representation of a document, and the client's representation.
This fixes a bug when the client's representation is not a proplist itself.