From 7cab9102ae2913acc992aa34b4df811c9ecc775d Mon Sep 17 00:00:00 2001 From: Jean Boussier Date: Thu, 23 Nov 2023 10:03:28 +0100 Subject: [PATCH] Bump minimum Ruby and Active Record requirements --- .github/workflows/ci.yml | 2 +- gemfiles/Gemfile.min-supported | 4 ++-- identity_cache.gemspec | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 049e62c8..1e3f3435 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: matrix: entry: - name: 'Minimum supported' - ruby: '2.7' + ruby: '3.0' gemfile: "Gemfile.min-supported" - name: 'Latest released & run rubocop' ruby: '3.2' diff --git a/gemfiles/Gemfile.min-supported b/gemfiles/Gemfile.min-supported index 8c85d373..71244242 100644 --- a/gemfiles/Gemfile.min-supported +++ b/gemfiles/Gemfile.min-supported @@ -3,8 +3,8 @@ gemspec path: ".." gem "ar_transaction_changes", "~> 1.1.0" -gem "activerecord", "~> 5.2.0" -gem "mysql2", "~> 0.4.4" +gem "activerecord", "~> 7.0.0" +gem "mysql2", "~> 0.5" gem "pg", "~> 0.18.0" gem "memcached", "~> 1.8.0" gem "memcached_store", "~> 1.0.0" diff --git a/identity_cache.gemspec b/identity_cache.gemspec index caae45e4..c57fa8fb 100644 --- a/identity_cache.gemspec +++ b/identity_cache.gemspec @@ -31,11 +31,11 @@ Gem::Specification.new do |gem| gem.require_paths = ["lib"] gem.version = IdentityCache::VERSION - gem.required_ruby_version = ">= 2.5.0" + gem.required_ruby_version = ">= 3.0.0" gem.metadata["allowed_push_host"] = "https://rubygems.org" - gem.add_dependency("activerecord", ">= 5.2") + gem.add_dependency("activerecord", ">= 7.0") gem.add_dependency("ar_transaction_changes", "~> 1.1") gem.add_development_dependency("minitest", "~> 5.14")