From 40c0a49fad805ef9f6be3a209c383981a1fd1459 Mon Sep 17 00:00:00 2001 From: Grant Hutchins Date: Sun, 18 May 2025 13:38:14 -0500 Subject: [PATCH] Drop support of EOL Ruby 3.1 --- .github/workflows/ci.yml | 5 +---- with_model.gemspec | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ca5f7df..2f8cf55 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,16 +15,13 @@ jobs: strategy: fail-fast: false matrix: - ruby-version: ['3.1', '3.2', '3.3', '3.4'] + ruby-version: ['3.2', '3.3', '3.4'] active-record-version-env: - ACTIVE_RECORD_VERSION="~> 7.0.0" - ACTIVE_RECORD_VERSION="~> 7.1.0" - ACTIVE_RECORD_VERSION="~> 7.2.0" - ACTIVE_RECORD_VERSION="~> 8.0.0" allow-failure: [false] - exclude: - - ruby-version: '3.1' - active-record-version-env: ACTIVE_RECORD_VERSION="~> 8.0.0" include: - ruby-version: '3.4' active-record-version-env: ACTIVE_RECORD_BRANCH="main" diff --git a/with_model.gemspec b/with_model.gemspec index 77f2481..b87e565 100644 --- a/with_model.gemspec +++ b/with_model.gemspec @@ -18,7 +18,7 @@ Gem::Specification.new do |spec| spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ["lib"] - spec.required_ruby_version = ">= 3.1" + spec.required_ruby_version = ">= 3.2" spec.add_dependency "activerecord", ">= 7.0" end