From 31eed31f1307a7cae3de0bd592900b5fb16fcb37 Mon Sep 17 00:00:00 2001 From: Tobias Pfeiffer Date: Sat, 22 Jun 2024 17:39:20 +0200 Subject: [PATCH] Drop Ruby 2.7 support as EOL and I have trouble with some deps --- .github/workflows/stable.yml | 1 - .rubocop.yml | 2 +- README.md | 2 +- simplecov.gemspec | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/stable.yml b/.github/workflows/stable.yml index 09f5b592..361dabeb 100644 --- a/.github/workflows/stable.yml +++ b/.github/workflows/stable.yml @@ -13,7 +13,6 @@ jobs: matrix: ruby-version: - - '2.7' - '3.0' - '3.1' - '3.2' diff --git a/.rubocop.yml b/.rubocop.yml index ddbef523..282229de 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -10,7 +10,7 @@ AllCops: - "tmp/**/*" - "vendor/bundle/**/*" - "vendor/bundle/**/.*" - TargetRubyVersion: 2.7 + TargetRubyVersion: 3.0 NewCops: enable # we might wanna adopt rspec and rake but it's a bit annoying for now SuggestExtensions: false diff --git a/README.md b/README.md index ea872b97..cd78b5fb 100644 --- a/README.md +++ b/README.md @@ -889,7 +889,7 @@ SimpleCov.formatter = SimpleCov::Formatter::JSONFormatter ## Ruby version compatibility -SimpleCov is built in [Continuous Integration] on Ruby 2.7+ as well as JRuby 9.3+. +SimpleCov is built in [Continuous Integration] on Ruby 3.0+ as well as JRuby 9.3+. Note for JRuby => You need to pass JRUBY_OPTS="--debug" or create .jrubyrc and add debug.fullTrace=true diff --git a/simplecov.gemspec b/simplecov.gemspec index 573c1bd3..7a0dce10 100644 --- a/simplecov.gemspec +++ b/simplecov.gemspec @@ -33,7 +33,7 @@ Gem::Specification.new do |gem| "rubygems_mfa_required" => "true" } - gem.required_ruby_version = ">= 2.7.0" + gem.required_ruby_version = ">= 3.0.0" gem.add_dependency "docile", "~> 1.1" gem.add_dependency "simplecov-html", "~> 0.11"