From ff5983cf8c50b743b78c87fa9d805103fc9a0db8 Mon Sep 17 00:00:00 2001 From: Ben Langfeld Date: Tue, 17 Jan 2023 17:48:33 -0300 Subject: [PATCH 1/2] Don't allow redis 5.x yet We're not compatible. --- Gemfile.lock | 2 +- modis.gemspec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 6c28cee..d9d9cea 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -6,7 +6,7 @@ PATH activesupport (>= 5.2) connection_pool (>= 2) msgpack (>= 0.5) - redis (>= 3.0) + redis (>= 3.0, < 5.0) GEM remote: https://rubygems.org/ diff --git a/modis.gemspec b/modis.gemspec index d9f87b6..4aef97b 100644 --- a/modis.gemspec +++ b/modis.gemspec @@ -22,7 +22,7 @@ Gem::Specification.new do |gem| gem.add_runtime_dependency 'activemodel', '>= 5.2' gem.add_runtime_dependency 'activesupport', '>= 5.2' - gem.add_runtime_dependency 'redis', '>= 3.0' + gem.add_runtime_dependency 'redis', '>= 3.0', '< 5.0' gem.add_runtime_dependency 'connection_pool', '>= 2' if defined? JRUBY_VERSION From 7446d5803382f0b195f53f78319ac7ab618a9729 Mon Sep 17 00:00:00 2001 From: Ben Langfeld Date: Tue, 17 Jan 2023 19:48:52 -0300 Subject: [PATCH 2/2] We're actually not compatible with redis 4.7 --- Gemfile.lock | 2 +- modis.gemspec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index d9d9cea..71873b3 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -6,7 +6,7 @@ PATH activesupport (>= 5.2) connection_pool (>= 2) msgpack (>= 0.5) - redis (>= 3.0, < 5.0) + redis (>= 3.0, < 4.7) GEM remote: https://rubygems.org/ diff --git a/modis.gemspec b/modis.gemspec index 4aef97b..cb0a66a 100644 --- a/modis.gemspec +++ b/modis.gemspec @@ -22,7 +22,7 @@ Gem::Specification.new do |gem| gem.add_runtime_dependency 'activemodel', '>= 5.2' gem.add_runtime_dependency 'activesupport', '>= 5.2' - gem.add_runtime_dependency 'redis', '>= 3.0', '< 5.0' + gem.add_runtime_dependency 'redis', '>= 3.0', '< 4.7' gem.add_runtime_dependency 'connection_pool', '>= 2' if defined? JRUBY_VERSION