[ruby] Update rubocop 1.76.2 → 1.77.0 (minor) #361
Merged
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 update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ rubocop (1.76.2 → 1.77.0) · Repo · Changelog
Release Notes
1.77.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 29 commits:
Cut 1.77Update Changelog[Fix #14128] Allow long fully-qualified namespace strings to exceed max length[Docs] Update a link to Parser's API docsFix links in Plugin Configuration docsEnhance `Gemspec/RequireMFA` cop autocorrect to insert MFA directive after last `metadata` assignment[Fix #14306] Fix an error for `Style/HashConversion`[Fix #14313] Fix a false positive for `Layout/SpaceBeforeBrackets`Fix autocorrection syntax error for multiline expressions in Style/RedundantParentheses[Fix #14165] Add new DefaultToNil option to Style/FetchEnvVar copAdd new `Gemspec/AttributeAssignment` cop (#14223)When using RBS, with Steep for example, it's sometimes useful to [add an inline type annotation](https://github.com/soutaro/steep/blob/6d66d0d174bc8d2fe6cd2ed8925936894c26f5c4/lib/steep.rb#L327).Merge pull request #14315 from 5hun-s/fix_an_error_for_style_sole_nested_conditional[Fix #14298] Fix an error for Style/SoleNestedConditional[Fix #14292] Fix false positives for `Style/RedundantParentheses`Add new cop Style/CollectionQueryingMerge pull request #14308 from viralpraxis/fix-style-method-call-with-args-parentheses-false-positive-with-kwarg-forward[Fix #14307] Fix `Style/MethodCallWithArgsParentheses` false positivesMerge pull request #14285 from viralpraxis/fix-warning-on-duplicated-lint-useless-access-modifier-method-creating-methods-option[Fix #14296] Fix false positives for `Style/RedundantSelf`Merge pull request #14297 from viralpraxis/follow-up-to-14159-add-specs-for-empty-constant-patternFollow-up to #14159: add specs for empty constant patternFix warning on duplicated `Lint/UselessAccessModifier` `MethodsCreationContext` optionUpdate `Naming/PredicateMethod` to consider negation (`!`/`not`) as boolean valuesMerge pull request #14294 from dvandersluis/issue/14255Merge pull request #14159 from viralpraxis/enhance-layout-space-inside-array-literal-brackets-to-analyze-nested-array-patterns[Fix #14255] Update `Naming/PredicateMethod` to treat returned predicate method calls as boolean valuesFix stale links in Integration with Other Tools docsReset the docs versionDepfu 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
Summary by Sourcery
Chores: