igrigorik/bloomfilter-rb — pull request #19 by caius (2012-05-30 20:49:46+00:00)
Title: Allow the redis client instance to be passed in.

Saves having to rebuild the connection details hash to pass in as :server when you already have a redis instance in your ruby app. Pass in using :db option to BloomFilter::Redis.new or BloomFilter::CountingRedis.new. Falls back to previous behaviour of using `opts[:server]` to build a new redis client instance.