Fix respond_to? in Redis::Retry #2

wants to merge 3 commits into


None yet

3 participants


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.

+1 for this PR.

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