diff options
author | Jeremy Daer <jeremydaer@gmail.com> | 2017-09-28 21:54:00 -0700 |
---|---|---|
committer | Jeremy Daer <jeremydaer@gmail.com> | 2017-10-08 15:37:54 -0700 |
commit | 53c516d88d48bafee5bd125a368352dd94f5fdad (patch) | |
tree | fcf21f1bd6ef63146964fbb530cc7700d0176e75 /actioncable/lib/action_cable/subscription_adapter/evented_redis.rb | |
parent | f165628cdf9a6d857ea6eeca02ed6c950b250df5 (diff) | |
download | rails-53c516d88d48bafee5bd125a368352dd94f5fdad.tar.gz rails-53c516d88d48bafee5bd125a368352dd94f5fdad.tar.bz2 rails-53c516d88d48bafee5bd125a368352dd94f5fdad.zip |
redis-rb 4.0 support
* Use `gem 'redis', '~> 4.0'` for new app Gemfiles
* Loosen Action Cable redis-rb dep to `>= 3.3, < 5`
* Bump redis-namespace for looser Redis version dep
* Avoid using the underlying `redis.client` directly
* Use `Redis.new` instead of `Redis.connect`
Diffstat (limited to 'actioncable/lib/action_cable/subscription_adapter/evented_redis.rb')
-rw-r--r-- | actioncable/lib/action_cable/subscription_adapter/evented_redis.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actioncable/lib/action_cable/subscription_adapter/evented_redis.rb b/actioncable/lib/action_cable/subscription_adapter/evented_redis.rb index 07774810ce..1227c793a9 100644 --- a/actioncable/lib/action_cable/subscription_adapter/evented_redis.rb +++ b/actioncable/lib/action_cable/subscription_adapter/evented_redis.rb @@ -3,7 +3,7 @@ require "thread" gem "em-hiredis", "~> 0.3.0" -gem "redis", "~> 3.0" +gem "redis", ">= 3", "< 5" require "em-hiredis" require "redis" |