human-essentials
human-essentials copied to clipboard
Bump rubocop-rails from 2.25.1 to 2.33.4
Bumps rubocop-rails from 2.25.1 to 2.33.4.
Release notes
Sourced from rubocop-rails's releases.
RuboCop Rails v2.33.4
Bug fixes
- #1530: Fix an incorrect autocorrect for
Rails/FindByOrAssignmentMemoizationwhen using endless method definition. (@koic)- #1522: Fix an error for
Rails/FindBywhenwheretakes a block. (@earlopain)- #1182: Fix a false positive for
Rails/ActionControllerFlashBeforeRenderwhen flash is called in a block. (@5hun-s)RuboCop Rails v2.33.3
Bug fixes
- #1516: Fix wrong autocorrect for
Rails/FindByOrAssignmentMemoization. (@earlopain)RuboCop Rails v2.33.2
Bug fixes
- #1488: Fix an error for
Rails/ReadWriteAttributewith a frozen string attribute name. (@viralpraxis)RuboCop Rails v2.33.1
Bug fixes
- #1508: Fix an error for
Rails/TransactionExitStatementwhentransactionis part of a method chain. (@earlopain)- #1510: Fix
Rails/OrderArgumentscop false positives when using column index argument. (@viralpraxis)- #1511: Don't register offenses for
Rails/WhereExistswhenexists?is given multiple or splat arguments. (@lovro-bikic)RuboCop Rails v2.33.0
New features
- #1324: Add
Rails/FindByOrAssignmentMemoizationcop. ([@r7kamura][])- #1501: Add new cop
Rails/OrderArguments. (@lovro-bikic)Bug fixes
- #1497: Fix bugs in
Rails/PluckIdandRails/PluckInWhere. ([@r7kamura][])- #1478: Fix a false negative for
Rails/EnvLocalwhen having preceding conditions. ([@fatkodima][])- #1505: Fix false negatives for
Rails/Pluckwhenmapmethod call is used in a block without a receiver. (@koic)- #1486: Fix false positives for
Rails/Outputwhenpmethod is a DSL. (@koic)- #1495: Fix false positives for
Rails/TransactionExitStatementwhenbreakis used in loop in transactions. (@koic)- #1483: Fix autocorrection error when
Rails/IndexWithhas nested offenses. (@lovro-bikic)
... (truncated)
Changelog
Sourced from rubocop-rails's changelog.
2.33.4 (2025-09-27)
Bug fixes
- #1530: Fix an incorrect autocorrect for
Rails/FindByOrAssignmentMemoizationwhen using endless method definition. ([@koic][])- #1522: Fix an error for
Rails/FindBywhenwheretakes a block. ([@earlopain][])- #1182: Fix a false positive for
Rails/ActionControllerFlashBeforeRenderwhen flash is called in a block. ([@5hun-s][])2.33.3 (2025-08-14)
Bug fixes
- #1516: Fix wrong autocorrect for
Rails/FindByOrAssignmentMemoization. ([@earlopain][])2.33.2 (2025-08-13)
Bug fixes
- #1488: Fix an error for
Rails/ReadWriteAttributewith a frozen string attribute name. ([@viralpraxis][])2.33.1 (2025-08-12)
Bug fixes
- #1508: Fix an error for
Rails/TransactionExitStatementwhentransactionis part of a method chain. ([@earlopain][])- #1510: Fix
Rails/OrderArgumentscop false positives when using column index argument. ([@viralpraxis][])- #1511: Don't register offenses for
Rails/WhereExistswhenexists?is given multiple or splat arguments. ([@lovro-bikic][])2.33.0 (2025-08-10)
New features
- #1324: Add
Rails/FindByOrAssignmentMemoizationcop. ([@r7kamura][])- #1501: Add new cop
Rails/OrderArguments. ([@lovro-bikic][])Bug fixes
- #1497: Fix bugs in
Rails/PluckIdandRails/PluckInWhere. ([@r7kamura][])- #1478: Fix a false negative for
Rails/EnvLocalwhen having preceding conditions. ([@fatkodima][])- #1505: Fix false negatives for
Rails/Pluckwhenmapmethod call is used in a block without a receiver. ([@koic][])- #1486: Fix false positives for
Rails/Outputwhenpmethod is a DSL. ([@koic][])- #1495: Fix false positives for
Rails/TransactionExitStatementwhenbreakis used in loop in transactions. ([@koic][])- #1483: Fix autocorrection error when
Rails/IndexWithhas nested offenses. ([@lovro-bikic][])Changes
- #1500: Exclude controllers and mailers from
Lint/UselessMethodDefinition. ([@r7kamura][])- #1474: Make
Rails/EnumSyntaxinclude the lib directory by default. ([@koic][])- #1463: Mark
Rails/IndexWithas unsafe autocorrect. ([@tejasbubane][])
... (truncated)
Commits
b2ccb82Cut 2.33.40fb1259Update Changelog24faad2Merge pull request #1533 from viralpraxis/load-simplecov-before-lib-for-bette...28caddbLoadsimplecovbefore loadinglibfor better coverage results60dd19bMerge pull request #1528 from 5hun-s/fix_false_positive_for_rails_action_cont...87e5bbf[Fix rubocop#1182] Fix a false positive for Rails/ActionControllerFlashBefore...ec292a2Fix a build error when using Ruby 2.717371a8Merge pull request #1531 from koic/fix_an_incorrect_autocorrect_for_rails_fin...2b091ebFix an incorrect autocorrect forRails/FindByOrAssignmentMemoizationdd73491Merge pull request #1522 from Earlopain/find-by-where-block- 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)