This repository has been archived by the owner on Jun 13, 2023. It is now read-only.
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 (~> 0.92.0 → ~> 0.93.0) · Repo · Changelog
Release Notes
0.93.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 59 commits:
Cut 0.93
[Fix #8821] Fix an incorrect autocorrect for `Style/NestedTernaryOperator` (#8832)
[Fix #8718] Fix undefined methods of pseudo location (#8823)
Keep all specs in dot_position_spec
Fix Cop/LayoutPosition autocorrect
Add tests for Layout/DotPosition cop
[Fix #8834] Fix a false positive for `Style/ParenthesesAsGroupedExpression` (#8839)
Add new `Style/ClassEqualityComparison` cop
Merge pull request #8861 from koic/fix_an_example_for_format_string_token
Merge pull request #8856 from koic/fix_an_error_for_two_cops
Fix an example for `Style/FormatStringToken`
[Fix #8855] Fix an error when using only access modifier
Merge pull request #8822 from koic/make_style_redundant_begin_aware_of_begin_without_rescue
Make `Style/RedundantBegin` aware of `begin` without `rescue`
[Fix #7408] Make `Gemspec/RequiredRubyVersion` cop aware of `Gem::Requirement`
[Fix #7495] Documentation for `Lint/AmbiguousBlockAssociation`
[Fix #8804] Save actual status to cache (#8841)
[Fix #8842] Add a message about loading the cache to the debug output (#8853)
Merge pull request #8837 from koic/fix_incorrect_autocorrect_for_redundant_interpolation
[Fix #8835] Fix an incorrect autocorrect for `Style/RedundantInterpolation`
Fix a false positive for `Lint/BooleanSymbol` when used within `%i[...]`
Merge pull request #8847 from koic/fix_incorrect_autocorrect_for_ambiguous_regexp_literal
[Fix #8843] Fix an incorrect autocorrect for `Lint/AmbiguousRegexpLiteral`
Merge pull request #8851 from dvandersluis/issue/8848
Add new `Lint/RedundantSafeNavigation` cop
Use `regexp_parser` to improve `Style/RedundantRegexp...` cops (#8625)
[Fix #8848] Fix a false positive for `Style/CombinableLoops` when using the same method with different arguments.
Merge pull request #8807 from koic/fix_incorrect_autocorrect_for_redundant_condition
Fix a false positive for `Style/RedundantCondition`
Merge pull request #8840 from tleish/style-string-concatenation-with-double-quotes
Fix #8830 bad autocorrect of `Style/StringConcatenation` when string includes double quotes.
Merge pull request #8824 from koic/fix_an_error_for_layout_class_length
Merge pull request #8504 from dmytro-savochkin/fix/8354
[Fix #8354] Fix Style/CaseLikeIf to handle regexp named captures
Document interaction of `Style/AccessorGrouping` and `Sorbet` [doc]
Fix cop name in Changelog [doc] [ci skip]
Merge pull request #8826 from ghiculescu/explicit_block_argument-crash
Fix crash in Style/ExplicitBlockArgument
Merge pull request #8817 from rdunlop/correct_all_occurrences_of_method_def_parentheses
Fix an error for `Metrics/ClassLength`
[Fix #8514] Correct multiple Style/MethodDefParentheses per file.
Handle comments and blank interpolations in regexp parsed_tree (#8803)
Merge pull request #8800 from rdunlop/correct_all_occurrences_of_space_inside_block_braces
[Fix #8799] Fix SpaceInsideBlockBraces cop regression.
[Fix #8646] Optimize finding target files further (#8815)
Tweak several changelog entries
Merge pull request #8802 from rdunlop/correct_all_occurrences_of_space_around_equals_in_parameter_default
[Fix #8801] Fix Layouts/SpaceAroundEqualsInParameterDefault
Merge pull request #8809 from pbernays/fix-style-for
Fix multiple offense detection for Style/For
Merge pull request #8810 from pbernays/fix-style-raise-args
[Fix #8759] Fix multiple offense detection for Style/RaiseArgs
Merge pull request #8122 from tejasbubane/fix-8102
[Fix #8102] Consider class-length instead of block-length for Struct.new
[Fix #8646] Optimize the process of finding of all files on RuboCop startup (#8806)
Add new `Lint/HashCompareByIdentity` cop
Document syntax for multiple cops named in a command-flag
[Fix #5713] Explicitly test, and add documentation note, for behaviour of multiline comment blocks (#8798)
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