rubocop-github
rubocop-github copied to clipboard
Bump rubocop-rails from 2.33.4 to 2.34.0
Bumps rubocop-rails from 2.33.4 to 2.34.0.
Release notes
Sourced from rubocop-rails's releases.
RuboCop Rails v2.34.0
New features
- #1520: New
Rails/HttpStatusNameConsistencycop. (@tuxagon)- #1376: Add new
Rails/Envcop. (@cdudas17)- #1541: Add new
Rails/RedirectBackOrTocop to suggest usingredirect_back_or_toinstead ofredirect_backwithfallback_location. (@davidenglishmusic)Bug fixes
- #1539: Fix an error in
Rails/ActionControllerFlashBeforeRenderwhenflashis used inside a block followed by method chaining. (@koic)- #1553: Fix false positives for
Rails/OutputSafetywhen using non-interpolated multiline heredoc. (@koic)- #1532: Fix false positives for
Rails/FindByOrAssignmentMemoizationwhen assigning a memoization instance variable atinitializemethod. (@koic)- #1549: Fix
Rails/InverseOfcop false positives when using dynamic association options. (@viralpraxis)Changes
- #1537: Add
abortto theRails/Exitcop. (@adamstegman)- #932: Add support for chained method calls in
Rails/Presence. (@vlad-pisanov)- #1525: Change
Rails::HelperInstanceVariablenot to detect offenses for instance variables within classes. (@viralpraxis)- #1481: Recognize
Rails.env.to_syminRails/EnvironmentComparison. (@lovro-bikic)
Changelog
Sourced from rubocop-rails's changelog.
2.34.0 (2025-11-16)
New features
- #1520: New
Rails/HttpStatusNameConsistencycop. ([@tuxagon][])- #1376: Add new
Rails/Envcop. ([@cdudas17][])- #1541: Add new
Rails/RedirectBackOrTocop to suggest usingredirect_back_or_toinstead ofredirect_backwithfallback_location. ([@davidenglishmusic][])Bug fixes
- #1539: Fix an error in
Rails/ActionControllerFlashBeforeRenderwhenflashis used inside a block followed by method chaining. ([@koic][])- #1553: Fix false positives for
Rails/OutputSafetywhen using non-interpolated multiline heredoc. ([@koic][])- #1532: Fix false positives for
Rails/FindByOrAssignmentMemoizationwhen assigning a memoization instance variable atinitializemethod. ([@koic][])- #1549: Fix
Rails/InverseOfcop false positives when using dynamic association options. ([@viralpraxis][])Changes
- #1537: Add
abortto theRails/Exitcop. ([@adamstegman][])- #932: Add support for chained method calls in
Rails/Presence. ([@vlad-pisanov][])- #1525: Change
Rails::HelperInstanceVariablenot to detect offenses for instance variables within classes. ([@viralpraxis][])- #1481: Recognize
Rails.env.to_syminRails/EnvironmentComparison. ([@lovro-bikic][])
Commits
ff99b24Cut 2.34.04d6c3c8Update Changelog259a467Merge pull request #1555 from koic/fix_false_positive_for_rails_output_safety92fcb33[Fix #1553] Fix false positives forRails/OutputSafety2b228a8Merge pull request #1551 from r7kamura/docs-required-typoc6b201fImprove docs about Rails version notes48710faMerge pull request #1549 from viralpraxis/fix-rails-inverse-of-cop-false-posi...5f8b62aFixRails/InverseOfcop false positives when using dynamic assoc options84c131fMerge pull request #1461 from vlad-pisanov/vp_presence_1289d8c7Merge pull request #1546 from viralpraxis/change-rails-duplicate-scope-cop-de...- Additional commits viewable in compare view
Dependabot 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 mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@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)