From e20b054caa9202508287691b02cf745a2bab5851 Mon Sep 17 00:00:00 2001 From: Shayon Mukherjee Date: Mon, 3 Jul 2023 10:50:52 -0400 Subject: [PATCH] Lock Rails to v6 (#22) We haven't tested this with Rails 7 and Rails 7 has some auto reconnect and retry features for read queries too, so part of the feature set is also covered --- rails-pg-adapter.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rails-pg-adapter.gemspec b/rails-pg-adapter.gemspec index f716e69..974ffcf 100644 --- a/rails-pg-adapter.gemspec +++ b/rails-pg-adapter.gemspec @@ -28,7 +28,7 @@ Gem::Specification.new do |spec| end spec.require_paths = ["lib"] - spec.add_dependency("rails", "~> 6") + spec.add_dependency("rails", "~> 6", "<7") spec.metadata = { "rubygems_mfa_required" => "true" } if spec.respond_to?(:metadata=) end