Skip to content

Upgrade RuboCop to 1.88 - #260

Draft
sferik wants to merge 1 commit into
collectiveidea:masterfrom
sferik:rubocop-1-88
Draft

sferik wants to merge 1 commit into
collectiveidea:masterfrom
sferik:rubocop-1-88

Conversation

@sferik

@sferik sferik commented Oct 17, 2026 •

Copy link
Copy Markdown
Collaborator

This pins RuboCop 1.88 and the current Packaging, Performance, Rails and RSpec plugins (loaded through plugins: now) and fixes the two new offenses. TargetRubyVersion stays at 2.0, so RuboCop never suggests syntax older Rubies can't run. by_priority passes columns to order instead of a SQL string, which only qualifies them with the table name, so the ordering doesn't change.

Require RuboCop 1.88 and the current releases of its Packaging,
Performance, Rails and RSpec extensions, loading the extensions
through the plugins key they now use instead of require. Keep
TargetRubyVersion at 2.0 so RuboCop never suggests syntax that older
Rubies can't run. Run the RuboCop workflow on Ruby 3.4 instead of 3.2.

Fix the two new offenses: pass by_priority's order as columns instead
of a SQL string, which only qualifies them with the table name, and
read the migration template in the spec helper with File.read rather
than leaving the file open.
@sferik
sferik requested a review from albus522 October 17, 2026 23:36
@sferik sferik mentioned this pull request Oct 17, 2026
@sferik
sferik marked this pull request as draft October 18, 2026 17:04

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant