Remove support for Ruby 2.6 (#21477)

As pointed out by https://github.com/mastodon/mastodon/pull/21297#discussion_r1028372193
at least one of our dependencies already dropped support for Ruby 2.6, and we
had removed Ruby 2.6 tests from the CI over a year ago (#16861).

So stop advertising Ruby 2.6 support, bump targeted version, and drop some
compatibility code.
This commit is contained in:
Claire
2022-11-27 20:41:39 +01:00
committed by GitHub
parent 47f0d7021e
commit 098ced7420
5 changed files with 3 additions and 30 deletions

View File

@ -2,7 +2,7 @@ require:
- rubocop-rails
AllCops:
TargetRubyVersion: 2.5
TargetRubyVersion: 2.7
NewCops: disable
Exclude:
- 'spec/**/*'