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

[ruby - main] Upgrade rubocop to version 1.1.0 #1958

Merged
merged 1 commit into from Nov 2, 2020

Conversation

depfu[bot]
Copy link
Contributor

@depfu depfu bot commented Oct 30, 2020

Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ rubocop (~> 1.0.0 → ~> 1.1.0) · Repo · Changelog

Release Notes

1.1.0

New features

  • #8896: Add new Lint/DuplicateRegexpCharacterClassElement cop. (@owst)
  • #8895: Add new Lint/EmptyBlock cop. (@fatkodima)
  • #8934: Add new Style/SwapValues cop. (@fatkodima)
  • #7549: Add new Style/ArgumentsForwarding cop. (@koic)
  • #8859: Add new Lint/UnmodifiedReduceAccumulator cop. (@dvandersluis)
  • #8951: Support auto-correction for Style/MultipleComparison. (@koic)
  • #8953: Add AllowMethodComparison option for Lint/MultipleComparison. (@koic)
  • #8960: Add Regexp::Expression#loc and #expression to replace parsed_tree_expr_loc. (@marcandre)
  • #8930: Add rake tasks for alternative way to specify Changelog entries. (@marcandre)
  • #8940: Add new Style/DocumentDynamicEvalDefinition cop. (@fatkodima)
  • #7753: Add new Lint/ToEnumArguments cop. (@fatkodima)

Bug fixes

  • #8921: Prevent Lint/LiteralInInterpolation from removing necessary interpolation in %W[] and %I[] literals. (@knu)
  • #8708: Fix bad regexp recognition in Lint/OutOfRangeRegexpRef when there are multiple regexps. (@dvandersluis)
  • #8945: Fix changelog task to build a correct changelog item when Fix #123 is encountered. (@dvandersluis)
  • #8914: Fix autocorrection for Layout/TrailingWhitespace in heredocs. (@marcandre)

Changes

  • #8920: Remove Capybara's save_screenshot from Lint/Debugger. (@ybiquitous)
  • #8919: Require RuboCop AST 1.0.1 or higher. (@koic)
  • #8939: Accept comparisons of multiple method calls for Style/MultipleComparison. (@koic)
  • #8950: Add IgnoredMethods and IgnoredClasses to Lint/NumberConversion. (@dvandersluis)

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 52 commits:


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu bot added the depfu label Oct 30, 2020
@tvdeyen tvdeyen merged commit 3b4a8fe into main Nov 2, 2020
@tvdeyen tvdeyen deleted the depfu/update/main/rubocop-1.1.0 branch November 2, 2020 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant