about summary refs log tree commit diff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-11-27 20:41:39 +0100
committerGitHub <noreply@github.com>2022-11-27 20:41:39 +0100
commit098ced7420065149feec732f979402afe2573d60 (patch)
tree306e7638cbb8016d6dae79f6c976fd76705d6aaf /.rubocop.yml
parent47f0d7021e76c60f5336b0c005c6336cd50c8009 (diff)
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.
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 38a413c2e..aec11b030 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -2,7 +2,7 @@ require:
   - rubocop-rails
 
 AllCops:
-  TargetRubyVersion: 2.5
+  TargetRubyVersion: 2.7
   NewCops: disable
   Exclude:
     - 'spec/**/*'