Fix respond_to? in Redis::Retry #2

Open
wants to merge 3 commits into
from

Projects

None yet

3 participants

@wpeterson

Currently, a Redis::Retry instance does not respond_to? methods delegated to the wrapped Redis instance. Any method that's delegated via method_missing should also be wired up to respond_to?.

  • Fix respond_to?
  • Add bundler support
wpeterson added some commits Sep 27, 2012
@wpeterson wpeterson Bundlerize this gem. b63e3e8
@wpeterson wpeterson Fix respond_to? metaprogramming.
We should respond_to? any method we dispatch via method_missing to the @redis instance.
74ff0be
@adarsh

+1 for this PR.

@wpeterson wpeterson Handle ECONNRESET as well as ECONNREFUSED failures.
* Generalize re-raising exceptions
* Handle both exception types.
334b188
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment