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.31.2 to 1.47.0 #1075

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 1, 2023

Bumps rubocop from 1.31.2 to 1.47.0.

Release notes

Sourced from rubocop's releases.

RuboCop 1.47

New features

Bug fixes

  • #11615: Fix a false negative for Lint/MissingSuper when no super call with Class.new block. (@​koic)
  • #11615: Fix a false negative for Lint/MissingSuper when using Class.new without parent class argument. (@​koic)
  • #11040: Fix a false positive for Style/IfUnlessModifier when defined?'s argument value is undefined. (@​koic)
  • #11607: Fix a false positive for Style/RedundantRegexpEscape when an escaped hyphen follows after an escaped opening square bracket within a character class. (@​SparLaimor)
  • #11626: Fix a false positive for Style/ZeroLengthPredicate when using File.new(path).size.zero?. (@​koic)
  • #11620: Fix an error for Lint/ConstantResolution when using __ENCODING__. (@​koic)
  • #11625: Fix an error for Lint/EmptyConditionalBody when missing if body and using method call for return value. (@​koic)
  • #11631: Fix an incorrect autocorrect for Style/ArgumentsForwarding when using arguments forwarding for .() call. (@​koic)
  • #11621: Fix an incorrect autocorrect for Layout/ClassStructure using heredoc inside method. (@​fatkodima)
  • #3591: Handle modifier while and until expressions in Lint/UselessAssignment. (@​bfad)
  • #11202: Fixed usage of --only flag with --auto-gen-config. (@​istvanfazakas)

Changes

  • #11623: Add rubocop-capybara to suggested extensions and extension doc. (@​ydah)

RuboCop 1.46

New features

Bug fixes

  • #11574: Fix a broken shorthand syntax autocorrection. ([@​gsamokovarov][])
  • #11599: Fix a false positive for Layout/LineContinuationSpacing when using percent literals. (@​koic)
  • #11556: Fix a false positive for Lint/Debugger when p is an argument of method call. (@​koic)
  • #11591: Fix a false positive for Lint/ToEnumArguments when enumerator is not created for __callee__ and __callee__ methods. (@​koic)
  • #11603: Actually run temporarily enabled cops. ([@​tdeo][])
  • #11579: Fix an error for Layout/HeredocArgumentClosingParenthesis when heredoc is a method argument in a parenthesized block argument. (@​koic)
  • #11576: Fix an error for Lint/UselessRescue when rescue does not exception variable and ensure has empty body. (@​koic)
  • #11608: Fix an error for Lint/RefinementImportMethods when using include on the top level. (@​koic)
  • #11589: Fix an error for Layout/HeredocArgumentClosingParenthesis when heredoc is a branch body in a method argument of a parenthesized argument. (@​koic)
  • #11567: Fix Layout/EndAlignment false negative. ([@​j-miyake][])

... (truncated)

Changelog

Sourced from rubocop's changelog.

1.47.0 (2023-03-01)

New features

Bug fixes

  • #11615: Fix a false negative for Lint/MissingSuper when no super call with Class.new block. ([@​koic][])
  • #11615: Fix a false negative for Lint/MissingSuper when using Class.new without parent class argument. ([@​koic][])
  • #11040: Fix a false positive for Style/IfUnlessModifier when defined?'s argument value is undefined. ([@​koic][])
  • #11607: Fix a false positive for Style/RedundantRegexpEscape when an escaped hyphen follows after an escaped opening square bracket within a character class. ([@​SparLaimor][])
  • #11626: Fix a false positive for Style/ZeroLengthPredicate when using File.new(path).size.zero?. ([@​koic][])
  • #11620: Fix an error for Lint/ConstantResolution when using __ENCODING__. ([@​koic][])
  • #11625: Fix an error for Lint/EmptyConditionalBody when missing if body and using method call for return value. ([@​koic][])
  • #11631: Fix an incorrect autocorrect for Style/ArgumentsForwarding when using arguments forwarding for .() call. ([@​koic][])
  • #11621: Fix an incorrect autocorrect for Layout/ClassStructure using heredoc inside method. ([@​fatkodima][])
  • #3591: Handle modifier while and until expressions in Lint/UselessAssignment. ([@​bfad][])
  • #11202: Fixed usage of --only flag with --auto-gen-config. ([@​istvanfazakas][])

Changes

  • #11623: Add rubocop-capybara to suggested extensions and extension doc. ([@​ydah][])

1.46.0 (2023-02-22)

New features

  • #11569: Support TargetRubyVersion 3.3 (experimental). ([@​koic][])

Bug fixes

  • #11574: Fix a broken shorthand syntax autocorrection. ([@​gsamokovarov][])
  • #11599: Fix a false positive for Layout/LineContinuationSpacing when using percent literals. ([@​koic][])
  • #11556: Fix a false positive for Lint/Debugger when p is an argument of method call. ([@​koic][])
  • #11591: Fix a false positive for Lint/ToEnumArguments when enumerator is not created for __callee__ and __callee__ methods. ([@​koic][])
  • #11603: Actually run temporarily enabled cops. ([@​tdeo][])
  • #11579: Fix an error for Layout/HeredocArgumentClosingParenthesis when heredoc is a method argument in a parenthesized block argument. ([@​koic][])
  • #11576: Fix an error for Lint/UselessRescue when rescue does not exception variable and ensure has empty body. ([@​koic][])
  • #11608: Fix an error for Lint/RefinementImportMethods when using include on the top level. ([@​koic][])
  • #11589: Fix an error for Layout/HeredocArgumentClosingParenthesis when heredoc is a branch body in a method argument of a parenthesized argument. ([@​koic][])
  • #11567: Fix Layout/EndAlignment false negative. ([@​j-miyake][])
  • #11582: Fix checking if token with large offset begins its line. ([@​fatkodima][])
  • #11412: Mark Style/ArrayIntersect as unsafe. ([@​koic][])
  • #11559: Fixed false positives and negatives in Style/RedundantRegexpCharacterClass when using octal escapes (e.g. "\0"). ([@​jaynetics][])
  • #11575: Fix parentheses in value omissions for multiple assignments. ([@​gsamokovarov][])

Changes

... (truncated)

Commits
  • 94f743d Cut 1.47
  • 9af5999 Update Changelog
  • 528f397 Add new InternalAffairs/RedundantSourceRange cop
  • eec53fa [Fix #11202] Fix --only flag usage with --auto-gen-config and `Layout/Lin...
  • d173f99 [Fix #11040] Fix a false positive for Style/IfUnlessModifier
  • ff7c004 Sider Review has been terminated
  • c651ffa [Fix #11634] Tweak autocorrection for Style/ConcatArrayLiterals
  • cde4bc2 #11076 Add autocorrect for hash in Lint/LiteralInInterpolation (#11475)
  • 999ac27 [Fix #11631] Fix an incorrect autocorrect for Style/ArgumentsForwarding
  • 6ba66be Add new InternalAffairs/LocationExpression 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.31.2 to 1.47.0.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.31.2...v1.47.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file Ruby labels Mar 1, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 6, 2023

Superseded by #1077.

@dependabot dependabot bot closed this Mar 6, 2023
@dependabot dependabot bot deleted the dependabot/bundler/rubocop-1.47.0 branch March 6, 2023 12:59
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants