From 98bd208f87989b3534f63da798b117cadf5d47b8 Mon Sep 17 00:00:00 2001 From: Guillaume Dott Date: Thu, 19 Dec 2024 16:24:56 +0100 Subject: [PATCH] Add support for Rails 8.0 --- validates_associated_with_context.gemspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/validates_associated_with_context.gemspec b/validates_associated_with_context.gemspec index c038ae8..cd97732 100644 --- a/validates_associated_with_context.gemspec +++ b/validates_associated_with_context.gemspec @@ -30,8 +30,8 @@ Gem::Specification.new do |spec| spec.require_paths = ["lib"] # Uncomment to register a new dependency of your gem - spec.add_dependency "activemodel", "~> 7.0" - spec.add_dependency "activerecord", "~> 7.0" + spec.add_dependency "activemodel", ">= 7.0", "< 9.0" + spec.add_dependency "activerecord", ">= 7.0", "< 9.0" # For more information and examples about making a new gem, check out our # guide at: https://bundler.io/guides/creating_gem.html