Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump the rubocop group with 3 updates #229

Merged
merged 1 commit into from
Dec 28, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 25, 2023

Bumps the rubocop group with 3 updates: rubocop, rubocop-minitest and rubocop-rails.

Updates rubocop from 1.54.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)

... (truncated)

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][])

... (truncated)

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

Updates rubocop-minitest from 0.31.0 to 0.34.2

Release notes

Sourced from rubocop-minitest's releases.

RuboCop Minitest 0.34.2

Bug fixes

  • #283: Fix an error for Minitest/MultipleAssertions when using || assigning a value to a variable. (@​koic)

RuboCop Minitest 0.34.1

Bug fixes

  • #281: Fix an error when assigning a value to an object attribute. (@​koic)

RuboCop Minitest 0.34.0 (The RubyConf Taiwan 2023 Edition)

New features

  • #272: Add new Minitest/RedundantMessageArgument cop. (@​koic)
  • #279: Add new Minitest/NonExecutableTestMethod cop. (@​koic)

Bug fixes

  • #275: Make Minitest/AssertMatch aware of assert_operator when running with Ruby 2.7. (@​koic)
  • #271: Fix a false positive for Minitest/EmptyLineBeforeAssertionMethods and assert_raises. (@​fatkodima)

Changes

RuboCop Minitest 0.33.0

New features

  • #266: Make Minitest/AssertEqual aware of assert_operator. (@​koic)
  • #268: Make Minitest/AssertMatch aware of assert_operator. (@​koic)
  • #267: Make Minitest/RefuteEqual aware of assert_operator and refute_operator. (@​koic)
  • #269: Make Minitest/RefuteMatch aware of refute_operator and assert_operator. (@​koic)

Changes

  • #265: Make Minitest/RefuteEqual aware of refute(expected == actual). (@​koic)

RuboCop Minitest 0.32.2

... (truncated)

Changelog

Sourced from rubocop-minitest's changelog.

0.34.2 (2023-12-25)

Bug fixes

  • #283: Fix an error for Minitest/MultipleAssertions when using || assigning a value to a variable. ([@​koic][])

0.34.1 (2023-12-16)

Bug fixes

  • #281: Fix an error when assigning a value to an object attribute. ([@​koic][])

0.34.0 (2023-12-16)

New features

  • #272: Add new Minitest/RedundantMessageArgument cop. ([@​koic][])
  • #279: Add new Minitest/NonExecutableTestMethod cop. ([@​koic][])

Bug fixes

  • #275: Make Minitest/AssertMatch aware of assert_operator when running with Ruby 2.7. ([@​koic][])
  • #271: Fix a false positive for Minitest/EmptyLineBeforeAssertionMethods and assert_raises. ([@​fatkodima][])

Changes

0.33.0 (2023-10-21)

New features

  • #266: Make Minitest/AssertEqual aware of assert_operator. ([@​koic][])
  • #268: Make Minitest/AssertMatch aware of assert_operator. ([@​koic][])
  • #267: Make Minitest/RefuteEqual aware of assert_operator and refute_operator. ([@​koic][])
  • #269: Make Minitest/RefuteMatch aware of refute_operator and assert_operator. ([@​koic][])

Changes

  • #265: Make Minitest/RefuteEqual aware of refute(expected == actual). ([@​koic][])

0.32.2 (2023-09-27)

Bug fixes

  • #263: Fix an error for Minitest/AssertOperator and Minitest/RefuteOperator when using unary operation argument. ([@​koic][])

Changes

... (truncated)

Commits
  • 0d42c75 Cut 0.34.2
  • fca22c3 Update Changelog
  • b11fd1c Merge pull request #285 from koic/fix_an_error_for_minitest_multiple_assertions
  • fba823a [Fix #283] Fix an error for Minitest/MultipleAssertions
  • 9335ecb Switch back docs version to master
  • 56f2263 Cut 0.34.1
  • 3e109b8 Update Changelog
  • 5ba16c7 Merge pull request #282 from koic/fix_an_error_when_using_assigning_a_value_t...
  • b7587e5 [Fix #281] Fix an error when assigning a value to an object attribute
  • 8f8f0e4 Add a missing changelog entry
  • Additional commits viewable in compare view

Updates rubocop-rails from 2.20.2 to 2.23.1

Release notes

Sourced from rubocop-rails's releases.

RuboCop Rails 2.23.1

Bug fixes

  • #1221: Fix an exception in Rails/WhereNot when calling .where on an implicit receiver (e.g. inside model code). (@​bquorning)

RuboCop Rails 2.23.0 (The RubyConf Taiwan 2023 Edition)

New features

Bug fixes

  • #1206: Fix an error for Rails/WhereMissing where join method is called without arguments. (@​fatkodima)
  • #1189: Fix false negatives for Rails/Pluck when using safe navigation method calls. (@​koic)
  • #1204: Make Rails/ActiveSupportAliases, Rails/FindBy, Rails/FindById, Rails/Inquiry, Rails/Pick Rails/PluckId, Rails/PluckInWhere, Rails/WhereEquals, Rails/WhereExists, and Rails/WhereNot cops aware of safe navigation operator. (@​koic)

Changes

RuboCop Rails 2.22.2

Bug fixes

  • #1172: Fix an error for Rails/UnknownEnv when using Rails 7.1. (@​koic)
  • #1173: Fix an error for Rails/RedundantActiveRecordAllMethod cop when used with RuboCop 1.51 or lower. (@​koic)

Changes

  • #1171: Change Rails/RedundantActiveRecordAllMethod to ignore delete_all and destroy_all when receiver is an association. (@​masato-bkn)
  • #1178: Require RuboCop AST 1.30.0+. (@​koic)

RuboCop Rails 2.22.1

Bug fixes

  • #1168: Fix a false positive for Rails/DuplicateAssociation when using duplicate belongs_to associations of same class without other arguments. (@​koic)

... (truncated)

Changelog

Sourced from rubocop-rails's changelog.

2.23.1 (2023-12-25)

Bug fixes

  • #1221: Fix an exception in Rails/WhereNot when calling .where on an implicit receiver (e.g. inside model code). ([@​bquorning][])

2.23.0 (2023-12-16)

New features

Bug fixes

  • #1206: Fix an error for Rails/WhereMissing where join method is called without arguments. ([@​fatkodima][])
  • #1189: Fix false negatives for Rails/Pluck when using safe navigation method calls. ([@​koic][])
  • #1204: Make Rails/ActiveSupportAliases, Rails/FindBy, Rails/FindById, Rails/Inquiry, Rails/Pick Rails/PluckId, Rails/PluckInWhere, Rails/WhereEquals, Rails/WhereExists, and Rails/WhereNot cops aware of safe navigation operator. ([@​koic][])

Changes

2.22.2 (2023-11-19)

Bug fixes

  • #1172: Fix an error for Rails/UnknownEnv when using Rails 7.1. ([@​koic][])
  • #1173: Fix an error for Rails/RedundantActiveRecordAllMethod cop when used with RuboCop 1.51 or lower. ([@​koic][])

Changes

  • #1171: Change Rails/RedundantActiveRecordAllMethod to ignore delete_all and destroy_all when receiver is an association. ([@​masato-bkn][])
  • #1178: Require RuboCop AST 1.30.0+. ([@​koic][])

2.22.1 (2023-10-28)

Bug fixes

  • #1145: Fix a false positive for Rails/DuplicateAssociation when using duplicate belongs_to associations of same class without other arguments. ([@​koic][])

2.22.0 (2023-10-27)

New features

  • #906: Add Rails/EnvLocal cop. ([@​sambostock][])
  • #1128: Make Rails/DuplicateAssociation aware of duplicate class_name. ([@​koic][])
  • #1157: Support some Rails 7.1's new querying methods for Rails/RedundantActiveRecordAllMethod. ([@​koic][])
  • #1147: Support the Trilogy adapter for MySQL. ([@​koic][])

... (truncated)

Commits

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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> 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 <dependency name> 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 <dependency name> 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 <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the rubocop group with 3 updates: [rubocop](https://github.com/rubocop/rubocop), [rubocop-minitest](https://github.com/rubocop/rubocop-minitest) and [rubocop-rails](https://github.com/rubocop/rubocop-rails).


Updates `rubocop` from 1.54.0 to 1.59.0
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.54.0...v1.59.0)

Updates `rubocop-minitest` from 0.31.0 to 0.34.2
- [Release notes](https://github.com/rubocop/rubocop-minitest/releases)
- [Changelog](https://github.com/rubocop/rubocop-minitest/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop-minitest@v0.31.0...v0.34.2)

Updates `rubocop-rails` from 2.20.2 to 2.23.1
- [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.20.2...v2.23.1)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: rubocop
- dependency-name: rubocop-minitest
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: rubocop
- dependency-name: rubocop-rails
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: rubocop
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Dec 25, 2023
@aspettl aspettl merged commit 51d253d into main Dec 28, 2023
7 checks passed
@aspettl aspettl deleted the dependabot/bundler/rubocop-d89d1be8ce branch December 28, 2023 05:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant