Bump rubocop-rails from 2.35.3 to 2.35.4#881
Conversation
Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails) from 2.35.3 to 2.35.4. - [Release notes](https://github.com/rubocop/rubocop-rails/releases) - [Changelog](https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md) - [Commits](rubocop/rubocop-rails@v2.35.3...v2.35.4) --- updated-dependencies: - dependency-name: rubocop-rails dependency-version: 2.35.4 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Test coverage91.72% line coverage reported by SimpleCov. |
There was a problem hiding this comment.
Stale comment
Dependabot assessment:
rubocop-rails2.35.3 → 2.35.4Verdict: safe to merge. Lockfile-only patch bump;
rubocop-railsis a:development, :testgem and does not ship to production.CI (run 27679038894):
lint✅ ·test✅ (91.72% coverage). Local Docker/Ruby unavailable here; verification via CI.Safety of merging
No runtime impact. v2.35.4 is a bug-fix release for the
Rails/StrongParametersExpectcop (false positives and unsafe autocorrect). Current codebase lint is clean under the new version.Concerns unlikely to be caught by the RSpec suite:
- Lint-only behaviour change — tests do not exercise RuboCop cops; only the CI
lintjob validates this. That job passed, so current code is fine.- Future lint deltas — code using
params.require([...]), dynamic.permit(permitted_attributes), orparams[:foo].inspectmay now lint differently than on 2.35.3; this is a cop fix, not a runtime change.- Autocorrect safety — if someone runs
rubocop -Aon flagged strong-params code, autocorrect behaviour differs from 2.35.3 (previously could produce invalid Ruby in edge cases).Proposed fixes
None required — CI is green and no application code changes are needed.
Sent by Cursor Automation: Editor-* - Tests Dependabot PRs
There was a problem hiding this comment.
Dependabot assessment: rubocop-rails 2.35.3 → 2.35.4
Verdict: safe to merge.
Lockfile-only bump of a dev/test linting gem — no runtime or application code changes.
Verification
- CI (run 27679038894):
lint✅ (bundle exec rubocop— 507 files, no offenses),test✅, coverage 91.72%. - Local: Docker/Ruby unavailable in this environment; relied on CI.
Safety of merging
Concerns unlikely to be caught by the test suite:
- Lint-only dependency — no production behaviour change; risk is limited to RuboCop rule behaviour in CI and local dev.
Rails/StrongParametersExpectcop fixes — v2.35.4 only adjusts that cop (fewer false positives; safer autocorrect for dynamicpermitargs). This repo already usesparams.expectwidely;google_auth_controller.rbalso usesrequirewith an array literal, which this release specifically fixes.- Autocorrect semantics —
Rails/StrongParametersExpectremains an unsafe cop;rubocop -Acould still rewrite strong-params code in ways tests might not cover. CI does not run autocorrect.
Proposed fixes
None — no failing tests, new deprecations, or lint regressions observed.
Sent by Cursor Automation: Editor-* - Tests Dependabot PRs


Bumps rubocop-rails from 2.35.3 to 2.35.4.
Release notes
Sourced from rubocop-rails's releases.
Changelog
Sourced from rubocop-rails's changelog.
Commits
a4d53a5Cut 2.35.4e9e592dUpdate Changelog84eb5fe[Doc] Update the doc forRails/StrongParametersExpect5490e3eMerge pull request #1636 from koic/fix_strong_parameters_expect_dynamic_permi...cfe75e9[Fix #1574] Fix an invalid autocorrection forRails/StrongParametersExpect4817d57Merge pull request #1633 from koic/doc_strong_parameters_expect_safetyd9824c6Merge pull request #1634 from koic/fix_strong_parameters_expect_array_requiree30a80bMerge pull request #1635 from jdelStrother/params-inspect70651a0Allowinspectin Rails/StrongParametersExpecta8f6e0c[Doc] Document additional unsafety ofRails/StrongParametersExpectDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)