summaryrefslogtreecommitdiff
path: root/lib/tapicero/json_stream.rb
AgeCommit message (Collapse)Author
2013-09-12use CouchRest::Database#changes, store and retrieve seqAzul
This commit bundles a few different changes: * we now use the CouchRest::Database#changes stream instead of our own * we store and read the last sequence number so on a restart we can start where we left * we now have a UserDatabase class rather than the CouchDatabaseCreator. It also knows about it's name and we create an instance of it per database we want to create. It's also more flexible when the databases already exist.
2013-09-10use our own JsonStream and a created callback in CouchChangesAzul