From ec3d14c9aba150857d745164928e23ae3627ffd7 Mon Sep 17 00:00:00 2001 From: Tim Morgan Date: Tue, 16 Jul 2024 12:39:54 -0500 Subject: [PATCH] Link to the successor of this gem. --- README.md | 5 ++++- activerecord-mysql-reconnect.gemspec | 3 --- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d978dd2..d9d0126 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,9 @@ # activerecord-mysql-reconnect -Reconnect automatically when ActiveRecord is disconnected from MySQL. Supports Rails 7+ and MySQL 8. +Reconnect automatically when ActiveRecord is disconnected from MySQL. Supports Rails 7.0 and MySQL 8. + +**NOTE: This gem has been superseded by [activerecord-retry-reads](https://github.com/planningcenter/activerecord-retry-reads) for +Rails 7.1 and beyond.** [![Specs](https://github.com/planningcenter/activerecord-mysql-reconnect/actions/workflows/specs.yml/badge.svg)](https://github.com/planningcenter/activerecord-mysql-reconnect/actions/workflows/specs.yml) diff --git a/activerecord-mysql-reconnect.gemspec b/activerecord-mysql-reconnect.gemspec index e30ee46..92a5dfb 100644 --- a/activerecord-mysql-reconnect.gemspec +++ b/activerecord-mysql-reconnect.gemspec @@ -18,9 +18,6 @@ Gem::Specification.new do |spec| spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) spec.require_paths = ['lib'] - # We are going to stop using this in Rails 7.1 and beyond in favor of newly - # added reconnect / retry functionality. The Platform team will provide - # instructions for replacing this gem once 7.1 is released. spec.add_dependency 'activerecord', '~> 7.0.0' spec.add_dependency 'mysql2' spec.add_development_dependency 'bundler'