Skip to content

Commit 6c6f0f4

Browse files
chore(deps): update dependency rubocop to v1.89.0 (#200)
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [rubocop](https://rubocop.org/) ([source](https://redirect.github.com/rubocop/rubocop), [changelog](https://redirect.github.com/rubocop/rubocop/releases/tag/v1.89.0)) | `1.88.2` → `1.89.0` | ![age](https://developer.mend.io/api/mc/badges/age/rubygems/rubocop/1.89.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/rubygems/rubocop/1.88.2/1.89.0?slim=true) | --- > [!WARNING] > Some dependencies could not be looked up. Check the [Dependency Dashboard](../issues/101) for more information. --- ### Release Notes <details> <summary>rubocop/rubocop (rubocop)</summary> ### [`v1.89.0`](https://redirect.github.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1890-2026-08-04) ##### New features - [#&#8203;15492](https://redirect.github.com/rubocop/rubocop/pull/15492): Add AllCops/ProjectIndexIncludesGems for bundle-wide indexing. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15498](https://redirect.github.com/rubocop/rubocop/pull/15498): Add `DelegatingMethods` option to `Lint/DuplicateMethods` to register custom `delegate`-shaped methods. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15042](https://redirect.github.com/rubocop/rubocop/issues/15042): Add `DisallowedCops` configuration option to `Style/DisableCopsWithinSourceCodeDirective`. (\[[@&#8203;hammadxcm](https://redirect.github.com/hammadxcm)]\[]) - [#&#8203;15441](https://redirect.github.com/rubocop/rubocop/issues/15441): Add new `AllowYARDCommentBlockSeparator` option to `Layout/LeadingCommentSpace`. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;15466](https://redirect.github.com/rubocop/rubocop/pull/15466): Add new `Lint/DeprecatedReference` cop to detect references to methods and constants documented as `@deprecated`, powered by the project index. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15491](https://redirect.github.com/rubocop/rubocop/pull/15491): Add new `Lint/NameTypo` cop. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15468](https://redirect.github.com/rubocop/rubocop/pull/15468): Add new `Lint/UnusedPrivateMethod` cop for project-wide dead-code detection via the project index (disabled by default). (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;14598](https://redirect.github.com/rubocop/rubocop/issues/14598): Make `Style/DisableCopsWithinSourceCodeDirective` impossible to disable via directive comments when explicitly enabled with `Enabled: true`. (\[[@&#8203;rafaelfranca](https://redirect.github.com/rafaelfranca)]\[]) - [#&#8203;15511](https://redirect.github.com/rubocop/rubocop/pull/15511): Support `textDocument/codeAction` requests in the built-in language server, so LSP clients that request code actions (Eglot, Helix, Flycheck, ...) can apply RuboCop's autocorrects, not only clients that read them off the published diagnostic. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;8565](https://redirect.github.com/rubocop/rubocop/pull/8565): Support `NewCops` in department configuration to enable pending cops per department, including cops added up to a specific version (e.g. `Style: NewCops: '1.19'`). (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;9373](https://redirect.github.com/rubocop/rubocop/issues/9373): Support autocorrection for tab indentation in `Layout/IndentationWidth` and `Style/ClassAndModuleChildren`. (\[[@&#8203;ioquatix](https://redirect.github.com/ioquatix)]\[], \[[@&#8203;koic](https://redirect.github.com/koic)]\[]) ##### Bug fixes - [#&#8203;15257](https://redirect.github.com/rubocop/rubocop/issues/15257): Fix a false negative for `Lint/ToEnumArguments` when explicit extra keyword arguments are passed (e.g. `def m(x:); to_enum(:m, x: x, y: 1); end`), which raises `ArgumentError` when the enumerator is used. (\[[@&#8203;RedZapdos123](https://redirect.github.com/RedZapdos123)]\[]) - [#&#8203;15452](https://redirect.github.com/rubocop/rubocop/pull/15452): Fix a false positive for `Layout/HashAlignment` when using `EnforcedHashRocketStyle: table` and a hash key spans multiple lines. (\[[@&#8203;dduugg](https://redirect.github.com/dduugg)]\[]) - [#&#8203;12269](https://redirect.github.com/rubocop/rubocop/issues/12269): Fix a false positive for `Lint/UselessAssignment` with modifier conditions. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;13786](https://redirect.github.com/rubocop/rubocop/issues/13786): Fix a false positive for `Lint/Void` with setter methods. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15507](https://redirect.github.com/rubocop/rubocop/issues/15507): Fix a false positive for `Naming/VariableNumber` when using an empty symbol hash key. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;15284](https://redirect.github.com/rubocop/rubocop/issues/15284): Fix a false positive for `Style/MutableConstant` with `Data.define`. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15483](https://redirect.github.com/rubocop/rubocop/pull/15483): Fix a false positive for `Style/MissingRespondToMissing` when `respond_to_missing?` is defined in a reopening of the class and `UseProjectIndex` is enabled. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15500](https://redirect.github.com/rubocop/rubocop/issues/15500): Fix an error for `Lint/LiteralAsCondition` when a literal condition has an empty branch. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;15499](https://redirect.github.com/rubocop/rubocop/issues/15499): Fix an error for `Lint/UselessRuby2Keywords` when `ruby2_keywords` is used with a symbol but no method definition is found. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;15453](https://redirect.github.com/rubocop/rubocop/issues/15453): Fix an error for `Metrics/MethodLength` when a method contains a heredoc and `__ENCODING__`. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;15442](https://redirect.github.com/rubocop/rubocop/pull/15442): Fix an error for `Style/ArrayIntersect` cop when the block-based check calls `member?`/`include?` without an explicit receiver. (\[[@&#8203;dduugg](https://redirect.github.com/dduugg)]\[]) - [#&#8203;15434](https://redirect.github.com/rubocop/rubocop/pull/15434): Fix an error for `Style/NegativeArrayIndex` cop. (\[[@&#8203;viralpraxis](https://redirect.github.com/viralpraxis)]\[]) - [#&#8203;15469](https://redirect.github.com/rubocop/rubocop/pull/15469): Fix an error for `Style/RedundantFormat` when a format string uses a positional argument number beyond the 64-bit range. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;15454](https://redirect.github.com/rubocop/rubocop/issues/15454): Fix an error for `Style/RedundantFormat` when the argument for a positional variable width is missing. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;15298](https://redirect.github.com/rubocop/rubocop/issues/15298): Fix an incorrect autocorrect for `Lint/LiteralInInterpolation`. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15515](https://redirect.github.com/rubocop/rubocop/pull/15515): Fix an incorrect autocorrect for `Style/ArrayIntersect` when using safe navigation `none?` with a block. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;15364](https://redirect.github.com/rubocop/rubocop/pull/15364): Fix an incorrect autocorrect for `Style/MultipleComparison` that dropped an allowed method comparison appearing between the compared values. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15367](https://redirect.github.com/rubocop/rubocop/pull/15367): Fix an incorrect autocorrect for `Style/RedundantFileExtensionInRequire` that produced invalid Ruby when a backslash preceded the `.rb` extension. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;12017](https://redirect.github.com/rubocop/rubocop/issues/12017): Fix `Lint/Void` to no longer autocorrect a constant used in a void context, since removing it can change behavior through constant autoloading side effects. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;14797](https://redirect.github.com/rubocop/rubocop/issues/14797): Avoid cache writes during server checks. (\[[@&#8203;sjh9714](https://redirect.github.com/sjh9714)]\[]) - [#&#8203;15484](https://redirect.github.com/rubocop/rubocop/pull/15484): Fix false negatives for `Lint/InheritException` when `Exception` is inherited indirectly through a project class (`UseProjectIndex`). (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15357](https://redirect.github.com/rubocop/rubocop/pull/15357): Fix a false negative for `Lint/AmbiguousAssignment` when using attribute or index assignment. (\[[@&#8203;sngsmz](https://redirect.github.com/sngsmz)]\[]) - [#&#8203;9571](https://redirect.github.com/rubocop/rubocop/issues/9571): Fix false negatives in `Layout/ClassStructure` when class body elements are wrapped in `begin` blocks. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;9570](https://redirect.github.com/rubocop/rubocop/issues/9570): Fix false negatives in `Layout/ClassStructure` when using `private_class_method` or `public_class_method` def modifiers. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;15438](https://redirect.github.com/rubocop/rubocop/issues/15438): Fix false positives in `Style/ArrayIntersect` when the receiver of `include?` in a block is not an array literal. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;15445](https://redirect.github.com/rubocop/rubocop/issues/15445): Fix false positives in `Style/MultilineIfThen` when using the Prism parser engine and an `elsif` without `then` follows a branch using `then` with a body on the same line. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;15058](https://redirect.github.com/rubocop/rubocop/issues/15058): Fix false positives in `Lint/DuplicateMethods` for anonymous classes (`Class.new`) passed as arguments to the same named-receiver method call (e.g. `T.cast`). Each `Class.new` block is an independent class, so methods defined in different blocks should not be treated as duplicates. (\[[@&#8203;rafaelfranca](https://redirect.github.com/rafaelfranca)]\[]) - [#&#8203;15486](https://redirect.github.com/rubocop/rubocop/pull/15486): Fix false negatives for `Style/RedundantConstantBase` inside namespaces when the constant provably resolves identically without `::` (`UseProjectIndex`). (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15505](https://redirect.github.com/rubocop/rubocop/pull/15505): Fix incompatible autocorrect between `Style/Lambda` and `Style/SymbolProc` producing a syntax error like `->(x)(&:method)` when both cops run on `lambda { |x| x.method }`. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;15481](https://redirect.github.com/rubocop/rubocop/pull/15481): Fix cross-file offenses depending on which files are inspected: the project index now always covers the whole project (`UseProjectIndex`). (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;13794](https://redirect.github.com/rubocop/rubocop/issues/13794): Fix `Layout/LineLength` autocorrection for endless methods with block bodies. (\[[@&#8203;hervetatche](https://redirect.github.com/hervetatche)]\[]) - [#&#8203;15462](https://redirect.github.com/rubocop/rubocop/pull/15462): Fix an error for `Lint/ConstantReassignment` when a built-in constant name is assigned and `UseProjectIndex` is enabled. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15321](https://redirect.github.com/rubocop/rubocop/issues/15321): Fix `Style/ClassAndModuleChildren` ignoring `EnforcedStyleForClasses` and `EnforcedStyleForModules`, and skip autocorrection when mixed per-type styles make the result ambiguous. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15122](https://redirect.github.com/rubocop/rubocop/issues/15122): Fix false positive in `Layout/MultilineMethodCallIndentation` when a line has multiple chained calls before a single-line block. (\[[@&#8203;hammadxcm](https://redirect.github.com/hammadxcm)]\[]) - [#&#8203;15471](https://redirect.github.com/rubocop/rubocop/pull/15471): Fix false negatives for `Style/RedundantLineContinuation` by verifying backslash removal against a reparse of the source instead of hand-written grammar rules. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15522](https://redirect.github.com/rubocop/rubocop/pull/15522): Fix Ruby version detection from mise.toml with single quotes. (\[[@&#8203;joklek-vinted](https://redirect.github.com/joklek-vinted)]\[]) - [#&#8203;15488](https://redirect.github.com/rubocop/rubocop/pull/15488): Fix false positives for `Naming/PredicatePrefix` and `Naming/AccessorMethodName` when the method overrides an ancestor method defined in the project (`UseProjectIndex`). (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15485](https://redirect.github.com/rubocop/rubocop/pull/15485): Fix a false positive for `Style/StaticClass` when the class is subclassed elsewhere in the project (`UseProjectIndex`). (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15477](https://redirect.github.com/rubocop/rubocop/pull/15477): Fix false positives for `Style/MethodCallWithArgsParentheses` `omit_parentheses` style by verifying each omission by reparsing before registering an offense. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) ##### Changes - [#&#8203;15482](https://redirect.github.com/rubocop/rubocop/pull/15482): Change `Style/Documentation` to accept a reopened class or module documented at another definition site when `UseProjectIndex` is enabled. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15355](https://redirect.github.com/rubocop/rubocop/pull/15355): Add `rubocop-i18n` to suggested extensions. (\[[@&#8203;tejasbubane](https://redirect.github.com/tejasbubane)]\[]) - [#&#8203;15521](https://redirect.github.com/rubocop/rubocop/pull/15521): Advertise `executeCommandProvider` and the supported code action kinds in the language server's capabilities, so clients can discover the `rubocop.formatAutocorrects` and `rubocop.formatAutocorrectsAll` commands. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15521](https://redirect.github.com/rubocop/rubocop/pull/15521): Improve language server performance by caching the project index across requests instead of rebuilding it on every keystroke when `AllCops/UseProjectIndex` is enabled. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;14835](https://redirect.github.com/rubocop/rubocop/issues/14835): Extend `Lint/AmbiguousBlockAssociation` to detect `do...end` blocks likely intended for enumerable methods in arguments. (\[[@&#8203;hammadxcm](https://redirect.github.com/hammadxcm)]\[]) - [#&#8203;15458](https://redirect.github.com/rubocop/rubocop/issues/15458): Improve `Layout/LineLength` performance on files with large collection literals. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;15497](https://redirect.github.com/rubocop/rubocop/pull/15497): Make `Style/ConditionalAssignment` skip cases it cannot safely rewrite instead of emitting invalid code or erroring on unusual branch shapes. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15261](https://redirect.github.com/rubocop/rubocop/issues/15261): Mention the required parentheses in the `Style/IfUnlessModifier` offense message when the condition is part of a larger expression. (\[[@&#8203;rafa-el-souza](https://redirect.github.com/rafa-el-souza)]\[]) - [#&#8203;15513](https://redirect.github.com/rubocop/rubocop/pull/15513): Improve `Style/DisableCopsWithinSourceCodeDirective` performance on large `AllowedCops` and `DisallowedCops` lists by matching directives against memoized sets instead of rebuilding an array lookup per comment. (\[[@&#8203;corsonknowles](https://redirect.github.com/corsonknowles)]\[]) - [#&#8203;15501](https://redirect.github.com/rubocop/rubocop/issues/15501): Improve performance for large literal files. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;15519](https://redirect.github.com/rubocop/rubocop/pull/15519): Improve `Style/RedundantLineContinuation` performance on files with many adjacent string literals joined by line continuations. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;15462](https://redirect.github.com/rubocop/rubocop/pull/15462): Change `Lint/DuplicateMethods` to detect duplicates across files when `UseProjectIndex` is enabled. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;14983](https://redirect.github.com/rubocop/rubocop/issues/14983): Load cops lazily to speed up loading RuboCop; only the cops needed for a run are loaded. (\[[@&#8203;lovro-bikic](https://redirect.github.com/lovro-bikic)]\[], \[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;15493](https://redirect.github.com/rubocop/rubocop/pull/15493): Make `Style/IfUnlessModifier`, `Style/WhileUntilModifier`, `Style/GuardClause`, and other modifier cops respect `Layout/LineLength` exemptions (allowed patterns, cop directives, allowed URIs) when checking whether the modifier form fits on one line. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15433](https://redirect.github.com/rubocop/rubocop/issues/15433): Mark `Lint/SafeNavigationChain` autocorrection as unsafe. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;15487](https://redirect.github.com/rubocop/rubocop/pull/15487): Change `Lint/ConstantResolution` to report only genuinely ambiguous constants when `UseProjectIndex` is enabled. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;14809](https://redirect.github.com/rubocop/rubocop/pull/14809): Do not autocorrect `Style/RedundantAssignment` offenses when there are comments between assignment and reference. (\[[@&#8203;lovro-bikic](https://redirect.github.com/lovro-bikic)]\[]) - [#&#8203;15463](https://redirect.github.com/rubocop/rubocop/pull/15463): Change `Style/ClassAndModuleChildren` autocorrection to consult the project index for the namespace kind and definition sites when `UseProjectIndex` is enabled. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15464](https://redirect.github.com/rubocop/rubocop/pull/15464): Change `Lint/MissingSuper` to skip the constructor offense when the project index shows no ancestor defines `initialize` (`UseProjectIndex`). (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15490](https://redirect.github.com/rubocop/rubocop/pull/15490): Change `Style/Copyright` to validate `AutocorrectNotice` only when autocorrection is requested (`-a`/`-A`), so plain inspection no longer raises a warning. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;15476](https://redirect.github.com/rubocop/rubocop/pull/15476): Change `Layout/RedundantLineBreak` to verify each correction by reparsing before registering an offense. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15472](https://redirect.github.com/rubocop/rubocop/pull/15472): Change `Style/RedundantParentheses` to verify each correction by reparsing before registering an offense. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15478](https://redirect.github.com/rubocop/rubocop/pull/15478): Change `Style/SoleNestedConditional` to only register an offense when its correction is verified to parse. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/open-feature/ruby-sdk-contrib). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4zLjIiLCJ1cGRhdGVkSW5WZXIiOiI0NC4zLjIiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 0327de0 commit 6c6f0f4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

providers/openfeature-flagsmith-provider/Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ GEM
2929
faraday-retry
3030
semantic
3131
hashdiff (1.2.1)
32-
json (2.21.1)
32+
json (2.21.2)
3333
language_server-protocol (3.17.0.6)
3434
lint_roller (1.1.0)
3535
logger (1.7.0)

0 commit comments

Comments
 (0)