Closed pedrofurtado closed 2 years ago
@redis = options[:redis] || Redis.current
So it's mostly the caller's responsability to pass a Redis
instance here.
@byroot Thanks for feedback! Anyway, when 5.x versions of gem redis be released, the redis-namespace will break because method current
will not exists anymore 🤝
I've open a PR suggesting a fix, you eyes/review on it will be awesome 🍻
Hello! 👋
Using the latest version of gem redis and redis-namespace, appears a deprecation warning like this below:
https://github.com/resque/redis-namespace/blob/v1.8.1/lib/redis/namespace.rb#L245
https://github.com/redis/redis-rb/blob/v4.6.0/lib/redis.rb#L39-L48
https://github.com/redis/redis-rb/issues/1064