From 91c9bf24f7e9baf273d658e61befb1d2be7ea25e Mon Sep 17 00:00:00 2001 From: "Howard M. Miller" Date: Tue, 10 Sep 2024 09:16:07 -0400 Subject: [PATCH] Make Rails deps more flexible to help with likely upcoming security updates --- Gemfile.lock | 4 ++-- identity_validations.gemspec | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index ae3b2e7..f6d8b27 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -2,7 +2,7 @@ PATH remote: . specs: identity_validations (0.8.0) - activemodel (~> 7.1.3) + activemodel (~> 7.1) GEM remote: https://rubygems.org/ @@ -88,7 +88,7 @@ PLATFORMS x86_64-linux DEPENDENCIES - activerecord (~> 7.1.3) + activerecord (~> 7.1) bundler (>= 2.5) byebug identity_validations! diff --git a/identity_validations.gemspec b/identity_validations.gemspec index d0d1ea2..335ba41 100644 --- a/identity_validations.gemspec +++ b/identity_validations.gemspec @@ -35,8 +35,8 @@ Gem::Specification.new do |spec| spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ['lib'] - spec.add_dependency 'activemodel', '~> 7.1.3' - spec.add_development_dependency 'activerecord', '~> 7.1.3' + spec.add_dependency 'activemodel', '~> 7.1' + spec.add_development_dependency 'activerecord', '~> 7.1' spec.add_development_dependency 'bundler', '>= 2.5' spec.add_development_dependency 'byebug' spec.add_development_dependency 'rake', '~> 13.0'