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