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.36.0 to 1.37.1 #21

Merged
merged 1 commit into from
Nov 1, 2022

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 1, 2022

Bumps rubocop from 1.36.0 to 1.37.1.

Release notes

Sourced from rubocop's releases.

RuboCop 1.37.1

Bug fixes

  • #11102: Fix an error for Style/AccessModifierDeclarations when using access modifier in a block. (@​koic)
  • #11107: Fix a false positive for Style/OperatorMethodCall when a constant receiver uses an operator method. (@​koic)
  • #11104: Fix an error for Style/CollectionCompact when using reject method and receiver is a variable. (@​koic)
  • #11114: Fix an error for Style/OperatorMethodCall when using obj.!. (@​koic)
  • #11088: Fix an error when specifying SuggestExtensions: true. (@​koic)
  • #11089: Fix an error for Style/RedundantStringEscape when using character literals (e.g. ?a). (@​ydah)
  • #11098: Fix false positive for Style/RedundantStringEscape. (@​tdeo)
  • #11095: Fix an error for Style/RedundantStringEscape cop when using ?\n string character literal. (@​koic)

RuboCop 1.37

New features

Bug fixes

  • #11034: Fix server mode behavior when using --stderr. (@​tdeo)
  • #11028: Fix a false positive for Lint/RequireParentheses when using ternary operator in square bracksts. (@​koic)
  • #11051: Preserve comments on Style/AccessModifierDeclarations autocorrection. ([@​r7kamura][])
  • #9116: Support super method in Layout/FirstArgumentIndentation. (@​tdeo)
  • #11068: Fix a false positive for Style/RedundantRegexpCharacterClass when using starting with "\0" number. (@​koic)
  • #11082: Fix an incorrect autocorrect for Lint/SafeNavigationChain when safe navigation on the right-hand side of the arithmetic operator. (@​ydah)
  • #10982: Do not autocorrect parentheses for calls in assignments in conditional branches for Style/MethodCallWithArgsParentheses with omit_parentheses. ([@​gsamokovarov][])
  • #11084: Fix an error for Style/ParallelAssignment when using parallel assignment in singleton method. (@​koic)
  • #11078: Fix a false positive for Style/RedundantBegin when using endless method definition for begin with multiple statements. (@​koic)
  • #11074: Fix a false positive for Lint/RedundantDirGlobSort when using Dir.glob with multiple arguments. (@​koic)
  • #11025: Check comments for disables in RedundantInitialize cop. ([@​HeroProtagonist][])
  • #11003: Fix clobbering exception in EmptyConditionalBody cop when if branch is empty but else is not. ([@​srcoley][])
  • #11026: Fix an error occurred for Style/SymbolArray and Style/WordArray when empty percent array. (@​ydah)
  • #11022: Fix an incorrect autocorrect for Style/RedundantCondition when using redundant brackets access condition. (@​koic)
  • #11037: Fix a false positive for Style/CollectionCompact when using to_enum.reject or lazy.reject methods with Ruby 3.0 or lower. (@​koic)
  • #11017: Fix an autocorrect for Lint/EmptyConditionalBody that causes a SyntaxError when missing if and else body. (@​ydah)
  • #11047: Fix an incorrect autocorrect for Style/SafeNavigationChain when using +@ and -@ methods. (@​koic)
  • #11015: Fix a false positive for Style/HashSyntax when without parentheses call expr follows after nested method call. (@​koic)
  • #11067: Fix a false positive for Lint/DuplicateRegexpCharacterClassElement when using regexp character starts with escaped zero number. (@​koic)
  • #11030: Fix an incorrect autocorrect for Lint/UnusedMethodArgument and Style::ExplicitBlockArgument when autocorrection conflicts for &block argument. (@​koic)

... (truncated)

Changelog

Sourced from rubocop's changelog.

1.37.1 (2022-10-24)

Bug fixes

  • #11102: Fix an error for Style/AccessModifierDeclarations when using access modifier in a block. ([@​koic][])
  • #11107: Fix a false positive for Style/OperatorMethodCall when a constant receiver uses an operator method. ([@​koic][])
  • #11104: Fix an error for Style/CollectionCompact when using reject method and receiver is a variable. ([@​koic][])
  • #11114: Fix an error for Style/OperatorMethodCall when using obj.!. ([@​koic][])
  • #11088: Fix an error when specifying SuggestExtensions: true. ([@​koic][])
  • #11089: Fix an error for Style/RedundantStringEscape when using character literals (e.g. ?a). ([@​ydah][])
  • #11098: Fix false positive for Style/RedundantStringEscape. ([@​tdeo][])
  • #11095: Fix an error for Style/RedundantStringEscape cop when using ?\n string character literal. ([@​koic][])

1.37.0 (2022-10-20)

New features

Bug fixes

  • #11034: Fix server mode behavior when using --stderr. ([@​tdeo][])
  • #11028: Fix a false positive for Lint/RequireParentheses when using ternary operator in square bracksts. ([@​koic][])
  • #11051: Preserve comments on Style/AccessModifierDeclarations autocorrection. ([@​r7kamura][])
  • #9116: Support super method in Layout/FirstArgumentIndentation. ([@​tdeo][])
  • #11068: Fix a false positive for Style/RedundantRegexpCharacterClass when using starting with "\0" number. ([@​koic][])
  • #11082: Fix an incorrect autocorrect for Lint/SafeNavigationChain when safe navigation on the right-hand side of the arithmetic operator. ([@​ydah][])
  • #10982: Do not autocorrect parentheses for calls in assignments in conditional branches for Style/MethodCallWithArgsParentheses with omit_parentheses. ([@​gsamokovarov][])
  • #11084: Fix an error for Style/ParallelAssignment when using parallel assignment in singleton method. ([@​koic][])
  • #11078: Fix a false positive for Style/RedundantBegin when using endless method definition for begin with multiple statements. ([@​koic][])
  • #11074: Fix a false positive for Lint/RedundantDirGlobSort when using Dir.glob with multiple arguments. ([@​koic][])
  • #11025: Check comments for disables in RedundantInitialize cop. ([@​HeroProtagonist][])
  • #11003: Fix clobbering exception in EmptyConditionalBody cop when if branch is empty but else is not. ([@​srcoley][])
  • #11026: Fix an error occurred for Style/SymbolArray and Style/WordArray when empty percent array. ([@​ydah][])
  • #11022: Fix an incorrect autocorrect for Style/RedundantCondition when using redundant brackets access condition. ([@​koic][])
  • #11037: Fix a false positive for Style/CollectionCompact when using to_enum.reject or lazy.reject methods with Ruby 3.0 or lower. ([@​koic][])
  • #11017: Fix an autocorrect for Lint/EmptyConditionalBody that causes a SyntaxError when missing if and else body. ([@​ydah][])
  • #11047: Fix an incorrect autocorrect for Style/SafeNavigationChain when using +@ and -@ methods. ([@​koic][])
  • #11015: Fix a false positive for Style/HashSyntax when without parentheses call expr follows after nested method call. ([@​koic][])
  • #11067: Fix a false positive for Lint/DuplicateRegexpCharacterClassElement when using regexp character starts with escaped zero number. ([@​koic][])
  • #11030: Fix an incorrect autocorrect for Lint/UnusedMethodArgument and Style::ExplicitBlockArgument when autocorrection conflicts for &block argument. ([@​koic][])
  • #11069: Fix an incorrect autocorrect for Lint/RedundantCopDisableDirective when disable directive contains free comment. ([@​koic][])
  • #11063: Preserve comments on Style/AccessorGrouping autocorrection. ([@​r7kamura][])

... (truncated)

Commits
  • 483ee84 Cut 1.37.1
  • b613ab9 Update Changelog
  • 1bd0fec [Fix #11114] Fix an error for Style/OperatorMethodCall
  • 3153a54 Bump RuboCop RSpec to 2.14
  • 722d1c1 Add new InternalAffairs/CreateEmptyFile cop
  • dc587c8 [Fix #11107] Fix a false positive for Style/OperatorMethodCall
  • 339d50d Merge pull request #11094 from r7kamura/feature/example-heredoc-delimiter
  • 350296e [Fix #11102] Fix an error for Style/AccessModifierDeclarations
  • 05e4611 [Fix #11098] Fix false positive for Style/RedundantStringEscape
  • 2abcc4a [Fix #11104] Fix an error for Style/CollectionCompact
  • 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.36.0 to 1.37.1.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.36.0...v1.37.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the A-deps Area: Source and library dependencies. label Nov 1, 2022
@lopopolo lopopolo merged commit f866de2 into trunk Nov 1, 2022
@lopopolo lopopolo deleted the dependabot/bundler/rubocop-1.37.1 branch November 1, 2022 05:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-deps Area: Source and library dependencies.
Development

Successfully merging this pull request may close these issues.

1 participant