#9649: Fix when highlights contain multibyte characters. (@osyo-manga)
#9646: Fix an incorrect auto-correct for EnforcedStyle: require_parentheses of Style/MethodCallWithArgsParentheses with EnforcedStyle: conditionals of Style/AndOr. (@koic)
#9608: Fix a false positive for Layout/EmptyLineAfterGuardClause when using guard clause is after rubocop:enable comment. (@koic)
#9637: Allow parentheses for forwarded args in Style/MethodCallWithArgsParentheses's omit_parentheses style to avoid endless range ambiguity. (@gsamokovarov)
#9641: Fix Layout/MultilineMethodCallIndentation triggering on method calls that look like operators. (@dvandersluis)
#9638: Fix an error for Layout/LineLength when over limit at right hand side of multiple assignment. (@koic)
#9639: Fix Style/RedundantBegin removing comments on assignment statement correction. (@marcotc)
#9671: Fix an incorrect auto-correct for Lint/AmbiguousOperator with Style/MethodCallWithArgsParentheses. (@koic)
#9645: Fix an incorrect auto-correct for Style/SingleLineMethods when using single line class method definition. (@koic)
#9644: Fix an error and an incorrect auto-correct for Style/MultilineMethodSignature when line break after opening parenthesis. (@koic)
#9672: Fix an incorrect auto-correct for Style/HashConversion when using multi-argument Hash[] as a method argument. (@koic)
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.12.1) · Repo · Changelog
Release Notes
1.12.1
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 28 commits:
Cut 1.12.1
Update Changelog
Document that we allow parens where omitting them is ambiguous or invalid
Parenthesized forwarded args in Style/MethodCallWithArgsParentheses
Configure rspec shared_context_metadata_behavior to :apply_to_host_groups (compatibility for rspec 4)
[Fix #9672] Fix an incorrect auto-correct for `Style/HashConversion`
Merge pull request #9671 from koic/fix_incorrect_autocorrect_for_ambiguous_operator
Fix an incorrect auto-correct for `Lint/AmbiguousOperator`
Remove (almost) redundant setting.
Merge pull request #9646 from koic/fix_incorrect_autocorrect_for_style_and_or
Merge pull request #9649 from osyo-manga/fix_when_highlights_contain_multibyte_characters
Fix when highlights contain multibyte characters
Fix an incorrect auto-correct for `Style/AndOr`
Merge pull request #9645 from koic/fix_incorrect_autocorrect_for_style_single_line_methods
Fix an incorrect auto-correct for `Style/SingleLineMethods`
Merge pull request #9639 from marcotc/fix/RedundantBegin-remove-comments
Tweak offense message for `Lint/NumberConversion`
Merge pull request #9644 from koic/fix_error_for_style_multiline_method_signature
Merge pull request #9642 from dvandersluis/issue/9641
Fix an error for `Style/MultilineMethodSignature`
Merge pull request #9643 from amomchilov/patch-2
[Fix #9641] Fix `Layout/MultilineMethodCallIndentation` triggering on method calls that look like operators.
Update frozen_string_literal_comment.rb
Fix `Style/RedundantBegin` removing comments on assignment statement correction
Fix an error for `Layout/LineLength`
Tweak the doc for `Style/AccessModifierDeclarations`
[Fix #9608] Fix a false positive for `Layout/EmptyLineAfterGuardClause`
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