braintree/curator — pull request #21 by dan-manges (2012-05-25 20:13:42+00:00)
Title: Data store instances

I think it would be better to instantiate data stores rather than have class methods with state stored on the class. As one example of why: right now it would be impossible to connect to multiple Mongo databases with Curator. I think getting rid of the class methods will also allow us to simplify testing setup, removing the need for with_config and the calls to data_store.instance_variable_set(:@client, nil) in the mongo specs. If this change is pulled in, I'll follow up with some additional commits to clean those things up.

This branch includes the commit from the dan-manges:find_by_index_rename branch. If necessary, I can implement this branch independently of that commit.