Skip to content

chore: autocorrect Style/HashSyntax offenses in check-in files - #2837

Merged
mroderick merged 1 commit into
masterfrom
chore/rubocop-hash-syntax-check-ins
Sep 2, 2026
Merged

chore: autocorrect Style/HashSyntax offenses in check-in files#2837
mroderick merged 1 commit into
masterfrom
chore/rubocop-hash-syntax-check-ins

Conversation

@mroderick

Copy link
Copy Markdown
Collaborator

Problem

Every pull request's RuboCop CI job fails because the job runs on the PR-into-master merge commit, and master itself carries 15 pre-existing Style/HashSyntax: Omit the hash value offenses: 2 in app/controllers/check_ins_controller.rb and 13 in spec/controllers/check_ins_controller_spec.rb. Master's push runs have not exercised the RuboCop job since June, so these drifted in unnoticed.

Change

  • rubocop -a autocorrect on the two check-in files: 15 offenses corrected, all mechanical member: member -> member: shorthand rewrites. No behavior change.

Verification

  • bundle exec rubocop (full repo, on this branch): 374 files inspected, 0 offenses
  • bundle exec rspec spec/controllers/check_ins_controller_spec.rb: 12 examples, 0 failures

Autocorrect 15 Style/HashSyntax "Omit the hash value" offenses in
app/controllers/check_ins_controller.rb and its spec. These pre-existing
offenses on master make every pull request's RuboCop CI job fail, since
the job runs on the merge commit.
@mroderick
mroderick marked this pull request as ready for review September 2, 2026 10:05
@mroderick
mroderick merged commit 741cff1 into master Sep 2, 2026
9 checks passed
@mroderick
mroderick deleted the chore/rubocop-hash-syntax-check-ins branch September 2, 2026 10:08
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