diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cad8695c..fd7aa6cd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: build: strategy: matrix: - ruby: [ 'jruby-9.3', 'jruby-9.4', '2.6', '3.4' ] + ruby: [ 'jruby', '2.7', '3.4' ] python: [ '3.8', '3.13' ] platform: [ubuntu-latest, windows-latest, macos-latest] runs-on: ${{ matrix.platform }} diff --git a/.rubocop.yml b/.rubocop.yml index 7c8312c7..2917dc94 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,6 +1,5 @@ AllCops: - NewCops: enable - TargetRubyVersion: 2.6 + NewCops: disable Gemspec/RequireMFA: Enabled: false Metrics/AbcSize: diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index 1dbe1c32..8c3eb709 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -5,10 +5,15 @@ This document provides a high-level view of the changes to the {project-name} by release. For a detailed view of what has changed, refer to the {uri-repo}/commits/master[commit history] on GitHub. +== Unreleased + +* Drop support for Ruby 2.6. +The oldest supported is 2.7 now. + == 3.0.0 (2024-05-14) - @slonopotamus * Drop support for Ruby 2.5. -The oldest supported is 3.6 now. +The oldest supported is 2.6 now. * Drop support for Python 3.6 and 3.7. The oldest supported is 3.8 now. * Update Pygments to 2.18.0 diff --git a/pygments.rb.gemspec b/pygments.rb.gemspec index 159d4cf2..53aa177a 100644 --- a/pygments.rb.gemspec +++ b/pygments.rb.gemspec @@ -22,10 +22,10 @@ Gem::Specification.new do |s| 'source_code_uri' => s.homepage } - s.required_ruby_version = '>= 2.6.0' + s.required_ruby_version = '>= 2.7.0' s.add_development_dependency 'rake', '~> 13.3.0' - s.add_development_dependency 'rubocop', '~> 1.50.2' + s.add_development_dependency 'rubocop', '~> 1.70.0' s.add_development_dependency 'test-unit', '~> 3.6.0' s.files = `git ls-files -z`.split("\0").reject { |f| File.symlink?(f) }