From 42b89cdc4902992a6421eb03655ef970e4460200 Mon Sep 17 00:00:00 2001 From: Colin Darie Date: Tue, 30 Sep 2025 15:23:10 +0200 Subject: [PATCH] Add compatibility for rails 8.0 --- Gemfile.lock | 14 ++++++++------ siret_validator.gemspec | 2 +- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index babbf0f..e30c995 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -2,14 +2,14 @@ PATH remote: . specs: siret_validator (0.1.0) - activemodel (~> 7.0) + activemodel (>= 7.0, < 8.1) GEM remote: https://rubygems.org/ specs: - activemodel (7.2.2.1) - activesupport (= 7.2.2.1) - activesupport (7.2.2.1) + activemodel (8.0.3) + activesupport (= 8.0.3) + activesupport (8.0.3) base64 benchmark (>= 0.3) bigdecimal @@ -21,12 +21,13 @@ GEM minitest (>= 5.1) securerandom (>= 0.3) tzinfo (~> 2.0, >= 2.0.5) + uri (>= 0.13.1) ast (2.4.3) base64 (0.3.0) benchmark (0.4.1) - bigdecimal (3.2.2) + bigdecimal (3.2.3) concurrent-ruby (1.3.5) - connection_pool (2.5.3) + connection_pool (2.5.4) drb (2.2.3) i18n (1.14.7) concurrent-ruby (~> 1.0) @@ -72,6 +73,7 @@ GEM unicode-display_width (3.1.4) unicode-emoji (~> 4.0, >= 4.0.4) unicode-emoji (4.0.4) + uri (1.0.3) PLATFORMS arm64-darwin-24 diff --git a/siret_validator.gemspec b/siret_validator.gemspec index 207ad3e..dbd442b 100644 --- a/siret_validator.gemspec +++ b/siret_validator.gemspec @@ -30,7 +30,7 @@ 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 "activemodel", ">= 7.0", "< 8.1" # For more information and examples about making a new gem, check out our # guide at: https://bundler.io/guides/creating_gem.html