Update dependency rubocop to '~> 1.87.0' - #87
Merged
Conversation
renovate
Bot
force-pushed
the
renovate/rubocop-1.x
branch
from
March 23, 2026 13:05
e821403 to
923376f
Compare
renovate
Bot
force-pushed
the
renovate/rubocop-1.x
branch
from
April 13, 2026 15:43
923376f to
be6cc39
Compare
renovate
Bot
force-pushed
the
renovate/rubocop-1.x
branch
from
May 11, 2026 14:45
be6cc39 to
99b10ef
Compare
renovate
Bot
force-pushed
the
renovate/rubocop-1.x
branch
from
May 30, 2026 23:39
99b10ef to
5414aeb
Compare
- Convert File.open(...).each to File.foreach in gen-ldap-update. - Use block form for File.open in openldap_to_389ds.rb to avoid leaking the file descriptor. - Add a targeted rubocop:disable for Style/OneClassPerFile on Simp::YamlNodeClassifier; the compact namespace form requires a module pre-declaration, so the two top-level definitions are unavoidable without restructuring the public API. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
silug
approved these changes
Jun 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR contains the following updates:
'~> 1.84.0'→'~> 1.87.0'Release Notes
rubocop/rubocop (rubocop)
v1.87.0Compare Source
New features
--enable-all-copsand--disable-all-copscommand line options that overrideAllCops/EnabledByDefaultandAllCops/DisabledByDefaultin configuration files. ([@koic][])Layout/EmptyLineAfterGuardClauseaccept the new# simplecov:disableand# simplecov:enabledirective comments. ([@koic][])AllCops/UseProjectIndexto enable cross-file detection inLint/ConstantReassignment(experimental). ([@koic][])Bug fixes
Lint/ParenthesesAsGroupedExpressionwhen the first argument is a call-like expression with its own parentheses, such asyield(...). ([@koic][])Style/YodaConditionwhen one side is an array or hash literal containing non-literal elements. ([@koic][])Style/Aliascausing a syntax error when the return value ofalias_methodis used, such as an argument topublic,private,protected, ormodule_function, or the right-hand side of an assignment. ([@koic][])Style/ClassAndModuleChildrencausing a syntax error when the namespace contains a method call (e.g.,class self.class::Foo; end). ([@koic][])Style/FileWritecausing a syntax error when the written heredoc is chained with another method call. ([@koic][])Style/HashConversioncausing a syntax error whenHash[...]is passed an anonymous splat (*). ([@koic][])Style/StructInheritancecausing a syntax error when the inheritedStruct.newis called without parentheses. ([@koic][])Layout/RedundantLineBreakwhen a single-line block is chained with a safe navigation method call. ([@koic][])Layout/IndentationWidthto indent block bodies relative to the method selector for trailing-dot multi-line method chains whenEnforcedStyleAlignWithisrelative_to_receiver. ([@ddbrendan][])Style/RedundantParenthesesthat swallowed chained method calls into a trailing inline comment on the line above the closing parenthesis. ([@hammadxcm][])Changes
FilePatterns#match?results per path so cops sharing the sameInclude/Excludeconfiguration do not each repeatFile.fnmatch?work on every file. ([@Darhazer][])v1.86.2Compare Source
New features
Bug fixes
Style/HashLookupMethodwhen chainingfetch(or[]) calls on the same expression. ([@koic][])Style/ReduceToHashwhen nestedeach_with_object/inject/reducecalls would build hashes. ([@koic][])Style/SoleNestedConditionalwhen autocorrecting nested conditionals containing comments. ([@koic][])constantsfromStyle/ModuleMemberExistenceCheck. ([@t-daisuke][])Style/RedundantSelfwhen an explicitselfreceiver in one scope matches the LHS of an||=,&&=, orop_asgnin another scope. ([@koic][])Lint/RequireRelativeSelfPathwhen a non-.rbfile usesrequire_relativewith its own basename. ([@koic][])Layout/ClosingParenthesisIndentationandLayout/CommentIndentation. ([@koic][])Lint/RedundantSafeNavigationwhen safe navigation appears inrescueorensurebodies. ([@koic][])Lint/RedundantSafeNavigationwhen safe navigation appears in the body ofunless. ([@koic][])Style/CopyrightwhenNoticepattern starts with\A#, uses\smetacharacters, or has multiple spaces after#. ([@koic][])Style/DocumentDynamicEvalDefinitionwhen the heredoc contains an escaped interpolation (\#{...}). ([@eyupcanakman][])--outdisables parallelization. ([@deivid-rodriguez][])TargetFinderto work correctly inside hidden parent directories. ([@alpaca-tc][])FrozenErrorinDisabledConfigFormatterfor frozen array config parameters. ([@koic][])Gemspec/RequireMFAcausing an infinite loop whenrubygems_mfa_requiredmetadata uses a symbol key. ([@koic][])--disable-uncorrectableand offense near heredoc. ([@jonas054][])Layout/MultilineMethodCallIndentationwhen a dot-aligned method chain is inside a hash pair value. ([@nicolas-finary][])Lint/MissingCopEnableDirectivewhen# rubocop:disableis wrapped in a# rubocop:push/# rubocop:popblock. ([@koic][])Style/RegexpLiteralwhen the regexp contains unbalanced braces that conflict with the preferred%rdelimiters. ([@koic][])Style/CopyrightwhenAutocorrectNoticelacks a#prefix orNoticepattern starts with^#. ([@koic][])Style/IfInsideElseautocorrect moving comments into the wrong branch when a comment precedes the nestedifin anelse. ([@hammadxcm][])Style/WhileUntilModifierwhen the body is a conditional. ([@fujitanisora][])v1.86.1Compare Source
Bug fixes
Style/AccessModifierDeclarationsinline autocorrect dropping comments between the access modifier and the following method definition. ([@dduugg][])Lint/DuplicateMethodsfalse positives for anonymous classes in constant assignments and method return values. ([@eugeneius][])Lint/DuplicateMethodsfalse positives with anonymous classes inside blocks (e.g. RSpeclet,describe). ([@ShkumbinDelija][])included_modulesfromStyle/ModuleMemberExistenceCheck. ([@koic][])Style/RedundantLineContinuationwhen using interpolated string literals. ([@koic][])file_to_include?when a relativeIncludepattern matches a parent directory name in the absolute file path. ([@jonas054][])Layout/EmptyLineAfterGuardClausewhen consecutive guard clauses useand return. ([@eugeneius][])Lint/RedundantSafeNavigationwhen chained safe navigation is used in a conditional expression withInferNonNilReceiverenabled. ([@koic][])Style/RedundantParentheseswhen using parentheses around an endless range in assignment. ([@koic][])Style/RedundantParentheseshandling of beginless ranges. ([@oggy][])Lint/Syntaxzero-length diagnostic range for syntax errors at EOF. ([@55728][])Includepath adjustment when local config overrides an inheritedInclude. ([@jonas054][])Layout/EndAlignmentcop error on an emptybegin. ([@viralpraxis][])Layout/LineLengthwhenSplitStringsoption is enabled and__FILE__is used. ([@jeromedalbert][])Lint/UnusedMethodArgumentfalse positive when block argument is used viayield. ([@dduugg][])Changes
Style/OneClassPerFileexcludespec/**/*andtest/**/*by default. ([@koic][])paralleldependency to>= 1.10. ([@koic][])Style/RedundantStructKeywordInitcop by default. ([@koic][])v1.86.0Compare Source
New features
AllowedParentClassesoption toStyle/EmptyClassDefinition. ([@hammadkhan][])AllowedReceiversforStyle/HashLookupMethod. ([@koic][])Bug fixes
Style/ConcatArrayLiteralsautocorrect deleting code for percent literals with interpolation. ([@bbatsov][])Lint/ConstantReassignment. ([@ydakuka][])Lint/DuplicateMethodswhen duplicate methods are defined in anonymous classes and modules not assigned to a constant. ([@Darhazer][])Style/RedundantParentheseswhen redundant parentheses around range literals in block body. ([@koic][])Layout/MultilineMethodCallIndentationwhen method chain is inside a hash pair value passed to a multiline chained method call. ([@ydakuka][])Lint/DuplicateMethodswhen modules blocks are passed as method arguments. ([@5hun-s][])Lint/DuplicateMethodswhen the same method is defined in different anonymous module blocks passed to a no-receiver call (e.g.stub_const). ([@Darhazer][])Layout/EmptyLineAfterGuardClausewhen using a guard clause followed by a multi-line guard clause withraise,fail,return,break, ornext. ([@koic][])Layout/RedundantLineBreakwhen settingInspectBlocks: trueand usingrescueorensurein the block. ([@koic][])Style/FileOpenwhen assigningFile.opento an instance variable, class variable, global variable, or constant. ([@koic][])Lint/DuplicateMethodswhen the same method is defined in anonymous module blocks passed to different receivers. ([@koic][])Style/IfWithSemicolonwhenreturnwith value is in theelsebranch. ([@koic][])Style/IfUnlessModifierwhen multipleif/unlessmodifier forms are on the same line inside a collection. ([@ydakuka][])Lint/SafeNavigationChainwhen chaining a method call after safe navigation in the if branch of a ternary. ([@koic][])Layout/EndAlignmentwhenendis followed by||or&&. ([@koic][])Safe/SafeAutoCorrectparameter" when those parameters are set for cops that don't have them in their default configuration. ([@dduugg][])Lint/UselessDefaultValueArgumentwhenfetchwithout a receiver is inside afetchblock. ([@koic][])Style/IfWithSemicolonwhen using single-lineunless/;/end. ([@koic][])Style/NonNilCheckautocorrect for receivers containing spaces. ([@bbatsov][])Style/RaiseArgsto allow anonymous keyword forwarding (raise Ex.new(**)). ([@bbatsov][])Lint/RedundantCopDisableDirectivewhen arubocop:disablecomment is used to suppressLint/EmptyWhen,Lint/EmptyConditionalBody,Lint/EmptyInPattern, orStyle/SymbolProc. ([@eugeneius][])Style/RedundantPercentQfor%qstrings with interpolation-like syntax. ([@bbatsov][])Style/AndOradding unnecessary parentheses aroundreturnwithout arguments. ([@eugeneius][])Lint/UselessConstantScoping. ([@h-lame][])Style/TrailingMethodEndStatementto detect singleton methods (def self.foo). ([@bbatsov][])Changes
MaxFilesInCachetofalseto entirely disable cache pruning. ([@byroot][])Lint/RedundantSafeNavigationaware of safe navigation in conditional true branch. ([@koic][])mcpgem from runtime dependencies. ([@koic][])v1.85.1Compare Source
Bug fixes
Style/FileOpenwhenFile.openis passed as an argument or returned from a method. ([@sferik][])Style/ReduceToHashfalse positive when accumulator is read in key/value. ([@sferik][])Style/RedundantParentheseswhen parenthesizing a range in a block body. ([@koic][])Changes
v1.85.0Compare Source
New features
mise.tomlas source for TargetRubyVersion. ([@kitsane][])Lint/UnreachablePatternBranchcop. ([@sferik][])Style/FileOpencop. ([@sferik][])Style/MapJoincop. ([@sferik][])Style/OneClassPerFilecop. ([@sferik][])Style/PartitionInsteadOfDoubleSelectcop. ([@sferik][])Style/PredicateWithKindcop. ([@sferik][])Style/ReduceToHashcop. ([@sferik][])Style/RedundantMinMaxBycop. ([@sferik][])Style/RedundantStructKeywordInitcop. ([@koic][])Style/SelectByKindcop. ([@sferik][])Style/SelectByRangecop. ([@sferik][])Style/TallyMethodcop. ([@sferik][])Lint/DataDefineOverridecop. ([@bbatsov][])InternalAffairs/ItblockHandlercop. ([@bbatsov][])Bug fixes
Style/EmptyClassDefinition. ([@koic][])Style/NegatedWhilewhen the last expression of anuntilcondition is negated. ([@koic][])Style/EmptyClassDefinitionmessage wording. ([@bbatsov][])Lint/Voidwhennilis used incasebranch. ([@5hun-s][])Style/IfUnlessModifierwhen modifier forms are used inside string interpolations. ([@koic][])Style/HashTransformKeysandStyle/HashTransformValues. ([@sferik][])Lint/Voidforeachblocks where the return value may be meaningful (e.g.,Enumerator#each). ([@sferik][])Layout/IndentationWidthfalse positive for chained method blocks whenEnforcedStyleAlignWithisstart_of_line. ([@krororo][])Lint/Voidto detect void expressions incase/whenbranches. ([@bbatsov][])Parser::ClobberingErrorinLint/UselessAssignmentwhen autocorrecting a useless assignment that wraps a block containing another useless assignment. ([@koic][])Layout/MultilineAssignmentLayoutwhen usingnumblockoritblockwithSupportedTypes: ['block']. ([@bbatsov][])Layout/FirstHashElementIndentation. ([@ydakuka][])Layout/MultilineAssignmentLayout. ([@sanfrecce-osaka][])Lint/RedundantSafeNavigationwhen using&.respond_to?with methods defined onObject(e.g.,:class). ([@bbatsov][])Lint/SafeNavigationConsistencyautocorrect as unsafe. ([@bbatsov][])SyntaxErrorinLint/InterpolationCheckwhen single quoted string contains double quotes with invalid interpolation. ([@ydakuka][])Changes
Style/HashAsLastArrayItemwhen multiline hash elements. ([@koic][])Style/EndlessMethodcop to consider receivers. ([@fatkodima][])class_definitiontoclass_keywordinEnforcedStyleofStyle/EmptyClassDefinition. ([@koic][])String.newwith interpolated strings toStyle/RedundantInterpolationUnfreeze. ([@lovro-bikic][])Style/RedundantParentheses. ([@lovro-bikic][])Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.