From 364a07c2703a1105ff520349a7ebc390cdf69c52 Mon Sep 17 00:00:00 2001 From: Lloyd Watkin Date: Wed, 28 Aug 2024 14:06:06 +0100 Subject: [PATCH 1/2] Ensure activerecord 7.1 is used --- Gemfile.lock | 6 +++--- janus-ar.gemspec | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 06bdbc8..72194e8 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - janus-ar (0.15.1) + janus-ar (0.15.2) GEM remote: http://rubygems.org/ @@ -110,8 +110,8 @@ PLATFORMS x86_64-linux DEPENDENCIES - activerecord (>= 7.1.0) - activesupport (>= 7.1.0) + activerecord (>= 7.1.0, < 7.2) + activesupport (>= 7.1.0, < 7.2) janus-ar! mysql2 pry diff --git a/janus-ar.gemspec b/janus-ar.gemspec index e40032c..803bf64 100644 --- a/janus-ar.gemspec +++ b/janus-ar.gemspec @@ -21,8 +21,8 @@ Gem::Specification.new do |gem| gem.required_ruby_version = '>= 3.2.0' - gem.add_development_dependency 'activerecord', '>= 7.1.0' - gem.add_development_dependency 'activesupport', '>= 7.1.0' + gem.add_development_dependency 'activerecord', '>= 7.1.0', '< 7.2' + gem.add_development_dependency 'activesupport', '>= 7.1.0', '< 7.2' gem.add_development_dependency 'mysql2' gem.add_development_dependency 'trilogy' gem.add_development_dependency 'pry' From 6717efd2b1fa2a93de2d9439bfad2a3356a65dba Mon Sep 17 00:00:00 2001 From: Lloyd Watkin Date: Wed, 28 Aug 2024 14:07:06 +0100 Subject: [PATCH 2/2] Ensure versions --- Gemfile.lock | 2 +- janus-ar.gemspec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 72194e8..d9256af 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -2,6 +2,7 @@ PATH remote: . specs: janus-ar (0.15.2) + activerecord (>= 7.1.0, < 7.2) GEM remote: http://rubygems.org/ @@ -110,7 +111,6 @@ PLATFORMS x86_64-linux DEPENDENCIES - activerecord (>= 7.1.0, < 7.2) activesupport (>= 7.1.0, < 7.2) janus-ar! mysql2 diff --git a/janus-ar.gemspec b/janus-ar.gemspec index 803bf64..1dfe338 100644 --- a/janus-ar.gemspec +++ b/janus-ar.gemspec @@ -21,7 +21,7 @@ Gem::Specification.new do |gem| gem.required_ruby_version = '>= 3.2.0' - gem.add_development_dependency 'activerecord', '>= 7.1.0', '< 7.2' + gem.add_dependency 'activerecord', '>= 7.1.0', '< 7.2' gem.add_development_dependency 'activesupport', '>= 7.1.0', '< 7.2' gem.add_development_dependency 'mysql2' gem.add_development_dependency 'trilogy'