causes/mock_redis — pull request #11 by cander (2012-03-03 04:35:43+00:00)
Title: Zrange fix

While testing some Redis code that uses zremrangebyrank, I was getting nil pointer errors. I tracked this down to an underlying bug in zrange: if you give a start index past the end of the list, it does not return an empty set the way the redis gem does.

Let me know if this patch needs any work.

Thanks for the gem - it was quite useful.

Charles.