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 rubocop from 1.13.0 to 1.42.0 #299

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 2, 2023

Bumps rubocop from 1.13.0 to 1.42.0.

Release notes

Sourced from rubocop's releases.

RuboCop 1.42

New features

Bug fixes

  • #11204: Fix a false negative for Lint/RedundantCopDisableDirective when using --except command line option. (@​koic)
  • #11369: Fix an error for Lint/UselessRuby2Keywords when using Proc#ruby2_keywords. (@​koic)
  • #11351: Fix an incorrect autocorrect for Lint/RegexpAsCondition when using regexp literal with bang. (@​koic)
  • #11329: Accept simple freezed constants in Layout/ClassStructure and correctly handle class methods. (@​fatkodima)
  • #11344: Fix an error for Style/GuardClause when using heredoc as an argument of raise in then branch and it does not have else branch. (@​koic)
  • #11335: Fix an error for Style/RequireOrder when only one reuqire. (@​koic)
  • #11348: Fix an error for Style/SelectByRegexp when block body is empty. (@​koic)
  • #11320: Fix a false positive for Lint/RequireParentheses when assigning ternary operator. (@​koic)
  • #11361: Make Style/MethodDefParentheses aware of Ruby 3.2's anonymous rest and keyword rest arguments. (@​koic)
  • #11346: Fix a false positive for Style/RedundantStringEscape when using escaped space in heredoc. (@​koic)
  • #10858: Fix Style/IdenticalConditionalBranches to ignore identical leading lines when branch has single child and is used in return context. (@​fatkodima)
  • #11237: Fix Layout/CommentIndentation comment aligned with access modifier indentation when EnforcedStyle is outdent. (@​soroktree)
  • #11330: Fix an error for Style/RequireOrder when using require inside rescue body. (@​fatkodima)
  • #8751: Accept super within ranges for Layout/SpaceAroundKeyword cop. (@​fatkodima)
  • #10194: Accept bracketed arrays within 2d arrays containing subarrays with complex content for Style/WordArray cop. (@​fatkodima)

Changes

RuboCop 1.41.1

Bug fixes

  • #11293: Fix a false negative for Style/Documentation when using macro. (@​koic)
  • #11313: Fix a false positive for Naming/BlockForwarding when the block argument is reassigned. (@​fatkodima)
  • #11014: Fix a false positive for Style/Aliascop when alias in a method def. ([@​ydah][])
  • #11309: Fix a false positive for Style/RedundantStringEscape when using a redundant escaped string interpolation \#\{foo}. (@​koic)
  • #11307: Fix an error for Style/GuardClause when using lvar as an argument of raise in else branch. ([@​ydah][])
  • #11308: Fix disabling departments via comment. (@​fatkodima)

Changes

... (truncated)

Changelog

Sourced from rubocop's changelog.

1.42.0 (2023-01-01)

New features

Bug fixes

  • #11204: Fix a false negative for Lint/RedundantCopDisableDirective when using --except command line option. ([@​koic][])
  • #11369: Fix an error for Lint/UselessRuby2Keywords when using Proc#ruby2_keywords. ([@​koic][])
  • #11351: Fix an incorrect autocorrect for Lint/RegexpAsCondition when using regexp literal with bang. ([@​koic][])
  • #11329: Accept simple freezed constants in Layout/ClassStructure and correctly handle class methods. ([@​fatkodima][])
  • #11344: Fix an error for Style/GuardClause when using heredoc as an argument of raise in then branch and it does not have else branch. ([@​koic][])
  • #11335: Fix an error for Style/RequireOrder when only one reuqire. ([@​koic][])
  • #11348: Fix an error for Style/SelectByRegexp when block body is empty. ([@​koic][])
  • #11320: Fix a false positive for Lint/RequireParentheses when assigning ternary operator. ([@​koic][])
  • #11361: Make Style/MethodDefParentheses aware of Ruby 3.2's anonymous rest and keyword rest arguments. ([@​koic][])
  • #11346: Fix a false positive for Style/RedundantStringEscape when using escaped space in heredoc. ([@​koic][])
  • #10858: Fix Style/IdenticalConditionalBranches to ignore identical leading lines when branch has single child and is used in return context. ([@​fatkodima][])
  • #11237: Fix Layout/CommentIndentation comment aligned with access modifier indentation when EnforcedStyle is outdent. ([@​soroktree][])
  • #11330: Fix an error for Style/RequireOrder when using require inside rescue body. ([@​fatkodima][])
  • #8751: Accept super within ranges for Layout/SpaceAroundKeyword cop. ([@​fatkodima][])
  • #10194: Accept bracketed arrays within 2d arrays containing subarrays with complex content for Style/WordArray cop. ([@​fatkodima][])

Changes

  • #8366: Ignore private constants in Layout/ClassStructure cop. ([@​fatkodima][])
  • #11325: Support autocorrection for percent literals in Style/ConcatArrayLiterals. ([@​fatkodima][])
  • #11327: Make Style/ZeroLengthPredicate aware of array.length.zero?. ([@​koic][])
  • #10976: Support pattern matching for Lint/OutOfRangeRegexpRef cop. ([@​fatkodima][])

1.41.1 (2022-12-22)

Bug fixes

  • #11293: Fix a false negative for Style/Documentation when using macro. ([@​koic][])
  • #11313: Fix a false positive for Naming/BlockForwarding when the block argument is reassigned. ([@​fatkodima][])
  • #11014: Fix a false positive for Style/Aliascop when alias in a method def. ([@​ydah][])
  • #11309: Fix a false positive for Style/RedundantStringEscape when using a redundant escaped string interpolation \#\{foo}. ([@​koic][])
  • #11307: Fix an error for Style/GuardClause when using lvar as an argument of raise in else branch. ([@​ydah][])
  • #11308: Fix disabling departments via comment. ([@​fatkodima][])

Changes

1.41.0 (2022-12-20)

... (truncated)

Commits
  • 0f7416a Cut 1.42
  • b58c2cd Update Changelog
  • d8e5332 Merge pull request #11372 from koic/ci_against_ruby_3_2_on_windows
  • ac9e723 CI against Ruby 3.2 on Windows
  • 33bf9a0 Fix an error for Lint/UselessRuby2Keywords
  • 3cce8c8 Fix Style/WordArray for subarrays
  • d5c303a Bump license years to 2023
  • 32e13c5 Improve offense message for Style/YodaExpression cop
  • d4aeaf1 [Doc] Update the doc for Style/MinMaxComparison
  • 7b4adef Add examples for 2d arrays to Style/WordArray cop
  • 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 ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.13.0 to 1.42.0.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.13.0...v1.42.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 2, 2023

The following labels could not be found: ruby.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 11, 2023

Superseded by #304.

@dependabot dependabot bot closed this Jan 11, 2023
@dependabot dependabot bot deleted the dependabot/bundler/rubocop-1.42.0 branch January 11, 2023 04:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants