diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index df9f335..fdacb2d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,7 +10,6 @@ jobs: matrix: ruby-version: - - '2.6' - '2.7' - '3.0' - '3.1' diff --git a/.rubocop.yml b/.rubocop.yml index a0313ed..5e01bf3 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -6,7 +6,7 @@ require: AllCops: DisplayCopNames: true NewCops: enable - TargetRubyVersion: 2.6 + TargetRubyVersion: 2.7 Bundler/DuplicatedGem: Enabled: false diff --git a/Gemfile b/Gemfile index 031baec..a8942a3 100644 --- a/Gemfile +++ b/Gemfile @@ -16,7 +16,7 @@ group :test do end group :development do - gem "rubocop", "~> 1.50.2" + gem "rubocop" gem "rubocop-minitest" gem "rubocop-performance" gem "rubocop-rake" diff --git a/Gemfile.lock b/Gemfile.lock index 3711c04..d8f2e71 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -21,6 +21,7 @@ GEM execjs (2.9.1) json (2.7.1) json (2.7.1-java) + language_server-protocol (3.17.0.3) minitest (5.20.0) parallel (1.24.0) parser (3.2.2.4) @@ -33,14 +34,15 @@ GEM rake (13.1.0) regexp_parser (2.8.3) rexml (3.2.6) - rubocop (1.50.2) + rubocop (1.59.0) json (~> 2.3) + language_server-protocol (>= 3.17.0) parallel (~> 1.10) - parser (>= 3.2.0.0) + parser (>= 3.2.2.4) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 1.8, < 3.0) rexml (>= 3.2.5, < 4.0) - rubocop-ast (>= 1.28.0, < 2.0) + rubocop-ast (>= 1.30.0, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 3.0) rubocop-ast (1.30.0) @@ -72,7 +74,7 @@ DEPENDENCIES bundler (~> 2.4.0) minitest rake (>= 11) - rubocop (~> 1.50.2) + rubocop rubocop-minitest rubocop-performance rubocop-rake diff --git a/simplecov-html.gemspec b/simplecov-html.gemspec index 7fa350b..9f1d241 100644 --- a/simplecov-html.gemspec +++ b/simplecov-html.gemspec @@ -14,7 +14,7 @@ Gem::Specification.new do |gem| gem.summary = gem.description gem.license = "MIT" - gem.required_ruby_version = ">= 2.6" + gem.required_ruby_version = ">= 2.7" gem.files = Dir.chdir(__dir__) do `git ls-files -z`.split("\x0").reject do |f|