Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.31.1 → 1.32.0) · Repo · Changelog
Release Notes
1.32.0
1.31.2
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 51 commits:
Cut 1.32
Update Changelog
[Fix #10788] Relax `Style/FetchEnvVar` to allow `ENV[]` in LHS of `||`
[Fix rubocop#10813] Fix recursive deletion to suppression in `Lint/NonAtomicFileOperation`
Merge pull request #10824 from koic/make_lint_deprecated_class_methods_aware_of_env_clone_and_dup
Make `Lint/DeprecatedClassMethods` aware of `ENV.clone` and `ENV.dup`
Add new `Style/EmptyHeredoc` cop
Merge pull request #10814 from ccutrer/server-fast-stdout
[Doc] Syntax highlight for CONTRIBUTING.md
Add autocorrect support for `Style/SafeNavigationChain`
Write to stdout ASAP in server mode
Merge pull request #10815 from r7kamura/feature/improve-10810
Improve `Style/SymbolProc` about #10810 changes
Break long method definitions when auto-correcting
Add RSpec 4 prerelease CI job
Make spec suite compatible with RSpec 4
Support `csend` on `Style/SymbolProc`
Enhanced documentation for "IgnoredMethods" option
Enhance documentation for "AllowedMethods" option (#10807)
Support `AllowComments` option for `Style/EmptyElse`
[Fix #10613] Allow parallel inspection for autocorrect
Merge pull request #10803 from koic/require_rubocop_ast_1_9
Use `RuboCop::AST::Token#regexp_dots?`
Add MultilineMethodParameterLineBreaks cop
[Fix #10791] Fix an incorrect autocorrect for `Style/Semicolon`
Merge pull request #10796 from kachick/fix-wrog-detection-for-all-methods
Merge pull request #10797 from jonas054/10263_fix_config_leaking
[Fix #10263] Fix aliasing problem for Enabled in Config
Do not offense UselessRestrictOnSend when defined on_send or after_send with alias
Fix wrong offense when just calling methods on top-level
Suppress `Lint/RequireRangeParentheses` offense
Make Layout/LineContinuationLeadingSpace configurable
Preserve multiline semantics on `Style/SymbolArray` and `Style/WordArray`
Add new `Lint/RequireRangeParentheses` cop
Fix a suggestions for safer conversions for `Lint/NonAtomicFileOperation`
Switch back the docs version
Cut 1.31.2
Update Changelog
[Fix #10026] Fix inherit_mode resolution for parent and default config
[Fix #10764] Fix performance issue for Layout/FirstHashElementIndentation and Layout/FirstArrayElementIndentation
[Fix #10786] Fix a false positive for `Lint/NonAtomicFileOperation`
Merge pull request #10785 from koic/fix_a_false_negative_for_style_redundant_parentheses
Fix a false negative for `Style/RedundantParentheses`
Merge pull request #10743 from ydah/add_generator_restrict_on_send
Add `RESTRICT_ON_SEND` to the Cop template generated by the `new_cop` task
[Fix #10780] Fix an error when using `rubocop:auto_correct` rake task
Merge pull request #10774 from rubocop/fix-documentation-comment-false-negatives
Fix false negatives when public method is defined after a private one
Merge pull request #10775 from rubocop/skip-useless-iterations-in-module-function-cop
Switch back the docs version
Avoid unnecessary iterations
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