#9691: Add configuration parameter InspectBlocks to Layout/RedundantLineBreak. (@jonas054)
#9684: Support IgnoredMethods option for Lint/AmbguousBlockAssociation. (@gprado)
#9358: Support restrictive_version_specificiers option in Bundler/GemComment cop. (@RobinDaugherty)
Bug fixes
#5576: Fix problem with inherited Include parameters. (@jonas054)
#9690: Fix an incorrect auto-correct for Style/IfUnlessModifier when using a method with heredoc argument. (@koic)
#9681: Fix an incorrect auto-correct for Style/RedundantBegin when using modifier if single statement in begin block. (@koic)
#9698: Fix an error for Style/StructInheritance when extending instance of Struct without do ... end and class body is empty and single line definition. (@koic)
#9700: Avoid warning about Ruby version mismatch. (@marcandre)
#9636: Resolve symlinks when excluding directories. (@ob-stripe)
#9707: Fix false positive for Style/MethodCallWithArgsParentheses with omit_parentheses style on an endless defs node. (@dvandersluis)
#9689: Treat parens around array items the same for children and deeper descendants. (@dvandersluis)
#9676: Fix an error for Style/StringChars when using split without parentheses. (@koic)
#9712: Fix an incorrect auto-correct for Style/HashConversion when Hash[] as a method argument without parentheses. (@koic)
#9704: Fix an incorrect auto-correct for Style/SingleLineMethods when single line method call without parentheses. (@koic)
#9683: Fix an incorrect auto-correct for Style/HashConversion when using zip method without argument in Hash[]. (@koic)
#9715: Fix an incorrect auto-correct for EnforcedStyle: require_parentheses of Style/MethodCallWithArgsParentheses with Style/RescueModifier. (@koic)
Changes
#7544: Add --no-parallel (-P/--parallel can not be combined with --auto-correct). (@kwerle)
#9647: The parallel flag will now be automatically ignored when combined with --auto-correct, --auto-gen-config, or -F/--fail-fast. Previously, an error was raised and execution stopped. (@rrosenblum)
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)
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 (~> 0.83.0 → ~> 1.13.0) · Repo · Changelog
Release Notes
1.13.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 46 commits:
Cut 1.13
Update Changelog
Tweak a changelog entry
Fix an incorrect auto-correct for `Style/MethodCallWithArgsParentheses`
Add --no-parallel command-line option (#9640)
[Fix #9636] Resolve symlinks when excluding directories
Fix an incorrect auto-correct for `Style/HashConversion`
[Fix #9689] Treat parens around array items the same for children and deeper descendants.
Fix typos
[Fix #5576] Treat relativity of Include parameters correctly
Merge pull request #9708 from dvandersluis/issue/9707
[Fix #9707] Fix false positive for `Style/MethodCallWithArgsParentheses` with `omit_parentheses` style on an endless `defs` node.
Merge pull request #9705 from koic/fix_an_error_for_style_single_line_method
Fix an error for `Style/SingleLineMethods`
Fix an incorrect auto-correct for `Style/SingleLineMethods`
Change RedundantLineBreak: InspectBlocks to false internally
[Fixes #9700] Have `Style/RedundantArgument` use correct parser
Move `parse` method into new Cop API
Add a Discord chat badge
[Fix #9698] Fix an error for `Style/StructInheritance`
Auto disable parallel
[Fix #9684] Support `IgnoredMethods` option for `Lint/AmbiguousBlockAssociation`
Set false to `SafeMultiline` for `Performance/StartWith` and `Performance/EndWith`
Prefer `File.read` instead of `IO.read`
Merge pull request #9694 from renjiexu/master
Fix typo
[Fix #9683] Fix an incorrect auto-correct for `Style/HashConversion`
Add restrictive_version_specifiers to Bundler/GemComment (#9358)
Fix an incorrect auto-correct for `Style/IfUnlessModifier`
[Fix #9691] Add configuration option InspectBlocks to RedundantLineBreak
[Fix #9681] Fix an incorrect auto-correct for `Style/RedundantBegin`
Remove legacy docs
Improve cop documentation
Run rubocop --auto-gen-config
Manually fix remaining offenses
Run rubocop -A
Run rubocop -a
[Fix #7977] Add Layout/RedundantLineBreak cop
Allow split description strings in ExampleDescription
Auto-correct dstr nodes in StringConcatenation
Add support for multi-line strings with backslash in InterpolationCheck
Workaround for `Performance/RedundantEqualityComparisonBlock` when using JRuby 9.2
Workaround for `Style/RedundantBegin` when using JRuby 9.2
Drop Ruby 2.4 support
[Fix #9676] Fix an error for `Style/StringChars`
Switch back the docs version to master
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