activeadmin / arbre

An Object Oriented DOM Tree in Ruby
MIT License
756 stars 74 forks source link

Bump the rails_default group with 1 update #566

Closed dependabot[bot] closed 6 months ago

dependabot[bot] commented 6 months ago

Bumps the rails_default group with 1 update: rubocop.

Updates rubocop from 1.58.0 to 1.59.0

Release notes

Sourced from rubocop's releases.

RuboCop 1.59

New features

Bug fixes

  • #12434: Fix a false positive for Lint/LiteralAssignmentInCondition when using interpolated string or xstring literals. (@​koic)
  • #12435: Fix a false positive for Lint/SelfAssignment when using attribute assignment with method call with arguments. (@​koic)
  • #12444: Fix false positive for Style/HashEachMethods when receiver literal is not a hash literal. (@​koic)
  • #12524: Fix a false positive for Style/MethodCallWithArgsParentheses when EnforcedStyle: omit_parentheses and parens in when clause is used to pass an argument. (@​koic)
  • #12505: Fix a false positive for Style/RedundantParentheses when using parenthesized lambda or proc with do...end block. (@​koic)
  • #12442: Fix an incorrect autocorrect for Style/CombinableLoops when looping over the same data as previous loop in do...end and {...} blocks. (@​koic)
  • #12432: Fix a false positive for Lint/LiteralAssignmentInCondition when using parallel assignment with splat operator in block of guard condition. (@​koic)
  • #12441: Fix false positives for Style/HashEachMethods when using destructed block arguments. (@​koic)
  • #12436: Fix false positives for Style/RedundantParentheses when a part of range is a parenthesized condition. (@​koic)
  • #12429: Fix incorrect autocorrect for Style/MapToHash when using dot method calls for to_h. (@​koic)
  • #12488: Make Lint/HashCompareByIdentity aware of safe navigation operator. (@​koic)
  • #12489: Make Lint/NextWithoutAccumulator aware of safe navigation operator. (@​koic)
  • #12490: Make Lint/NumberConversion aware of safe navigation operator. (@​koic)
  • #12491: Make Lint/RedundantWithIndex aware of safe navigation operator. (@​koic)
  • #12492: Make Lint/RedundantWithObject aware of safe navigation operator. (@​koic)
  • #12493: Make Lint/UnmodifiedReduceAccumulator aware of safe navigation operator. (@​koic)
  • #12473: Make Style/ClassCheck aware of safe navigation operator. (@​koic)
  • #12445: Make Style/CollectionCompact aware of safe navigation operator. (@​koic)
  • #12474: Make Style/ConcatArrayLiterals aware of safe navigation operator. (@​koic)
  • #12476: Make Style/DateTime aware of safe navigation operator. (@​koic)
  • #12479: Make Style/EachWithObject aware of safe navigation operator. (@​koic)
  • #12446: Make Style/HashExcept aware of safe navigation operator. (@​koic)
  • #12447: Make Style/MapCompactWithConditionalBlock aware of safe navigation operator. (@​koic)
  • #12484: Make Style/Next aware of safe navigation operator. (@​koic)
  • #12486: Make Style/RedundantArgument aware of safe navigation operator. (@​koic)
  • #12454: Make Style/RedundantFetchBlock aware of safe navigation operator. (@​koic)
  • #12495: Make Layout/RedundantLineBreak aware of safe navigation operator. (@​koic)
  • #12455: Make Style/RedundantSortBy aware of safe navigation operator. (@​koic)
  • #12456: Make Style/RedundantSortBy aware of safe navigation operator. (@​koic)
  • #12480: Make Style/ExactRegexpMatch aware of safe navigation operator. (@​koic)
  • #12457: Make Style/Sample aware of safe navigation operator. (@​koic)
  • #12458: Make Style/SelectByRegexp cops aware of safe navigation operator. (@​koic)
  • #12494: Make Layout/SingleLineBlockChain aware of safe navigation operator. (@​koic)
  • #12461: Make Style/StringChars aware of safe navigation operator. (@​koic)
  • #12468: Make Style/Strip aware of safe navigation operator. (@​koic)
  • #12469: Make Style/UnpackFirst aware of safe navigation operator. (@​koic)

Changes

  • #12522: Make Style/MethodCallWithoutArgsParentheses allow the parenthesized it method in a block. (@​koic)
  • #12523: Make Style/RedundantSelf allow the self.it method in a block. (@​koic)
Changelog

Sourced from rubocop's changelog.

1.59.0 (2023-12-11)

New features

Bug fixes

  • #12434: Fix a false positive for Lint/LiteralAssignmentInCondition when using interpolated string or xstring literals. ([@​koic][])
  • #12435: Fix a false positive for Lint/SelfAssignment when using attribute assignment with method call with arguments. ([@​koic][])
  • #12444: Fix false positive for Style/HashEachMethods when receiver literal is not a hash literal. ([@​koic][])
  • #12524: Fix a false positive for Style/MethodCallWithArgsParentheses when EnforcedStyle: omit_parentheses and parens in when clause is used to pass an argument. ([@​koic][])
  • #12505: Fix a false positive for Style/RedundantParentheses when using parenthesized lambda or proc with do...end block. ([@​koic][])
  • #12442: Fix an incorrect autocorrect for Style/CombinableLoops when looping over the same data as previous loop in do...end and {...} blocks. ([@​koic][])
  • #12432: Fix a false positive for Lint/LiteralAssignmentInCondition when using parallel assignment with splat operator in block of guard condition. ([@​koic][])
  • #12441: Fix false positives for Style/HashEachMethods when using destructed block arguments. ([@​koic][])
  • #12436: Fix false positives for Style/RedundantParentheses when a part of range is a parenthesized condition. ([@​koic][])
  • #12429: Fix incorrect autocorrect for Style/MapToHash when using dot method calls for to_h. ([@​koic][])
  • #12488: Make Lint/HashCompareByIdentity aware of safe navigation operator. ([@​koic][])
  • #12489: Make Lint/NextWithoutAccumulator aware of safe navigation operator. ([@​koic][])
  • #12490: Make Lint/NumberConversion aware of safe navigation operator. ([@​koic][])
  • #12491: Make Lint/RedundantWithIndex aware of safe navigation operator. ([@​koic][])
  • #12492: Make Lint/RedundantWithObject aware of safe navigation operator. ([@​koic][])
  • #12493: Make Lint/UnmodifiedReduceAccumulator aware of safe navigation operator. ([@​koic][])
  • #12473: Make Style/ClassCheck aware of safe navigation operator. ([@​koic][])
  • #12445: Make Style/CollectionCompact aware of safe navigation operator. ([@​koic][])
  • #12474: Make Style/ConcatArrayLiterals aware of safe navigation operator. ([@​koic][])
  • #12476: Make Style/DateTime aware of safe navigation operator. ([@​koic][])
  • #12479: Make Style/EachWithObject aware of safe navigation operator. ([@​koic][])
  • #12446: Make Style/HashExcept aware of safe navigation operator. ([@​koic][])
  • #12447: Make Style/MapCompactWithConditionalBlock aware of safe navigation operator. ([@​koic][])
  • #12484: Make Style/Next aware of safe navigation operator. ([@​koic][])
  • #12486: Make Style/RedundantArgument aware of safe navigation operator. ([@​koic][])
  • #12454: Make Style/RedundantFetchBlock aware of safe navigation operator. ([@​koic][])
  • #12495: Make Layout/RedundantLineBreak aware of safe navigation operator. ([@​koic][])
  • #12455: Make Style/RedundantSortBy aware of safe navigation operator. ([@​koic][])
  • #12456: Make Style/RedundantSortBy aware of safe navigation operator. ([@​koic][])
  • #12480: Make Style/ExactRegexpMatch aware of safe navigation operator. ([@​koic][])
  • #12457: Make Style/Sample aware of safe navigation operator. ([@​koic][])
  • #12458: Make Style/SelectByRegexp cops aware of safe navigation operator. ([@​koic][])
  • #12494: Make Layout/SingleLineBlockChain aware of safe navigation operator. ([@​koic][])
  • #12461: Make Style/StringChars aware of safe navigation operator. ([@​koic][])
  • #12468: Make Style/Strip aware of safe navigation operator. ([@​koic][])
  • #12469: Make Style/UnpackFirst aware of safe navigation operator. ([@​koic][])

Changes

  • #12522: Make Style/MethodCallWithoutArgsParentheses allow the parenthesized it method in a block. ([@​koic][])
  • #12523: Make Style/RedundantSelf allow the self.it method in a block. ([@​koic][])
Commits
  • e5a164a Cut 1.59
  • 2912b6e Update Changelog
  • 3bcc171 [Fix #12524] Fix a false positive for Style/MethodCallWithArgsParentheses
  • 0daa4aa Make Style/MethodCallWithoutArgsParentheses allow parenthesized it
  • b240a09 Make Style/RedundantSelf allow self.it
  • a0e1042 [Fix #12526] Fix incorrect rendering typos
  • b1bcb31 [Fix #12444] Fix false positive for Style/HashEachMethods
  • 3b0360b Add new Lint/ItWithoutArgumentsInBlock cop
  • 4e9cfcc Merge pull request #12521 from koic/make_style_select_by_regexp_aware_of_safe...
  • 037c860 Merge pull request #12438 from koic/fix_a_false_positive_for_lint_literal_ass...
  • Additional commits viewable in compare view


Dependabot compatibility score

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 rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (b220bfd) 94.34% compared to head (5658ed5) 94.34%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #566 +/- ## ======================================= Coverage 94.34% 94.34% ======================================= Files 17 17 Lines 460 460 ======================================= Hits 434 434 Misses 26 26 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.