Commit 2362d0e
Lower RuboCop TargetRubyVersion to 2.4 to match test_gemfiles matrix
The per-Rails gemfile matrix in .github/workflows/test_gemfiles.yml
runs specs on Ruby versions down to 2.4 (for the AR 5.0-5.2 jobs),
but .rubocop.yml had TargetRubyVersion set to 3.2. With that higher
target, RuboCop would have permitted Ruby 3.2+ syntax / stdlib usage
that would break the older runtimes actually covered by CI.
Lower TargetRubyVersion to 2.4 so lint matches the minimum supported
Ruby.
Addresses review feedback from
rsim#239 (comment)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 6e032e6 commit 2362d0e
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
3 | 7 | | |
4 | 8 | | |
5 | 9 | | |
| |||
0 commit comments