human-essentials
human-essentials copied to clipboard
build(deps-dev): bump rubocop-rails from 2.25.1 to 2.26.2
Bumps rubocop-rails from 2.25.1 to 2.26.2.
Release notes
Sourced from rubocop-rails's releases.
RuboCop Rails 2.26.2
Bug fixes
- #1362: Fix false positives for
Rails/EnumSyntaxwhen using Ruby 2.7. (@koic)- #1269: Fix false positives for
Rails/ActionControllerFlashBeforeRenderin combination with implicit returns. (@earlopain)- #1326: Fix wrong autocorrect for
Rails/FilePathwhen passing an array toFile.join. (@earlopain)Changes
- #1359: Support
filterinRails/CompactBlank. (@masato-bkn)RuboCop Rails 2.26.1
Bug fixes
- #1343: Fix false negatives for
Rails/EnumSyntaxfor non-literal mappings. (@earlopain)- #1340: Fix a false positive for
Rails/WhereEquals,Rails/WhereNot, andRails/WhereRangewhen qualifying the database name. (@earlopain)Changes
- #1342: Change
Rails/ApplicationRecordto ignore migrations. (@fatkodima)- #1350: Change
Rails/EnumSyntaxto autocorrect underscored options. (@fatkodima)RuboCop Rails 2.26.0
New features
- #1238: Add new
Rails/EnumSyntaxcop. ([@maxprokopiev][],@koic)- #1309: Support Rails 7 syntax for
Rails/EnumHashcop. ([@ytjmt][])- #1298: Support Rails 7 syntax for
Rails/EnumUniquenesscop. ([@ytjmt][])Bug fixes
- #1335: Fix an error for
Rails/BulkChangeTablewhen the block forchange_tableis empty. (@earlopain)- #1325: Fix an error for
Rails/RenderPlainTextwhen the content type is passed as a constant. (@earlopain)- #1337: Fix an error for
Rails/Validationwhen passing no arguments. (@earlopain)- #1330: Fix an error for
Rails/WhereNotwhen using placeholder without second argument. (@earlopain)- #1311: Fix false negatives for
Rails/ActionControllerFlashBeforeRenderwhen using implicit render or rescue blocks. ([@tldn0718][])- #1313: Fix false positives for
Rails/CompactBlankwhen usingcollection.reject!. (@koic)- #1319: Fix a false positive for
Rails/RedundantPresenceValidationOnBelongsTowhen removingpresencewould leave other non-validation options likeallow_blankwithout validations. (@earlopain)- #1306: Make
Rails/PluralizationGrammaraware of byte methods. (@earlopain)- #1302: Allow
paramsreceiver by default forStyle/CollectionMethods. (@koic)- #1321: Fix an error for
Rails/WhereEqualswhen the second argument is not yet typed (where("foo = ?", )). (@earlopain)Changes
... (truncated)
Changelog
Sourced from rubocop-rails's changelog.
2.26.2 (2024-09-21)
Bug fixes
- #1362: Fix false positives for
Rails/EnumSyntaxwhen using Ruby 2.7. ([@koic][])- #1269: Fix false positives for
Rails/ActionControllerFlashBeforeRenderin combination with implicit returns. ([@earlopain][])- #1326: Fix wrong autocorrect for
Rails/FilePathwhen passing an array toFile.join. ([@earlopain][])Changes
- #1359: Support
filterinRails/CompactBlank. ([@masato-bkn][])2.26.1 (2024-09-07)
Bug fixes
- #1343: Fix false negatives for
Rails/EnumSyntaxfor non-literal mappings. ([@earlopain][])- #1340: Fix a false positive for
Rails/WhereEquals,Rails/WhereNot, andRails/WhereRangewhen qualifying the database name. ([@earlopain][])Changes
- #1342: Change
Rails/ApplicationRecordto ignore migrations. ([@fatkodima][])- #1350: Change
Rails/EnumSyntaxto autocorrect underscored options. ([@fatkodima][])2.26.0 (2024-08-24)
New features
- #1238: Add new
Rails/EnumSyntaxcop. ([@maxprokopiev][], [@koic][])- #1309: Support Rails 7 syntax for
Rails/EnumHashcop. ([@ytjmt][])- #1298: Support Rails 7 syntax for
Rails/EnumUniquenesscop. ([@ytjmt][])Bug fixes
- #1335: Fix an error for
Rails/BulkChangeTablewhen the block forchange_tableis empty. ([@earlopain][])- #1325: Fix an error for
Rails/RenderPlainTextwhen the content type is passed as a constant. ([@earlopain][])- #1337: Fix an error for
Rails/Validationwhen passing no arguments. ([@earlopain][])- #1330: Fix an error for
Rails/WhereNotwhen using placeholder without second argument. ([@earlopain][])- #1311: Fix false negatives for
Rails/ActionControllerFlashBeforeRenderwhen using implicit render or rescue blocks. ([@tldn0718][])- #1313: Fix false positives for
Rails/CompactBlankwhen usingcollection.reject!. ([@koic][])- #1319: Fix a false positive for
Rails/RedundantPresenceValidationOnBelongsTowhen removingpresencewould leave other non-validation options likeallow_blankwithout validations. ([@earlopain][])- #1306: Make
Rails/PluralizationGrammaraware of byte methods. ([@earlopain][])- #1302: Allow
paramsreceiver by default forStyle/CollectionMethods. ([@koic][])- #1321: Fix an error for
Rails/WhereEqualswhen the second argument is not yet typed (where("foo = ?", )). ([@earlopain][])Changes
- #1308: Change
Rails/CompactBlankto handleselect(&:present?). ([@fatkodima][])- #1303: Change
Rails/IgnoredSkipActionFilterOptionto handle multiple callbacks. ([@fatkodima][])- #1199: Make
Rails/WhereEqualsaware ofwhere.not(...). ([@earlopain][])
... (truncated)
Commits
f646d6eCut 2.26.2a451135Update Changelogf935a0bSuppress new RuboCop offenses4a00257Merge pull request #1326 from Earlopain/wrong-autocorrect-for-rails-file-path38cec18[Doc] Sync the Rails configuration tip with the README5dc42d5Merge pull request #1363 from koic/fix_false_positives_for_rails_enum_syntax50fe9a7[Fix #1362] Fix false positives forRails/EnumSyntax210f42eMerge pull request #1344 from Earlopain/revert-13115e66785Merge pull request #1361 from masato-bkn/fix-rails-compact-blankf4f3bf1FixRails/CompactBlankto avoid reporting offense forfilterin Ruby vers...- 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)