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 #227

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 16, 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.0

Release notes

Sourced from rubocop-minitest's releases.

RuboCop Minitest 0.34.0 (The RubyConf Taiwan 2023 Edition)

New features

  • #272: Add new Minitest/RedundantMessageArgument 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

Bug fixes

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

Changes

  • #264: Make Minitest/AssertOperator and Minitest/RefuteOperator allow index access with []. (@​flavorjones)

RuboCop Minitest 0.32.1

Bug fixes

  • #261: Fix an error for Minitest/AssertOperator and Minitest/RefuteOperator when using variable argument. (@​koic)

... (truncated)

Changelog

Sourced from rubocop-minitest's changelog.

0.34.0 (2023-12-16)

New features

  • #272: Add new Minitest/RedundantMessageArgument 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

  • #264: Make Minitest/AssertOperator and Minitest/RefuteOperator allow index access with []. ([@​flavorjones][])

0.32.1 (2023-09-24)

Bug fixes

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

0.32.0 (2023-09-23)

New features

... (truncated)

Commits
  • 33e2db5 Cut 0.34.0
  • 0b2911f Update Changelog
  • a31118d Merge pull request #280 from koic/add_new_minitest_non_executable_test_method...
  • 6306fd5 [Fix #279] Add new Minitest/NonExecutableTestMethod cop
  • b446022 Merge pull request #272 from koic/add_new_minitest_redundant_message_argument...
  • 6f03ce6 Add new Minitest/RedundantMessageArgument cop
  • 7474a84 Merge pull request #277 from koic/migrate_to_gha_from_circleci
  • b4b1214 Migrate to GitHub Actions from CircleCI
  • d0c87f2 Merge pull request #276 from fatkodima/assert_same-with-object-id
  • 71a94d9 Enhance AssertSame/RefuteSame to check for object_id comparison
  • Additional commits viewable in compare view

Updates rubocop-rails from 2.20.2 to 2.23.0

Release notes

Sourced from rubocop-rails's releases.

RuboCop Rails 1.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)

RuboCop Rails 2.22.0

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)

Changelog

Sourced from rubocop-rails's changelog.

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

Bug fixes

  • #952: Fix a false positive for Rails/NotNullColumn when using null: false for MySQL's TEXT type. ([@​koic][])
  • #1041: Fix a false positive for Rails/Output when output method is called with block argument. ([@​koic][])
  • #1143: Fix an error for Rails/RedundantActiveRecordAllMethod when using RuboCop 1.51 or lower. ([@​koic][])

... (truncated)

Commits
  • bdc741d Cut 2.23.0
  • cbd9eeb Update Changelog
  • cc81598 Merge pull request #1204 from koic/make_some_cops_aware_of_safe_navigation_op...
  • 7c672a0 Make some cops aware of safe navigation operator
  • a3db656 Merge pull request #1216 from fatkodima/pluck_in_where-ids
  • b9e40e1 Update Rails/PluckInWhere to check for .ids call
  • 1431257 Merge pull request #1209 from fatkodima/pluck_in_where-where-not
  • d9c2a44 Support where.not for Rails/PluckInWhere
  • 2776841 Merge pull request #1181 from r7kamura/nokogiri-html-parse
  • a280038 Merge pull request #1208 from fatkodima/fix-where-missing-error
  • 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 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.0
- [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.0)

Updates `rubocop-rails` from 2.20.2 to 2.23.0
- [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.0)

---
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 16, 2023
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 18, 2023

Superseded by #228.

@dependabot dependabot bot closed this Dec 18, 2023
@dependabot dependabot bot deleted the dependabot/bundler/rubocop-0865954d97 branch December 18, 2023 20:15
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.

0 participants