From 6f5ff40d279e65bea3cb6cc093c500f2983f2ad3 Mon Sep 17 00:00:00 2001 From: Dennis Schreiner Date: Thu, 29 Jan 2026 10:16:39 +0100 Subject: [PATCH] Drop support for Ruby < 3.2 & Add support for Ruby 4 --- .github/workflows/test.yml | 12 ++---------- .ruby-version | 2 +- CHANGELOG.md | 5 +++-- modularity.gemspec | 2 +- 4 files changed, 7 insertions(+), 14 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ffce818..ccdfa8a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,22 +14,14 @@ jobs: fail-fast: false matrix: include: - - ruby: 2.5.7 - gemfile: Gemfile - - ruby: 2.6.10 - gemfile: Gemfile - - ruby: 2.7.4 - gemfile: Gemfile - - ruby: 3.0.2 - gemfile: Gemfile - - ruby: 3.1.2 - gemfile: Gemfile - ruby: 3.2.1 gemfile: Gemfile - ruby: 3.3.6 gemfile: Gemfile - ruby: 3.4.1 gemfile: Gemfile + - ruby: 4.0.1 + gemfile: Gemfile env: BUNDLE_GEMFILE: "${{ matrix.gemfile }}" steps: diff --git a/.ruby-version b/.ruby-version index 35d16fb..e4604e3 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -2.5.7 +3.2.1 diff --git a/CHANGELOG.md b/CHANGELOG.md index 908d6e4..a0c86e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,8 +9,9 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html ### Compatible changes -- Add support for Ruby 3.3 -- Add support for Ruby 3.4 +- Drop support for Ruby < 3.2 +- Add support for Ruby 4.0 + ## 3.2.0 - 2023-03-01 diff --git a/modularity.gemspec b/modularity.gemspec index 77d626f..7985d0c 100755 --- a/modularity.gemspec +++ b/modularity.gemspec @@ -5,7 +5,7 @@ require 'modularity/version' Gem::Specification.new do |spec| spec.name = 'modularity' spec.version = Modularity::VERSION - spec.required_ruby_version = '>= 2.5.0' + spec.required_ruby_version = '>= 3.2.1' spec.authors = ['Henning Koch'] spec.email = ['henning.koch@makandra.de']