From 30ba80a818bca85a7386f3c21fa5c18851dceca0 Mon Sep 17 00:00:00 2001 From: NAITOH Jun Date: Mon, 6 Jul 2026 08:52:32 +0900 Subject: [PATCH] Drop support for Ruby 2.5 ## Why? GitHub: Fix GH-271 Since it has become difficult to support Ruby 2.5, we are removing it from our list of supported versions. --- .github/workflows/test.yml | 4 +--- rexml.gemspec | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1b2a36dd..73396077 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,7 +7,7 @@ jobs: uses: ruby/actions/.github/workflows/ruby_versions.yml@master with: engine: cruby-jruby - min_version: 2.5 + min_version: 2.6 inplace: needs: ruby-versions-inplace @@ -21,8 +21,6 @@ jobs: - macos-latest - windows-latest ruby-version: ${{ fromJson(needs.ruby-versions-inplace.outputs.versions) }} - exclude: - - {runs-on: macos-latest, ruby-version: 2.5} # include: # - runs-on: ubuntu-latest # ruby-version: truffleruby diff --git a/rexml.gemspec b/rexml.gemspec index e5cf8581..cdeb624a 100644 --- a/rexml.gemspec +++ b/rexml.gemspec @@ -57,5 +57,5 @@ Gem::Specification.new do |spec| spec.rdoc_options.concat(["--main", "README.md"]) spec.extra_rdoc_files = rdoc_files - spec.required_ruby_version = '>= 2.5.0' + spec.required_ruby_version = '>= 2.6.0' end