yegor256 / 0rsk

Online Risk Manager
https://www.0rsk.com
MIT License
20 stars 2 forks source link

Update dependency rubocop to v1.60.2 - autoclosed #95

Closed renovate[bot] closed 7 months ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
rubocop (source, changelog) '1.56.0' -> '1.60.2' age adoption passing confidence

Release Notes

rubocop/rubocop (rubocop) ### [`v1.60.2`](https://togithub.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1602-2024-01-24) [Compare Source](https://togithub.com/rubocop/rubocop/compare/v1.60.1...v1.60.2) ##### Bug fixes - [#​12627](https://togithub.com/rubocop/rubocop/issues/12627): Fix a false positive for `Layout/RedundantLineBreak` when using index access call chained on multiple lines with backslash. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12626](https://togithub.com/rubocop/rubocop/pull/12626): Fix a false positive for `Style/ArgumentsForwarding` when naming a block argument `&`. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12635](https://togithub.com/rubocop/rubocop/pull/12635): Fix a false positive for `Style/HashEachMethods` when both arguments are unused. (\[[@​earlopain](https://togithub.com/earlopain)]\[]) - [#​12636](https://togithub.com/rubocop/rubocop/pull/12636): Fix an error for `Style/HashEachMethods` when a block with both parameters has no body. (\[[@​earlopain](https://togithub.com/earlopain)]\[]) - [#​12638](https://togithub.com/rubocop/rubocop/issues/12638): Fix an `Errno::ENOENT` error when using server mode. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12628](https://togithub.com/rubocop/rubocop/pull/12628): Fix a false positive for `Style/ArgumentsForwarding` when using block arg forwarding with positional arguments forwarding to within block. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12642](https://togithub.com/rubocop/rubocop/pull/12642): Fix false positives for `Style/HashEachMethods` when using array converter method. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12632](https://togithub.com/rubocop/rubocop/issues/12632): Fix an infinite loop error when `EnforcedStyle: explicit` of `Naming/BlockForwarding` with `Style/ArgumentsForwarding`. (\[[@​koic](https://togithub.com/koic)]\[]) ### [`v1.60.1`](https://togithub.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1601-2024-01-17) [Compare Source](https://togithub.com/rubocop/rubocop/compare/v1.60.0...v1.60.1) ##### Bug fixes - [#​12625](https://togithub.com/rubocop/rubocop/pull/12625): Fix an error when server cache dir has read-only file system. (\[[@​Strzesia](https://togithub.com/Strzesia)]\[]) - [#​12618](https://togithub.com/rubocop/rubocop/issues/12618): Fix false positives for `Style/ArgumentsForwarding` when using block argument forwarding with other arguments. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12614](https://togithub.com/rubocop/rubocop/issues/12614): Fix false positiveis for `Style/RedundantParentheses` when parentheses in control flow keyword with multiline style argument. (\[[@​koic](https://togithub.com/koic)]\[]) ##### Changes - [#​12617](https://togithub.com/rubocop/rubocop/issues/12617): Make `Style/CollectionCompact` aware of `grep_v` with nil. (\[[@​koic](https://togithub.com/koic)]\[]) ### [`v1.60.0`](https://togithub.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1600-2024-01-15) [Compare Source](https://togithub.com/rubocop/rubocop/compare/v1.59.0...v1.60.0) ##### Bug fixes - [#​12603](https://togithub.com/rubocop/rubocop/issues/12603): Fix an infinite loop error for `Style/MultilineTernaryOperator` when using a method call as a ternary operator condition with a line break between receiver and method. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12549](https://togithub.com/rubocop/rubocop/issues/12549): Fix a false positive for `Style/RedundantLineContinuation` when line continuations for multiline leading dot method chain with a blank line. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12610](https://togithub.com/rubocop/rubocop/pull/12610): Accept parentheses in argument calls with blocks for `Style/MethodCallWithArgsParentheses` `omit_parentheses` style. (\[[@​gsamokovarov](https://togithub.com/gsamokovarov)]\[]) - [#​12580](https://togithub.com/rubocop/rubocop/pull/12580): Fix an infinite loop error for `Layout/EndAlignment` when misaligned in singleton class assignments with `EnforcedStyleAlignWith: variable`. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12548](https://togithub.com/rubocop/rubocop/issues/12548): Fix an infinite loop error for `Layout/FirstArgumentIndentation` when specifying `EnforcedStyle: with_fixed_indentation` of `Layout/ArrayAlignment`. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12236](https://togithub.com/rubocop/rubocop/issues/12236): Fix an error for `Lint/ShadowedArgument` when self assigning to a block argument in `for`. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12569](https://togithub.com/rubocop/rubocop/issues/12569): Fix an error for `Style/IdenticalConditionalBranches` when using `if`...`else` with identical leading lines that assign to `self.foo`. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12437](https://togithub.com/rubocop/rubocop/issues/12437): Fix an infinite loop error for `EnforcedStyle: omit_parentheses` of `Style/MethodCallWithArgsParentheses` with `Style/SuperWithArgsParentheses`. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12558](https://togithub.com/rubocop/rubocop/issues/12558): Fix an incorrect autocorrect for `Style/MapToHash` when using `map.to_h` without receiver. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12179](https://togithub.com/rubocop/rubocop/issues/12179): Let `--auto-gen-config` generate `Exclude` when `Max` is overridden. (\[[@​jonas054](https://togithub.com/jonas054)]\[]) - [#​12574](https://togithub.com/rubocop/rubocop/issues/12574): Fix bug for unrecognized style in --auto-gen-config. (\[[@​jonas054](https://togithub.com/jonas054)]\[]) - [#​12542](https://togithub.com/rubocop/rubocop/issues/12542): Fix false positive for `Lint/MixedRegexpCaptureTypes` when using look-ahead matcher. (\[[@​marocchino](https://togithub.com/marocchino)]\[]) - [#​12607](https://togithub.com/rubocop/rubocop/pull/12607): Fix a false positive for `Style/RedundantParentheses` when regexp literal attempts to match against a parenthesized condition. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12539](https://togithub.com/rubocop/rubocop/pull/12539): Fix false positives for `Lint/LiteralAssignmentInCondition` when a collection literal contains non-literal elements. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12571](https://togithub.com/rubocop/rubocop/issues/12571): Fix false positives for `Naming/BlockForwarding` when using explicit block forwarding in block method. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12537](https://togithub.com/rubocop/rubocop/issues/12537): Fix false positives for `Style/RedundantParentheses` when `AllowInMultilineConditions: true` of `Style/ParenthesesAroundCondition`. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12578](https://togithub.com/rubocop/rubocop/pull/12578): Fix false positives for `Style/ArgumentsForwarding` when rest arguments forwarding to a method in block. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12540](https://togithub.com/rubocop/rubocop/issues/12540): Fix false positives for `Style/HashEachMethods` when rest block argument of `Enumerable#each` method is used. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12529](https://togithub.com/rubocop/rubocop/issues/12529): Fix false positives for `Style/ParenthesesAroundCondition`. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12556](https://togithub.com/rubocop/rubocop/issues/12556): Fix false positives for `Style/RedundantParentheses` when parentheses are used around a semantic operator in expressions within assignments. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12541](https://togithub.com/rubocop/rubocop/pull/12541): Fix false negative in `Style/ArgumentsForwarding` when a block is forwarded but other args aren't. (\[[@​dvandersluis](https://togithub.com/dvandersluis)]\[]) - [#​12581](https://togithub.com/rubocop/rubocop/pull/12581): Handle trailing line continuation in `Layout/LineContinuationLeadingSpace`. (\[[@​eugeneius](https://togithub.com/eugeneius)]\[]) - [#​12601](https://togithub.com/rubocop/rubocop/issues/12601): Make `Style/EachForSimpleLoop` accept block with no parameters. (\[[@​koic](https://togithub.com/koic)]\[]) ##### Changes - [#​12535](https://togithub.com/rubocop/rubocop/pull/12535): Allow --autocorrect with --display-only-fail-level-offenses. (\[[@​naveg](https://togithub.com/naveg)]\[]) - [#​12572](https://togithub.com/rubocop/rubocop/pull/12572): Follow a Ruby 3.3 warning for `Security/Open` when `open` with a literal string starting with a pipe. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12453](https://togithub.com/rubocop/rubocop/issues/12453): Make `Style/RedundantEach` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12233](https://togithub.com/rubocop/rubocop/issues/12233): Make `Style/SlicingWithRange` aware of redundant and beginless range. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12388](https://togithub.com/rubocop/rubocop/pull/12388): Reject additional 'expanded' `EnforcedStyle` options when `--no-auto-gen-enforced-style` is given. (\[[@​kpost](https://togithub.com/kpost)]\[]) - [#​12593](https://togithub.com/rubocop/rubocop/pull/12593): Require Parser 3.3.0.2 or higher. (\[[@​koic](https://togithub.com/koic)]\[]) ### [`v1.59.0`](https://togithub.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1590-2023-12-11) [Compare Source](https://togithub.com/rubocop/rubocop/compare/v1.58.0...v1.59.0) ##### New features - [#​12518](https://togithub.com/rubocop/rubocop/pull/12518): Add new `Lint/ItWithoutArgumentsInBlock` cop. (\[[@​koic](https://togithub.com/koic)]\[]) ##### Bug fixes - [#​12434](https://togithub.com/rubocop/rubocop/issues/12434): Fix a false positive for `Lint/LiteralAssignmentInCondition` when using interpolated string or xstring literals. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12435](https://togithub.com/rubocop/rubocop/issues/12435): Fix a false positive for `Lint/SelfAssignment` when using attribute assignment with method call with arguments. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12444](https://togithub.com/rubocop/rubocop/issues/12444): Fix false positive for `Style/HashEachMethods` when receiver literal is not a hash literal. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12524](https://togithub.com/rubocop/rubocop/issues/12524): Fix a false positive for `Style/MethodCallWithArgsParentheses` when `EnforcedStyle: omit_parentheses` and parens in `when` clause is used to pass an argument. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12505](https://togithub.com/rubocop/rubocop/pull/12505): Fix a false positive for `Style/RedundantParentheses` when using parenthesized `lambda` or `proc` with `do`...`end` block. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12442](https://togithub.com/rubocop/rubocop/issues/12442): Fix an incorrect autocorrect for `Style/CombinableLoops` when looping over the same data as previous loop in `do`...`end` and `{`...`}` blocks. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12432](https://togithub.com/rubocop/rubocop/pull/12432): Fix a false positive for `Lint/LiteralAssignmentInCondition` when using parallel assignment with splat operator in block of guard condition. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12441](https://togithub.com/rubocop/rubocop/issues/12441): Fix false positives for `Style/HashEachMethods` when using destructed block arguments. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12436](https://togithub.com/rubocop/rubocop/issues/12436): Fix false positives for `Style/RedundantParentheses` when a part of range is a parenthesized condition. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12429](https://togithub.com/rubocop/rubocop/issues/12429): Fix incorrect autocorrect for `Style/MapToHash` when using dot method calls for `to_h`. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12488](https://togithub.com/rubocop/rubocop/issues/12488): Make `Lint/HashCompareByIdentity` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12489](https://togithub.com/rubocop/rubocop/issues/12489): Make `Lint/NextWithoutAccumulator` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12490](https://togithub.com/rubocop/rubocop/issues/12490): Make `Lint/NumberConversion` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12491](https://togithub.com/rubocop/rubocop/issues/12491): Make `Lint/RedundantWithIndex` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12492](https://togithub.com/rubocop/rubocop/issues/12492): Make `Lint/RedundantWithObject` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12493](https://togithub.com/rubocop/rubocop/issues/12493): Make `Lint/UnmodifiedReduceAccumulator` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12473](https://togithub.com/rubocop/rubocop/issues/12473): Make `Style/ClassCheck` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12445](https://togithub.com/rubocop/rubocop/issues/12445): Make `Style/CollectionCompact` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12474](https://togithub.com/rubocop/rubocop/issues/12474): Make `Style/ConcatArrayLiterals` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12476](https://togithub.com/rubocop/rubocop/issues/12476): Make `Style/DateTime` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12479](https://togithub.com/rubocop/rubocop/issues/12479): Make `Style/EachWithObject` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12446](https://togithub.com/rubocop/rubocop/issues/12446): Make `Style/HashExcept` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12447](https://togithub.com/rubocop/rubocop/issues/12447): Make `Style/MapCompactWithConditionalBlock` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12484](https://togithub.com/rubocop/rubocop/issues/12484): Make `Style/Next` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12486](https://togithub.com/rubocop/rubocop/issues/12486): Make `Style/RedundantArgument` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12454](https://togithub.com/rubocop/rubocop/issues/12454): Make `Style/RedundantFetchBlock` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12495](https://togithub.com/rubocop/rubocop/issues/12495): Make `Layout/RedundantLineBreak` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12455](https://togithub.com/rubocop/rubocop/issues/12455): Make `Style/RedundantSortBy` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12456](https://togithub.com/rubocop/rubocop/issues/12456): Make `Style/RedundantSortBy` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12480](https://togithub.com/rubocop/rubocop/issues/12480): Make `Style/ExactRegexpMatch` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12457](https://togithub.com/rubocop/rubocop/issues/12457): Make `Style/Sample` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12458](https://togithub.com/rubocop/rubocop/issues/12458): Make `Style/SelectByRegexp` cops aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12494](https://togithub.com/rubocop/rubocop/issues/12494): Make `Layout/SingleLineBlockChain` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12461](https://togithub.com/rubocop/rubocop/issues/12461): Make `Style/StringChars` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12468](https://togithub.com/rubocop/rubocop/issues/12468): Make `Style/Strip` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12469](https://togithub.com/rubocop/rubocop/issues/12469): Make `Style/UnpackFirst` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) ##### Changes - [#​12522](https://togithub.com/rubocop/rubocop/pull/12522): Make `Style/MethodCallWithoutArgsParentheses` allow the parenthesized `it` method in a block. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12523](https://togithub.com/rubocop/rubocop/pull/12523): Make `Style/RedundantSelf` allow the `self.it` method in a block. (\[[@​koic](https://togithub.com/koic)]\[]) ### [`v1.58.0`](https://togithub.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1580-2023-12-01) [Compare Source](https://togithub.com/rubocop/rubocop/compare/v1.57.2...v1.58.0) ##### New features - [#​12420](https://togithub.com/rubocop/rubocop/pull/12420): Add new `Lint/LiteralAssignmentInCondition` cop. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12353](https://togithub.com/rubocop/rubocop/issues/12353): Add new `Style/SuperWithArgsParentheses` cop. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12406](https://togithub.com/rubocop/rubocop/issues/12406): Add new `Style/ArrayFirstLast` cop. (\[[@​fatkodima](https://togithub.com/fatkodima)]\[]) ##### Bug fixes - [#​12372](https://togithub.com/rubocop/rubocop/issues/12372): Fix a false negative for `Lint/Debugger` when used within method arguments a `begin`...`end` block. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12378](https://togithub.com/rubocop/rubocop/pull/12378): Fix a false negative for `Style/Semicolon` when a semicolon at the beginning of a lambda block. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12146](https://togithub.com/rubocop/rubocop/issues/12146): Fix a false positive for `Lint/FloatComparison` when comparing against zero. (\[[@​earlopain](https://togithub.com/earlopain)]\[]) - [#​12404](https://togithub.com/rubocop/rubocop/issues/12404): Fix a false positive for `Layout/RescueEnsureAlignment` when aligned `rescue` in `do`-`end` numbered block in a method. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12374](https://togithub.com/rubocop/rubocop/issues/12374): Fix a false positive for `Layout/SpaceBeforeSemicolon` when a space between an opening lambda brace and a semicolon. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12326](https://togithub.com/rubocop/rubocop/pull/12326): Fix an error for `Style/RedundantDoubleSplatHashBraces` when method call for parenthesized no hash double double splat. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12361](https://togithub.com/rubocop/rubocop/issues/12361): Fix an incorrect autocorrect for `Naming/BlockForwarding` and `Style/ArgumentsForwarding` when autocorrection conflicts for anonymous arguments. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12324](https://togithub.com/rubocop/rubocop/issues/12324): Fix an error for `Layout/RescueEnsureAlignment` when using `rescue` in `do`...`end` block assigned to object attribute. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12322](https://togithub.com/rubocop/rubocop/issues/12322): Fix an error for `Style/CombinableLoops` when looping over the same data for the third consecutive time or more. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12366](https://togithub.com/rubocop/rubocop/pull/12366): Fix a false negative for `Layout/ExtraSpacing` when a file has exactly two comments. (\[[@​eugeneius](https://togithub.com/eugeneius)]\[]) - [#​12373](https://togithub.com/rubocop/rubocop/issues/12373): Fix a false negative for `Lint/SymbolConversion` when using string interpolation. (\[[@​earlopain](https://togithub.com/earlopain)]\[]) - [#​12402](https://togithub.com/rubocop/rubocop/issues/12402): Fix false negatives for `Style/RedundantLineContinuation` when redundant line continuations for a block are used, especially without parentheses around first argument. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12311](https://togithub.com/rubocop/rubocop/issues/12311): Fix false negatives for `Style/RedundantParentheses` when parentheses around logical operator keywords in method definition. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12394](https://togithub.com/rubocop/rubocop/issues/12394): Fix false negatives for `Style/RedundantReturn` when `lambda` (`->`) ending with `return`. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12377](https://togithub.com/rubocop/rubocop/issues/12377): Fix false positives for `Lint/Void` when a collection literal that includes non-literal elements in a method definition. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12407](https://togithub.com/rubocop/rubocop/pull/12407): Fix an incorrect autocorrect for `Style/MapToHash` with `Layout/SingleLineBlockChain`. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12409](https://togithub.com/rubocop/rubocop/issues/12409): Fix an incorrect autocorrect for `Lint/SafeNavigationChain` when ordinary method chain exists after safe navigation leading dot method call. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12363](https://togithub.com/rubocop/rubocop/issues/12363): Fix incorrect rendering of HTML character entities in `HTMLFormatter` formatter. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12424](https://togithub.com/rubocop/rubocop/issues/12424): Make `Style/HashEachMethods` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12413](https://togithub.com/rubocop/rubocop/issues/12413): Make `Style/InverseMethods` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12408](https://togithub.com/rubocop/rubocop/pull/12408): Make `Style/MapToHash` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) ##### Changes - [#​12328](https://togithub.com/rubocop/rubocop/issues/12328): Make `Style/AutoResourceCleanup` aware of `Tempfile.open`. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12412](https://togithub.com/rubocop/rubocop/issues/12412): Enhance `Lint/RedundantSafeNavigation` to handle conversion methods with defaults. (\[[@​fatkodima](https://togithub.com/fatkodima)]\[]) - [#​12410](https://togithub.com/rubocop/rubocop/issues/12410): Enhance `Lint/SelfAssignment` to check attribute assignment and key assignment. (\[[@​fatkodima](https://togithub.com/fatkodima)]\[]) - [#​12370](https://togithub.com/rubocop/rubocop/issues/12370): Make `Style/HashEachMethods` aware of unused block value. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12380](https://togithub.com/rubocop/rubocop/issues/12380): Make `Style/RedundantParentheses` aware of lambda or proc. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12421](https://togithub.com/rubocop/rubocop/pull/12421): Make `Style/SelfAssignment` aware of `%`, `^`, `<<`, and `>>` operators. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12305](https://togithub.com/rubocop/rubocop/pull/12305): Require `rubocop-ast` version 1.30 or greater. (\[[@​sambostock](https://togithub.com/sambostock)]\[]) - [#​12337](https://togithub.com/rubocop/rubocop/issues/12337): Supports `EnforcedStyleForRationalLiterals` option for `Layout/SpaceAroundOperators`. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12296](https://togithub.com/rubocop/rubocop/issues/12296): Support `RedundantRestArgumentNames`, `RedundantKeywordRestArgumentNames`, and `RedundantBlockArgumentNames` options for `Style/ArgumentsForwarding`. (\[[@​koic](https://togithub.com/koic)]\[]) ### [`v1.57.2`](https://togithub.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1572-2023-10-26) [Compare Source](https://togithub.com/rubocop/rubocop/compare/v1.57.1...v1.57.2) ##### Bug fixes - [#​12274](https://togithub.com/rubocop/rubocop/issues/12274): Fix a false positive for `Lint/Void` when `each`'s receiver is an object of `Enumerator` to which `filter` has been applied. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12291](https://togithub.com/rubocop/rubocop/issues/12291): Fix a false positive for `Metrics/ClassLength` when a class with a singleton class definition. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12293](https://togithub.com/rubocop/rubocop/issues/12293): Fix a false positive for `Style/RedundantDoubleSplatHashBraces` when using double splat hash braces with `merge` and method chain. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12298](https://togithub.com/rubocop/rubocop/issues/12298): Fix a false positive for `Style/RedundantParentheses` when using a parenthesized hash literal as the first argument in a method call without parentheses. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12283](https://togithub.com/rubocop/rubocop/pull/12283): Fix an error for `Style/SingleLineDoEndBlock` when using single line `do`...`end` with no body. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12312](https://togithub.com/rubocop/rubocop/issues/12312): Fix an incorrect autocorrect for `Style/HashSyntax` when braced hash key and value are the same and it is used in `if`...`else`. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12307](https://togithub.com/rubocop/rubocop/issues/12307): Fix an infinite loop error for `Layout/EndAlignment` when `EnforcedStyleAlignWith: variable` and using a conditional statement in a method argument on the same line and `end` with method call is not aligned. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​11652](https://togithub.com/rubocop/rubocop/issues/11652): Make `--auto-gen-config` generate `inherit_from` correctly inside ERB `if`. (\[[@​jonas054](https://togithub.com/jonas054)]\[]) - [#​12310](https://togithub.com/rubocop/rubocop/issues/12310): Drop `base64` gem from runtime dependency. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12300](https://togithub.com/rubocop/rubocop/issues/12300): Fix an error for `Style/IdenticalConditionalBranches` when `if`...`else` with identical leading lines and using index assign. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12286](https://togithub.com/rubocop/rubocop/issues/12286): Fix false positives for `Style/RedundantDoubleSplatHashBraces` when using double splat with a hash literal enclosed in parenthesized ternary operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12279](https://togithub.com/rubocop/rubocop/issues/12279): Fix false positives for `Lint/EmptyConditionalBody` when missing 2nd `if` body with a comment. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12275](https://togithub.com/rubocop/rubocop/issues/12275): Fix a false positive for `Style/RedundantDoubleSplatHashBraces` when using double splat within block argument containing a hash literal in an array literal. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12284](https://togithub.com/rubocop/rubocop/issues/12284): Fix false positives for `Style/SingleArgumentDig` when using some anonymous argument syntax. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12301](https://togithub.com/rubocop/rubocop/issues/12301): Make `Style/RedundantFilterChain` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) ### [`v1.57.1`](https://togithub.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1571-2023-10-13) [Compare Source](https://togithub.com/rubocop/rubocop/compare/v1.57.0...v1.57.1) ##### Bug fixes - [#​12271](https://togithub.com/rubocop/rubocop/issues/12271): Fix a false positive for `Lint/RedundantSafeNavigation` when using snake case constant receiver. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12265](https://togithub.com/rubocop/rubocop/issues/12265): Fix an error for `Layout/MultilineMethodCallIndentation` when usingarithmetic operation with block inside a grouped expression. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12177](https://togithub.com/rubocop/rubocop/pull/12177): Fix an incorrect autocorrect for `Style/RedundantException`. (\[[@​ydah](https://togithub.com/ydah)]\[]) - [#​12261](https://togithub.com/rubocop/rubocop/issues/12261): Fix an infinite loop for `Layout/MultilineMethodCallIndentation` when multiline method chain with a block argument and method chain. (\[[@​ydah](https://togithub.com/ydah)]\[]) - [#​12263](https://togithub.com/rubocop/rubocop/issues/12263): Fix false positives for `Style/RedundantDoubleSplatHashBraces` when method call for no hash braced double splat receiver. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12262](https://togithub.com/rubocop/rubocop/pull/12262): Fix an incorrect autocorrect for `Style/RedundantDoubleSplatHashBraces` when using double splat hash braces with `merge` method call twice. (\[[@​koic](https://togithub.com/koic)]\[]) ### [`v1.57.0`](https://togithub.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1570-2023-10-11) [Compare Source](https://togithub.com/rubocop/rubocop/compare/v1.56.4...v1.57.0) ##### New features - [#​12227](https://togithub.com/rubocop/rubocop/pull/12227): Add new `Style/SingleLineDoEndBlock` cop. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12246](https://togithub.com/rubocop/rubocop/pull/12246): Make `Lint/RedundantSafeNavigation` aware of constant receiver. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12257](https://togithub.com/rubocop/rubocop/issues/12257): Make `Style/RedundantDoubleSplatHashBraces` aware of `merge` methods. (\[[@​koic](https://togithub.com/koic)]\[]) ##### Bug fixes - [#​12244](https://togithub.com/rubocop/rubocop/issues/12244): Fix a false negative for `Lint/Debugger` when using debugger method inside block. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12231](https://togithub.com/rubocop/rubocop/issues/12231): Fix a false negative for `Metrics/ModuleLength` when defining a singleton class in a module. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12249](https://togithub.com/rubocop/rubocop/issues/12249): Fix a false positive `Style/IdenticalConditionalBranches` when `if`..`else` with identical leading lines and assign to condition value. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12253](https://togithub.com/rubocop/rubocop/pull/12253): Fix `Lint/LiteralInInterpolation` to accept an empty string literal interpolated in words literal. (\[[@​knu](https://togithub.com/knu)]\[]) - [#​12198](https://togithub.com/rubocop/rubocop/issues/12198): Fix an error for flip-flop with beginless or endless ranges. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12259](https://togithub.com/rubocop/rubocop/issues/12259): Fix an error for `Lint/MixedCaseRange` when using nested character class in regexp. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12237](https://togithub.com/rubocop/rubocop/issues/12237): Fix an error for `Style/NestedTernaryOperator` when a ternary operator has a nested ternary operator within an `if`. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12228](https://togithub.com/rubocop/rubocop/pull/12228): Fix false negatives for `Style/MultilineBlockChain` when using multiline block chain with safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12247](https://togithub.com/rubocop/rubocop/pull/12247): Fix false negatives for `Style/RedundantParentheses` when using logical or comparison expressions with redundant parentheses. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12226](https://togithub.com/rubocop/rubocop/issues/12226): Fix false positives for `Layout/MultilineMethodCallIndentation` when aligning methods in multiline block chain. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12076](https://togithub.com/rubocop/rubocop/issues/12076): Fixed an issue where the top-level cache folder was named differently during two consecutive rubocop runs. (\[[@​K-S-A](https://togithub.com/K-S-A)]\[]) ##### Changes - [#​12235](https://togithub.com/rubocop/rubocop/pull/12235): Enable auto parallel inspection when config file is specified. (\[[@​aboutNisblee](https://togithub.com/aboutNisblee)]\[]) - [#​12234](https://togithub.com/rubocop/rubocop/pull/12234): Enhance `Style/FormatString`'s autocorrection when using known conversion methods whose return value is not an array. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12128](https://togithub.com/rubocop/rubocop/issues/12128): Make `Style/GuardClause` aware of `define_method`. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12126](https://togithub.com/rubocop/rubocop/pull/12126): Make `Style/RedundantFilterChain` aware of `select.present?` when `ActiveSupportExtensionsEnabled` config is `true`. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12250](https://togithub.com/rubocop/rubocop/pull/12250): Mark `Lint/RedundantRequireStatement` as unsafe autocorrect. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12097](https://togithub.com/rubocop/rubocop/issues/12097): Mark unsafe autocorrect for `Style/ClassEqualityComparison`. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12210](https://togithub.com/rubocop/rubocop/issues/12210): Mark `Style/RedundantFilterChain` as unsafe autocorrect. (\[[@​koic](https://togithub.com/koic)]\[]) ### [`v1.56.4`](https://togithub.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1564-2023-09-28) [Compare Source](https://togithub.com/rubocop/rubocop/compare/v1.56.3...v1.56.4) ##### Bug fixes - [#​12221](https://togithub.com/rubocop/rubocop/issues/12221): Fix a false positive for `Layout/EmptyLineAfterGuardClause` when using `return` before guard condition with heredoc. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12213](https://togithub.com/rubocop/rubocop/issues/12213): Fix a false positive for `Lint/OrderedMagicComments` when comment text `# encoding: ISO-8859-1` is embedded within example code as source code comment. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12205](https://togithub.com/rubocop/rubocop/issues/12205): Fix an error for `Style/OperatorMethodCall` when using `foo bar./ baz`. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12208](https://togithub.com/rubocop/rubocop/issues/12208): Fix an incorrect autocorrect for the `--disable-uncorrectable` command line option when registering an offense is outside a percent array. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12203](https://togithub.com/rubocop/rubocop/pull/12203): Fix an incorrect autocorrect for `Lint/SafeNavigationChain` when using safe navigation with comparison operator as an expression of logical operator or comparison operator's operand. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12206](https://togithub.com/rubocop/rubocop/pull/12206): Fix an incorrect autocorrect for `Style/OperatorMethodCall` when using `foo./bar`. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12202](https://togithub.com/rubocop/rubocop/pull/12202): Fix an incorrect autocorrect for `Style/RedundantConditional` when unless/else with boolean results. (\[[@​ydah](https://togithub.com/ydah)]\[]) - [#​12199](https://togithub.com/rubocop/rubocop/issues/12199): Fix false negatives for `Layout/MultilineMethodCallIndentation` when using safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) ##### Changes - [#​12197](https://togithub.com/rubocop/rubocop/pull/12197): Make `Style/CollectionMethods` aware of `collect_concat`. (\[[@​koic](https://togithub.com/koic)]\[]) ### [`v1.56.3`](https://togithub.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1563-2023-09-11) [Compare Source](https://togithub.com/rubocop/rubocop/compare/v1.56.2...v1.56.3) ##### Bug fixes - [#​12151](https://togithub.com/rubocop/rubocop/issues/12151): Make `Layout/EmptyLineAfterGuardClause` allow `:nocov:` directive after guard clause. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12195](https://togithub.com/rubocop/rubocop/issues/12195): Fix a false negative for `Layout/SpaceAfterNot` when a newline is present after `!`. (\[[@​ymap](https://togithub.com/ymap)]\[]) - [#​12192](https://togithub.com/rubocop/rubocop/issues/12192): Fix a false positive for `Layout/RedundantLineBreak` when using quoted symbols with a single newline. (\[[@​ymap](https://togithub.com/ymap)]\[]) - [#​12190](https://togithub.com/rubocop/rubocop/issues/12190): Fix a false positive for `Layout/SpaceAroundOperators` when aligning operators vertically. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12171](https://togithub.com/rubocop/rubocop/issues/12171): Fix a false positive for `Style/ArrayIntersect` when using block argument for `Enumerable#any?`. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12172](https://togithub.com/rubocop/rubocop/issues/12172): Fix a false positive for `Style/EmptyCaseCondition` when using `return`, `break`, `next` or method call before empty case condition. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12162](https://togithub.com/rubocop/rubocop/issues/12162): Fix an error for `Bundler/DuplicatedGroup` when there's a duplicate set of groups and the `group` value contains a splat. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12182](https://togithub.com/rubocop/rubocop/issues/12182): Fix an error for `Lint/UselessAssignment` when variables are assigned using chained assignment and remain unreferenced. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12181](https://togithub.com/rubocop/rubocop/issues/12181): Fix an incorrect autocorrect for `Lint/UselessAssignment` when variables are assigned with sequential assignment using the comma operator and unreferenced. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12187](https://togithub.com/rubocop/rubocop/issues/12187): Fix an incorrect autocorrect for `Style/SoleNestedConditional` when comment is in an empty nested `if` body. (\[[@​ymap](https://togithub.com/ymap)]\[]) - [#​12183](https://togithub.com/rubocop/rubocop/pull/12183): Fix an incorrect autocorrect for `Style/MultilineTernaryOperator` when returning a multiline ternary operator expression with safe navigation method call. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12168](https://togithub.com/rubocop/rubocop/issues/12168): Fix bug in `Style/ArgumentsForwarding` when there are repeated send nodes. (\[[@​owst](https://togithub.com/owst)]\[]) - [#​12185](https://togithub.com/rubocop/rubocop/pull/12185): Set target version for `Layout/HeredocIndentation`. (\[[@​tagliala](https://togithub.com/tagliala)]\[]) ### [`v1.56.2`](https://togithub.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1562-2023-08-29) [Compare Source](https://togithub.com/rubocop/rubocop/compare/v1.56.1...v1.56.2) ##### Bug fixes - [#​12138](https://togithub.com/rubocop/rubocop/issues/12138): Fix a false positive for `Layout/LineContinuationLeadingSpace` when a backslash is part of a multiline string literal. (\[[@​ymap](https://togithub.com/ymap)]\[]) - [#​12155](https://togithub.com/rubocop/rubocop/pull/12155): Fix false positive for `Layout/RedundantLineBreak` when using a modified singleton method definition. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12143](https://togithub.com/rubocop/rubocop/issues/12143): Fix a false positive for `Lint/ToEnumArguments` when using anonymous keyword arguments forwarding. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12148](https://togithub.com/rubocop/rubocop/pull/12148): Fix an incorrect autocorrect for `Lint/NonAtomicFileOperation` when using `FileUtils.remove_dir`, `FileUtils.remove_entry`, or `FileUtils.remove_entry_secure`. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12141](https://togithub.com/rubocop/rubocop/issues/12141): Fix false positive for `Style/ArgumentsForwarding` when method def includes additional kwargs. (\[[@​owst](https://togithub.com/owst)]\[]) - [#​12154](https://togithub.com/rubocop/rubocop/issues/12154): Fix incorrect `diagnosticProvider` value of LSP. (\[[@​koic](https://togithub.com/koic)]\[]) ### [`v1.56.1`](https://togithub.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1561-2023-08-21) [Compare Source](https://togithub.com/rubocop/rubocop/compare/v1.56.0...v1.56.1) ##### Bug fixes - [#​12136](https://togithub.com/rubocop/rubocop/pull/12136): Fix a false negative for `Layout/LeadingCommentSpace` when using `#+` or `#-` as they are not RDoc comments. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12113](https://togithub.com/rubocop/rubocop/issues/12113): Fix a false positive for `Bundler/DuplicatedGroup` when groups are duplicated but `source`, `git`, `platforms`, or `path` values are different. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12134](https://togithub.com/rubocop/rubocop/issues/12134): Fix a false positive for `Style/MethodCallWithArgsParentheses` when parentheses are used in one-line `in` pattern matching. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12111](https://togithub.com/rubocop/rubocop/issues/12111): Fix an error for `Bundler/DuplicatedGroup` group declaration has keyword option. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12109](https://togithub.com/rubocop/rubocop/issues/12109): Fix an error for `Style/ArgumentsForwarding` cop when forwarding kwargs/block arg and an additional arg. (\[[@​ydah](https://togithub.com/ydah)]\[]) - [#​12117](https://togithub.com/rubocop/rubocop/issues/12117): Fix a false positive for `Style/ArgumentsForwarding` cop when not always forwarding block. (\[[@​owst](https://togithub.com/owst)]\[]) - [#​12115](https://togithub.com/rubocop/rubocop/pull/12115): Fix an error for `Style/Lambda` when using numbered parameter with a multiline `->` call. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12124](https://togithub.com/rubocop/rubocop/issues/12124): Fix false positives for `Style/RedundantParentheses` when parentheses in `super` or `yield` call with multiline style argument. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12120](https://togithub.com/rubocop/rubocop/pull/12120): Fix false positives for `Style/SymbolArray` when `%i` array containing unescaped `[`, `]`, `(`, or `)`. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12133](https://togithub.com/rubocop/rubocop/pull/12133): Fix `Style/RedundantSelfAssignmentBranch` to handle heredocs. (\[[@​r7kamura](https://togithub.com/r7kamura)]\[]) - [#​12105](https://togithub.com/rubocop/rubocop/issues/12105): Fix target ruby `Gem::Requirement` matcher and version parsing to support multiple version constraints. (\[[@​ItsEcholot](https://togithub.com/ItsEcholot)]\[])

Configuration

📅 Schedule: 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 becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

yegor256 commented 11 months ago

@rultor please, try to merge, since 4 checks have passed

rultor commented 11 months ago

@rultor please, try to merge, since 4 checks have passed

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here

rultor commented 11 months ago

@rultor please, try to merge, since 4 checks have passed

@renovate[bot] @yegor256 Oops, I failed. You can see the full log here (spent 3min)

After this operation, 0 B of additional disk space will be used.

0% [Working]

Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libpq-dev amd64 14.9-0ubuntu0.22.04.1 [147 kB]

1% [1 libpq-dev 4,061 B/147 kB 3%]

51% [Working]

Get:2 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libpq5 amd64 14.9-0ubuntu0.22.04.1 [141 kB]

52% [2 libpq5 4,061 B/141 kB 3%]

100% [Working]

Fetched 288 kB in 0s (1,764 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 92586 files and directories currently installed.)
Preparing to unpack .../libpq-dev_14.9-0ubuntu0.22.04.1_amd64.deb ...
Unpacking libpq-dev (14.9-0ubuntu0.22.04.1) over (14.8-0ubuntu0.22.04.1) ...
Preparing to unpack .../libpq5_14.9-0ubuntu0.22.04.1_amd64.deb ...
Unpacking libpq5:amd64 (14.9-0ubuntu0.22.04.1) over (14.8-0ubuntu0.22.04.1) ...
Setting up libpq5:amd64 (14.9-0ubuntu0.22.04.1) ...
Setting up libpq-dev (14.9-0ubuntu0.22.04.1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
Processing triggers for man-db (2.10.2-1) ...
+ git config --global user.email server@0rsk.com
+ git config --global user.name 0rsk.com
+ sudo -i gem install openssl -- --with-openssl-dir=/usr/local/rvm/rubies/ruby-3.0.1/lib/ruby/3.0.0/openssl
Using /usr/local/rvm/gems/ruby-3.0.1
Using /usr/local/rvm/gems/ruby-3.0.1
Fetching openssl-3.2.0.gem
Building native extensions with: '--with-openssl-dir=/usr/local/rvm/rubies/ruby-3.0.1/lib/ruby/3.0.0/openssl'
This could take a while...
ERROR:  Error installing openssl:
    ERROR: Failed to build gem native extension.

    current directory: /usr/local/rvm/gems/ruby-3.0.1/gems/openssl-3.2.0/ext/openssl
/usr/local/rvm/rubies/ruby-3.0.1/bin/ruby -I /usr/local/rvm/rubies/ruby-3.0.1/lib/ruby/3.0.0 -r ./siteconf20230928-2128-85fwqh.rb extconf.rb --with-openssl-dir\=/usr/local/rvm/rubies/ruby-3.0.1/lib/ruby/3.0.0/openssl
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

Provided configuration options:
    --with-opt-dir
    --without-opt-dir
    --with-opt-include
    --without-opt-include=${opt-dir}/include
    --with-opt-lib
    --without-opt-lib=${opt-dir}/lib
    --with-make-prog
    --without-make-prog
    --srcdir=.
    --curdir
    --ruby=/usr/local/rvm/rubies/ruby-3.0.1/bin/$(RUBY_BASE_NAME)
    --with-openssl-dir
    --with-openssl-include
    --without-openssl-include=${openssl-dir}/include
    --with-openssl-lib
    --without-openssl-lib=${openssl-dir}/lib
extconf.rb:33:in `<main>': OpenSSL library directory could not be found in '/usr/local/rvm/rubies/ruby-3.0.1/lib/ruby/3.0.0/openssl/lib'. You might want to fix this error in one of the following ways. (RuntimeError)
  * Recompile OpenSSL by configuring it with --libdir=lib  to specify the OpenSSL library directory.
  * Recompile Ruby by configuring it with --libdir=<dir> to specify the Ruby library directory.
  * Compile this openssl gem with --with-openssl-include=<dir> and --with-openssl-lib=<dir> options to specify the OpenSSL include and library directories.

extconf failed, exit code 1

Gem files will remain installed in /usr/local/rvm/gems/ruby-3.0.1/gems/openssl-3.2.0 for inspection.
Results logged to /usr/local/rvm/gems/ruby-3.0.1/extensions/x86_64-linux/3.0.0/openssl-3.2.0/gem_make.out
container 44a5e3d4a23b804f8b11d2c88388e992bda630e9db0483dbc227ce61aeaf785c is dead
Thu Sep 28 16:28:42 CEST 2023