Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: ruby3.3-rubygem-rubocop | Distribution: openSUSE Tumbleweed |
Version: 1.68.0 | Vendor: openSUSE |
Release: 1.1 | Build date: Mon Nov 4 18:27:17 2024 |
Group: Unspecified | Build host: reproducible |
Size: 3611665 | Source RPM: rubygem-rubocop-1.68.0-1.1.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://github.com/rubocop/rubocop | |
Summary: Automatic Ruby code style checking tool |
RuboCop is a Ruby code style checking and code formatting tool. It aims to enforce the community-driven Ruby Style Guide.
MIT
* Mon Nov 04 2024 Dan Čermák <dan.cermak@posteo.net> - 1.68.0: [#]## New features * [#13050](https://github.com/rubocop/rubocop/issues/13050): Add new `Style/BitwisePredicate` cop. ([@koic][]) * [#12140](https://github.com/rubocop/rubocop/issues/12140): Add new `Style/CombinableDefined` cop. ([@dvandersluis][]) * [#12988](https://github.com/rubocop/rubocop/issues/12988): Add new `Style/AmbiguousEndlessMethodDefinition` cop. ([@dvandersluis][]) * [#11514](https://github.com/rubocop/rubocop/issues/11514): Add new `Lint/UnescapedBracketInRegexp` cop. ([@dvandersluis][]) * [#13360](https://github.com/rubocop/rubocop/pull/13360): Add `AllowSteepAnnotation` config option to `Layout/LeadingCommentSpace`. ([@tk0miya][]) * [#13146](https://github.com/rubocop/rubocop/issues/13146): Add new `IgnoreDuplicateElseBranch` option to `Lint/DuplicateBranch`. ([@fatkodima][]) * [#13171](https://github.com/rubocop/rubocop/issues/13171): Add new `Style/SafeNavigationChainLength` cop. ([@fatkodima][]) * [#13252](https://github.com/rubocop/rubocop/pull/13252): Add new `Style/KeywordArgumentsMerging` cop. ([@fatkodima][]) [#]## Bug fixes * [#13401](https://github.com/rubocop/rubocop/pull/13401): Fix a false negative for `Style/RedundantLineContinuation` when there is a line continuation at the EOF. ([@koic][]) * [#13368](https://github.com/rubocop/rubocop/issues/13368): Fix an incorrect autocorrect for `Naming/BlockForwarding` with `Style/ExplicitBlockArgument`. ([@koic][]) * [#13391](https://github.com/rubocop/rubocop/pull/13391): Fix deserialization of unknown encoding offenses. ([@earlopain][]) * [#13348](https://github.com/rubocop/rubocop/issues/13348): Ensure `Style/BlockDelimiters` autocorrection does not move other code between the block and comment. ([@dvandersluis][]) * [#13382](https://github.com/rubocop/rubocop/pull/13382): Fix an error during error handling for custom ruby extractors when the extractor is a class. ([@earlopain][]) * [#13309](https://github.com/rubocop/rubocop/issues/13309): Fix a false negative for `Lint/UselessAssignment` cop when there is a useless assignment followed by a block. ([@pCosta99][]) * [#13255](https://github.com/rubocop/rubocop/pull/13255): Fix false negatives for `Style/MapIntoArray` when using non-splatted arguments. ([@vlad-pisanov][]) * [#13356](https://github.com/rubocop/rubocop/issues/13356): Fix a false positive for `Layout/SpaceBeforeBrackets` when there is a dot before `[]=`. ([@earlopain][]) * [#13365](https://github.com/rubocop/rubocop/issues/13365): Fix false positives for `Lint/SafeNavigationConsistency` when using safe navigation on the LHS with operator method on the RHS of `&&`. ([@koic][]) * [#13390](https://github.com/rubocop/rubocop/issues/13390): Fix false positives for `Style/GuardClause` when using a local variable assigned in a conditional expression in a branch. ([@koic][]) * [#13337](https://github.com/rubocop/rubocop/issues/13337): Fix false positives for `Style/RedundantLineContinuation` when required line continuations for `&&` is used with an assignment after a line break. ([@koic][]) * [#13387](https://github.com/rubocop/rubocop/issues/13387): Fix false positives in `Style/RedundantParentheses` when parentheses are used around method chain with `do`...`end` block in keyword argument. ([@koic][]) * [#13341](https://github.com/rubocop/rubocop/issues/13341): Fix false positives for `Lint/SafeNavigationChain` when a safe navigation operator is used with a method call as the RHS operand of `&&` for the same receiver. ([@koic][]) * [#13324](https://github.com/rubocop/rubocop/issues/13324): Fix `--disable-uncorrectable` to not insert a comment inside a string continuation. ([@dvandersluis][]) * [#13364](https://github.com/rubocop/rubocop/issues/13364): Fix incorrect autocorrect with `Lint/UselessAssignment` a multiple assignment or `for` contains an inner assignment. ([@dvandersluis][]) * [#13353](https://github.com/rubocop/rubocop/issues/13353): Fix an incorrect autocorrect for `Style/BlockDelimiters` when `EnforcedStyle: semantic` is set and used with `Layout/SpaceInsideBlockBraces`. ([@koic][]) * [#13361](https://github.com/rubocop/rubocop/issues/13361): Fix false positives for `Style/RedundantInterpolationUnfreeze` and `Style/RedundantFreeze` when strings contain interpolated global, instance, and class variables. ([@vlad-pisanov][]) * [#13343](https://github.com/rubocop/rubocop/issues/13343): Prevent `Layout/LineLength` from breaking up a method with arguments chained onto a heredoc delimiter. ([@dvandersluis][]) * [#13374](https://github.com/rubocop/rubocop/issues/13374): Return exit code 0 with `--display-only-correctable` and `--display-only-safe-correctable` when no offenses are displayed. ([@dvandersluis][]) * [#13193](https://github.com/rubocop/rubocop/issues/13193): Fix false positive in `Style/MultipleComparison` when `ComparisonsThreshold` exceeds 2. ([@fatkodima][], [@vlad-pisanov][]) * [#13325](https://github.com/rubocop/rubocop/pull/13325): Fix an incorrect autocorrect for `Lint/NonAtomicFileOperation` when using a postfix `unless` for file existence checks before creating a file, in cases with `Dir.mkdir`. ([@kotaro0522][]) * [#13397](https://github.com/rubocop/rubocop/pull/13397): Update `PercentLiteralCorrector` to be able to write pairs of delimiters without excessive escaping. ([@dvandersluis][]) * [#13336](https://github.com/rubocop/rubocop/issues/13336): Update `Style/SafeNavigation` to not autocorrect if the RHS of an `and` node is an `or` node. ([@dvandersluis][]) * [#13378](https://github.com/rubocop/rubocop/issues/13378): When removing parens in `Style/TernaryParentheses` with a `send` node condition, ensure its arguments are parenthesized. ([@dvandersluis][]) [#]## Changes * [#13347](https://github.com/rubocop/rubocop/pull/13347): When running `rubocop -V`, show the analysis Ruby version of the current directory. ([@earlopain][]) [@koic]: https://github.com/koic [@dvandersluis]: https://github.com/dvandersluis [@tk0miya]: https://github.com/tk0miya [@fatkodima]: https://github.com/fatkodima [@earlopain]: https://github.com/earlopain [@pCosta99]: https://github.com/pCosta99 [@vlad-pisanov]: https://github.com/vlad-pisanov [@fatkodima]: https://github.com/fatkodima [@kotaro0522]: https://github.com/kotaro0522 1.67.0: [#]## New features * [#13259](https://github.com/rubocop/rubocop/issues/13259): Add new `Lint/DuplicateSetElement` cop. ([@koic][]) * [#13223](https://github.com/rubocop/rubocop/pull/13223): Add `AllowRBSInlineAnnotation` config option to `Layout/LeadingCommentSpace` to support RBS::Inline style annotation comments. ([@tk0miya][]) * [#13310](https://github.com/rubocop/rubocop/issues/13310): Display analysis Ruby version in `rubocop -V`. ([@koic][]) [#]## Bug fixes * [#13314](https://github.com/rubocop/rubocop/pull/13314): Fix a false negative for `Style/Semicolon` when using a semicolon between a closing parenthesis after a line break and a consequent expression. ([@koic][]) * [#13217](https://github.com/rubocop/rubocop/pull/13217): Fix a false positive in `Lint/ParenthesesAsGroupedExpression` with compound ranges. ([@gsamokovarov][]) * [#13268](https://github.com/rubocop/rubocop/pull/13268): Fix a false positive for `Style/BlockDelimiters` when a single line do-end block with an inline `rescue` with a semicolon before `rescue`. ([@koic][]) * [#13298](https://github.com/rubocop/rubocop/pull/13298): Fix an error for `Layout/AccessModifierIndentation` when the access modifier is on the same line as the class definition. ([@koic][]) * [#13198](https://github.com/rubocop/rubocop/pull/13198): Fix an error for `Style/OneLineConditional` when using nested if/then/else/end. ([@koic][]) * [#13316](https://github.com/rubocop/rubocop/issues/13316): Fix an incorrect autocorrect for `Lint/ImplicitStringConcatenation` with `Lint/TripleQuotes` when string literals with triple quotes are used. ([@koic][]) * [#13220](https://github.com/rubocop/rubocop/issues/13220): Fix an incorrect autocorrect for `Style/ArgumentsForwarding` when using only forwarded arguments in brackets. ([@koic][]) * [#13202](https://github.com/rubocop/rubocop/issues/13202): Fix an incorrect autocorrect for `Style/CombinableLoops` when looping over the same data with different block variable names. ([@koic][]) * [#13291](https://github.com/rubocop/rubocop/issues/13291): Fix an incorrect autocorrect for `Style/RescueModifier` when using modifier rescue for method call with heredoc argument. ([@koic][]) * [#13226](https://github.com/rubocop/rubocop/pull/13226): Fix `--auto-gen-config` when passing an absolute config path. ([@earlopain][]) * [#13225](https://github.com/rubocop/rubocop/issues/13225): Avoid syntax error when correcting `Style/OperatorMethodCall` with `/` operations followed by a parenthesized argument. ([@dvandersluis][]) * [#13235](https://github.com/rubocop/rubocop/issues/13235): Fix an error for `Style/IfUnlessModifier` when multiline `if` that fits on one line and using implicit method call with hash value omission syntax. ([@koic][]) * [#13219](https://github.com/rubocop/rubocop/pull/13219): Fix a false positive for `Style/ArgumentsForwarding` with Ruby 3.0 and optional position arguments. ([@earlopain][]) * [#13271](https://github.com/rubocop/rubocop/issues/13271): Fix a false positive for `Lint/AmbiguousRange` when using rational literals. ([@koic][]) * [#13260](https://github.com/rubocop/rubocop/issues/13260): Fix a false positive for `Lint/RedundantSafeNavigation` with namespaced constants. ([@earlopain][]) * [#13224](https://github.com/rubocop/rubocop/pull/13224): Fix false positives for `Style/OperatorMethodCall` with named forwarding. ([@earlopain][]) * [#13213](https://github.com/rubocop/rubocop/issues/13213): Fix false positives for `Style/AccessModifierDeclarations` when `AllowModifiersOnAttrs: true` and using splat with a percent symbol array, or with a constant. ([@koic][]) * [#13145](https://github.com/rubocop/rubocop/issues/13145): Fix false positives for `Style/RedundantLineContinuation` when line continuations with comparison operator and the LHS is wrapped in parentheses. ([@koic][]) * [#12875](https://github.com/rubocop/rubocop/issues/12875): Fix false positive for `Style/ArgumentsForwarding` when argument is used inside a block. ([@dvandersluis][]) * [#13239](https://github.com/rubocop/rubocop/pull/13239): Fix false positive for `Style/CollectionCompact` when using `delete_if`. ([@masato-bkn][]) * [#13210](https://github.com/rubocop/rubocop/pull/13210): Fix omit_parentheses style for pattern match with value omission in single-line branch. ([@gsamokovarov][]) * [#13149](https://github.com/rubocop/rubocop/issues/13149): Handle crashes in custom Ruby extractors more gracefully. ([@earlopain][]) * [#13319](https://github.com/rubocop/rubocop/issues/13319): Handle literal forward slashes inside a `regexp` in `Lint/LiteralInInterpolation`. ([@dvandersluis][]) * [#13208](https://github.com/rubocop/rubocop/pull/13208): Fix an incorrect autocorrect for `Style/IfWithSemicolon` when single-line `if/;/end` when the then body contains a method call with `[]` or `[]=`. ([@koic][]) * [#13318](https://github.com/rubocop/rubocop/issues/13318): Prevent modifying blocks with `Style/HashEachMethods` if the hash is modified within the block. ([@dvandersluis][]) * [#13293](https://github.com/rubocop/rubocop/pull/13293): Fix `TargetRubyVersion` from a gemspec when the gemspec is not named like the folder it is located in. ([@earlopain][]) * [#13211](https://github.com/rubocop/rubocop/pull/13211): Fix wrong autocorrect for `Style/GuardClause` when using heredoc without `else` branch. ([@earlopain][]) * [#13215](https://github.com/rubocop/rubocop/pull/13215): Fix wrong autocorrect for `Lint/BigDecimalNew` when using `::BigDecimal.new`. ([@earlopain][]) * [#13215](https://github.com/rubocop/rubocop/pull/13215): Fix wrong autocorrect for `Style/MethodCallWithArgsParentheses` with `EnforcedStyle: omit_parentheses` and whitespace. ([@earlopain][]) * [#13302](https://github.com/rubocop/rubocop/issues/13302): Fix incompatible autocorrect between `Style/RedundantBegin` and `Style/BlockDelimiters` with `EnforcedStyle: braces_for_chaining`. ([@earlopain][]) [#]## Changes * [#13221](https://github.com/rubocop/rubocop/pull/13221): Do not group accessors having RBS::Inline annotation comments in `Style/AccessorGrouping`. ([@tk0miya][]) * [#13286](https://github.com/rubocop/rubocop/issues/13286): Add `AllowedMethods` configuration to `Layout/FirstMethodArgumentLineBreak`. ([@dvandersluis][]) * [#13110](https://github.com/rubocop/rubocop/issues/13110): Add support in `Style/ArgumentsForwarding` for detecting forwarding of all anonymous arguments. ([@dvandersluis][]) * [#13222](https://github.com/rubocop/rubocop/pull/13222): Allow to write RBS::Inline annotation comments after method definition in `Style/CommentedKeyword`. ([@tk0miya][]) * [#13253](https://github.com/rubocop/rubocop/pull/13253): Emit a deprecation when custom cops inherit from `RuboCop::Cop::Cop`. ([@earlopain][]) * [#13300](https://github.com/rubocop/rubocop/pull/13300): Set `EnforcedShorthandSyntax: either` by default for `Style/HashSyntax`. ([@koic][]) * [#13254](https://github.com/rubocop/rubocop/pull/13254): Enhance the autocorrect for `Naming/InclusiveLanguage` when a sole suggestion is set. ([@koic][]) * [#13232](https://github.com/rubocop/rubocop/issues/13232): Make server mode aware of auto-restart for local config update. ([@koic][]) * [#13270](https://github.com/rubocop/rubocop/pull/13270): Make `Style/SelectByRegexp` aware of `filter` in Ruby version 2.6 or above. ([@masato-bkn][]) * [#9816](https://github.com/rubocop/rubocop/issues/9816): Refine `Lint/SafeNavigationConsistency` cop to check that the safe navigation operator is applied consistently and without excess or deficiency. ([@koic][]) * [#13256](https://github.com/rubocop/rubocop/issues/13256): Report and correct more `Style/SafeNavigation` offenses. ([@dvandersluis][]) * [#13245](https://github.com/rubocop/rubocop/pull/13245): Support `filter/filter!` in `Style/CollectionCompact`. ([@masato-bkn][]) * [#13281](https://github.com/rubocop/rubocop/pull/13281): Support Ruby 3.4 for `Lint/UriRegexp` to avoid obsolete API. ([@koic][]) * [#13229](https://github.com/rubocop/rubocop/issues/13229): Update `Style/MapIntoArray` to be able to handle arrays created using `[].tap`. ([@dvandersluis][]) * [#13305](https://github.com/rubocop/rubocop/pull/13305): Update `Style/ReturnNilInPredicateMethodDefinition` to detect implicit `nil` returns inside `if`. ([@dvandersluis][]) * [#13327](https://github.com/rubocop/rubocop/pull/13327): Make server mode aware of auto-restart for .rubocop_todo.yml update. ([@koic][]) [@koic]: https://github.com/koic [@tk0miya]: https://github.com/tk0miya [@gsamokovarov]: https://github.com/gsamokovarov [@earlopain]: https://github.com/earlopain [@dvandersluis]: https://github.com/dvandersluis [@masato-bkn]: https://github.com/masato-bkn 1.66.1: [#]## Bug fixes * [#13191](https://github.com/rubocop/rubocop/pull/13191): Fix an error for `Style/IfWithSemicolon` when using nested single-line if/;/end in block of if/else branches. ([@koic][]) * [#13178](https://github.com/rubocop/rubocop/pull/13178): Fix false positive for `Style/EmptyLiteral` with `Hash.new([])`. ([@earlopain][]) * [#13176](https://github.com/rubocop/rubocop/issues/13176): Fix crash in `Style/EmptyElse` when `AllowComments: true` and the else clause is missing. ([@vlad-pisanov][]) * [#13185](https://github.com/rubocop/rubocop/pull/13185): Fix false negatives in `Style/MapIntoArray` autocorrection when using `ensure`, `def`, `defs` and `for`. ([@vlad-pisanov][]) [@koic]: https://github.com/koic [@earlopain]: https://github.com/earlopain [@vlad-pisanov]: https://github.com/vlad-pisanov 1.66.0: [#]## New features * [#13077](https://github.com/rubocop/rubocop/pull/13077): Add new global `StringLiteralsFrozenByDefault` option for correct analysis with `RUBYOPT=--enable=frozen-string-literal`. ([@earlopain][]) * [#13080](https://github.com/rubocop/rubocop/pull/13080): Add new `DocumentationExtension` global option to serve documentation with extensions different than `.html`. ([@earlopain][]) * [#13074](https://github.com/rubocop/rubocop/issues/13074): Add new `Lint/UselessNumericOperation` cop to check for inconsequential numeric operations. ([@zopolis4][]) * [#13061](https://github.com/rubocop/rubocop/issues/13061): Add new `Style/RedundantInterpolationUnfreeze` cop to check for `dup` and `@+` on interpolated strings in Ruby >= 3.0. ([@earlopain][]) [#]## Bug fixes * [#13093](https://github.com/rubocop/rubocop/issues/13093): Fix an error for `Lint/ImplicitStringConcatenation` when implicitly concatenating a string literal with a line break and string interpolation. ([@koic][]) * [#13098](https://github.com/rubocop/rubocop/issues/13098): Fix an error for `Style/IdenticalConditionalBranches` when handling empty case branches. ([@koic][]) * [#13113](https://github.com/rubocop/rubocop/pull/13113): Fix an error for `Style/IfWithSemicolon` when a nested `if` with a semicolon is used. ([@koic][]) * [#13097](https://github.com/rubocop/rubocop/issues/13097): Fix an error for `Style/InPatternThen` when using alternative pattern matching deeply. ([@koic][]) * [#13159](https://github.com/rubocop/rubocop/pull/13159): Fix an error for `Style/OneLineConditional` when using if/then/else/end with multiple expressions in the `then` body. ([@koic][]) * [#13092](https://github.com/rubocop/rubocop/pull/13092): Fix an incorrect autocorrect for `Layout/EmptyLineBetweenDefs` when two method definitions are on the same line separated by a semicolon. ([@koic][]) * [#13116](https://github.com/rubocop/rubocop/pull/13116): Fix an incorrect autocorrect for `Style/IfWithSemicolon` when a single-line `if/;/end` has an argument in the then body expression. ([@koic][]) * [#13161](https://github.com/rubocop/rubocop/pull/13161): Fix incorrect autocorrect for `Style/IfWithSemicolon` when using multiple expressions in the `else` body. ([@koic][]) * [#13132](https://github.com/rubocop/rubocop/pull/13132): Fix incorrect autocorrect for `Style/TrailingBodyOnMethodDefinition` when an expression precedes a method definition on the same line with a semicolon. ([@koic][]) * [#13164](https://github.com/rubocop/rubocop/pull/13164): Fix incorrect autocorrect behavior for `Layout/BlockAlignment` when `EnforcedStyleAlignWith: either (default)`. ([@koic][]) * [#13087](https://github.com/rubocop/rubocop/pull/13087): Fix an incorrect autocorrect for `Style/MultipleComparison` when expression with more comparisons precedes an expression with less comparisons. ([@fatkodima][]) * [#13172](https://github.com/rubocop/rubocop/pull/13172): Fix an error for `Layout/EmptyLinesAroundExceptionHandlingKeywords` when `ensure` or `else` and `end` are on the same line. ([@koic][]) * [#13107](https://github.com/rubocop/rubocop/issues/13107): Fix an error for `Lint/ImplicitStringConcatenation` when there are multiple adjacent string interpolation literals on the same line. ([@koic][]) * [#13111](https://github.com/rubocop/rubocop/pull/13111): Fix an error for `Style/GuardClause` when if clause is empty and correction would not fit on single line because of `Layout/LineLength`. ([@earlopain][]) * [#13137](https://github.com/rubocop/rubocop/pull/13137): Fix an error for `Style/ParallelAssignment` when using `__FILE__`. ([@earlopain][]) * [#13143](https://github.com/rubocop/rubocop/pull/13143): Fix an error during `TargetRubyVersion` detection if the gemspec is not valid syntax. ([@earlopain][]) * [#13131](https://github.com/rubocop/rubocop/pull/13131): Fix false negatives for `Lint/Void` when using `ensure`, `defs` and `numblock`. ([@vlad-pisanov][]) * [#13174](https://github.com/rubocop/rubocop/pull/13174): Fix false negatives for `Style/MapIntoArray` when initializing the destination using `Array[]`, `Array([])`, or `Array.new([])`. ([@vlad-pisanov][]) * [#13173](https://github.com/rubocop/rubocop/pull/13173): Fix false negatives for `Style/EmptyLiteral` when using `Array[]`, `Hash[]`, `Array.new([])` and `Hash.new([])`. ([@vlad-pisanov][]) * [#13126](https://github.com/rubocop/rubocop/issues/13126): Fix a false positive for `Style/Alias` when using multiple `alias` in `def`. ([@koic][]) * [#13085](https://github.com/rubocop/rubocop/issues/13085): Fix a false positive for `Style/EmptyElse` when a comment-only `else` is used after `elsif` and `AllowComments: true` is set. ([@koic][]) * [#13118](https://github.com/rubocop/rubocop/issues/13118): Fix a false positive for `Style/MapIntoArray` when splatting. ([@earlopain][]) * [#13105](https://github.com/rubocop/rubocop/issues/13105): Fix false positives for `Style/ArgumentsForwarding` when forwarding kwargs/block arg with non-matching additional args. ([@koic][]) * [#13139](https://github.com/rubocop/rubocop/issues/13139): Fix false positives for `Style/RedundantCondition` when using modifier `if` or `unless`. ([@koic][]) * [#13134](https://github.com/rubocop/rubocop/pull/13134): Fix false negative for `Lint/Void` when using using frozen literals. ([@vlad-pisanov][]) * [#13148](https://github.com/rubocop/rubocop/pull/13148): Fix incorrect autocorrect for `Lint/EmptyConditionalBody` when missing `elsif` body with `end` on the same line. ([@koic][]) * [#13109](https://github.com/rubocop/rubocop/pull/13109): Fix an error for the `Lockfile` parser when it contains incompatible `BUNDLED WITH` versions. ([@earlopain][]) * [#13112](https://github.com/rubocop/rubocop/pull/13112): Fix detection of `TargetRubyVersion` through the gemfile if the gemfile ruby version is below 2.7. ([@earlopain][]) * [#13155](https://github.com/rubocop/rubocop/pull/13155): Fixes an error when the server cache directory has too long path, causing rubocop to fail even with caching disabled. ([@protocol7][]) [#]## Changes * [#13150](https://github.com/rubocop/rubocop/issues/13150): Allow `get_!`, `set_!`, `get_?`, `set_?`, `get_=`, and `set_=` in `Naming/AccessorMethodName`. ([@koic][]) * [#13103](https://github.com/rubocop/rubocop/issues/13103): Make `Lint/UselessAssignment` autocorrection safe. ([@koic][]) * [#13099](https://github.com/rubocop/rubocop/issues/13099): Make `Style/RedundantRegexpArgument` respect the `EnforcedStyle` of `Style/StringLiterals`. ([@koic][]) * [#13165](https://github.com/rubocop/rubocop/pull/13165): Remove dependency on the `rexml` gem. ([@bquorning][]) * [#13090](https://github.com/rubocop/rubocop/pull/13090): Require RuboCop AST 1.32.0+ to use `RuboCop::AST::RationalNode`. ([@koic][]) [@earlopain]: https://github.com/earlopain [@zopolis4]: https://github.com/zopolis4 [@koic]: https://github.com/koic [@fatkodima]: https://github.com/fatkodima [@vlad-pisanov]: https://github.com/vlad-pisanov [@protocol7]: https://github.com/protocol7 [@bquorning]: https://github.com/bquorning 1.65.1: [#]## New features * [#13068](https://github.com/rubocop/rubocop/pull/13068): Add config validation to `Naming/PredicateName` to check that all `ForbiddenPrefixes` are being checked. ([@maxjacobson][]) [#]## Bug fixes * [#13051](https://github.com/rubocop/rubocop/issues/13051): Fix an error for `Lint/FloatComparison` when comparing with rational literal. ([@koic][]) * [#13065](https://github.com/rubocop/rubocop/issues/13065): Fix an error for `Lint/UselessAssignment` when same name variables are assigned using chained assignment. ([@koic][]) * [#13062](https://github.com/rubocop/rubocop/pull/13062): Fix an error for `Style/InvertibleUnlessCondition` when using empty parenthesis as condition. ([@earlopain][]) * [#11438](https://github.com/rubocop/rubocop/issues/11438): Explicitly load `fileutils` before calculating `before_us`. ([@r7kamura][]) * [#13044](https://github.com/rubocop/rubocop/issues/13044): Fix false negatives for `Lint/ImplicitStringConcatenation` when using adjacent string interpolation literals on the same line. ([@koic][]) * [#13083](https://github.com/rubocop/rubocop/pull/13083): Fix a false positive for `Style/GlobalStdStream` when using namespaced constants like `Foo::STDOUT`. ([@earlopain][]) * [#13081](https://github.com/rubocop/rubocop/pull/13081): Fix a false positive for `Style/ZeroLengthPredicate` when using safe navigation and non-zero comparison. ([@fatkodima][]) * [#13041](https://github.com/rubocop/rubocop/issues/13041): Fix false positives for `Lint/UselessAssignment` when pattern match variable is assigned and used in a block. ([@koic][]) * [#13076](https://github.com/rubocop/rubocop/issues/13076): Fix an incorrect autocorrect for `Naming/RescuedExceptionsVariableName` when using hash value omission. ([@koic][]) [@maxjacobson]: https://github.com/maxjacobson [@koic]: https://github.com/koic [@earlopain]: https://github.com/earlopain [@r7kamura]: https://github.com/r7kamura [@fatkodima]: https://github.com/fatkodima 1.65.0: [#]## New features * [#13030](https://github.com/rubocop/rubocop/pull/13030): Add new `Gemspec/AddRuntimeDependency` cop. ([@koic][]) [#]## Bug fixes * [#12954](https://github.com/rubocop/rubocop/issues/12954): Fix a false negative for `Style/ArgumentsForwarding` when arguments forwarding in `yield`. ([@koic][]) * [#13033](https://github.com/rubocop/rubocop/issues/13033): Fix a false positive for `Layout/SpaceAroundOperators` when using multiple spaces between an operator and a tailing comment. ([@koic][]) * [#12885](https://github.com/rubocop/rubocop/issues/12885): Fix a false positive for `Lint/ToEnumArguments` when enumerator is created for another method. ([@koic][]) * [#13018](https://github.com/rubocop/rubocop/issues/13018): Fix a false positive for `Style/MethodCallWithArgsParentheses` when `EnforcedStyle: omit_parentheses` is set and parenthesized method call is used before constant resolution. ([@koic][]) * [#12986](https://github.com/rubocop/rubocop/issues/12986): Fix a false positive for `Style/RedundantBegin` when endless method definition with `rescue`. ([@koic][]) * [#12985](https://github.com/rubocop/rubocop/issues/12985): Fix an error for `Style/RedundantRegexpCharacterClass` when using regexp_parser gem 2.3.1 or older. ([@koic][]) * [#13010](https://github.com/rubocop/rubocop/issues/13010): Fix an error for `Style/SuperArguments` when the hash argument is or-assigned. ([@koic][]) * [#13023](https://github.com/rubocop/rubocop/issues/13023): Fix an error for `Style/SymbolProc` when using lambda `->` with one argument and multiline `do`...`end` block. ([@koic][]) * [#12989](https://github.com/rubocop/rubocop/issues/12989): Fix an error for the `inherit_gem` config when the Gemfile contains an uninstalled git gem. ([@earlopain][]) * [#12975](https://github.com/rubocop/rubocop/issues/12975): Fix an error for the `inherit_gem` config when running RuboCop without bundler and no Gemfile exists. ([@earlopain][]) * [#12997](https://github.com/rubocop/rubocop/pull/12997): Fix an error for `Lint/UnmodifiedReduceAccumulator` when the block is empty. ([@earlopain][]) * [#12979](https://github.com/rubocop/rubocop/issues/12979): Fix false negatives for `Lint/Void` when void expression with guard clause is not on last line. ([@koic][]) * [#12716](https://github.com/rubocop/rubocop/issues/12716): Fix false negatives for `Lint/Void` when using parenthesized void operators. ([@koic][]) * [#12471](https://github.com/rubocop/rubocop/issues/12471): Fix false negatives for `Style/ZeroLengthPredicate` when using safe navigation operator. ([@koic][]) * [#12960](https://github.com/rubocop/rubocop/issues/12960): Fix false positives for `Lint/NestedMethodDefinition` when definition of method on variable. ([@koic][]) * [#13012](https://github.com/rubocop/rubocop/issues/13012): Fix false positives for `Style/HashExcept` when using `reject` and calling `include?` method with bang. ([@koic][]) * [#12983](https://github.com/rubocop/rubocop/issues/12983): Fix false positives for `Style/SendWithLiteralMethodName` using `send` with writer method name. ([@koic][]) * [#12957](https://github.com/rubocop/rubocop/issues/12957): Fix false positives for `Style/SuperArguments` when calling super in a block. ([@koic][]) [#]## Changes * [#12970](https://github.com/rubocop/rubocop/issues/12970): Add `CountModifierForms` option to `Metrics/BlockNesting` and set it to `false` by default. ([@koic][]) * [#13032](https://github.com/rubocop/rubocop/pull/13032): Display warning messages for deprecated APIs. ([@koic][]) * [#13031](https://github.com/rubocop/rubocop/pull/13031): Enable YJIT by default in server mode. ([@koic][]) * [#12557](https://github.com/rubocop/rubocop/issues/12557): Make server mode aware of auto-restart for `bundle update`. ([@koic][]) * [#12616](https://github.com/rubocop/rubocop/issues/12616): Make `Style/MapCompactWithConditionalBlock` aware of `filter_map`. ([@koic][]) * [#13035](https://github.com/rubocop/rubocop/issues/13035): Support autocorrect for `Lint/ImplicitStringConcatenation`. ([@koic][]) [@koic]: https://github.com/koic [@earlopain]: https://github.com/earlopain * Fri Jun 21 2024 Dan Čermák <dan.cermak@posteo.net> - 1.64.1: [#]## Bug fixes * [#12951](https://github.com/rubocop/rubocop/pull/12951): Fix an error for `Style/Copyright` when `AutocorrectNotice` is missing. ([@koic][]) * [#12932](https://github.com/rubocop/rubocop/pull/12932): Fix end position of diagnostic for LSP. ([@ksss][]) * [#12926](https://github.com/rubocop/rubocop/issues/12926): Fix a false positive for `Style/SuperArguments` when the methods block argument is reassigned before `super`. ([@earlopain][]) * [#12931](https://github.com/rubocop/rubocop/issues/12931): Fix false positives for `Style/RedundantLineContinuation` when line continuations involve `break`, `next`, or `yield` with a return value. ([@koic][]) * [#12924](https://github.com/rubocop/rubocop/issues/12924): Fix false positives for `Style/SendWithLiteralMethodName` when `public_send` argument is a method name that cannot be autocorrected. ([@koic][]) [@koic]: https://github.com/koic [@ksss]: https://github.com/ksss [@earlopain]: https://github.com/earlopain 1.64.0: [#]## New features * [#12904](https://github.com/rubocop/rubocop/pull/12904): Add new `either_consistent` `SupportedShorthandSyntax` to `Style/HashSyntax`. ([@pawelma][]) * [#12842](https://github.com/rubocop/rubocop/issues/12842): Add new `Style/SendWithLiteralMethodName` cop. ([@koic][]) * [#12309](https://github.com/rubocop/rubocop/issues/12309): Add new `Style/SuperArguments` cop. ([@earlopain][]) * [#12917](https://github.com/rubocop/rubocop/pull/12917): Suggest correct formatter name for `--format` command line option. ([@koic][]) * [#12242](https://github.com/rubocop/rubocop/issues/12242): Support `AllowModifiersOnAttrs` option for `Style/AccessModifierDeclarations`. ([@krororo][]) * [#11585](https://github.com/rubocop/rubocop/issues/11585): Support `AllowedMethods` for `Style/DocumentationMethod`. ([@koic][]) [#]## Bug fixes * [#7189](https://github.com/rubocop/rubocop/issues/7189): Fix a false positive for `Style/Copyright` when using multiline copyright notice. ([@koic][]) * [#12914](https://github.com/rubocop/rubocop/pull/12914): Fix a false negative for `Layout/EmptyComment` when using an empty comment next to code after comment line. ([@koic][]) * [#12919](https://github.com/rubocop/rubocop/issues/12919): Fix false negatives for `Style/ArgumentsForwarding` when forward target is `super`. ([@koic][]) * [#12923](https://github.com/rubocop/rubocop/pull/12923): Fix false negatives for `Style/ArgumentsForwarding` when forward target is safe navigation method. ([@koic][]) * [#12894](https://github.com/rubocop/rubocop/issues/12894): Fix false positives for `Style/MapIntoArray` when using `each` without receiver with `<<` to build an array. ([@koic][]) * [#12876](https://github.com/rubocop/rubocop/issues/12876): Fix an error for the lockfile parser if a gemfile exists but a lockfile doesn't. ([@earlopain][]) * [#12888](https://github.com/rubocop/rubocop/issues/12888): Fix `--no-exclude-limit` generating a todo with `Max` config instead of listing everything out with `Exclude`. ([@earlopain][]) * [#12898](https://github.com/rubocop/rubocop/issues/12898): Fix an error for `TargetRailsVersion` when parsing from the lockfile with prerelease rails. ([@earlopain][]) [#]## Changes * [#12908](https://github.com/rubocop/rubocop/pull/12908): Add rubocop-rspec back to suggested extensions when rspec-rails is in use. ([@pirj][]) * [#12884](https://github.com/rubocop/rubocop/issues/12884): Align output from `cop.documentation_url` with `--show-docs-url` when passing a config as argument. ([@earlopain][]) * [#12905](https://github.com/rubocop/rubocop/pull/12905): Support `ActiveSupportExtensionsEnabled` for `Style/SymbolProc`. ([@koic][]) * [#12897](https://github.com/rubocop/rubocop/pull/12897): Respect user's intentions with `workspace/executeCommand` LSP method. ([@koic][]) [@pawelma]: https://github.com/pawelma [@koic]: https://github.com/koic [@earlopain]: https://github.com/earlopain [@krororo]: https://github.com/krororo [@pirj]: https://github.com/pirj 1.63.5: [#]## Bug fixes * [#12877](https://github.com/rubocop/rubocop/pull/12877): Fix an infinite loop error for `Layout/FirstArgumentIndentation` when specifying `EnforcedStyle: with_fixed_indentation` of `Layout/ArrayAlignment`. ([@koic][]) * [#12873](https://github.com/rubocop/rubocop/issues/12873): Fix an error for `Metrics/BlockLength` when the `CountAsOne` config is invalid. ([@koic][]) * [#12881](https://github.com/rubocop/rubocop/pull/12881): Fix incorrect autocorrect when `Style/NumericPredicate` is used with negations. ([@fatkodima][]) * [#12882](https://github.com/rubocop/rubocop/pull/12882): Fix `Layout/CommentIndentation` for comment-only pattern matching. ([@nekketsuuu][]) [@koic]: https://github.com/koic [@fatkodima]: https://github.com/fatkodima [@nekketsuuu]: https://github.com/nekketsuuu 1.63.4: [#]## Bug fixes * [#12871](https://github.com/rubocop/rubocop/pull/12871): Fix an error for `rubocop -V` when `.rubocop.yml` contains ERB. ([@earlopain][]) * [#12862](https://github.com/rubocop/rubocop/issues/12862): Fix a false positive for `Style/RedundantLineContinuation` when line continuations involve `return` with a return value. ([@koic][]) * [#12664](https://github.com/rubocop/rubocop/pull/12664): Fix handling of `textDocument/diagnostic`. ([@muxcmux][]) * [#12865](https://github.com/rubocop/rubocop/issues/12865): Fix Rails Cops, which weren't reporting any violations unless running with `bundle exec`. ([@amomchilov][]) [@earlopain]: https://github.com/earlopain [@koic]: https://github.com/koic [@muxcmux]: https://github.com/muxcmux [@amomchilov]: https://github.com/amomchilov 1.63.3: [#]## Bug fixes * [#12857](https://github.com/rubocop/rubocop/pull/12857): Fix false negatives for `Lint/UnreachableCode` when using pattern matching. ([@koic][]) * [#12852](https://github.com/rubocop/rubocop/issues/12852): Fix an error for `Lint/EmptyFile` in formatters when using cache. ([@earlopain][]) * [#12848](https://github.com/rubocop/rubocop/issues/12848): Fix an error that occurs in `RuboCop::Lockfile` when the constant Bundler is uninitialized. ([@koic][]) [#]## Changes * [#12855](https://github.com/rubocop/rubocop/pull/12855): Set custom program name for the built-in LSP server. ([@koic][]) [@koic]: https://github.com/koic [@earlopain]: https://github.com/earlopain 1.63.2: [#]## Bug fixes * [#12843](https://github.com/rubocop/rubocop/issues/12843): Fix an error for `Lint/MixedCaseRange` when a character between `Z` and `a` is used in the regexp range. ([@koic][]) * [#12846](https://github.com/rubocop/rubocop/issues/12846): Fix an error for `RuboCop::Lockfile` when there is no Bundler environment. ([@koic][]) * [#12832](https://github.com/rubocop/rubocop/issues/12832): Fix an error for `Style/ArgumentsForwarding` when using block arg in nested method definitions. ([@koic][]) * [#12841](https://github.com/rubocop/rubocop/pull/12841): Fix false negatives for `Lint/UnreachableLoop` when using pattern matching. ([@koic][]) * [#12835](https://github.com/rubocop/rubocop/issues/12835): Allow global offenses to be disabled by directive comments. ([@earlopain][]) [#]## Changes * [#12845](https://github.com/rubocop/rubocop/pull/12845): Exclude `debug/open_nonstop` from `Lint/Debugger` by default. ([@koic][]) [@koic]: https://github.com/koic [@earlopain]: https://github.com/earlopain 1.63.1: [#]## Bug fixes * [#12828](https://github.com/rubocop/rubocop/pull/12828): Fix a false positive for `Lint/AssignmentInCondition` if assigning inside a method call. ([@earlopain][]) * [#12823](https://github.com/rubocop/rubocop/issues/12823): Fixed "uninitialized constant `RuboCop::Lockfile::Bundler`", caused when running RuboCop without `bundler exec` on codebases that use `rubocop-rails`. ([@amomchilov][]) [@earlopain]: https://github.com/earlopain [@amomchilov]: https://github.com/amomchilov 1.63.0: [#]## New features * [#11878](https://github.com/rubocop/rubocop/issues/11878): Add new `Style/MapIntoArray` cop. ([@ymap][]) * [#12186](https://github.com/rubocop/rubocop/pull/12186): Add new `requires_gem` API for declaring which gems a Cop needs. ([@amomchilov][]) [#]## Bug fixes * [#12769](https://github.com/rubocop/rubocop/issues/12769): Fix a false positive for `Lint/RedundantWithIndex` when calling `with_index` with receiver and a block. ([@koic][]) * [#12547](https://github.com/rubocop/rubocop/issues/12547): Added a comment recommending upgrading to the latest version of Rubocop in the error text when an Infinite loop detected error occurs. ([@Hiroto-Iizuka][]) * [#12782](https://github.com/rubocop/rubocop/pull/12782): Fix an error for `Style/Alias` with `EnforcedStyle: prefer_alias` when calling `alias_method` with fewer than 2 arguments. ([@earlopain][]) * [#12781](https://github.com/rubocop/rubocop/pull/12781): Fix an error for `Style/ExactRegexpMatch` when calling `match` without a receiver. ([@earlopain][]) * [#12780](https://github.com/rubocop/rubocop/issues/12780): Fix an error for `Style/RedundantEach` when using `reverse_each.each` without a block. ([@earlopain][]) * [#12731](https://github.com/rubocop/rubocop/pull/12731): Treat `&.` the same way as `.` for setter methods in `Lint/AssignmentInCondition`. ([@jonas054][]) * [#12793](https://github.com/rubocop/rubocop/issues/12793): Fix false positives for `Style/RedundantLineContinuation` when using line continuation with modifier. ([@koic][]) * [#12807](https://github.com/rubocop/rubocop/issues/12807): Fix false positives for `Naming/BlockForwarding` when using explicit block forwarding in block method and others. ([@koic][]) * [#12796](https://github.com/rubocop/rubocop/pull/12796): Fix false positives for `Style/EvalWithLocation` when using `eval` with a line number from a method call or a variable. ([@koic][]) * [#12794](https://github.com/rubocop/rubocop/issues/12794): Fix false positives for `Style/RedundantArgument` when when single-quoted strings for cntrl character. ([@koic][]) * [#12797](https://github.com/rubocop/rubocop/issues/12797): Fix false positives for `Style/RedundantLineContinuation` when using line continuations with `&&` or `||` operator in assignment. ([@koic][]) * [#12793](https://github.com/rubocop/rubocop/issues/12793): Fix false positives for `Style/RedundantLineContinuation` when multi-line continuations with operators. ([@koic][]) * [#12801](https://github.com/rubocop/rubocop/issues/12801): Fix incorrect autocorrect for `Style/CollectionCompact` when using `delete_if`. ([@koic][]) * [#12789](https://github.com/rubocop/rubocop/pull/12789): Make `Style/RedundantPercentQ` safe on multiline strings. ([@boardfish][]) * [#12802](https://github.com/rubocop/rubocop/pull/12802): Return global offenses for `Naming/FileName` and `Naming/InclusiveLanguage` for empty files. ([@earlopain][]) * [#12804](https://github.com/rubocop/rubocop/pull/12804): Return global offenses for `Style/Copyright` when the file is empty. ([@earlopain][]) [#]## Changes * [#12813](https://github.com/rubocop/rubocop/pull/12813): Add rubocop-rspec_rails to suggested extensions and extension doc. ([@ydah][]) * [#12820](https://github.com/rubocop/rubocop/pull/12820): Add support more Capybara debugger entry points for `Lint/Debugger`. ([@ydah][]) * [#12676](https://github.com/rubocop/rubocop/issues/12676): Adjust offending range in LSP. ([@koic][]) * [#12815](https://github.com/rubocop/rubocop/issues/12815): Ignore `Rakefile.rb` in `Naming/FileName` in the default config. ([@artur-intech][]) * [#12800](https://github.com/rubocop/rubocop/pull/12800): Handle empty obsoletion config. ([@sambostock][]) * [#12721](https://github.com/rubocop/rubocop/issues/12721): Make `Lint/Debugger` aware of `ruby/debug` requires. ([@earlopain][]) * [#12817](https://github.com/rubocop/rubocop/pull/12817): Make `rubocop -V` display rubocop-rspec_rails version when using it. ([@ydah][]) * [#12180](https://github.com/rubocop/rubocop/pull/12180): Replace regex with `Bundler::LockfileParser`. ([@amomchilov][]) [@ymap]: https://github.com/ymap [@amomchilov]: https://github.com/amomchilov [@koic]: https://github.com/koic [@Hiroto-Iizuka]: https://github.com/Hiroto-Iizuka [@earlopain]: https://github.com/earlopain [@jonas054]: https://github.com/jonas054 [@boardfish]: https://github.com/boardfish [@ydah]: https://github.com/ydah [@artur-intech]: https://github.com/artur-intech [@sambostock]: https://github.com/sambostock * Sat Mar 16 2024 Mykola Krachkovsky <w01dnick@gmail.com> - updated to 1.62.1 [#]# 1.62.1 (2024-03-11) [#]## Bug fixes * [#12761](https://github.com/rubocop/rubocop/issues/12761): Fix a false positive for `Style/HashEachMethods` when the key block argument of `Enumerable#each` method is unused after `chunk`. ([@koic][]) * [#12768](https://github.com/rubocop/rubocop/pull/12768): Fix a false positive for `Style/NilComparison` without receiver and `EnforcedStyle: comparison`. ([@earlopain][]) * [#12752](https://github.com/rubocop/rubocop/pull/12752): Fix an error for `Gemspec/RequiredRubyVersion` when the file is empty. ([@earlopain][]) * [#12770](https://github.com/rubocop/rubocop/pull/12770): Fix an error for `Lint/RedundantWithIndex` when the method has no receiver. ([@earlopain][]) * [#12775](https://github.com/rubocop/rubocop/pull/12775): Fix an error for `Lint/UselessTimes` when no block is present. ([@earlopain][]) * [#12772](https://github.com/rubocop/rubocop/pull/12772): Fix an error for `Style/ClassVars` when calling `class_variable_set` without arguments. ([@earlopain][]) * [#12773](https://github.com/rubocop/rubocop/pull/12773): Fix an error for `Style/For` with `EnforcedStyle: for` when no receiver. ([@earlopain][]) * [#12765](https://github.com/rubocop/rubocop/pull/12765): Fix an error for `Layout/MultilineMethodCallIndentation` with safe navigation and assignment method. ([@earlopain][]) * [#12703](https://github.com/rubocop/rubocop/issues/12703): Fix an error for `Lint/MixedCaseRange` with invalid byte sequence in UTF-8. ([@earlopain][]) * [#12755](https://github.com/rubocop/rubocop/pull/12755): Fix an exception for `RedundantCurrentDirectoryInPath` in case of `require_relative` without arguments. ([@viralpraxis][]) * [#12710](https://github.com/rubocop/rubocop/issues/12710): Fix a false negative for `Layout/EmptyLineAfterMagicComment` when the file is comments only. ([@earlopain][]) * [#12758](https://github.com/rubocop/rubocop/issues/12758): Fix false positives for `Layout/RedundantLineBreak` when using `&&` or `||` after a backslash newline. ([@koic][]) * [#12763](https://github.com/rubocop/rubocop/pull/12763): Fix an infinite loop for `Style/MultilineMethodSignature` when there is a newline directly after the def keyword. ([@earlopain][]) * [#12774](https://github.com/rubocop/rubocop/pull/12774): Fix an infinite loop for `Style/RaiseArgs` with `EnforcedStyle: compact` when passing more than 2 arguments to `raise`. ([@earlopain][]) * [#12663](https://github.com/rubocop/rubocop/issues/12663): Fix `Lint/Syntax` getting disabled by `rubocop:disable Lint/Syntax`. ([@earlopain][]) * [#12756](https://github.com/rubocop/rubocop/pull/12756): Only parse target Ruby from gemspec if array elements are strings. ([@davidrunger][]) [#]## Changes * [#12730](https://github.com/rubocop/rubocop/pull/12730): Skip `LineLength` phase on `--auto-gen-only-exclude`. ([@sambostock][]) [#]# 1.62.0 (2024-03-06) [#]## New features * [#12600](https://github.com/rubocop/rubocop/issues/12600): Support Prism as a Ruby parser (experimental). ([@koic][]) * [#12725](https://github.com/rubocop/rubocop/pull/12725): Support `TargetRubyVersion 3.4` (experimental). ([@koic][]) [#]## Bug fixes * [#12746](https://github.com/rubocop/rubocop/pull/12746): Fix a false positive for `Lint/ToEnumArguments` when enumerator is created for another method in no arguments method definition. ([@koic][]) * [#12726](https://github.com/rubocop/rubocop/issues/12726): Fix a false positive for `Style/RedundantLineContinuation` when using line concatenation and calling a method with keyword arguments without parentheses. ([@koic][]) * [#12738](https://github.com/rubocop/rubocop/issues/12738): Fix an error for `Style/Encoding` when magic encoding with mixed case present. ([@koic][]) * [#12732](https://github.com/rubocop/rubocop/pull/12732): Fix error determining target Ruby when gemspec `required_ruby_version` is read from another file. ([@davidrunger][]) * [#12736](https://github.com/rubocop/rubocop/issues/12736): Fix invalid autocorrect in `Layout/SpaceInsideHashLiteralBraces`. ([@bquorning][]) * [#12667](https://github.com/rubocop/rubocop/issues/12667): Don't load excluded configuration. ([@jonas054][]) [#]# 1.61.0 (2024-02-29) [#]## New features * [#12682](https://github.com/rubocop/rubocop/issues/12682): Add `--editor-mode` CLI option. ([@koic][]) * [#12657](https://github.com/rubocop/rubocop/pull/12657): Support `AutoCorrect: contextual` option for LSP. ([@koic][]) * [#12273](https://github.com/rubocop/rubocop/issues/12273): Make `OffenseCountFormatter` display autocorrection information. ([@koic][]) * [#12679](https://github.com/rubocop/rubocop/pull/12679): Publish `RuboCop::LSP.enable` API to enable LSP mode. ([@koic][]) * [#12699](https://github.com/rubocop/rubocop/issues/12699): Support searching for `.rubocop.yml` and `rubocop/config.yml` in compliance with dot-config. ([@koic][]) [#]## Bug fixes * [#12720](https://github.com/rubocop/rubocop/issues/12720): Fix a false positive for `Style/ArgumentsForwarding` when using block arg forwarding to within block with Ruby 3.3.0. ([@koic][]) * [#12714](https://github.com/rubocop/rubocop/issues/12714): Fix an error for `Gemspec/RequiredRubyVersion` when `required_ruby_version` is specified with `Gem::Requirement.new` and is higher than `TargetRubyVersion`. ([@koic][]) * [#12690](https://github.com/rubocop/rubocop/issues/12690): Fix an error for `Style/CaseLikeIf` when using `==` with literal and using ternary operator. ([@koic][]) * [#12668](https://github.com/rubocop/rubocop/issues/12668): Fix an incorrect autocorrect for `Lint/EmptyConditionalBody` when missing `if` body with conditional `else` body. ([@koic][]) * [#12683](https://github.com/rubocop/rubocop/issues/12683): Fix an incorrect autocorrect for `Style/MapCompactWithConditionalBlock` when using guard clause with `next` implicitly nil. ([@koic][]) * [#12693](https://github.com/rubocop/rubocop/issues/12693): Fix an incorrect autocorrect for `Style/ObjectThen` when using `yield_self` without receiver. ([@koic][]) * [#12646](https://github.com/rubocop/rubocop/issues/12646): Fix `--auto-gen-config` bug for `Layout/SpaceBeforeBlockBraces`. ([@jonas054][]) * [#12717](https://github.com/rubocop/rubocop/issues/12717): Fix regexp for inline disable comments in `Style/CommentedKeyword`. ([@jonas054][]) * [#12695](https://github.com/rubocop/rubocop/issues/12695): Fix bug in `Include` from inherited file in a parent directory. ([@jonas054][]) * [#12656](https://github.com/rubocop/rubocop/pull/12656): Fix an error for `Layout/RedundantLineBreak` when using index access call chained on multiline hash literal. ([@koic][]) * [#12691](https://github.com/rubocop/rubocop/issues/12691): Fix an error for `Style/MultilineTernaryOperator` when nesting multiline ternary operators. ([@koic][]) * [#12707](https://github.com/rubocop/rubocop/pull/12707): Fix false negative for `Style/RedundantAssignment` when using pattern matching. ([@koic][]) * [#12674](https://github.com/rubocop/rubocop/pull/12674): Fix false negatives for `Style/RedundantReturn` when using pattern matching. ([@koic][]) * [#12673](https://github.com/rubocop/rubocop/pull/12673): Fix false negatives for `Lint/RedundantSafeNavigation` when using safe navigation operator for literal receiver. ([@koic][]) * [#12719](https://github.com/rubocop/rubocop/pull/12719): Fix false negatives for `Style/ArgumentsForwarding` when using forwardable block arguments with Ruby 3.2+. ([@koic][]) * [#12687](https://github.com/rubocop/rubocop/issues/12687): Fix a false positive for `Lint/Void` when `each` block with conditional expressions that has multiple statements. ([@koic][]) * [#12649](https://github.com/rubocop/rubocop/issues/12649): Fix false positives for `Style/InverseMethods` when using relational comparison operator with safe navigation. ([@koic][]) * [#12711](https://github.com/rubocop/rubocop/pull/12711): Handle implicit receivers in `Style/InvertibleUnlessCondition`. ([@sambostock][]) * [#12648](https://github.com/rubocop/rubocop/pull/12648): Fix numblock regressions in `omit_parentheses` `Style/MethodCallWithArgsParentheses`. ([@gsamokovarov][]) [#]## Changes * [#12641](https://github.com/rubocop/rubocop/pull/12641): Make error message clearer when the namespace is incorrect. ([@maruth-stripe][]) * [#12637](https://github.com/rubocop/rubocop/pull/12637): Mark `Style/RaiseArgs` as unsafe. ([@r7kamura][]) * [#12645](https://github.com/rubocop/rubocop/pull/12645): Change source order for target ruby to check gemspec after RuboCop configuration. ([@jenshenny][]) * Thu Jan 25 2024 Mykola Krachkovsky <w01dnick@gmail.com> - updated to version 1.60.2 [#]# 1.60.2 (2024-01-24) [#]## Bug fixes * [#12627](https://github.com/rubocop/rubocop/issues/12627): Fix a false positive for `Layout/RedundantLineBreak` when using index access call chained on multiple lines with backslash. ([@koic][]) * [#12626](https://github.com/rubocop/rubocop/pull/12626): Fix a false positive for `Style/ArgumentsForwarding` when naming a block argument `&`. ([@koic][]) * [#12635](https://github.com/rubocop/rubocop/pull/12635): Fix a false positive for `Style/HashEachMethods` when both arguments are unused. ([@earlopain][]) * [#12636](https://github.com/rubocop/rubocop/pull/12636): Fix an error for `Style/HashEachMethods` when a block with both parameters has no body. ([@earlopain][]) * [#12638](https://github.com/rubocop/rubocop/issues/12638): Fix an `Errno::ENOENT` error when using server mode. ([@koic][]) * [#12628](https://github.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][]) * [#12642](https://github.com/rubocop/rubocop/pull/12642): Fix false positives for `Style/HashEachMethods` when using array converter method. ([@koic][]) * [#12632](https://github.com/rubocop/rubocop/issues/12632): Fix an infinite loop error when `EnforcedStyle: explicit` of `Naming/BlockForwarding` with `Style/ArgumentsForwarding`. ([@koic][]) [#]# 1.60.1 (2024-01-17) [#]## Bug fixes * [#12625](https://github.com/rubocop/rubocop/pull/12625): Fix an error when server cache dir has read-only file system. ([@Strzesia][]) * [#12618](https://github.com/rubocop/rubocop/issues/12618): Fix false positives for `Style/ArgumentsForwarding` when using block argument forwarding with other arguments. ([@koic][]) * [#12614](https://github.com/rubocop/rubocop/issues/12614): Fix false positiveis for `Style/RedundantParentheses` when parentheses in control flow keyword with multiline style argument. ([@koic][]) [#]## Changes * [#12617](https://github.com/rubocop/rubocop/issues/12617): Make `Style/CollectionCompact` aware of `grep_v` with nil. ([@koic][]) [#]# 1.60.0 (2024-01-15) [#]## Bug fixes * [#12603](https://github.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][]) * [#12549](https://github.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][]) * [#12610](https://github.com/rubocop/rubocop/pull/12610): Accept parentheses in argument calls with blocks for `Style/MethodCallWithArgsParentheses` `omit_parentheses` style. ([@gsamokovarov][]) * [#12580](https://github.com/rubocop/rubocop/pull/12580): Fix an infinite loop error for `Layout/EndAlignment` when misaligned in singleton class assignments with `EnforcedStyleAlignWith: variable`. ([@koic][]) * [#12548](https://github.com/rubocop/rubocop/issues/12548): Fix an infinite loop error for `Layout/FirstArgumentIndentation` when specifying `EnforcedStyle: with_fixed_indentation` of `Layout/ArrayAlignment`. ([@koic][]) * [#12236](https://github.com/rubocop/rubocop/issues/12236): Fix an error for `Lint/ShadowedArgument` when self assigning to a block argument in `for`. ([@koic][]) * [#12569](https://github.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][]) * [#12437](https://github.com/rubocop/rubocop/issues/12437): Fix an infinite loop error for `EnforcedStyle: omit_parentheses` of `Style/MethodCallWithArgsParentheses` with `Style/SuperWithArgsParentheses`. ([@koic][]) * [#12558](https://github.com/rubocop/rubocop/issues/12558): Fix an incorrect autocorrect for `Style/MapToHash` when using `map.to_h` without receiver. ([@koic][]) * [#12179](https://github.com/rubocop/rubocop/issues/12179): Let `--auto-gen-config` generate `Exclude` when `Max` is overridden. ([@jonas054][]) * [#12574](https://github.com/rubocop/rubocop/issues/12574): Fix bug for unrecognized style in --auto-gen-config. ([@jonas054][]) * [#12542](https://github.com/rubocop/rubocop/issues/12542): Fix false positive for `Lint/MixedRegexpCaptureTypes` when using look-ahead matcher. ([@marocchino][]) * [#12607](https://github.com/rubocop/rubocop/pull/12607): Fix a false positive for `Style/RedundantParentheses` when regexp literal attempts to match against a parenthesized condition. ([@koic][]) * [#12539](https://github.com/rubocop/rubocop/pull/12539): Fix false positives for `Lint/LiteralAssignmentInCondition` when a collection literal contains non-literal elements. ([@koic][]) * [#12571](https://github.com/rubocop/rubocop/issues/12571): Fix false positives for `Naming/BlockForwarding` when using explicit block forwarding in block method. ([@koic][]) * [#12537](https://github.com/rubocop/rubocop/issues/12537): Fix false positives for `Style/RedundantParentheses` when `AllowInMultilineConditions: true` of `Style/ParenthesesAroundCondition`. ([@koic][]) * [#12578](https://github.com/rubocop/rubocop/pull/12578): Fix false positives for `Style/ArgumentsForwarding` when rest arguments forwarding to a method in block. ([@koic][]) * [#12540](https://github.com/rubocop/rubocop/issues/12540): Fix false positives for `Style/HashEachMethods` when rest block argument of `Enumerable#each` method is used. ([@koic][]) * [#12529](https://github.com/rubocop/rubocop/issues/12529): Fix false positives for `Style/ParenthesesAroundCondition`. ([@koic][]) * [#12556](https://github.com/rubocop/rubocop/issues/12556): Fix false positives for `Style/RedundantParentheses` when parentheses are used around a semantic operator in expressions within assignments. ([@koic][]) * [#12541](https://github.com/rubocop/rubocop/pull/12541): Fix false negative in `Style/ArgumentsForwarding` when a block is forwarded but other args aren't. ([@dvandersluis][]) * [#12581](https://github.com/rubocop/rubocop/pull/12581): Handle trailing line continuation in `Layout/LineContinuationLeadingSpace`. ([@eugeneius][]) * [#12601](https://github.com/rubocop/rubocop/issues/12601): Make `Style/EachForSimpleLoop` accept block with no parameters. ([@koic][]) [#]## Changes * [#12535](https://github.com/rubocop/rubocop/pull/12535): Allow --autocorrect with --display-only-fail-level-offenses. ([@naveg][]) * [#12572](https://github.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][]) * [#12453](https://github.com/rubocop/rubocop/issues/12453): Make `Style/RedundantEach` aware of safe navigation operator. ([@koic][]) * [#12233](https://github.com/rubocop/rubocop/issues/12233): Make `Style/SlicingWithRange` aware of redundant and beginless range. ([@koic][]) * [#12388](https://github.com/rubocop/rubocop/pull/12388): Reject additional 'expanded' `EnforcedStyle` options when `--no-auto-gen-enforced-style` is given. ([@kpost][]) * [#12593](https://github.com/rubocop/rubocop/pull/12593): Require Parser 3.3.0.2 or higher. ([@koic][]) * Tue Dec 12 2023 Mykola Krachkovsky <w01dnick@gmail.com> - updated to version 1.59.0 [#]# 1.59.0 (2023-12-11) [#]## New features * [#12518](https://github.com/rubocop/rubocop/pull/12518): Add new `Lint/ItWithoutArgumentsInBlock` cop. ([@koic][]) [#]## Bug fixes * [#12434](https://github.com/rubocop/rubocop/issues/12434): Fix a false positive for `Lint/LiteralAssignmentInCondition` when using interpolated string or xstring literals. ([@koic][]) * [#12435](https://github.com/rubocop/rubocop/issues/12435): Fix a false positive for `Lint/SelfAssignment` when using attribute assignment with method call with arguments. ([@koic][]) * [#12444](https://github.com/rubocop/rubocop/issues/12444): Fix false positive for `Style/HashEachMethods` when receiver literal is not a hash literal. ([@koic][]) * [#12524](https://github.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][]) * [#12505](https://github.com/rubocop/rubocop/pull/12505): Fix a false positive for `Style/RedundantParentheses` when using parenthesized `lambda` or `proc` with `do`...`end` block. ([@koic][]) * [#12442](https://github.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][]) * [#12432](https://github.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][]) * [#12441](https://github.com/rubocop/rubocop/issues/12441): Fix false positives for `Style/HashEachMethods` when using destructed block arguments. ([@koic][]) * [#12436](https://github.com/rubocop/rubocop/issues/12436): Fix false positives for `Style/RedundantParentheses` when a part of range is a parenthesized condition. ([@koic][]) * [#12429](https://github.com/rubocop/rubocop/issues/12429): Fix incorrect autocorrect for `Style/MapToHash` when using dot method calls for `to_h`. ([@koic][]) * [#12488](https://github.com/rubocop/rubocop/issues/12488): Make `Lint/HashCompareByIdentity` aware of safe navigation operator. ([@koic][]) * [#12489](https://github.com/rubocop/rubocop/issues/12489): Make `Lint/NextWithoutAccumulator` aware of safe navigation operator. ([@koic][]) * [#12490](https://github.com/rubocop/rubocop/issues/12490): Make `Lint/NumberConversion` aware of safe navigation operator. ([@koic][]) * [#12491](https://github.com/rubocop/rubocop/issues/12491): Make `Lint/RedundantWithIndex` aware of safe navigation operator. ([@koic][]) * [#12492](https://github.com/rubocop/rubocop/issues/12492): Make `Lint/RedundantWithObject` aware of safe navigation operator. ([@koic][]) * [#12493](https://github.com/rubocop/rubocop/issues/12493): Make `Lint/UnmodifiedReduceAccumulator` aware of safe navigation operator. ([@koic][]) * [#12473](https://github.com/rubocop/rubocop/issues/12473): Make `Style/ClassCheck` aware of safe navigation operator. ([@koic][]) * [#12445](https://github.com/rubocop/rubocop/issues/12445): Make `Style/CollectionCompact` aware of safe navigation operator. ([@koic][]) * [#12474](https://github.com/rubocop/rubocop/issues/12474): Make `Style/ConcatArrayLiterals` aware of safe navigation operator. ([@koic][]) * [#12476](https://github.com/rubocop/rubocop/issues/12476): Make `Style/DateTime` aware of safe navigation operator. ([@koic][]) * [#12479](https://github.com/rubocop/rubocop/issues/12479): Make `Style/EachWithObject` aware of safe navigation operator. ([@koic][]) * [#12446](https://github.com/rubocop/rubocop/issues/12446): Make `Style/HashExcept` aware of safe navigation operator. ([@koic][]) * [#12447](https://github.com/rubocop/rubocop/issues/12447): Make `Style/MapCompactWithConditionalBlock` aware of safe navigation operator. ([@koic][]) * [#12484](https://github.com/rubocop/rubocop/issues/12484): Make `Style/Next` aware of safe navigation operator. ([@koic][]) * [#12486](https://github.com/rubocop/rubocop/issues/12486): Make `Style/RedundantArgument` aware of safe navigation operator. ([@koic][]) * [#12454](https://github.com/rubocop/rubocop/issues/12454): Make `Style/RedundantFetchBlock` aware of safe navigation operator. ([@koic][]) * [#12495](https://github.com/rubocop/rubocop/issues/12495): Make `Layout/RedundantLineBreak` aware of safe navigation operator. ([@koic][]) * [#12455](https://github.com/rubocop/rubocop/issues/12455): Make `Style/RedundantSortBy` aware of safe navigation operator. ([@koic][]) * [#12456](https://github.com/rubocop/rubocop/issues/12456): Make `Style/RedundantSortBy` aware of safe navigation operator. ([@koic][]) * [#12480](https://github.com/rubocop/rubocop/issues/12480): Make `Style/ExactRegexpMatch` aware of safe navigation operator. ([@koic][]) * [#12457](https://github.com/rubocop/rubocop/issues/12457): Make `Style/Sample` aware of safe navigation operator. ([@koic][]) * [#12458](https://github.com/rubocop/rubocop/issues/12458): Make `Style/SelectByRegexp` cops aware of safe navigation operator. ([@koic][]) * [#12494](https://github.com/rubocop/rubocop/issues/12494): Make `Layout/SingleLineBlockChain` aware of safe navigation operator. ([@koic][]) * [#12461](https://github.com/rubocop/rubocop/issues/12461): Make `Style/StringChars` aware of safe navigation operator. ([@koic][]) * [#12468](https://github.com/rubocop/rubocop/issues/12468): Make `Style/Strip` aware of safe navigation operator. ([@koic][]) * [#12469](https://github.com/rubocop/rubocop/issues/12469): Make `Style/UnpackFirst` aware of safe navigation operator. ([@koic][]) [#]## Changes * [#12522](https://github.com/rubocop/rubocop/pull/12522): Make `Style/MethodCallWithoutArgsParentheses` allow the parenthesized `it` method in a block. ([@koic][]) * [#12523](https://github.com/rubocop/rubocop/pull/12523): Make `Style/RedundantSelf` allow the `self.it` method in a block. ([@koic][]) * Tue Dec 05 2023 Mykola Krachkovsky <w01dnick@gmail.com> - updated to version 1.58.0 [#]# 1.58.0 (2023-12-01) [#]## New features * [#12420](https://github.com/rubocop/rubocop/pull/12420): Add new `Lint/LiteralAssignmentInCondition` cop. ([@koic][]) * [#12353](https://github.com/rubocop/rubocop/issues/12353): Add new `Style/SuperWithArgsParentheses` cop. ([@koic][]) * [#12406](https://github.com/rubocop/rubocop/issues/12406): Add new `Style/ArrayFirstLast` cop. ([@fatkodima][]) [#]## Bug fixes * [#12372](https://github.com/rubocop/rubocop/issues/12372): Fix a false negative for `Lint/Debugger` when used within method arguments a `begin`...`end` block. ([@koic][]) * [#12378](https://github.com/rubocop/rubocop/pull/12378): Fix a false negative for `Style/Semicolon` when a semicolon at the beginning of a lambda block. ([@koic][]) * [#12146](https://github.com/rubocop/rubocop/issues/12146): Fix a false positive for `Lint/FloatComparison` when comparing against zero. ([@earlopain][]) * [#12404](https://github.com/rubocop/rubocop/issues/12404): Fix a false positive for `Layout/RescueEnsureAlignment` when aligned `rescue` in `do`-`end` numbered block in a method. ([@koic][]) * [#12374](https://github.com/rubocop/rubocop/issues/12374): Fix a false positive for `Layout/SpaceBeforeSemicolon` when a space between an opening lambda brace and a semicolon. ([@koic][]) * [#12326](https://github.com/rubocop/rubocop/pull/12326): Fix an error for `Style/RedundantDoubleSplatHashBraces` when method call for parenthesized no hash double double splat. ([@koic][]) * [#12361](https://github.com/rubocop/rubocop/issues/12361): Fix an incorrect autocorrect for `Naming/BlockForwarding` and `Style/ArgumentsForwarding` when autocorrection conflicts for anonymous arguments. ([@koic][]) * [#12324](https://github.com/rubocop/rubocop/issues/12324): Fix an error for `Layout/RescueEnsureAlignment` when using `rescue` in `do`...`end` block assigned to object attribute. ([@koic][]) * [#12322](https://github.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][]) * [#12366](https://github.com/rubocop/rubocop/pull/12366): Fix a false negative for `Layout/ExtraSpacing` when a file has exactly two comments. ([@eugeneius][]) * [#12373](https://github.com/rubocop/rubocop/issues/12373): Fix a false negative for `Lint/SymbolConversion` when using string interpolation. ([@earlopain][]) * [#12402](https://github.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][]) * [#12311](https://github.com/rubocop/rubocop/issues/12311): Fix false negatives for `Style/RedundantParentheses` when parentheses around logical operator keywords in method definition. ([@koic][]) * [#12394](https://github.com/rubocop/rubocop/issues/12394): Fix false negatives for `Style/RedundantReturn` when `lambda` (`->`) ending with `return`. ([@koic][]) * [#12377](https://github.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][]) * [#12407](https://github.com/rubocop/rubocop/pull/12407): Fix an incorrect autocorrect for `Style/MapToHash` with `Layout/SingleLineBlockChain`. ([@koic][]) * [#12409](https://github.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][]) * [#12363](https://github.com/rubocop/rubocop/issues/12363): Fix incorrect rendering of HTML character entities in `HTMLFormatter` formatter. ([@koic][]) * [#12424](https://github.com/rubocop/rubocop/issues/12424): Make `Style/HashEachMethods` aware of safe navigation operator. ([@koic][]) * [#12413](https://github.com/rubocop/rubocop/issues/12413): Make `Style/InverseMethods` aware of safe navigation operator. ([@koic][]) * [#12408](https://github.com/rubocop/rubocop/pull/12408): Make `Style/MapToHash` aware of safe navigation operator. ([@koic][]) [#]## Changes * [#12328](https://github.com/rubocop/rubocop/issues/12328): Make `Style/AutoResourceCleanup` aware of `Tempfile.open`. ([@koic][]) * [#12412](https://github.com/rubocop/rubocop/issues/12412): Enhance `Lint/RedundantSafeNavigation` to handle conversion methods with defaults. ([@fatkodima][]) * [#12410](https://github.com/rubocop/rubocop/issues/12410): Enhance `Lint/SelfAssignment` to check attribute assignment and key assignment. ([@fatkodima][]) * [#12370](https://github.com/rubocop/rubocop/issues/12370): Make `Style/HashEachMethods` aware of unused block value. ([@koic][]) * [#12380](https://github.com/rubocop/rubocop/issues/12380): Make `Style/RedundantParentheses` aware of lambda or proc. ([@koic][]) * [#12421](https://github.com/rubocop/rubocop/pull/12421): Make `Style/SelfAssignment` aware of `%`, `^`, `<<`, and `>>` operators. ([@koic][]) * [#12305](https://github.com/rubocop/rubocop/pull/12305): Require `rubocop-ast` version 1.30 or greater. ([@sambostock][]) * [#12337](https://github.com/rubocop/rubocop/issues/12337): Supports `EnforcedStyleForRationalLiterals` option for `Layout/SpaceAroundOperators`. ([@koic][]) * [#12296](https://github.com/rubocop/rubocop/issues/12296): Support `RedundantRestArgumentNames`, `RedundantKeywordRestArgumentNames`, and `RedundantBlockArgumentNames` options for `Style/ArgumentsForwarding`. ([@koic][]) * Wed Nov 01 2023 Mykola Krachkovsky <w01dnick@gmail.com> - updated to version 1.57.2 [#]# 1.57.2 (2023-10-26) [#]## Bug fixes * [#12274](https://github.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][]) * [#12291](https://github.com/rubocop/rubocop/issues/12291): Fix a false positive for `Metrics/ClassLength` when a class with a singleton class definition. ([@koic][]) * [#12293](https://github.com/rubocop/rubocop/issues/12293): Fix a false positive for `Style/RedundantDoubleSplatHashBraces` when using double splat hash braces with `merge` and method chain. ([@koic][]) * [#12298](https://github.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][]) * [#12283](https://github.com/rubocop/rubocop/pull/12283): Fix an error for `Style/SingleLineDoEndBlock` when using single line `do`...`end` with no body. ([@koic][]) * [#12312](https://github.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][]) * [#12307](https://github.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][]) * [#11652](https://github.com/rubocop/rubocop/issues/11652): Make `--auto-gen-config` generate `inherit_from` correctly inside ERB `if`. ([@jonas054][]) * [#12310](https://github.com/rubocop/rubocop/issues/12310): Drop `base64` gem from runtime dependency. ([@koic][]) * [#12300](https://github.com/rubocop/rubocop/issues/12300): Fix an error for `Style/IdenticalConditionalBranches` when `if`...`else` with identical leading lines and using index assign. ([@koic][]) * [#12286](https://github.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][]) * [#12279](https://github.com/rubocop/rubocop/issues/12279): Fix false positives for `Lint/EmptyConditionalBody` when missing 2nd `if` body with a comment. ([@koic][]) * [#12275](https://github.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][]) * [#12284](https://github.com/rubocop/rubocop/issues/12284): Fix false positives for `Style/SingleArgumentDig` when using some anonymous argument syntax. ([@koic][]) * [#12301](https://github.com/rubocop/rubocop/issues/12301): Make `Style/RedundantFilterChain` aware of safe navigation operator. ([@koic][]) * Fri Oct 13 2023 Mykola Krachkovsky <w01dnick@gmail.com> - updated to version 1.57.1 [#]# 1.57.1 (2023-10-13) [#]## Bug fixes * [#12271](https://github.com/rubocop/rubocop/issues/12271): Fix a false positive for `Lint/RedundantSafeNavigation` when using snake case constant receiver. ([@koic][]) * [#12265](https://github.com/rubocop/rubocop/issues/12265): Fix an error for `Layout/MultilineMethodCallIndentation` when usingarithmetic operation with block inside a grouped expression. ([@koic][]) * [#12177](https://github.com/rubocop/rubocop/pull/12177): Fix an incorrect autocorrect for `Style/RedundantException`. ([@ydah][]) * [#12261](https://github.com/rubocop/rubocop/issues/12261): Fix an infinite loop for `Layout/MultilineMethodCallIndentation` when multiline method chain with a block argument and method chain. ([@ydah][]) * [#12263](https://github.com/rubocop/rubocop/issues/12263): Fix false positives for `Style/RedundantDoubleSplatHashBraces` when method call for no hash braced double splat receiver. ([@koic][]) * [#12262](https://github.com/rubocop/rubocop/pull/12262): Fix an incorrect autocorrect for `Style/RedundantDoubleSplatHashBraces` when using double splat hash braces with `merge` method call twice. ([@koic][]) * Wed Oct 11 2023 Mykola Krachkovsky <w01dnick@gmail.com> - updated to version 1.57.0 [#]# 1.57.0 (2023-10-11) [#]## New features * [#12227](https://github.com/rubocop/rubocop/pull/12227): Add new `Style/SingleLineDoEndBlock` cop. ([@koic][]) * [#12246](https://github.com/rubocop/rubocop/pull/12246): Make `Lint/RedundantSafeNavigation` aware of constant receiver. ([@koic][]) * [#12257](https://github.com/rubocop/rubocop/issues/12257): Make `Style/RedundantDoubleSplatHashBraces` aware of `merge` methods. ([@koic][]) [#]## Bug fixes * [#12244](https://github.com/rubocop/rubocop/issues/12244): Fix a false negative for `Lint/Debugger` when using debugger method inside block. ([@koic][]) * [#12231](https://github.com/rubocop/rubocop/issues/12231): Fix a false negative for `Metrics/ModuleLength` when defining a singleton class in a module. ([@koic][]) * [#12249](https://github.com/rubocop/rubocop/issues/12249): Fix a false positive `Style/IdenticalConditionalBranches` when `if`..`else` with identical leading lines and assign to condition value. ([@koic][]) * [#12253](https://github.com/rubocop/rubocop/pull/12253): Fix `Lint/LiteralInInterpolation` to accept an empty string literal interpolated in words literal. ([@knu][]) * [#12198](https://github.com/rubocop/rubocop/issues/12198): Fix an error for flip-flop with beginless or endless ranges. ([@koic][]) * [#12259](https://github.com/rubocop/rubocop/issues/12259): Fix an error for `Lint/MixedCaseRange` when using nested character class in regexp. ([@koic][]) * [#12237](https://github.com/rubocop/rubocop/issues/12237): Fix an error for `Style/NestedTernaryOperator` when a ternary operator has a nested ternary operator within an `if`. ([@koic][]) * [#12228](https://github.com/rubocop/rubocop/pull/12228): Fix false negatives for `Style/MultilineBlockChain` when using multiline block chain with safe navigation operator. ([@koic][]) * [#12247](https://github.com/rubocop/rubocop/pull/12247): Fix false negatives for `Style/RedundantParentheses` when using logical or comparison expressions with redundant parentheses. ([@koic][]) * [#12226](https://github.com/rubocop/rubocop/issues/12226): Fix false positives for `Layout/MultilineMethodCallIndentation` when aligning methods in multiline block chain. ([@koic][]) * [#12076](https://github.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][]) [#]## Changes * [#12235](https://github.com/rubocop/rubocop/pull/12235): Enable auto parallel inspection when config file is specified. ([@aboutNisblee][]) * [#12234](https://github.com/rubocop/rubocop/pull/12234): Enhance `Style/FormatString`'s autocorrection when using known conversion methods whose return value is not an array. ([@koic][]) * [#12128](https://github.com/rubocop/rubocop/issues/12128): Make `Style/GuardClause` aware of `define_method`. ([@koic][]) * [#12126](https://github.com/rubocop/rubocop/pull/12126): Make `Style/RedundantFilterChain` aware of `select.present?` when `ActiveSupportExtensionsEnabled` config is `true`. ([@koic][]) * [#12250](https://github.com/rubocop/rubocop/pull/12250): Mark `Lint/RedundantRequireStatement` as unsafe autocorrect. ([@koic][]) * [#12097](https://github.com/rubocop/rubocop/issues/12097): Mark unsafe autocorrect for `Style/ClassEqualityComparison`. ([@koic][]) * [#12210](https://github.com/rubocop/rubocop/issues/12210): Mark `Style/RedundantFilterChain` as unsafe autocorrect. ([@koic][]) [#]# 1.56.4 (2023-09-28) [#]## Bug fixes * [#12221](https://github.com/rubocop/rubocop/issues/12221): Fix a false positive for `Layout/EmptyLineAfterGuardClause` when using `return` before guard condition with heredoc. ([@koic][]) * [#12213](https://github.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][]) * [#12205](https://github.com/rubocop/rubocop/issues/12205): Fix an error for `Style/OperatorMethodCall` when using `foo bar./ baz`. ([@koic][]) * [#12208](https://github.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][]) * [#12203](https://github.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][]) * [#12206](https://github.com/rubocop/rubocop/pull/12206): Fix an incorrect autocorrect for `Style/OperatorMethodCall` when using `foo./bar`. ([@koic][]) * [#12202](https://github.com/rubocop/rubocop/pull/12202): Fix an incorrect autocorrect for `Style/RedundantConditional` when unless/else with boolean results. ([@ydah][]) * [#12199](https://github.com/rubocop/rubocop/issues/12199): Fix false negatives for `Layout/MultilineMethodCallIndentation` when using safe navigation operator. ([@koic][]) [#]## Changes * [#12197](https://github.com/rubocop/rubocop/pull/12197): Make `Style/CollectionMethods` aware of `collect_concat`. ([@koic][]) * Wed Sep 13 2023 Mykola Krachkovsky <w01dnick@gmail.com> - updated to version 1.56.3 [#]# 1.56.3 (2023-09-11) [#]## Bug fixes * [#12151](https://github.com/rubocop/rubocop/issues/12151): Make `Layout/EmptyLineAfterGuardClause` allow `:nocov:` directive after guard clause. ([@koic][]) * [#12195](https://github.com/rubocop/rubocop/issues/12195): Fix a false negative for `Layout/SpaceAfterNot` when a newline is present after `!`. ([@ymap][]) * [#12192](https://github.com/rubocop/rubocop/issues/12192): Fix a false positive for `Layout/RedundantLineBreak` when using quoted symbols with a single newline. ([@ymap][]) * [#12190](https://github.com/rubocop/rubocop/issues/12190): Fix a false positive for `Layout/SpaceAroundOperators` when aligning operators vertically. ([@koic][]) * [#12171](https://github.com/rubocop/rubocop/issues/12171): Fix a false positive for `Style/ArrayIntersect` when using block argument for `Enumerable#any?`. ([@koic][]) * [#12172](https://github.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][]) * [#12162](https://github.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][]) * [#12182](https://github.com/rubocop/rubocop/issues/12182): Fix an error for `Lint/UselessAssignment` when variables are assigned using chained assignment and remain unreferenced. ([@koic][]) * [#12181](https://github.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][]) * [#12187](https://github.com/rubocop/rubocop/issues/12187): Fix an incorrect autocorrect for `Style/SoleNestedConditional` when comment is in an empty nested `if` body. ([@ymap][]) * [#12183](https://github.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][]) * [#12168](https://github.com/rubocop/rubocop/issues/12168): Fix bug in `Style/ArgumentsForwarding` when there are repeated send nodes. ([@owst][]) * [#12185](https://github.com/rubocop/rubocop/pull/12185): Set target version for `Layout/HeredocIndentation`. ([@tagliala][]) * Sat Sep 02 2023 Mykola Krachkovsky <w01dnick@gmail.com> - updated to version 1.56.2 [#]# 1.56.2 (2023-08-29) [#]## Bug fixes * [#12138](https://github.com/rubocop/rubocop/issues/12138): Fix a false positive for `Layout/LineContinuationLeadingSpace` when a backslash is part of a multiline string literal. ([@ymap][]) * [#12155](https://github.com/rubocop/rubocop/pull/12155): Fix false positive for `Layout/RedundantLineBreak` when using a modified singleton method definition. ([@koic][]) * [#12143](https://github.com/rubocop/rubocop/issues/12143): Fix a false positive for `Lint/ToEnumArguments` when using anonymous keyword arguments forwarding. ([@koic][]) * [#12148](https://github.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][]) * [#12141](https://github.com/rubocop/rubocop/issues/12141): Fix false positive for `Style/ArgumentsForwarding` when method def includes additional kwargs. ([@owst][]) * [#12154](https://github.com/rubocop/rubocop/issues/12154): Fix incorrect `diagnosticProvider` value of LSP. ([@koic][]) [#]# 1.56.1 (2023-08-21) [#]## Bug fixes * [#12136](https://github.com/rubocop/rubocop/pull/12136): Fix a false negative for `Layout/LeadingCommentSpace` when using `#+` or `#-` as they are not RDoc comments. ([@koic][]) * [#12113](https://github.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][]) * [#12134](https://github.com/rubocop/rubocop/issues/12134): Fix a false positive for `Style/MethodCallWithArgsParentheses` when parentheses are used in one-line `in` pattern matching. ([@koic][]) * [#12111](https://github.com/rubocop/rubocop/issues/12111): Fix an error for `Bundler/DuplicatedGroup` group declaration has keyword option. ([@koic][]) * [#12109](https://github.com/rubocop/rubocop/issues/12109): Fix an error for `Style/ArgumentsForwarding` cop when forwarding kwargs/block arg and an additional arg. ([@ydah][]) * [#12117](https://github.com/rubocop/rubocop/issues/12117): Fix a false positive for `Style/ArgumentsForwarding` cop when not always forwarding block. ([@owst][]) * [#12115](https://github.com/rubocop/rubocop/pull/12115): Fix an error for `Style/Lambda` when using numbered parameter with a multiline `->` call. ([@koic][]) * [#12124](https://github.com/rubocop/rubocop/issues/12124): Fix false positives for `Style/RedundantParentheses` when parentheses in `super` or `yield` call with multiline style argument. ([@koic][]) * [#12120](https://github.com/rubocop/rubocop/pull/12120): Fix false positives for `Style/SymbolArray` when `%i` array containing unescaped `[`, `]`, `(`, or `)`. ([@koic][]) * [#12133](https://github.com/rubocop/rubocop/pull/12133): Fix `Style/RedundantSelfAssignmentBranch` to handle heredocs. ([@r7kamura][]) * [#12105](https://github.com/rubocop/rubocop/issues/12105): Fix target ruby `Gem::Requirement` matcher and version parsing to support multiple version constraints. ([@ItsEcholot][]) [#]# 1.56.0 (2023-08-09) [#]## New features * [#12074](https://github.com/rubocop/rubocop/pull/12074): Add new `Bundler/DuplicatedGroup` cop. ([@OwlKing][]) * [#12078](https://github.com/rubocop/rubocop/pull/12078): Make LSP server support `rubocop.formatAutocorrectsAll` execute command. ([@koic][]) [#]## Bug fixes * [#12106](https://github.com/rubocop/rubocop/issues/12106): Fix a false negative for `Style/RedundantReturn` when returning value with guard clause and `return` is used. ([@koic][]) * [#12095](https://github.com/rubocop/rubocop/pull/12095): Fix a false positive for `Style/Alias` when `EncforcedStyle: prefer_alias` and using `alias` with interpolated symbol argument. ([@koic][]) * [#12098](https://github.com/rubocop/rubocop/pull/12098): Fix a false positive for `Style/ClassEqualityComparison` when comparing interpolated string class name for equality. ([@koic][]) * [#12102](https://github.com/rubocop/rubocop/pull/12102): Fix an error for `Style/LambdaCall` when using nested lambda call `x.().()`. ([@koic][]) * [#12099](https://github.com/rubocop/rubocop/pull/12099): Fix an incorrect autocorrect for `Style/Alias` when `EncforcedStyle: prefer_alias_method` and using `alias` with interpolated symbol argument. ([@koic][]) * [#12085](https://github.com/rubocop/rubocop/issues/12085): Fix an error for `Lint/SuppressedException` when `AllowNil: true` is set and endless method definition is used. ([@koic][]) * [#12087](https://github.com/rubocop/rubocop/issues/12087): Fix false positives for `Style/ArgumentsForwarding` with additional args/kwargs in def/send nodes. ([@owst][]) * [#12071](https://github.com/rubocop/rubocop/issues/12071): Fix `Style/SymbolArray` false positives when using square brackets or interpolation in a symbol literal in a percent style array. ([@jasondoc3][]) * [#12061](https://github.com/rubocop/rubocop/issues/12061): Support regex in StringLiteralsInInterpolation. ([@jonas054][]) * [#12091](https://github.com/rubocop/rubocop/pull/12091): With `--fail-level A` ignore non-correctable offenses at :info severity. ([@naveg][]) [#]## Changes * [#12094](https://github.com/rubocop/rubocop/pull/12094): Add `base64` gem to runtime dependency to suppress Ruby 3.3's warning. ([@koic][]) [#]# 1.55.1 (2023-07-31) [#]## Bug fixes * [#12068](https://github.com/rubocop/rubocop/pull/12068): Fix a false positive for `Style/ReturnNilInPredicateMethodDefinition` when the last method argument in method definition is `nil`. ([@koic][]) * [#12082](https://github.com/rubocop/rubocop/issues/12082): Fix an error for `Lint/UselessAssignment` when a variable is assigned and unreferenced in `for` with multiple variables. ([@koic][]) * [#12079](https://github.com/rubocop/rubocop/issues/12079): Fix an error for `Style/MixinGrouping` when mixin method has no arguments. ([@koic][]) * [#11637](https://github.com/rubocop/rubocop/pull/11637): Correct Rubocop for `private_class_method` method documentation. ([@bigzed][]) * [#12070](https://github.com/rubocop/rubocop/pull/12070): Fix false positive in `Style/ArgumentsForwarding` when receiver forwards args/kwargs. ([@owst][]) [#]# 1.55.0 (2023-07-25) [#]## New features * [#11794](https://github.com/rubocop/rubocop/pull/11794): Add support to `Style/ArgumentsForwarding` for anonymous arg/kwarg forwarding in Ruby 3.2. ([@owst][]) * [#12044](https://github.com/rubocop/rubocop/issues/12044): Make LSP server support `layoutMode` option to run layout cops. ([@koic][]) * [#12056](https://github.com/rubocop/rubocop/pull/12056): Make LSP server support `lintMode` option to run lint cops. ([@koic][]) * [#12046](https://github.com/rubocop/rubocop/issues/12046): Make `ReturnNilInPredicateMethodDefinition` aware of `nil` at the end of predicate method definition. ([@koic][]) [#]## Bug fixes * [#12055](https://github.com/rubocop/rubocop/pull/12055): Allow parentheses in single-line match patterns when using the `omit_parentheses` style of `Style/MethodCallWithArgsParentheses`. ([@gsamokovarov][]) * [#12050](https://github.com/rubocop/rubocop/pull/12050): Fix a false positive for `Layout/RedundantLineBreak` when inspecting the `%` form string `%\n\n`. ([@koic][]) * [#12063](https://github.com/rubocop/rubocop/pull/12063): Fix `Style/CombinableLoops` when one of the loops is empty. ([@fatkodima][]) * [#12059](https://github.com/rubocop/rubocop/issues/12059): Fix a false negative for `Style/StringLiteralsInInterpolation` for symbols with interpolation. ([@fatkodima][]) * [#11834](https://github.com/rubocop/rubocop/issues/11834): Fix false positive for when variable in inside conditional branch in nested node. ([@alexeyschepin][]) * [#11802](https://github.com/rubocop/rubocop/issues/11802): Improve handling of `[]` and `()` with percent symbol arrays. ([@jasondoc3][]) * [#12052](https://github.com/rubocop/rubocop/issues/12052): Fix "Subfolders can't include glob special characters". ([@meric426][], [@loveo][]) * [#12062](https://github.com/rubocop/rubocop/pull/12062): Fix `LoadError` when loading RuboCop from a symlinked location on Windows. ([@p0deje][]) [#]## Changes * [#12064](https://github.com/rubocop/rubocop/pull/12064): Make `Style/RedundantArgument` aware of `exit` and `exit!`. ([@koic][]) * [#12015](https://github.com/rubocop/rubocop/issues/12015): Mark `Style/HashConversion` as unsafe autocorrection. ([@koic][]) [#]# 1.54.2 (2023-07-13) [#]## Bug fixes * [#12043](https://github.com/rubocop/rubocop/pull/12043): Fix a false negative for `Layout/ExtraSpacing` when some characters are vertically aligned. ([@koic][]) * [#12040](https://github.com/rubocop/rubocop/pull/12040): Fix a false positive for `Layout/TrailingEmptyLines` to prevent the following incorrect autocorrection when inspecting the `%` form string `%\n\n`. ([@koic][]) * [#1867](https://github.com/rubocop/rubocop/issues/1867): Fix an error when `AllCops:Exclude` is empty in .rubocop.yml. ([@koic][]) * [#12034](https://github.com/rubocop/rubocop/issues/12034): Fix invalid byte sequence in UTF-8 error when using an invalid encoding string. ([@koic][]) * [#12038](https://github.com/rubocop/rubocop/pull/12038): Output the "server restarting" message to stderr. ([@knu][]) [#]# 1.54.1 (2023-07-04) [#]## Bug fixes * [#12024](https://github.com/rubocop/rubocop/issues/12024): Fix a false positive for `Lint/RedundantRegexpQuantifiers` when interpolation is used in a regexp literal. ([@koic][]) * [#12020](https://github.com/rubocop/rubocop/issues/12020): This PR fixes an infinite loop error for `Layout/SpaceAfterComma` with `Layout/SpaceBeforeSemicolon` when autocorrection conflicts. ([@koic][]) * [#12014](https://github.com/rubocop/rubocop/pull/12014): Fix an error for `Lint/UselessAssignment` when part of a multiple assignment is enclosed in parentheses. ([@koic][]) * [#12011](https://github.com/rubocop/rubocop/pull/12011): Fix an error for `Metrics/MethodLength` when using a heredoc in a block without block arguments. ([@koic][]) * [#12010](https://github.com/rubocop/rubocop/pull/12010): Fix false negatives for `Style/RedundantRegexpArgument` when using safe navigation operator. ([@koic][]) [#]# 1.54.0 (2023-07-01) [#]## New features * [#12000](https://github.com/rubocop/rubocop/pull/12000): Support safe or unsafe autocorrect config for LSP. ([@koic][]) [#]## Bug fixes * [#12005](https://github.com/rubocop/rubocop/issues/12005): Fix a false negative for `Lint/Debugger` when using debugger method inside lambda. ([@koic][]) * [#11986](https://github.com/rubocop/rubocop/issues/11986): Fix a false positive for `Lint/MixedCaseRange` when the number of characters at the start or end of range is other than 1. ([@koic][]) * [#11992](https://github.com/rubocop/rubocop/issues/11992): Fix an unexpected `NoMethodError` for built-in language server when an internal error occurs. ([@koic][]) * [#11994](https://github.com/rubocop/rubocop/issues/11994): Fix an error for `Layout/LineEndStringConcatenationIndentation` when inspecting the `%` from string `%\n\n`. ([@koic][]) * [#12007](https://github.com/rubocop/rubocop/issues/12007): Fix an error for `Layout/SpaceAroundOperators` when using unary operator with double colon. ([@koic][]) * [#11996](https://github.com/rubocop/rubocop/issues/11996): Fix an error for `Style/IfWithSemicolon` when without branch bodies. ([@koic][]) * [#12009](https://github.com/rubocop/rubocop/pull/12009): Fix an error for `Style/YodaCondition` when equality check method is used without the first argument. ([@koic][]) * [#11998](https://github.com/rubocop/rubocop/issues/11998): Fix an error when inspecting blank heredoc delimiter. ([@koic][]) * [#11989](https://github.com/rubocop/rubocop/issues/11989): Fix an incorrect autocorrect for `Style/RedundantRegexpArgument` when using unicode chars. ([@koic][]) * [#12001](https://github.com/rubocop/rubocop/issues/12001): Fix code length calculator for method calls with heredoc. ([@fatkodima][]) * [#12002](https://github.com/rubocop/rubocop/pull/12002): Fix `Lint/Void` cop for `__ENCODING__` constant. ([@fatkodima][]) [#]## Changes * [#11983](https://github.com/rubocop/rubocop/pull/11983): Add Ridgepole files to default `Include` list. ([@ydah][]) * [#11738](https://github.com/rubocop/rubocop/issues/11738): Enhances empty_line_between_defs to treat configured macros like defs. ([@catwomey][]) [#]# 1.53.1 (2023-06-26) [#]## Bug fixes * [#11974](https://github.com/rubocop/rubocop/issues/11974): Fix an error for `Style/RedundantCurrentDirectoryInPath` when using string interpolation in `require_relative`. ([@koic][]) * [#11981](https://github.com/rubocop/rubocop/issues/11981): Fix an incorrect autocorrect for `Style/RedundantRegexpArgument` when using double quote and single quote characters. ([@koic][]) * [#11836](https://github.com/rubocop/rubocop/issues/11836): Should not offense single-quoted symbol containing double quotes in `Lint/SymbolConversion` . ([@KessaPassa][]) [#]# 1.53.0 (2023-06-23) [#]## New features * [#11561](https://github.com/rubocop/rubocop/pull/11561): Add new `Lint/MixedCaseRange` cop. ([@rwstauner][]) * [#11565](https://github.com/rubocop/rubocop/pull/11565): Add new `Lint/RedundantRegexpQuantifiers` cop. ([@jaynetics][]) * [#11925](https://github.com/rubocop/rubocop/issues/11925): Add new `Style/RedundantCurrentDirectoryInPath` cop. ([@koic][]) * [#11595](https://github.com/rubocop/rubocop/pull/11595): Add new `Style/RedundantRegexpArgument` cop. ([@koic][]) * [#11967](https://github.com/rubocop/rubocop/pull/11967): Add new `Style/ReturnNilInPredicateMethodDefinition` cop. ([@koic][]) * [#11745](https://github.com/rubocop/rubocop/pull/11745): Add new `Style/YAMLFileRead` cop. ([@koic][]) * [#11926](https://github.com/rubocop/rubocop/pull/11926): Support built-in LSP server. ([@koic][]) [#]## Bug fixes * [#11953](https://github.com/rubocop/rubocop/issues/11953): Fix a false negative for `Lint/DuplicateHashKey` when there is a duplicated constant key in the hash literal. ([@koic][]) * [#11945](https://github.com/rubocop/rubocop/issues/11945): Fix a false negative for `Style/RedundantSelfAssignmentBranch` when using method chaining or arguments in ternary branch. ([@koic][]) * [#11949](https://github.com/rubocop/rubocop/issues/11949): Fix a false positive for `Layout/RedundantLineBreak` when using a line broken string. ([@koic][]) * [#11931](https://github.com/rubocop/rubocop/pull/11931): Fix a false positive for `Lint/RedundantRequireStatement` when using `PP.pp`. ([@koic][]) * [#11946](https://github.com/rubocop/rubocop/pull/11946): Fix an error for `Lint/NumberConversion` when using multiple number conversion methods. ([@koic][]) * [#11972](https://github.com/rubocop/rubocop/issues/11972): Fix an error for `Lint/Void` when `CheckForMethodsWithNoSideEffects: true` and using a method definition. ([@koic][]) * [#11958](https://github.com/rubocop/rubocop/pull/11958): Fix error for `Style/IdenticalConditionalBranches` when using empty parentheses in the `if` branch. ([@koic][]) * [#11962](https://github.com/rubocop/rubocop/issues/11962): Fix an error for `Style/RedundantStringEscape` when an escaped double quote precedes interpolation in a symbol literal. ([@koic][]) * [#11947](https://github.com/rubocop/rubocop/issues/11947): Fix an error for `Style/ConditionalAssignment` with an assignment that uses `if` branch bodies, which include a block. ([@koic][]) * [#11959](https://github.com/rubocop/rubocop/pull/11959): Fix false negatives for `Layout/EmptyLinesAroundExceptionHandlingKeywords` when using Ruby 2.5's `rescue` inside block and Ruby 2.7's numbered block. ([@koic][]) * [#10902](https://github.com/rubocop/rubocop/issues/10902): Fix an error for `Style/RedundantRegexpEscape` string with invalid byte sequence in UTF-8. ([@ydah][]) * [#11562](https://github.com/rubocop/rubocop/pull/11562): Fixed escaped octal handling and detection in `Lint/DuplicateRegexpCharacterClassElement`. ([@rwstauner][]) [#]## Changes * [#11904](https://github.com/rubocop/rubocop/pull/11904): Mark `Layout/ClassStructure` as unsafe to autocorrect. ([@nevans][]) * [#8506](https://github.com/rubocop/rubocop/issues/8506): Add `AllowedParentClasses` config to `Lint/MissingSuper`. ([@iMacTia][]) [#]# 1.52.1 (2023-06-12) [#]## Bug fixes * [#11944](https://github.com/rubocop/rubocop/pull/11944): Fix an incorrect autocorrect for `Style/SoleNestedConditional` with `Style/MethodCallWithArgsParentheses`. ([@koic][]) * [#11930](https://github.com/rubocop/rubocop/pull/11930): Fix exception on `Lint/InheritException` when class definition has non-constant siblings. ([@rafaelfranca][]) * [#11919](https://github.com/rubocop/rubocop/issues/11919): Fix an error for `Lint/UselessAssignment` when a variable is assigned and unreferenced in `for`. ([@koic][]) * [#11928](https://github.com/rubocop/rubocop/pull/11928): Fix an incorrect autocorrect for `Lint/AmbiguousBlockAssociation`. ([@koic][]) * [#11915](https://github.com/rubocop/rubocop/pull/11915): Fix a false positive for `Lint/RedundantSafeNavigation` when `&.` is used for `to_s`, `to_i`, `to_d`, and other coercion methods. ([@lucthev][]) [#]## Changes * [#11942](https://github.com/rubocop/rubocop/pull/11942): Require Parser 3.2.2.3 or higher. ([@koic][]) [#]# 1.52.0 (2023-06-02) [#]## New features * [#11873](https://github.com/rubocop/rubocop/pull/11873): Add `ComparisonsThreshold` config option to `Style/MultipleComparison`. ([@fatkodima][]) * [#11886](https://github.com/rubocop/rubocop/pull/11886): Add new `Style/RedundantArrayConstructor` cop. ([@koic][]) * [#11873](https://github.com/rubocop/rubocop/pull/11873): Add new `Style/RedundantRegexpConstructor` cop. ([@koic][]) * [#11841](https://github.com/rubocop/rubocop/pull/11841): Add new `Style/RedundantFilterChain` cop. ([@fatkodima][]) * [#11908](https://github.com/rubocop/rubocop/issues/11908): Support `AllowedReceivers` for `Style/CollectionMethods`. ([@koic][]) [#]## Bug fixes * [#11890](https://github.com/rubocop/rubocop/pull/11890): Fix a false negative for `Lint/RedundantSafeNavigation` when `&.` is used for `to_d`. ([@koic][]) * [#11880](https://github.com/rubocop/rubocop/issues/11880): Fix a false positive for `Style/ExactRegexpMatch` when using literal with quantifier in regexp. ([@koic][]) * [#11902](https://github.com/rubocop/rubocop/pull/11902): Fix a false positive for `Style/RequireOrder` when single-quoted string and double-quoted string are mixed. ([@koic][]) * [#11879](https://github.com/rubocop/rubocop/pull/11879): Fix a false positive for `Style/SelectByRegexp` when Ruby 2.2 or lower analysis. ([@koic][]) * [#11891](https://github.com/rubocop/rubocop/issues/11891): Fix `Style/AccessorGrouping` to accept macros separated from accessors by space. ([@fatkodima][]) * [#11905](https://github.com/rubocop/rubocop/issues/11905): Fix an error for `Lint/UselessAssignment` when a variable is assigned with rest assignment and unreferenced. ([@koic][]) * [#11899](https://github.com/rubocop/rubocop/issues/11899): Fix an incorrect autocorrect for `Style/SingleLineMethods` when using Ruby 3.0 and `Style/EndlessMethod` is disabled. ([@koic][]) * [#11884](https://github.com/rubocop/rubocop/issues/11884): Make `rubocop -V` display rubocop-factory_bot version when using it. ([@koic][]) * [#11893](https://github.com/rubocop/rubocop/issues/11893): Fix a false positive for `Lint/InheritException` when inheriting `Exception` with omitted namespace. ([@koic][]) * [#11898](https://github.com/rubocop/rubocop/pull/11898): Fix offences in calls inside blocks with braces for `Style/MethodCallWithArgsParentheses` with `omit_parentheses` enforced style. ([@gsamokovarov][]) * [#11857](https://github.com/rubocop/rubocop/pull/11857): Server mode: only read $stdin when -s or --stdin argument provided. ([@naveg][]) [#]# 1.51.0 (2023-05-13) [#]## New features * [#11819](https://github.com/rubocop/rubocop/pull/11819): Add autocorrection for `Lint/AmbiguousBlockAssociation`. ([@r7kamura][]) * [#11597](https://github.com/rubocop/rubocop/issues/11597): Add autocorrection for `Lint/UselessAssignment`. ([@r7kamura][]) * [#11848](https://github.com/rubocop/rubocop/pull/11848): Add autocorrection for `Lint/Void`. ([@r7kamura][]) * [#11851](https://github.com/rubocop/rubocop/pull/11851): Add autocorrection for `Naming/MemoizedInstanceVariableName`. ([@r7kamura][]) * [#11856](https://github.com/rubocop/rubocop/pull/11856): Add autocorrection for `Style/CombinableLoops`. ([@r7kamura][]) * [#11824](https://github.com/rubocop/rubocop/pull/11824): Add autocorrection for `Lint/TopLevelReturnWithArgument`. ([@r7kamura][]) * [#11869](https://github.com/rubocop/rubocop/pull/11869): Add new `Style/ExactRegexpMatch` cop. ([@koic][]) * [#11814](https://github.com/rubocop/rubocop/pull/11814): Make `Style/CollectionCompact` aware of `delete_if`. ([@koic][]) * [#11866](https://github.com/rubocop/rubocop/pull/11866): Make `Style/Semicolon` aware of redundant semicolons in string interpolation braces. ([@koic][]) [#]## Bug fixes * [#11812](https://github.com/rubocop/rubocop/issues/11812): Fix a false negative for `Style/Attr` when using `attr` and method definitions. ([@koic][]) * [#11861](https://github.com/rubocop/rubocop/issues/11861): Fix a false positive for `Layout/SpaceAfterSemicolon` when no space between a semicolon and a closing brace of string interpolation. ([@koic][]) * [#11830](https://github.com/rubocop/rubocop/pull/11830): Fix a false positive for `Lint/IncompatibleIoSelectWithFiberScheduler`. ([@koic][]) * [#11846](https://github.com/rubocop/rubocop/issues/11846): Fix a false positive for `Lint/RedundantStringCoercion` when using `to_s(argument)` in `puts` argument. ([@koic][]) * [#11865](https://github.com/rubocop/rubocop/pull/11865): Fix an error for `Naming/ConstantName` when assigning a constant from an empty branch of `else`. ([@koic][]) * [#11844](https://github.com/rubocop/rubocop/issues/11844): Fix a false positive for `Style/RedundantLineContinuation` when using line concatenation for assigning a return value and without argument parentheses. ([@koic][]) * [#11808](https://github.com/rubocop/rubocop/pull/11808): Fix a false positive for `Style/RegexpLiteral` when using a regexp starts with equal as a method argument. ([@koic][]) * [#11822](https://github.com/rubocop/rubocop/issues/11822): Fix an error for `Layout/SpaceInsideBlockBraces` when a method call with a multiline block is used as an argument. ([@koic][]) * [#11849](https://github.com/rubocop/rubocop/issues/11849): Fix an error for `Style/ConditionalAssignment` when `EnforcedStyle: assign_inside_condition` and using empty `case` condition. ([@koic][]) * [#11967](https://github.com/rubocop/rubocop/pull/11967): Fix error for `Style/IfInsideElse` when a deep nested multiline `if...then...elsif...else...end`. ([@koic][]) * [#11842](https://github.com/rubocop/rubocop/pull/11842): Fix an error for `Style/IfUnlessModifier` when using multiple `if` modifier in the long one line. ([@koic][]) * [#11835](https://github.com/rubocop/rubocop/pull/11835): Fix an error for `Style/RequireOrder` when multiple `require` are not sorted. ([@koic][]) * [#11809](https://github.com/rubocop/rubocop/issues/11809): Fix an incorrect autocorrect for `Naming/RescuedExceptionsVariableName` when exception variable is referenced after `rescue` statement. ([@koic][]) * [#11852](https://github.com/rubocop/rubocop/issues/11852): Fix an incorrect autocorrect for `Style/EvalWithLocation` when using `eval` without line number and with parenthesized method call. ([@koic][]) * [#11862](https://github.com/rubocop/rubocop/issues/11862): Fix an incorrect autocorrect for `Style/GuardClause` when using `raise` in `else` branch in a one-liner with `then`. ([@koic][]) * [#11868](https://github.com/rubocop/rubocop/issues/11868): Fix a false positive for `Style/HashExcept` when method's receiver/argument is not the same as block key argument. ([@fatkodima][]) * [#11858](https://github.com/rubocop/rubocop/pull/11858): Fix false positives when using source comments in blocks. ([@reitermarkus][]) * [#11510](https://github.com/rubocop/rubocop/pull/11510): Fix `Lint/UselessAssignment` false positive when using numbered block parameters. ([@sambostock][]) * [#11872](https://github.com/rubocop/rubocop/pull/11872): Fix `Gemspec/DevelopmentDependencies` not trigger when add_development_dependency has more then one arguments. ([@Bhacaz][]) * [#11820](https://github.com/rubocop/rubocop/issues/11820): Fix `Lint/EmptyConditionalBody` false-positives for commented empty `elsif` body. ([@r7kamura][]) [#]## Changes * [#11859](https://github.com/rubocop/rubocop/pull/11859): Add rubocop-factory_bot to suggested extensions. ([@ydah][]) * [#11791](https://github.com/rubocop/rubocop/pull/11791): **(Breaking)** Drop runtime support for Ruby 2.6 and JRuby 9.3 (CRuby 2.6 compatible). ([@koic][]) * [#11826](https://github.com/rubocop/rubocop/pull/11826): Exclude `**/*.jb` from `Lint/TopLevelReturnWithArgument`. ([@r7kamura][]) * [#11871](https://github.com/rubocop/rubocop/pull/11871): Mark `Style/DataInheritance` as unsafe autocorrect, `Style/OpenStructUse` as unsafe, and `Security/CompoundHash` as unsafe. ([@koic][]) [#]# 1.50.2 (2023-04-17) [#]## Bug fixes * [#11799](https://github.com/rubocop/rubocop/pull/11799): Fix a false positive for `Style/CollectionCompact` when using `reject` on hash to reject nils in Ruby 2.3 analysis. ([@koic][]) * [#11792](https://github.com/rubocop/rubocop/issues/11792): Fix an error for `Lint/DuplicateMatchPattern` when using hash pattern with `if` guard. ([@koic][]) * [#11800](https://github.com/rubocop/rubocop/issues/11800): Mark `Style/InvertibleUnlessCondition` as unsafe. ([@koic][]) [#]# 1.50.1 (2023-04-12) [#]## Bug fixes * [#11787](https://github.com/rubocop/rubocop/issues/11787): Fix a false positive for `Lint/DuplicateMatchPattern` when repeated `in` patterns but different `if` guard is used. ([@koic][]) * [#11789](https://github.com/rubocop/rubocop/pull/11789): Fix false negatives for `Style/ParallelAssignment` when Ruby 2.7+. ([@koic][]) * [#11783](https://github.com/rubocop/rubocop/issues/11783): Fix a false positive for `Style/RedundantLineContinuation` using line concatenation for assigning a return value and without argument parentheses. ([@koic][]) [#]# 1.50.0 (2023-04-11) [#]## New features * [#11749](https://github.com/rubocop/rubocop/pull/11749): Add new `Lint/DuplicateMatchPattern` cop. ([@koic][]) * [#11773](https://github.com/rubocop/rubocop/pull/11773): Make `Layout/ClassStructure` aware of singleton class. ([@koic][]) * [#11779](https://github.com/rubocop/rubocop/pull/11779): Make `Lint/RedundantStringCoercion` aware of print method arguments. ([@koic][]) * [#11776](https://github.com/rubocop/rubocop/pull/11776): Make `Metrics/ClassLength` aware of singleton class. ([@koic][]) * [#11775](https://github.com/rubocop/rubocop/pull/11775): Make `Style/TrailingBodyOnClass` aware of singleton class. ([@koic][]) [#]## Bug fixes * [#11758](https://github.com/rubocop/rubocop/issues/11758): Fix a false positive for `Style/RedundantLineContinuation` when line continuations for string. ([@koic][]) * [#11754](https://github.com/rubocop/rubocop/pull/11754): Fix a false positive for `Style/RedundantLineContinuation` when using `&&` and `||` with a multiline condition. ([@ydah][]) * [#11765](https://github.com/rubocop/rubocop/issues/11765): Fix an error for `Style/MultilineMethodSignature` when line break after `def` keyword. ([@koic][]) * [#11762](https://github.com/rubocop/rubocop/issues/11762): Fix an incorrect autocorrect for `Style/ClassEqualityComparison` when comparing a variable or return value for equality. ([@koic][]) * [#11752](https://github.com/rubocop/rubocop/pull/11752): Fix a false positive for `Style/RedundantLineContinuation` when using line concatenation and calling a method without parentheses. ([@koic][]) [#]# 1.49.0 (2023-04-03) [#]## New features * [#11122](https://github.com/rubocop/rubocop/issues/11122): Add new `Style/RedundantLineContinuation` cop. ([@ydah][]) * [#11696](https://github.com/rubocop/rubocop/issues/11696): Add new `Style/DataInheritance` cop. ([@ktopolski][]) * [#11746](https://github.com/rubocop/rubocop/pull/11746): Make `Layout/EndAlignment` aware of pattern matching. ([@koic][]) * [#11750](https://github.com/rubocop/rubocop/pull/11750): Make `Metrics/BlockNesting` aware of numbered parameter. ([@koic][]) * [#11699](https://github.com/rubocop/rubocop/issues/11699): Make `Style/ClassEqualityComparison` aware of `Class#to_s` and `Class#inspect` for class equality comparison. ([@koic][]) * [#11737](https://github.com/rubocop/rubocop/pull/11737): Make `Style/MapToHash` and `Style/MapToSet` aware of numbered parameters. ([@koic][]) * [#11732](https://github.com/rubocop/rubocop/issues/11732): Make `Style/MapToHash` and `Style/MapToSet` aware of symbol proc. ([@koic][]) * [#11703](https://github.com/rubocop/rubocop/pull/11703): Make `Naming/InclusiveLanguage` support autocorrection when there is only one suggestion. ([@koic][]) [#]## Bug fixes * [#11730](https://github.com/rubocop/rubocop/issues/11730): Fix an error for `Layout/HashAlignment` when using anonymous keyword rest arguments. ([@koic][]) * [#11704](https://github.com/rubocop/rubocop/issues/11704): Fix a false positive for `Lint/UselessMethodDefinition` when method definition with non access modifier containing only `super` call. ([@koic][]) * [#11723](https://github.com/rubocop/rubocop/issues/11723): Fix a false positive for `Style/IfUnlessModifier` when using one-line pattern matching as a `if` condition. ([@koic][]) * [#11725](https://github.com/rubocop/rubocop/issues/11725): Fix an error when insufficient permissions to server cache dir are granted. ([@koic][]) * [#11715](https://github.com/rubocop/rubocop/issues/11715): Ensure default configuration loads. ([@koic][]) * [#11742](https://github.com/rubocop/rubocop/pull/11742): Fix error handling in bundler standalone mode. ([@composerinteralia][]) * [#11712](https://github.com/rubocop/rubocop/pull/11712): Fix a crash in `Lint/EmptyConditionalBody`. ([@gsamokovarov][]) * [#11641](https://github.com/rubocop/rubocop/issues/11641): Fix a false negative for `Layout/ExtraSpacing` when there are many comments with extra spaces. ([@nobuyo][]) * [#11740](https://github.com/rubocop/rubocop/pull/11740): Fix a false positive for `Lint/NestedMethodDefinition` when nested definition inside `*_eval` and `*_exec` method call with a numblock. ([@ydah][]) * [#11685](https://github.com/rubocop/rubocop/issues/11685): Fix incorrect directive comment insertion when percent array violates `Layout/LineLength` cop. ([@nobuyo][]) * [#11706](https://github.com/rubocop/rubocop/issues/11706): Fix infinite loop when `--disable-uncorrectable` option and there is a multi-line percent array violates `Layout/LineLength`. ([@nobuyo][]) * [#11697](https://github.com/rubocop/rubocop/issues/11697): Fix `Lint/Syntax` behavior when `--only` is not given the cop name. ([@koic][]) * [#11709](https://github.com/rubocop/rubocop/pull/11709): Fix value omission false positive in `Style/MethodCallWithArgsParentheses`. ([@gsamokovarov][]) [#]## Changes * [#11739](https://github.com/rubocop/rubocop/pull/11739): Make `Style/RedundantParentheses` aware of redundant method argument parentheses. ([@koic][]) * [#10766](https://github.com/rubocop/rubocop/issues/10766): Use the path given by `--cache-root` to be the parent for `rubocop_cache` dir like other ways to specify it. ([@nobuyo][]) [#]# 1.48.1 (2023-03-13) [#]## Bug fixes * [#11673](https://github.com/rubocop/rubocop/pull/11673): Fix incorrect `Style/HashSyntax` autocorrection for assignment methods. ([@gsamokovarov][]) * [#11682](https://github.com/rubocop/rubocop/issues/11682): Fix a false positive for `Lint/UselessRescue` when using `Thread#raise` in `rescue` clause. ([@koic][]) * [#11672](https://github.com/rubocop/rubocop/issues/11672): Fix an error for `Layout/BlockEndNewline` when multiline block `}` is not on its own line and it is used as multiple arguments. ([@koic][]) * [#11675](https://github.com/rubocop/rubocop/pull/11675): `Style/AccessorGrouping`: Fix sibling detection for methods with type sigs. ([@issyl0][]) * [#11658](https://github.com/rubocop/rubocop/issues/11658): Fix `Lint/Debugger` should not allow pry. ([@ThHareau][]) * [#11689](https://github.com/rubocop/rubocop/pull/11689): Fix `Lint/Syntax` behavior when `Enabled: false` of `Lint` department. ([@koic][]) * [#11677](https://github.com/rubocop/rubocop/issues/11677): Fix the severity for `Lint/Syntax`. ([@koic][]) * [#11691](https://github.com/rubocop/rubocop/pull/11691): Fix an error for `Gemspec/DependencyVersion` when method called on gem name argument for `add_dependency`. ([@koic][]) [#]# 1.48.0 (2023-03-06) [#]## New features * [#11628](https://github.com/rubocop/rubocop/issues/11628): Add new `Style/DirEmpty` cop. ([@ydah][]) * [#11629](https://github.com/rubocop/rubocop/issues/11629): Add new `Style/FileEmpty` cop. ([@ydah][]) [#]## Bug fixes * [#11654](https://github.com/rubocop/rubocop/pull/11654): Fix a false positive for `Lint/MissingSuper` when no `super` call and when defining some method. ([@koic][]) * [#11661](https://github.com/rubocop/rubocop/pull/11661): Fix an error for `Style/Documentation` when namespace is a variable. ([@koic][]) * [#11647](https://github.com/rubocop/rubocop/pull/11647): Fix an error for `Style/IfWithBooleanLiteralBranches` when using `()` as a condition. ([@koic][]) * [#11646](https://github.com/rubocop/rubocop/pull/11646): Fix an error for `Style/NegatedIfElseCondition` when using `()` as a condition. ([@koic][]) * [#11659](https://github.com/rubocop/rubocop/pull/11659): Fix an incorrect autocorrect for `Lint/OrAssignmentToConstant` when using or-assignment to a constant in method definition. ([@koic][]) * [#11663](https://github.com/rubocop/rubocop/issues/11663): Fix an incorrect autocorrect for `Style/BlockDelimiters` when multi-line blocks to `{` and `}` with arithmetic operation method chain. ([@koic][]) * [#11638](https://github.com/rubocop/rubocop/pull/11638): Fix a false positive for `Lint/UselessAccessModifier` when using same access modifier inside and outside the `included` block. ([@ydah][]) * [#11164](https://github.com/rubocop/rubocop/issues/11164): Suppress server mode message with `-f json`. ([@jasondoc3][]) * [#11643](https://github.com/rubocop/rubocop/pull/11643): Fix incorrect shorthand autocorrections in calls inside parentheses. ([@gsamokovarov][]) * [#11650](https://github.com/rubocop/rubocop/pull/11650): `Style/AccessorGrouping`: Fix detection of Sorbet `sig {}` blocks. ([@issyl0][]) * [#11657](https://github.com/rubocop/rubocop/issues/11657): Use cop name to check if cop inside registry is enabled. Previously, it was able to cause large memory usage during linting. ([@fatkodima][]) [#]## Changes * [#11482](https://github.com/rubocop/rubocop/issues/11482): Avoid comment deletion by `Style/IfUnlessModifier` when the modifier form expression has long comment. ([@nobuyo][]) * [#11649](https://github.com/rubocop/rubocop/issues/11649): Support `MinBranchesCount` config for `Style/CaseLikeIf` cop. ([@fatkodima][]) [#]# 1.47.0 (2023-03-01) [#]## New features * [#11475](https://github.com/rubocop/rubocop/pull/11475): Add autocorrect for hash in `Lint/LiteralInInterpolation`. ([@KessaPassa][]) * [#11584](https://github.com/rubocop/rubocop/pull/11584): Add `Metrics/CollectionLiteralLength` cop. ([@sambostock][]) [#]## Bug fixes * [#11615](https://github.com/rubocop/rubocop/issues/11615): Fix a false negative for `Lint/MissingSuper` when no `super` call with `Class.new` block. ([@koic][]) * [#11615](https://github.com/rubocop/rubocop/issues/11615): Fix a false negative for `Lint/MissingSuper` when using `Class.new` without parent class argument. ([@koic][]) * [#11040](https://github.com/rubocop/rubocop/issues/11040): Fix a false positive for `Style/IfUnlessModifier` when `defined?`'s argument value is undefined. ([@koic][]) * [#11607](https://github.com/rubocop/rubocop/issues/11607): Fix a false positive for `Style/RedundantRegexpEscape` when an escaped hyphen follows after an escaped opening square bracket within a character class. ([@SparLaimor][]) * [#11626](https://github.com/rubocop/rubocop/issues/11626): Fix a false positive for `Style/ZeroLengthPredicate` when using `File.new(path).size.zero?`. ([@koic][]) * [#11620](https://github.com/rubocop/rubocop/pull/11620): Fix an error for `Lint/ConstantResolution` when using `__ENCODING__`. ([@koic][]) * [#11625](https://github.com/rubocop/rubocop/pull/11625): Fix an error for `Lint/EmptyConditionalBody` when missing `if` body and using method call for return value. ([@koic][]) * [#11631](https://github.com/rubocop/rubocop/issues/11631): Fix an incorrect autocorrect for `Style/ArgumentsForwarding` when using arguments forwarding for `.()` call. ([@koic][]) * [#11621](https://github.com/rubocop/rubocop/issues/11621): Fix an incorrect autocorrect for `Layout/ClassStructure` using heredoc inside method. ([@fatkodima][]) * [#3591](https://github.com/rubocop/rubocop/issues/3591): Handle modifier `while` and `until` expressions in `Lint/UselessAssignment`. ([@bfad][]) * [#11202](https://github.com/rubocop/rubocop/issues/11202): Fixed usage of `--only` flag with `--auto-gen-config`. ([@istvanfazakas][]) [#]## Changes * [#11623](https://github.com/rubocop/rubocop/pull/11623): Add rubocop-capybara to suggested extensions and extension doc. ([@ydah][]) [#]# 1.46.0 (2023-02-22) [#]## New features * [#11569](https://github.com/rubocop/rubocop/pull/11569): Support `TargetRubyVersion 3.3` (experimental). ([@koic][]) [#]## Bug fixes * [#11574](https://github.com/rubocop/rubocop/pull/11574): Fix a broken shorthand syntax autocorrection. ([@gsamokovarov][]) * [#11599](https://github.com/rubocop/rubocop/pull/11599): Fix a false positive for `Layout/LineContinuationSpacing` when using percent literals. ([@koic][]) * [#11556](https://github.com/rubocop/rubocop/issues/11556): Fix a false positive for `Lint/Debugger` when `p` is an argument of method call. ([@koic][]) * [#11591](https://github.com/rubocop/rubocop/issues/11591): Fix a false positive for `Lint/ToEnumArguments` when enumerator is not created for `__callee__` and `__callee__` methods. ([@koic][]) * [#11603](https://github.com/rubocop/rubocop/pull/11603): Actually run temporarily enabled cops. ([@tdeo][]) * [#11579](https://github.com/rubocop/rubocop/pull/11579): Fix an error for `Layout/HeredocArgumentClosingParenthesis` when heredoc is a method argument in a parenthesized block argument. ([@koic][]) * [#11576](https://github.com/rubocop/rubocop/pull/11576): Fix an error for `Lint/UselessRescue` when `rescue` does not exception variable and `ensure` has empty body. ([@koic][]) * [#11608](https://github.com/rubocop/rubocop/pull/11608): Fix an error for `Lint/RefinementImportMethods` when using `include` on the top level. ([@koic][]) * [#11589](https://github.com/rubocop/rubocop/pull/11589): Fix an error for `Layout/HeredocArgumentClosingParenthesis` when heredoc is a branch body in a method argument of a parenthesized argument. ([@koic][]) * [#11567](https://github.com/rubocop/rubocop/issues/11567): Fix `Layout/EndAlignment` false negative. ([@j-miyake][]) * [#11582](https://github.com/rubocop/rubocop/issues/11582): Fix checking if token with large offset begins its line. ([@fatkodima][]) * [#11412](https://github.com/rubocop/rubocop/issues/11412): Mark `Style/ArrayIntersect` as unsafe. ([@koic][]) * [#11559](https://github.com/rubocop/rubocop/pull/11559): Fixed false positives and negatives in `Style/RedundantRegexpCharacterClass` when using octal escapes (e.g. "\0"). ([@jaynetics][]) * [#11575](https://github.com/rubocop/rubocop/pull/11575): Fix parentheses in value omissions for multiple assignments. ([@gsamokovarov][]) [#]## Changes * [#11586](https://github.com/rubocop/rubocop/issues/11586): Handle `ruby2_keywords` in `Style/DocumentationMethod` cop. ([@fatkodima][]) * [#11604](https://github.com/rubocop/rubocop/issues/11604): Make `Naming/VariableNumber` to allow `x86_64` CPU architecture name by default. ([@koic][]) * [#11596](https://github.com/rubocop/rubocop/issues/11596): Make `Style/AccessorGrouping` aware of method call before accessor. ([@koic][]) * [#11588](https://github.com/rubocop/rubocop/pull/11588): Optimize `Style/WordArray` complex matrix check. ([@sambostock][]) * [#11573](https://github.com/rubocop/rubocop/pull/11573): Handle hash patterns and pins in `Lint/OutOfRangeRegexpRef` cop. ([@fatkodima][]) * [#11564](https://github.com/rubocop/rubocop/pull/11564): Remove print debug methods from default for `Lint/Debugger`. ([@koic][]) [#]# 1.45.1 (2023-02-08) [#]## Bug fixes * [#11552](https://github.com/rubocop/rubocop/pull/11552): Fix a false positive for `Lint/Debugger` when methods containing different method chains. ([@ydah][]) * [#11548](https://github.com/rubocop/rubocop/pull/11548): Fix an error for `Style/AccessModifierDeclarations` when if a non method definition was included. ([@ydah][]) * [#11554](https://github.com/rubocop/rubocop/issues/11554): Fix an error for `Style/RedundantCondition` when the branches contains empty hash literal argument. ([@koic][]) * [#11549](https://github.com/rubocop/rubocop/issues/11549): Fix an error for third party cops when inheriting `RuboCop::Cop::Cop`. ([@koic][]) [#]# 1.45.0 (2023-02-08) [#]## New features * [#10839](https://github.com/rubocop/rubocop/pull/10839): Add API for 3rd party template support. ([@r7kamura][]) * [#11528](https://github.com/rubocop/rubocop/pull/11528): Add new `Style/RedundantHeredocDelimiterQuotes` cop. ([@koic][]) * [#11188](https://github.com/rubocop/rubocop/issues/11188): Add a `--no-detach` option for `--start-server`. This will start the server process in the foreground, which can be helpful when running within Docker where detaching the process terminates the container. ([@f1sherman][]) * [#11546](https://github.com/rubocop/rubocop/pull/11546): Make `Lint/UselessAccessModifier` aware of Ruby 3.2's `Data.define`. ([@koic][]) * [#11396](https://github.com/rubocop/rubocop/pull/11396): Add ability to profile rubocop execution via `--profile` and `--memory` options. ([@fatkodima][]) [#]## Bug fixes * [#11491](https://github.com/rubocop/rubocop/pull/11491): Fix a crash on `Lint/UselessAssignment`. ([@gsamokovarov][]) * [#11515](https://github.com/rubocop/rubocop/pull/11515): Fix a false negative for `Naming/HeredocDelimiterNaming` when using lowercase. ([@koic][]) * [#11511](https://github.com/rubocop/rubocop/issues/11511): Fix a false negative for `Style/YodaCondition` when using constant. ([@koic][]) * [#11520](https://github.com/rubocop/rubocop/pull/11520): Fix a false negative for `Style/YodaExpression` when using constant. ([@koic][]) * [#11521](https://github.com/rubocop/rubocop/issues/11521): Fix a false positive for `Lint/FormatParameterMismatch` when using `Kernel.format` with the interpolated number of decimal places fields match. ([@koic][]) * [#11545](https://github.com/rubocop/rubocop/pull/11545): Fix the following false positive for `Lint/NestedMethodDefinition` when using numbered parameter. ([@koic][]) * [#11535](https://github.com/rubocop/rubocop/issues/11535): Fix a false positive for `Style/NumberedParametersLimit` when only `_2` or higher numbered parameter is used. ([@koic][]) * [#11508](https://github.com/rubocop/rubocop/issues/11508): Fix a false positive for `Style/OperatorMethodCall` when using multiple arguments for operator method. ([@koic][]) * [#11503](https://github.com/rubocop/rubocop/issues/11503): Fix a false positive for `Style/RedundantCondition` when using method argument with operator. ([@koic][]) * [#11529](https://github.com/rubocop/rubocop/pull/11529): Fix an incorrect autocorrect for `Layout/ClassStructure` when definitions that need to be sorted are defined alternately. ([@ydah][]) * [#11530](https://github.com/rubocop/rubocop/pull/11530): Fix an incorrect autocorrect for `Style/AccessModifierDeclarations` when multiple groupable access modifiers are defined. ([@ydah][]) * [#10910](https://github.com/rubocop/rubocop/pull/10910): Fix an incorrect autocorrect for `Style/MultilineTernaryOperator` when contains a comment. ([@ydah][]) * [#11522](https://github.com/rubocop/rubocop/pull/11522): Don't flag default keyword arguments in `Style/ArgumentsForwarding`. ([@splattael][]) * [#11547](https://github.com/rubocop/rubocop/pull/11547): Fix a false positive for `Lint/NestedMethodDefinition` when using Ruby 3.2's `Data.define`. ([@koic][]) * [#11537](https://github.com/rubocop/rubocop/pull/11537): Fix an infinite loop error for `Layout/ArrayAlignment` when using assigning unbracketed array elements. ([@koic][]) * [#11516](https://github.com/rubocop/rubocop/pull/11516): Fix missing parentheses in shorthand hash syntax as argument calls. ([@gsamokovarov][]) [#]## Changes * [#11504](https://github.com/rubocop/rubocop/issues/11504): Allow `initialize` method in `Style/DocumentationMethod`. ([@koic][]) * [#11541](https://github.com/rubocop/rubocop/pull/11541): Enable autocorrection for `Layout/LineContinuationLeadingSpace`. ([@eugeneius][]) * [#11542](https://github.com/rubocop/rubocop/pull/11542): Mark `Layout/AssignmentIndentation` as safe and `Lint/AssignmentInCondition` as unsafe for autocorrection. ([@eugeneius][]) * [#11517](https://github.com/rubocop/rubocop/issues/11517): Make `Lint/Debugger` aware of `p`, `PP.pp`, and `pp` methods. ([@koic][]) * [#11539](https://github.com/rubocop/rubocop/pull/11539): Remove `bundler` from default `AllowedGems` of `Gemspec/DevelopmentDependencies`. ([@koic][]) [#]# 1.44.1 (2023-01-25) [#]## Bug fixes * [#11492](https://github.com/rubocop/rubocop/issues/11492): Fix an error for `Lint/Void` when configuring `CheckForMethodsWithNoSideEffects: true`. ([@koic][]) * [#11400](https://github.com/rubocop/rubocop/issues/11400): Fix an incorrect autocorrect for `Naming/BlockForwarding` and `Lint/AmbiguousOperator` when autocorrection conflicts for ambiguous splat argument. ([@fatkodima][]) * [#11483](https://github.com/rubocop/rubocop/issues/11483): Fix `Layout/ClosingParenthesisIndentation` for keyword splat arguments. ([@fatkodima][]) * [#11487](https://github.com/rubocop/rubocop/pull/11487): Fix a false positive for `Lint/FormatParameterMismatch` when format string is only interpolated string. ([@ydah][]) * [#11485](https://github.com/rubocop/rubocop/issues/11485): Fix a false positive for `Lint/UselessAssignment` when using numbered block parameter. ([@koic][]) [#]# 1.44.0 (2023-01-23) [#]## New features * [#11410](https://github.com/rubocop/rubocop/issues/11410): Add new `Style/InvertibleUnlessCondition` cop. ([@fatkodima][]) * [#11338](https://github.com/rubocop/rubocop/issues/11338): Add new `Style/ComparableClamp` cop. ([@koic][]) * [#11350](https://github.com/rubocop/rubocop/issues/11350): Make `Lint/DeprecatedClassMethods` aware of deprecated `attr` with boolean 2nd argument. ([@koic][]) * [#11457](https://github.com/rubocop/rubocop/pull/11457): Make `Metrics/BlockNesting` aware of pattern matching. ([@koic][]) * [#11458](https://github.com/rubocop/rubocop/pull/11458): Make `Metrics/CyclomaticComplexity` aware of pattern matching. ([@koic][]) * [#11469](https://github.com/rubocop/rubocop/pull/11469): Add `Gemspec/DevelopmentDependencies` cop. ([@sambostock][]) [#]## Bug fixes * [#11445](https://github.com/rubocop/rubocop/issues/11445): Fix an incorrect autocorrect for `Style/BlockDelimiters` when there is a comment after the closing brace and bracket. ([@koic][]) * [#11428](https://github.com/rubocop/rubocop/pull/11428): Apply value omission exceptions in super invocations. ([@gsamokovarov][]) * [#11420](https://github.com/rubocop/rubocop/issues/11420): Fix a false positive for `Lint/UselessRescue` when using exception variable in `ensure` clause. ([@koic][]) * [#11460](https://github.com/rubocop/rubocop/issues/11460): Fix an error for `Style/OperatorMethodCall` when using `foo.> 42`. ([@koic][]) * [#11456](https://github.com/rubocop/rubocop/pull/11456): Fix value omissions in `yield` invocations. ([@gsamokovarov][]) * [#11467](https://github.com/rubocop/rubocop/issues/11467): Fix a false negative for `Style/MethodCallWithoutArgsParentheses` when calling method on a receiver and assigning to a variable with the same name. ([@koic][]) * [#11430](https://github.com/rubocop/rubocop/issues/11430): Fix an infinite loop error for `Layout/BlockEndNewline` when multiline blocks with newlines before the `; end`. ([@koic][]) * [#11442](https://github.com/rubocop/rubocop/pull/11442): Fix a crash during anonymous rest argument forwarding. ([@gsamokovarov][]) * [#11447](https://github.com/rubocop/rubocop/pull/11447): Fix an incorrect autocorrect for `Style/RedundantDoubleSplatHashBraces` when using nested double splat hash braces. ([@koic][]) * [#11459](https://github.com/rubocop/rubocop/pull/11459): Make `Lint/UselessRuby2Keywords` aware of conditions. ([@splattael][]) * [#11415](https://github.com/rubocop/rubocop/issues/11415): Fix a false positive for `Lint/UselessMethodDefinition` when method definition contains rest arguments. ([@koic][]) * [#11418](https://github.com/rubocop/rubocop/issues/11418): Fix a false positive for `Style/MethodCallWithArgsParentheses` when using anonymous rest arguments or anonymous keyword rest arguments. ([@koic][]) * [#11431](https://github.com/rubocop/rubocop/pull/11431): Fix a crash in `Style/HashSyntax`. ([@gsamokovarov][]) * [#11444](https://github.com/rubocop/rubocop/issues/11444): Fix a false positive for `Lint/ShadowingOuterLocalVariable` when using numbered block parameter. ([@koic][]) * [#11477](https://github.com/rubocop/rubocop/issues/11477): Fix an error when using YAML alias with server mode. ([@koic][]) * [#11419](https://github.com/rubocop/rubocop/issues/11419): Fix a false positive for `Lint/RedundantRequireStatement` when using `pretty_inspect`. ([@koic][]) * [#11439](https://github.com/rubocop/rubocop/issues/11439): Fix an incorrect autocorrect for `Style/MinMaxComparison` when using `a < b a : b` with `elsif/else`. ([@ydah][]) * [#11464](https://github.com/rubocop/rubocop/pull/11464): Fix a false negative for `Lint/FormatParameterMismatch` when include interpolated string. ([@ydah][]) * [#11425](https://github.com/rubocop/rubocop/pull/11425): Fix a false negative for `Lint/Void` when using methods that takes blocks. ([@krishanbhasin-shopify][]) * [#11437](https://github.com/rubocop/rubocop/pull/11437): Fix an error for `Style/AccessModifierDeclarations` when access modifier is inlined with a method on the top level. ([@koic][]) * [#11455](https://github.com/rubocop/rubocop/pull/11455): Fix crash with `super value_omission:` followed by a method call. ([@gsamokovarov][]) [#]## Changes * [#11465](https://github.com/rubocop/rubocop/pull/11465): Make `Style/Semicolon` aware of redundant semicolon in block. ([@koic][]) * [#11471](https://github.com/rubocop/rubocop/pull/11471): Change to not output not configured warning when renamed and pending cop. ([@ydah][]) [#]# 1.43.0 (2023-01-10) [#]## New features * [#11359](https://github.com/rubocop/rubocop/issues/11359): Add new `Lint/UselessRescue` cop. ([@fatkodima][]) * [#11389](https://github.com/rubocop/rubocop/pull/11389): Add autocorrect for `Style/MissingElse`. ([@FnControlOption][]) [#]## Bug fixes * [#11386](https://github.com/rubocop/rubocop/pull/11386): Fix a false positive for `Style/OperatorMethodCall` when using anonymous forwarding. ([@koic][]) * [#11409](https://github.com/rubocop/rubocop/issues/11409): Fix an incorrect autocorrect for `Style/HashSyntax` when using hash value omission and `EnforcedStyle: no_mixed_keys`. ([@koic][]) * [#11405](https://github.com/rubocop/rubocop/issues/11405): Fix undefined method `range_between' for `Style/WhileUntilModifier`. ([@such][]) * [#11374](https://github.com/rubocop/rubocop/pull/11374): Fix an error for `Style/StringHashKeys` when using invalid symbol in encoding UTF-8 as keys. ([@koic][]) * [#11392](https://github.com/rubocop/rubocop/pull/11392): Fix an incorrect autocorrect for `Style/RedundantDoubleSplatHashBraces` using double splat in double splat hash braces. ([@koic][]) * [#8990](https://github.com/rubocop/rubocop/issues/8990): Make `Style/HashEachMethods` aware of built-in `Thread.current`. ([@koic][]) * [#11390](https://github.com/rubocop/rubocop/issues/11390): Fix an incorrect autocorrect for `Style/HashSyntax` when hash first argument key and hash value only are the same which has a method call on the next line. ([@koic][]) * [#11379](https://github.com/rubocop/rubocop/pull/11379): Fix a false negative for `Style/OperatorMethodCall` when using `a.+ b.something`. ([@koic][]) * [#11180](https://github.com/rubocop/rubocop/issues/11180): Fix an error for `Style/RedundantRegexpEscape` when using `%r` to provide regexp expressions. ([@si-lens][]) * [#11403](https://github.com/rubocop/rubocop/pull/11403): Fix bad offense for parenthesised calls in literals for `omit_parentheses` style in `Style/MethodCallWithArgsParentheses`. ([@gsamokovarov][]) * [#11407](https://github.com/rubocop/rubocop/pull/11407): Fix an error for `Style/HashSyntax` when expression follows hash key assignment. ([@fatkodima][]) * [#11377](https://github.com/rubocop/rubocop/issues/11377): Fix `Style/OperatorMethodCall` when forwarding arguments. ([@sambostock][]) [#]## Changes * [#11382](https://github.com/rubocop/rubocop/pull/11382): Require `unicode-display_width` 2.4.0 or higher. ([@fatkodima][]) * [#11381](https://github.com/rubocop/rubocop/pull/11381): Require Parser 3.2.0.0 or higher. ([@koic][]) * [#11380](https://github.com/rubocop/rubocop/pull/11380): Disable `Style/YodaExpression` by default. ([@koic][]) * [#11303](https://github.com/rubocop/rubocop/issues/11303): Make `Metrics/ParameterLists` aware of `Struct.new` and `Data.define` blocks. ([@koic][]) [#]# 1.42.0 (2023-01-01) [#]## New features * [#11339](https://github.com/rubocop/rubocop/issues/11339): Add new `Style/MapToSet` cop. ([@koic][]) * [#11341](https://github.com/rubocop/rubocop/pull/11341): Add new `Style/MinMaxComparison` cop. ([@koic][]) * [#9222](https://github.com/rubocop/rubocop/issues/9222): Add new `Style/YodaExpression` cop. ([@fatkodima][]) * [#11261](https://github.com/rubocop/rubocop/pull/11261): Allow inherit_from to accept a glob. ([@alexevanczuk][]) [#]## Bug fixes * [#11204](https://github.com/rubocop/rubocop/issues/11204): Fix a false negative for `Lint/RedundantCopDisableDirective` when using `--except` command line option. ([@koic][]) * [#11369](https://github.com/rubocop/rubocop/pull/11369): Fix an error for `Lint/UselessRuby2Keywords` when using `Proc#ruby2_keywords`. ([@koic][]) * [#11351](https://github.com/rubocop/rubocop/pull/11351): Fix an incorrect autocorrect for `Lint/RegexpAsCondition` when using regexp literal with bang. ([@koic][]) * [#11329](https://github.com/rubocop/rubocop/pull/11329): Accept simple freezed constants in `Layout/ClassStructure` and correctly handle class methods. ([@fatkodima][]) * [#11344](https://github.com/rubocop/rubocop/pull/11344): Fix an error for `Style/GuardClause` when using heredoc as an argument of raise in `then` branch and it does not have `else` branch. ([@koic][]) * [#11335](https://github.com/rubocop/rubocop/pull/11335): Fix an error for `Style/RequireOrder` when only one `require`. ([@koic][]) * [#11348](https://github.com/rubocop/rubocop/pull/11348): Fix an error for `Style/SelectByRegexp` when block body is empty. ([@koic][]) * [#11320](https://github.com/rubocop/rubocop/issues/11320): Fix a false positive for `Lint/RequireParentheses` when assigning ternary operator. ([@koic][]) * [#11361](https://github.com/rubocop/rubocop/issues/11361): Make `Style/MethodDefParentheses` aware of Ruby 3.2's anonymous rest and keyword rest arguments. ([@koic][]) * [#11346](https://github.com/rubocop/rubocop/issues/11346): Fix a false positive for `Style/RedundantStringEscape` when using escaped space in heredoc. ([@koic][]) * [#10858](https://github.com/rubocop/rubocop/issues/10858): Fix `Style/IdenticalConditionalBranches` to ignore identical leading lines when branch has single child and is used in return context. ([@fatkodima][]) * [#11237](https://github.com/rubocop/rubocop/issues/11237): Fix `Layout/CommentIndentation` comment aligned with access modifier indentation when EnforcedStyle is outdent. ([@soroktree][]) * [#11330](https://github.com/rubocop/rubocop/pull/11330): Fix an error for `Style/RequireOrder` when using `require` inside `rescue` body. ([@fatkodima][]) * [#8751](https://github.com/rubocop/rubocop/issues/8751): Accept `super` within ranges for `Layout/SpaceAroundKeyword` cop. ([@fatkodima][]) * [#10194](https://github.com/rubocop/rubocop/issues/10194): Accept bracketed arrays within 2d arrays containing subarrays with complex content for `Style/WordArray` cop. ([@fatkodima][]) [#]## Changes * [#8366](https://github.com/rubocop/rubocop/issues/8366): Ignore private constants in `Layout/ClassStructure` cop. ([@fatkodima][]) * [#11325](https://github.com/rubocop/rubocop/issues/11325): Support autocorrection for percent literals in `Style/ConcatArrayLiterals`. ([@fatkodima][]) * [#11327](https://github.com/rubocop/rubocop/pull/11327): Make `Style/ZeroLengthPredicate` aware of `array.length.zero?`. ([@koic][]) * [#10976](https://github.com/rubocop/rubocop/issues/10976): Support pattern matching for `Lint/OutOfRangeRegexpRef` cop. ([@fatkodima][]) [#]# 1.41.1 (2022-12-22) [#]## Bug fixes * [#11293](https://github.com/rubocop/rubocop/issues/11293): Fix a false negative for `Style/Documentation` when using macro. ([@koic][]) * [#11313](https://github.com/rubocop/rubocop/issues/11313): Fix a false positive for `Naming/BlockForwarding` when the block argument is reassigned. ([@fatkodima][]) * [#11014](https://github.com/rubocop/rubocop/pull/11014): Fix a false positive for `Style/Alias`cop when alias in a method def. ([@ydah][]) * [#11309](https://github.com/rubocop/rubocop/issues/11309): Fix a false positive for `Style/RedundantStringEscape` when using a redundant escaped string interpolation `\#\{foo}`. ([@koic][]) * [#11307](https://github.com/rubocop/rubocop/pull/11307): Fix an error for `Style/GuardClause` when using lvar as an argument of raise in `else` branch. ([@ydah][]) * [#11308](https://github.com/rubocop/rubocop/issues/11308): Fix disabling departments via comment. ([@fatkodima][]) [#]## Changes * [#11312](https://github.com/rubocop/rubocop/issues/11312): Mark `Style/ConcatArrayLiterals` as unsafe. ([@koic][]) [#]# 1.41.0 (2022-12-20) [#]## New features * [#11305](https://github.com/rubocop/rubocop/pull/11305): Add new `Style/RedundantDoubleSplatHashBraces` cop. ([@koic][]) * [#10812](https://github.com/rubocop/rubocop/pull/10812): New AllowMultilineFinalElement option for all LineBreaks cops. ([@Korri][]) * [#11277](https://github.com/rubocop/rubocop/issues/11277): Add new `Style/ConcatArrayLiterals` cop. ([@koic][]) [#]## Bug fixes * [#11255](https://github.com/rubocop/rubocop/pull/11255): Fix an error for `Style/RequireOrder` when `require` with no arguments is put between `require`. ([@ydah][]) * [#11273](https://github.com/rubocop/rubocop/issues/11273): Fix a false positive for `Lint/DuplicateMethods` when there are same `alias_method` name outside `rescue` or `ensure` scopes. ([@koic][]) * [#11267](https://github.com/rubocop/rubocop/issues/11267): Fix an error for `Style/RequireOrder` when modifier conditional is used between `require`. ([@ydah][]) * [#11254](https://github.com/rubocop/rubocop/pull/11254): Fix an error for `Style/RequireOrder` when `require` is a method argument. ([@koic][]) * [#11266](https://github.com/rubocop/rubocop/issues/11266): Fix a false positive for `Style/RedundantConstantBase` when enabling `Lint/ConstantResolution`. ([@koic][]) * [#11296](https://github.com/rubocop/rubocop/pull/11296): Fix an error for `Lint/NonAtomicFileOperation` when use file existence checks line break `unless` by postfix before creating file. ([@koic][]) * [#11284](https://github.com/rubocop/rubocop/issues/11284): Fix an incorrect autocorrect for `Style/WordArray` when assigning `%w()` array. ([@koic][]) * [#11299](https://github.com/rubocop/rubocop/pull/11299): Fix `base_dir` in `TargetFinder#find_files()`. ([@dukaev][]) * [#11250](https://github.com/rubocop/rubocop/pull/11250): Fix an error for `Style/GuardClause` when a method call whose last argument is not a string is in the condition body. ([@ydah][]) * [#11298](https://github.com/rubocop/rubocop/issues/11298): Fix `Lint/SafeNavigationChain` to correctly handle `[]` operator followed by save navigation and method chain. ([@fatkodima][]) * [#11256](https://github.com/rubocop/rubocop/issues/11256): Fix an incorrect autocorrect for `Style/HashSyntax` when without parentheses call expr follows after multiple keyword arguments method call. ([@koic][]) * [#11289](https://github.com/rubocop/rubocop/pull/11289): Correctly detect Rails version when using only parts of the framework, instead of the "rails" gem. ([@bdewater][]) * [#11262](https://github.com/rubocop/rubocop/pull/11262): Fix an error for `Style/IfUnlessModifier` when the body is a method call with hash splat. ([@fatkodima][]) * [#11281](https://github.com/rubocop/rubocop/pull/11281): Fix `NoMethodError` for `Style/Documentation` when a class nested under non-constant values. ([@arika][]) [#]## Changes * [#11306](https://github.com/rubocop/rubocop/pull/11306): Make `Style/IfWithSemicolon` aware of one line without `else` body. ([@koic][]) [#]# 1.40.0 (2022-12-08) [#]## New features * [#11179](https://github.com/rubocop/rubocop/pull/11179): Add `Style/RedundantConstantBase` cop. ([@r7kamura][]) * [#11205](https://github.com/rubocop/rubocop/pull/11205): Add `--[no-]auto-gen-enforced-style` CLI option. ([@ydah][]) * [#11235](https://github.com/rubocop/rubocop/pull/11235): Add `Style/RequireOrder` cop. ([@r7kamura][]) * [#11219](https://github.com/rubocop/rubocop/issues/11219): Make `Style/SelectByRegexp` aware of `!~` method. ([@koic][]) * [#11224](https://github.com/rubocop/rubocop/pull/11224): Add new cop `Style/ArrayIntersect` which replaces `(array1 & array2).any?` with `array1.intersect?(array2)`, method `Array#intersect?` was added in ruby 3.1. ([@KirIgor][]) * [#11211](https://github.com/rubocop/rubocop/pull/11211): Add autocorrect for `Lint/AssignmentInCondition`. ([@r7kamura][]) [#]## Bug fixes * [#5251](https://github.com/rubocop/rubocop/issues/5251): Fix loading of configuration in multi-file edge case. ([@NobodysNightmare][]) * [#11192](https://github.com/rubocop/rubocop/issues/11192): Fix a false positive for `Lint/ParenthesesAsGroupedExpression` when using a block argument. ([@ydah][]) * [#11143](https://github.com/rubocop/rubocop/issues/11143): Fix RedundantCopDisableDirective errors when encountering several department comments. ([@isarcasm][]) * [#11230](https://github.com/rubocop/rubocop/issues/11230): Fix an incorrect autocorrect for `Lint/SafeNavigationChain` when using safe navigation with `[]` operator followed by method chain. ([@koic][]) * [#11181](https://github.com/rubocop/rubocop/pull/11181): Fix pattern to match .tool-versions files that specify multiple runtimes. ([@noelblaschke][]) * [#11239](https://github.com/rubocop/rubocop/issues/11239): Fix an incorrect autocorrect for `Style/GuardClause` when using heredoc as an argument of raise in branch body. ([@koic][]) * [#11182](https://github.com/rubocop/rubocop/issues/11182): Fix an incorrect autocorrect for `EnforcedShorthandSyntax: always` of `Style/HashSyntax` with `Style/IfUnlessModifier` when using Ruby 3.1. ([@koic][]) * [#11184](https://github.com/rubocop/rubocop/issues/11184): Fix an error for `Lint/ShadowingOuterLocalVariable` when a block local variable has same name as an outer `until` scope variable. ([@koic][]) * [#11198](https://github.com/rubocop/rubocop/pull/11198): Fix an error for `Lint/EmptyConditionalBody` when one using line if/;/end without then body. ([@koic][]) * [#11196](https://github.com/rubocop/rubocop/issues/11196): Fix a false positive for `Style/GuardClause` when using `raise` in `then` body of `if..elsif..end` form. ([@koic][]) * [#11213](https://github.com/rubocop/rubocop/pull/11213): Support redundant department disable in scope of `Lint/RedundantCopDisableDirective` cop. ([@isarcasm][]) * [#11200](https://github.com/rubocop/rubocop/issues/11200): Fix an incorrect autocorrect for `Layout/MultilineMethodCallBraceLayout` when using method chain for heredoc argument in multiline literal brace layout. ([@koic][]) * [#11190](https://github.com/rubocop/rubocop/pull/11190): Fix an error for `Style/IfWithSemicolon` when using one line if/;/end without then body. ([@koic][]) * [#11244](https://github.com/rubocop/rubocop/pull/11244): Fix a false negative for `Style/RedundantReturn` when dynamic define methods. ([@ydah][]) [#]## Changes * [#11218](https://github.com/rubocop/rubocop/pull/11218): Update severity of `Bundler/DuplicatedGem`, `Bundler/InsecureProtocolSource`, `Gemspec/DeprecatedAttributeAssignment`, `Gemspec/DuplicatedAssignment`, `Gemspec/RequireMFA`, `Gemspec/RequiredRubyVersion`, and `Gemspec/RubyVersionGlobalsUsage` cops to warning. ([@koic][]) * [#11222](https://github.com/rubocop/rubocop/pull/11222): Make `Style/RedundantArgument` aware of `Array#sum`. ([@koic][]) * [#11070](https://github.com/rubocop/rubocop/issues/11070): Add ability to count method calls as one line to code length related `Metric` cops. ([@fatkodima][]) * [#11226](https://github.com/rubocop/rubocop/pull/11226): Make `Lint/Void` aware of used lambda and proc in void context. ([@koic][]) * [#11206](https://github.com/rubocop/rubocop/pull/11206): Change `Lint/InterpolationCheck` from `Safe: false` to `SafeAutoCorrect: false`. ([@r7kamura][]) * [#11212](https://github.com/rubocop/rubocop/issues/11212): Make `Lint/DeprecatedConstants` aware of deprecated `Struct::Group` and `Struct::Passwd` classes. ([@koic][]) * [#11236](https://github.com/rubocop/rubocop/pull/11236): Remove `respond_to` from default value of `AllowedMethods` for `Style/SymbolProc`. ([@koic][]) * [#11185](https://github.com/rubocop/rubocop/pull/11185): Make `Style/HashSyntax` aware of without parentheses call expr follows. ([@koic][]) * [#11203](https://github.com/rubocop/rubocop/pull/11203): Support multiple arguments on `Lint/SendWithMixinArgument`. ([@r7kamura][]) * [#11229](https://github.com/rubocop/rubocop/pull/11229): Add `cc` to `AllowedNames` of `MethodParameterName` cop. ([@tjschuck][]) * [#11116](https://github.com/rubocop/rubocop/issues/11116): Handle ternaries in `Style/SafeNavigation`. ([@fatkodima][]) * Wed Dec 07 2022 Stephan Kulow <coolo@suse.com> updated to version 1.39.0 no changelog found * Fri Oct 28 2022 Stephan Kulow <coolo@suse.com> updated to version 1.37.1 no changelog found * Mon Oct 10 2022 Stephan Kulow <coolo@suse.com> updated to version 1.36.0 no changelog found * Fri Aug 26 2022 Manuel Schnitzer <mschnitzer@suse.com> - updated to version 1.35.0 [#]# 1.35.1 (2022-08-22) [#]## Bug fixes * [#10926](https://github.com/rubocop/rubocop/issues/10926): Make `Style/SafeNavigation` aware of a redundant nil check. ([@koic][]) * [#10944](https://github.com/rubocop/rubocop/issues/10944): Fix an incorrect autocorrect for `Lint/LiteralInInterpolation` when using `"#{nil}"`. ([@koic][]) * [#10921](https://github.com/rubocop/rubocop/issues/10921): Fix an error when ERB pre-processing of the configuration file. ([@koic][]) * [#10936](https://github.com/rubocop/rubocop/issues/10936): Fix an error for `Lint/NonAtomicFileOperation` when using `FileTest.exist?` as a condition for `elsif`. ([@koic][]) * [#10920](https://github.com/rubocop/rubocop/issues/10920): Fix an incorrect autocorrect for `Style/SoleNestedConditional` when using nested conditional and branch contains a comment. ([@koic][]) * [#10939](https://github.com/rubocop/rubocop/issues/10939): Fix an error for `Style/Next` when line break before condition. ([@koic][]) [#]# 1.35.0 (2022-08-12) [#]## New features * [#9364](https://github.com/rubocop/rubocop/pull/9364): Add `Style/MagicCommentFormat` cop. ([@dvandersluis][], [@mattbearman][]) * [#10776](https://github.com/rubocop/rubocop/pull/10776): New option (`consistent`) for `EnforcedShorthandSyntax` in `Style/HashSyntax` to avoid mixing shorthand and non-shorthand hash keys in ruby 3.1. ([@h-lame][]) [#]## Bug fixes * [#10899](https://github.com/rubocop/rubocop/issues/10899): Fix an error for `Lint/ShadowingOuterLocalVariable` when the same variable name as a block variable is used in return value assignment of `if`. ([@koic][]) * [#10916](https://github.com/rubocop/rubocop/pull/10916): Fix an error when .rubocop.yml is empty. ([@koic][]) * [#10915](https://github.com/rubocop/rubocop/pull/10915): Fix numblock support to `Layout/BlockAlignment`, `Layout/BlockEndNewline`, `Layout/EmptyLinesAroundAccessModifier`, `Layout/EmptyLinesAroundBlockBody`, `Layout/IndentationWidth`, `Layout/LineLength`, `Layout/MultilineBlockLayout`, `Layout/SpaceBeforeBlockBraces`, `Lint/NextWithoutAccumulator`, `Lint/NonDeterministicRequireOrder`, `Lint/RedundantWithIndex`, `Lint/RedundantWithObject`, `Lint/UnreachableLoop`, `Lint/UselessAccessModifier`, `Lint/Void`, `Metrics/AbcSize`, `Metrics/CyclomaticComplexity`, `Style/CollectionMethods`, `Style/CombinableLoops`, `Style/EachWithObject`, `Style/For`, `Style/HashEachMethods`, `Style/InverseMethods`, `Style/MethodCalledOnDoEndBlock`, `Style/MultilineBlockChain`, `Style/Next`, `Style/ObjectThen`, `Style/Proc`, `Style/RedundantBegin`, `Style/RedundantSelf`, `Style/RedundantSortBy` and `Style/TopLevelMethodDefinition`. ([@gsamokovarov][]) * [#10895](https://github.com/rubocop/rubocop/issues/10895): Fix incorrect autocomplete in `Style/RedundantParentheses` when a heredoc is used in an array. ([@dvandersluis][]) * [#10909](https://github.com/rubocop/rubocop/pull/10909): Fix loading behavior on running without `bundle exec`. ([@r7kamura][]) * [#10913](https://github.com/rubocop/rubocop/issues/10913): Make `Style/ArgumentsForwarding` aware of anonymous block argument. ([@koic][]) * [#10911](https://github.com/rubocop/rubocop/pull/10911): Fix Style/ClassMethodsDefinitions for non-self receivers. ([@sambostock][]) [#]## Changes * [#10915](https://github.com/rubocop/rubocop/pull/10915): Depend on rubocop-ast 1.20.1 for numblocks support in #macro?. ([@gsamokovarov][]) [#]# 1.34.1 (2022-08-09) [#]## Bug fixes * [#10893](https://github.com/rubocop/rubocop/issues/10893): Fix an error when running `rubocop` without `bundle exec`. ([@koic][]) [#]# 1.34.0 (2022-08-09) [#]## New features * [#10170](https://github.com/rubocop/rubocop/pull/10170): Add new `InternalAffairs/SingleLineComparison` cop. ([@dvandersluis][]) [#]## Bug fixes * [#10552](https://github.com/rubocop/rubocop/issues/10552): Require RuboCop AST 1.20.0+ to fix a false positive for `Lint/OutOfRangeRegexpRef` when using fixed-encoding regopt. ([@koic][]) * [#10512](https://github.com/rubocop/rubocop/issues/10512): Fix a false positive for `Lint/ShadowingOuterLocalVariable` conditional statement and block variable. ([@ydah][]) * [#10864](https://github.com/rubocop/rubocop/pull/10864): `min` and `max` results in false positives for `Style/SymbolProc` similarly to `select` and `reject`. ([@mollerhoj][]) * [#10846](https://github.com/rubocop/rubocop/issues/10846): Fix a false negative for `Style/DoubleNegation` when there is a hash or an array at return location of method. ([@nobuyo][]) * [#10875](https://github.com/rubocop/rubocop/pull/10875): Fix an obsolete option configuration values are duplicated when generating `.rubocop_todo.yml`. ([@ydah][]) * [#10877](https://github.com/rubocop/rubocop/issues/10877): Fix crash with `Layout/BlockEndNewline` heredoc detection. ([@dvandersluis][]) * [#10859](https://github.com/rubocop/rubocop/issues/10859): Fix `Lint/Debugger` to be able to handle method chains correctly. ([@dvandersluis][]) * [#10883](https://github.com/rubocop/rubocop/issues/10883): Fix `Style/RedundantParentheses` to be able to detect offenses and properly correct when the end parentheses and comma are on their own line. ([@dvandersluis][]) * [#10881](https://github.com/rubocop/rubocop/issues/10881): Fix `Style/SoleNestedConditional` to properly wrap `block` and `csend` nodes when necessary. ([@dvandersluis][]) * [#10867](https://github.com/rubocop/rubocop/pull/10867): Mark autocorrection for `Lint/EmptyConditionalBody` as unsafe. ([@dvandersluis][]) * [#10871](https://github.com/rubocop/rubocop/issues/10871): Restore `RuboCop::ConfigLoader.project_root` as deprecated. ([@koic][]) [#]## Changes * [#10857](https://github.com/rubocop/rubocop/issues/10857): Add `AllowedPatterns` to `Style/NumericLiterals`. ([@dvandersluis][]) * [#10648](https://github.com/rubocop/rubocop/issues/10648): Allow `Style/TernaryParentheses` to take priority over `Style/RedundantParentheses` when parentheses are enforced. ([@dvandersluis][]) * [#10731](https://github.com/rubocop/rubocop/issues/10731): Show tip for suggested extensions that are installed but not loaded in .rubocop.yml. ([@nobuyo][]) * [#10845](https://github.com/rubocop/rubocop/pull/10845): Support Bundler-like namespaced feature on require config. ([@r7kamura][]) * [#10773](https://github.com/rubocop/rubocop/issues/10773): Require Parser 3.1.2.1 or higher. ([@dvandersluis][]) * Thu Aug 04 2022 Stephan Kulow <coolo@suse.com> updated to version 1.33.0 no changelog found * Fri Jul 08 2022 Manuel Schnitzer <mschnitzer@suse.com> - updated to version 1.31.2 [#]## Bug fixes * [#10774](https://github.com/rubocop/rubocop/pull/10774): Fix false negatives in `Style/DocumentationMethod` when a public method is defined after a private one. ([@Darhazer][]) * [#10764](https://github.com/rubocop/rubocop/issues/10764): Fix performance issue for Layout/FirstHashElementIndentation and Layout/FirstArrayElementIndentation. ([@j-miyake][]) * [#10780](https://github.com/rubocop/rubocop/issues/10780): Fix an error when using `rubocop:auto_correct` deprecated custom rake task. ([@koic][]) * [#10786](https://github.com/rubocop/rubocop/issues/10786): Fix a false positive for `Lint/NonAtomicFileOperation` when using complex conditional. ([@koic][]) * [#10785](https://github.com/rubocop/rubocop/pull/10785): Fix a false negative for `Style/RedundantParentheses` when parens around a receiver of a method call with an argument. ([@koic][]) * [#10026](https://github.com/rubocop/rubocop/issues/10026): Fix merging of array parameters in either parent of default config. ([@jonas054][]) * Wed Jun 29 2022 Manuel Schnitzer <mschnitzer@suse.com> - updated to version 1.31.1 [#]## Bug fixes * [#10763](https://github.com/rubocop/rubocop/issues/10763): Fix a false positive for `Layout/LineContinuationSpacing` when using continuation keyword `\` after `__END__`. ([@koic][]) * [#10755](https://github.com/rubocop/rubocop/issues/10755): Fix a false positive for `Lint/LiteralAsCondition` when using a literal in `case-in` condition where the match variable is used in `in` are accepted as a pattern matching. ([@koic][]) * [#10760](https://github.com/rubocop/rubocop/issues/10760): Fix a false positive for `Lint/NonAtomicFileOperation` when using `FileTest.exist?` with `if` condition that has `else` branch. ([@koic][]) * [#10745](https://github.com/rubocop/rubocop/issues/10745): Require JSON 2.3 or higher to fix an incompatible JSON API error. ([@koic][]) * [#10754](https://github.com/rubocop/rubocop/issues/10754): Fix an incorrect autocorrect for `Style/HashExcept` when using a non-literal collection receiver for `include?`. ([@koic][]) * [#10751](https://github.com/rubocop/rubocop/issues/10751): Fix autocorrect for Layout/FirstHashElementIndentation. ([@j-miyake][]) * [#10750](https://github.com/rubocop/rubocop/pull/10750): Recover 7x slow running `rubocop`. ([@koic][]) [#]# 1.31.0 (2022-06-27) [#]## New features * [#10699](https://github.com/rubocop/rubocop/pull/10699): Add new global `ActiveSupportExtensionsEnabled` option. ([@nobuyo][]) * [#10245](https://github.com/rubocop/rubocop/pull/10245): Add specification_version and rubygems_version to `Gemspec/DeprecatedAttributeAssignment`. ([@kaitielth][]) * [#10696](https://github.com/rubocop/rubocop/pull/10696): Add new `Lint/NonAtomicFileOperation` cop. ([@ydah][]) * [#6420](https://github.com/rubocop/rubocop/issues/6420): Add new `Layout/LineContinuationLeadingSpace` cop. ([@bquorning][]) * [#6420](https://github.com/rubocop/rubocop/issues/6420): Add new `Layout/LineContinuationSpacing` cop. ([@bquorning][]) * [#10706](https://github.com/rubocop/rubocop/pull/10706): Integrate rubocop-daemon to add server options. ([@koic][]) * [#10722](https://github.com/rubocop/rubocop/pull/10722): Add new `Lint/ConstantOverwrittenInRescue` cop. ([@ydah][]) [#]## Bug fixes * [#10700](https://github.com/rubocop/rubocop/issues/10700): Update `Style/EmptyMethod` to not correct if the correction would exceed the configuration for `Layout/LineLength`. ([@dvandersluis][]) * [#10698](https://github.com/rubocop/rubocop/issues/10698): Enhance `Style/HashExcept` to support array inclusion checks. ([@nobuyo][]) * [#10734](https://github.com/rubocop/rubocop/issues/10734): Handle `ClobberingError` in `Style/NestedTernaryOperator` when there are multiple nested ternaries. ([@dvandersluis][]) * [#10689](https://github.com/rubocop/rubocop/issues/10689): Fix autocorrect for `Layout/FirstHashElementIndentation` and `Layout/FirstArrayElementIndentation`. ([@j-miyake][]) * Fix `rubocop -V` not displaying the version information for rubocop-graphql, rubocop-md and rubocop-thread_safety. ([@Darhazer][]) * [#10711](https://github.com/rubocop/rubocop/issues/10711): Fix an error for `Style/MultilineTernaryOperator` when the false branch is on a separate line. ([@koic][]) * [#10719](https://github.com/rubocop/rubocop/issues/10719): Fix a false positive for `Lint/ParenthesesAsGroupedExpression` when using safe navigation operator. ([@koic][]) * [#10736](https://github.com/rubocop/rubocop/pull/10736): Fix Layout/SpaceInsideBlockBraces for blocks with numbered arguments. ([@gsamokovarov][]) * [#10749](https://github.com/rubocop/rubocop/pull/10749): Fix Style/BlockDelimiters for blocks with numbered arguments. ([@gsamokovarov][]) * [#10737](https://github.com/rubocop/rubocop/issues/10737): Fix crash in `Style/ConditionalAssignment` with `EnforcedStyle: assign_inside_condition` when op-assigning a variable inside a `resbody`. ([@dvandersluis][]) * [#7900](https://github.com/rubocop/rubocop/issues/7900): Fix `Style/FormatStringToken` false positive with formatted input and `template` style enforced, and add autocorrection. ([@FnControlOption][]) [#]## Changes * [#10730](https://github.com/rubocop/rubocop/pull/10730): Change output timing of GitHubActionsFormatter. ([@r7kamura][]) * [#10709](https://github.com/rubocop/rubocop/pull/10709): Deprecate `rubocop:auto_correct` custom rake task and newly split `rubocop:autocorrect` and `rubocop:autocorrect-all` custom rake tasks. ([@koic][]) * [#9760](https://github.com/rubocop/rubocop/issues/9760): Change RangeHelp#range_with_surrounding_space to allow passing the range as a positional argument. ([@pirj][]) * [#10693](https://github.com/rubocop/rubocop/issues/10693): Add ignore case for `Style/EmptyLinesAroundAttributeAccessor` when there is a comment line on the next line. ([@ydah][]) * [#10245](https://github.com/rubocop/rubocop/pull/10245): **(Breaking)** integrate `Gemspec/DateAssignment` into `Gemspec/DeprecatedAttributeAssignment`. ([@kaitielth][]) * [#10697](https://github.com/rubocop/rubocop/pull/10697): Restore `Lint/UselessElseWithoutRescue` cop. ([@koic][]) * [#10740](https://github.com/rubocop/rubocop/pull/10740): Make `Style/GuardClause` a bit more lenient when the replacement would make the code more verbose. ([@dvandersluis][]) * Mon Jun 13 2022 Manuel Schnitzer <mschnitzer@suse.com> - updated to version 1.30.1 [#]# 1.30.1 (2022-06-06) [#]## Bug fixes * [#10685](https://github.com/rubocop/rubocop/issues/10685): Fix a false positive for `Style/StringConcatenation` when `Mode: conservative` and first operand is not string literal. ([@koic][]) * [#10670](https://github.com/rubocop/rubocop/pull/10670): Fix a false positive for `Style/FetchEnvVar` in the body with assignment method. ([@ydah][]) * [#10671](https://github.com/rubocop/rubocop/issues/10671): Fix an incorrect autocorrect for `EnforcedStyle: with_first_argument` of `Layout/ArgumentAlignment` and `EnforcedColonStyle: separator` of `Layout/HashAlignment`. ([@koic][]) * [#10676](https://github.com/rubocop/rubocop/pull/10676): Fix `--ignore-unrecognized-cops` option always showing empty warning even if there was no problem. ([@nobuyo][]) * [#10674](https://github.com/rubocop/rubocop/issues/10674): Fix a false positive for `Naming/AccessorMethodName` with type of the first argument is other than `arg`. ([@ydah][]) * [#10679](https://github.com/rubocop/rubocop/issues/10679): Fix a false positive for `Style/SafeNavigation` when `TargetRubyVersion: 2.2` or lower. ([@koic][]) [#]## Changes * [#10673](https://github.com/rubocop/rubocop/pull/10673): Update auto-gen-config's comment re auto-correct for `SafeAutoCorrect: false`. ([@ydah][]) [#]# 1.30.0 (2022-05-26) [#]## New features * [#10065](https://github.com/rubocop/rubocop/issues/10065): Add new `Gemspec/DeprecatedAttributeAssignment` cop. ([@koic][]) * [#10608](https://github.com/rubocop/rubocop/pull/10608): Add new `Style/MapCompactWithConditionalBlock` cop. ([@nobuyo][]) * [#10627](https://github.com/rubocop/rubocop/issues/10627): Add command-line option `--ignore-unrecognized-cops` to ignore any unknown cops or departments in .rubocop.yml. ([@nobuyo][]) * [#10620](https://github.com/rubocop/rubocop/pull/10620): Add Sorbet's `typed` sigil as a magic comment. ([@zachahn][]) [#]## Bug fixes * [#10662](https://github.com/rubocop/rubocop/pull/10662): Recover Ruby 2.1 code analysis using `TargetRubyVersion: 2.1`. ([@koic][]) * [#10396](https://github.com/rubocop/rubocop/issues/10396): Fix autocorrect for `Layout/IndentationWidth` to leave module/class body unchanged to avoid infinite autocorrect loop with `Layout/IndentationConsistency` when body trails after class/module definition. ([@johnny-miyake][]) * [#10636](https://github.com/rubocop/rubocop/issues/10636): Fix false positive in `Style/RedundantCondition` when the branches call the same method on different receivers. ([@dvandersluis][]) * [#10651](https://github.com/rubocop/rubocop/issues/10651): Fix autocorrect for `Style/For` when using array with operator methods as collection. ([@nobuyo][]) * [#10629](https://github.com/rubocop/rubocop/pull/10629): Fix default Ruby version from 2.5 to 2.6. ([@koic][]) * [#10661](https://github.com/rubocop/rubocop/pull/10661): Fix a false negative for `Style/SymbolProc` when method has no arguments and `AllowMethodsWithArguments: true`. ([@koic][]) * [#10631](https://github.com/rubocop/rubocop/issues/10631): Fix autocorrect for `Style/RedundantBegin`. ([@johnny-miyake][]) * [#10652](https://github.com/rubocop/rubocop/issues/10652): Fix a false positive for `Style/FetchEnvVar` in conditions. ([@ydah][]) * [#10665](https://github.com/rubocop/rubocop/issues/10665): Fix an incorrect autocorrect for `EnforcedStyle: with_first_argument` of `Layout/ArgumentAlignment` and `EnforcedColonStyle: separator` of `Layout/HashAlignment`. ([@koic][]) * [#10258](https://github.com/rubocop/rubocop/issues/10258): Recover Ruby 2.4 code analysis using `TargetRubyVersion: 2.4`. ([@koic][]) * [#10668](https://github.com/rubocop/rubocop/pull/10668): Recover Ruby 2.0 code analysis using `TargetRubyVersion: 2.0`. ([@koic][]) * [#10644](https://github.com/rubocop/rubocop/pull/10644): Recover Ruby 2.2 code analysis using `TargetRubyVersion: 2.2`. ([@koic][]) * [#10639](https://github.com/rubocop/rubocop/issues/10639): Fix `Style/HashSyntax` to exclude files that violate it with `EnforceHashShorthandSyntax` when running `auto-gen-config`. ([@nobuyo][]) * [#10633](https://github.com/rubocop/rubocop/issues/10633): Fix infinite autocorrection loop in `Style/AccessorGrouping` when combining multiple of the same accessor. ([@dvandersluis][]) * [#10618](https://github.com/rubocop/rubocop/issues/10618): Fix `LineBreakCorrector` so that it won't remove a semicolon in the class/module body. ([@johnny-miyake][]) * [#10646](https://github.com/rubocop/rubocop/issues/10646): Fix an incorrect autocorrect for `Style/SoleNestedConditional` when using `unless` and `&&` without parens in the outer condition and nested modifier condition. ([@koic][]) * [#10659](https://github.com/rubocop/rubocop/issues/10659): Fix automatically appended path for `inherit_from` by `auto-gen-config` is incorrect if specified config file in a subdirectory as an option. ([@nobuyo][]) * [#10640](https://github.com/rubocop/rubocop/pull/10640): Recover Ruby 2.3 code analysis using `TargetRubyVersion: 2.3`. ([@koic][]) * [#10657](https://github.com/rubocop/rubocop/issues/10657): Fix `--auto-gen-config` command option ignores specified config file by option. ([@nobuyo][]) [#]## Changes * [#10095](https://github.com/rubocop/rubocop/issues/10095): Change "auto-correct" to "autocorrect" in arguments, documentation, messages, comments, and specs. ([@chris-hewitt][]) * [#10656](https://github.com/rubocop/rubocop/issues/10656): Mark `Style/RedundantInterpolation` as unsafe autocorrection. ([@koic][]) * [#10616](https://github.com/rubocop/rubocop/pull/10616): Markdown formatter: skip files with no offenses. ([@rickselby][]) * Mon May 16 2022 Manuel Schnitzer <mschnitzer@suse.com> - updated to version 1.29.1 [#] Bug fixes * #10625: Restore the specification to TargetRubyVersion: 2.5. (@koic) * #10569: Fix a false positive for Style/FetchEnvVar when using the same ENV var as if condition in the body. (@koic) * #10614: Make Lint/NonDeterministicRequireOrder aware of require_relative. (@koic) * #10607: Fix autocorrect for Style/RedundantCondition when there are parenthesized method calls in each branch. (@nobuyo) * #10622: Fix a false positive for Style/RaiseArgs when error type class constructor with keyword arguments and message argument. (@koic) * #10610: Fix an error for Naming/InclusiveLanguage string with invalid byte sequence in UTF-8. (@ydah) * #10605: Fix autocorrect for Style/RedundantCondition if argument for method in else branch is hash without braces. (@nobuyo) * Thu Apr 28 2022 Stephan Kulow <coolo@suse.com> updated to version 1.28.2 no changelog found * Thu Mar 10 2022 Manuel Schnitzer <mschnitzer@suse.com> - updated to version 1.26.0 [#]## New features * [#10419](https://github.com/rubocop/rubocop/pull/10419): Add new `Style/NestedFileDirname` cop. ([@koic][]) * [#10433](https://github.com/rubocop/rubocop/pull/10433): Support `TargetRubyVersion 3.2` (experimental). ([@koic][]) [#]## Bug fixes * [#10406](https://github.com/rubocop/rubocop/pull/10406): Fix a false positive for `Lint/InheritException` when inheriting a standard lib exception class that is not a subclass of `StandardError`. ([@koic][]) * [#10421](https://github.com/rubocop/rubocop/issues/10421): Make `Style/DefWithParentheses` aware of endless method definition. ([@koic][]) * [#10401](https://github.com/rubocop/rubocop/issues/10401): Fix a false positive for `Style/HashSyntax` when local variable hash key and hash value are the same. ([@koic][]) * [#10424](https://github.com/rubocop/rubocop/pull/10424): Fix a false positive for `Security/YamlLoad` when using Ruby 3.1+ (Psych 4). ([@koic][]) * [#10446](https://github.com/rubocop/rubocop/pull/10446): Lint/RedundantDirGlobSort unset SafeAutoCorrect. ([@friendlyantz][]) * [#10403](https://github.com/rubocop/rubocop/issues/10403): Fix an error for `Style/StringConcatenation` when string concatenation with multiline heredoc text. ([@koic][]) * [#10432](https://github.com/rubocop/rubocop/pull/10432): Fix an error when using regexp with non-encoding option. ([@koic][]) * [#10415](https://github.com/rubocop/rubocop/issues/10415): Fix an error for `Lint/UselessTimes` when using `1.times` with method chain. ([@koic][]) [#]## Changes * [#10408](https://github.com/rubocop/rubocop/pull/10408): Mark `Lint/InheritException` as unsafe auto-correction. ([@koic][]) * [#10407](https://github.com/rubocop/rubocop/pull/10407): Change `EnforcedStyle` from `runtime_error` to `standard_error` for `Lint/InheritException`. ([@koic][]) * [#10414](https://github.com/rubocop/rubocop/pull/10414): Update auto-gen-config's auto-correction comments to be more clear. ([@maxjacobson][]) * [#10427](https://github.com/rubocop/rubocop/issues/10427): Mark `Style/For` as unsafe auto-correction. ([@issyl0][]) * [#10410](https://github.com/rubocop/rubocop/issues/10410): Improve help string for `--fail-level` CLI option. ([@tejasbubane][]) * Tue Feb 15 2022 Stephan Kulow <coolo@suse.com> updated to version 1.25.1 no changelog found * Tue Jan 25 2022 Stephan Kulow <coolo@suse.com> updated to version 1.25.0 no changelog found * Sat Dec 25 2021 Manuel Schnitzer <mschnitzer@suse.com> - updated to version 1.24.0 [#]## New features * [#10279](https://github.com/rubocop/rubocop/pull/10279): Support Ruby 3.1's anonymous block forwarding syntax. ([@koic][]) * [#10295](https://github.com/rubocop/rubocop/pull/10295): Support Ruby 3.1's hash value omission syntax for `Layout/HashAlignment`. ([@koic][]) * [#10303](https://github.com/rubocop/rubocop/issues/10303): Add `AllowedNumbers` option to `Style/NumericLiterals`. ([@koic][]) * [#10290](https://github.com/rubocop/rubocop/pull/10290): Add new `Naming/BlockForwarding` cop. ([@koic][]) * [#10289](https://github.com/rubocop/rubocop/pull/10289): Add `EnforcedShorthandSyntax` option to `Style/HashSyntax` cop to support Ruby 3.1's hash value omission syntax by default. ([@koic][]) * [#10257](https://github.com/rubocop/rubocop/pull/10257): Add new `Style/MapToHash` cop. ([@dvandersluis][]) * [#10261](https://github.com/rubocop/rubocop/pull/10261): Add new `Style/FileRead` cop. ([@leoarnold][]) * [#10291](https://github.com/rubocop/rubocop/pull/10291): Support Ruby 3.1's hash value omission syntax for `Layout/SpaceAfterColon`. ([@koic][]) * [#10260](https://github.com/rubocop/rubocop/pull/10260): Add new `Style/FileWrite` cop. ([@leoarnold][]) * [#10307](https://github.com/rubocop/rubocop/pull/10307): Support Ruby 2.7's numbered parameter for `Metrics/BlockLength`, `Metrics/ClassLength`, `Metrics/MethodLength`, and `Metrics/ModuleLength` cops. ([@koic][]) * [#7671](https://github.com/rubocop/rubocop/issues/7671): Add cli option `--show-docs-url` to print out documentation url for given cops. ([@HeroProtagonist][]) * [#10308](https://github.com/rubocop/rubocop/pull/10308): Make `Style/CollectionCompact` aware of block pass argument. ([@koic][]) [#]## Bug fixes * [#10285](https://github.com/rubocop/rubocop/issues/10285): Fix an incorrect autocorrect for `Style/SoleNestedConditional` when using nested `if` within `if foo = bar`. ([@koic][]) * [#10309](https://github.com/rubocop/rubocop/pull/10309): Fix a false positive for `Bundler/DuplicatedGem` when a gem conditionally duplicated within multi-statement bodies. ([@fatkodima][]) * [#10300](https://github.com/rubocop/rubocop/issues/10300): Fix an incorrect autocorrect for `Layout/DotPosition` and `Style/RedundantSelf` when auto-correction conflicts. ([@koic][]) * [#10284](https://github.com/rubocop/rubocop/issues/10284): Fix an incorrect autocorrect for `Style/RedundantRegexpCharacterClass` when regexp containing an unescaped `#`. ([@koic][]) * [#10265](https://github.com/rubocop/rubocop/issues/10265): Fix `Style/IfInsideElse` to be able to handle `if-then` nested inside an `else` without clobbering. ([@dvandersluis][]) * [#10297](https://github.com/rubocop/rubocop/issues/10297): Fix a false positive for `Lint/DeprecatedOpenSSLConstant` when building digest using an algorithm string and nested digest constants. ([@koic][]) * [#10282](https://github.com/rubocop/rubocop/issues/10282): Fix an incorrect autocorrect for `Style/EmptyCaseCondition` when using `when ... then` in `case` in a method call. ([@koic][]) * [#10273](https://github.com/rubocop/rubocop/issues/10273): Fix a false positive for `InternalAffairs/UndefinedConfig` to suppress a false wrong namespace warning. ([@koic][]) * [#10305](https://github.com/rubocop/rubocop/issues/10305): Fix an incorrect autocorrect for `Style/HashConversion` when using `Hash[a || b]`. ([@koic][]) * [#10264](https://github.com/rubocop/rubocop/pull/10264): Fix the following incorrect auto-correct for `Style/MethodCallWithArgsParentheses` with `Layout/SpaceBeforeFirstArg`. ([@koic][]) * [#10276](https://github.com/rubocop/rubocop/issues/10276): Fix an incorrect autocorrect for `Style/RedundantInterpolation` when using a method call without parentheses in string interpolation. ([@koic][]) [#]## Changes * [#10253](https://github.com/rubocop/rubocop/pull/10253): Deprecate `RuboCop::Cop::EnforceSuperclass` module. ([@koic][]) * [#10248](https://github.com/rubocop/rubocop/pull/10248): Make `Lint/DeprecatedClassMethods` aware of `ENV.freeze`. ([@koic][]) * [#10269](https://github.com/rubocop/rubocop/issues/10269): Mark `Lint/IncompatibleIoSelectWithFiberScheduler` as unsafe auto-correction. ([@koic][]) * [#8586](https://github.com/rubocop/rubocop/issues/8586): Add configuration parameter `AllowForAlignment` in `Layout/CommentIndentation`. ([@jonas054][]) * Wed Dec 22 2021 Manuel Schnitzer <mschnitzer@suse.com> - updated to version 1.23.0 [#]# 1.23.0 (2021-11-15) [#]## New features * [#10202](https://github.com/rubocop/rubocop/issues/10202): Add new `Lint/UselessRuby2Keywords` cop. ([@dvandersluis][]) * [#10217](https://github.com/rubocop/rubocop/pull/10217): Add new `Style/OpenStructUse` cop. ([@mttkay][]) * [#10243](https://github.com/rubocop/rubocop/pull/10243): Add new `Gemspec/RequireMFA` cop. ([@dvandersluis][]) [#]## Bug fixes * [#10203](https://github.com/rubocop/rubocop/issues/10203): Fix `Style/FormatStringToken` to respect `IgnoredMethods` with nested structures. ([@tejasbubane][]) * [#10242](https://github.com/rubocop/rubocop/pull/10242): Fix `last_column` value for `JSONFormatter`. ([@koic][]) * [#10229](https://github.com/rubocop/rubocop/pull/10229): Fix a false positive for `Style/StringLiterals` when `EnforcedStyle: double_quotes` and using single quoted string with backslash. ([@koic][]) * [#10174](https://github.com/rubocop/rubocop/issues/10174): Fix inherit_from_remote should follow remote includes path starting with `./`. ([@hirasawayuki][]) * [#10234](https://github.com/rubocop/rubocop/pull/10234): Fix an error for `Style/Documentation` when using a cbase class. ([@koic][]) * [#10227](https://github.com/rubocop/rubocop/issues/10227): Fix a false positive for `Style/ParenthesesAroundCondition` when parentheses in multiple expressions separated by semicolon. ([@koic][]) * [#10230](https://github.com/rubocop/rubocop/issues/10230): Fix a false positive for `Lint/AmbiguousRange` when a range is composed of all literals except basic literals. ([@koic][]) [#]## Changes * [#10221](https://github.com/rubocop/rubocop/issues/10221): Update `Naming::FileName` to recognize `Struct`s as classes that satisfy the `ExpectMatchingDefinition` requirement. ([@dvandersluis][]) * [#10220](https://github.com/rubocop/rubocop/issues/10220): Update `Naming/FileName` to make `CheckDefinitionPathHierarchy` roots configurable. ([@grosser][]) * [#10199](https://github.com/rubocop/rubocop/pull/10199): Change `AllowAdjacentOneLineDefs` config parameter of `Layout/EmptyLineBetweenDefs` to `true` by default . ([@koic][]) * [#10236](https://github.com/rubocop/rubocop/pull/10236): Make `Lint/NumberConversion` aware of `to_r`. ([@koic][]) [#]# 1.22.3 (2021-10-27) [#]## Bug fixes * [#10166](https://github.com/rubocop/rubocop/pull/10166): Fix a false positive for `Style/StringLiterals` when using some meta characters (e.g. `'\s'`, `'\z'`) with `EnforcedStyle: double_quotes`. ([@koic][]) * [#10216](https://github.com/rubocop/rubocop/issues/10216): Fix an incorrect autocorrect for `Style/SelectByRegexp` when using `lvar =~ blockvar` in a block. ([@koic][]) * [#10207](https://github.com/rubocop/rubocop/pull/10207): Fix false positive in Layout/DotPosition when the selector is on the same line as the closing bracket of the receiver. ([@mvz][]) [#]## Changes * [#10209](https://github.com/rubocop/rubocop/pull/10209): Make `Lint/DeprecatedConstants` aware of `Net::HTTPServerException`. ([@koic][]) [#]# 1.22.2 (2021-10-22) [#]## Bug fixes * [#10165](https://github.com/rubocop/rubocop/issues/10165): Fix `Layout/DotPosition` false positives when the selector and receiver are on the same line. ([@dvandersluis][]) * [#10171](https://github.com/rubocop/rubocop/pull/10171): Fix `Style/HashTransformKeys` and `Style/HashTransformValues` incorrect auto-correction when inside block body. ([@franzliedke][]) * [#10180](https://github.com/rubocop/rubocop/issues/10180): Fix an error for `Style/SelectByRegexp` when using `match?` without a receiver. ([@koic][]) * [#10193](https://github.com/rubocop/rubocop/pull/10193): Fix an error for `Layout/EmptyLinesAroundExceptionHandlingKeywords` when `begin` and `rescue` are on the same line. ([@koic][]) * [#10185](https://github.com/rubocop/rubocop/issues/10185): Fix a false positive for `Lint/AmbiguousRange` when using `self` in a range literal. ([@koic][]) * [#10200](https://github.com/rubocop/rubocop/issues/10200): Fix an error when inspecting a directory named `*`. ([@koic][]) * [#10149](https://github.com/rubocop/rubocop/pull/10149): Fix `Bundler/GemComment` where it would not detect an offense in some cases when `OnlyFor` is set to `restrictive_version_specifiers`. ([@Drowze][]) [#]## Changes * [#10157](https://github.com/rubocop/rubocop/pull/10157): Updated `Gemspec/RequiredRubyVersion` handle being set to blank values. ([@dvandersluis][]) * [#10176](https://github.com/rubocop/rubocop/pull/10176): Unmark `AutoCorrect: false` from `Security/JSONLoad`. ([@koic][]) * [#10186](https://github.com/rubocop/rubocop/issues/10186): Explicit block arg is not counted for `Metrics/ParameterLists`. ([@koic][]) * Sat Oct 09 2021 Manuel Schnitzer <mschnitzer@suse.com> - updated to version 1.22.1 [#]# 1.22.1 (2021-10-04) [#]## Bug fixes * [#10143](https://github.com/rubocop/rubocop/issues/10143): Fix an error for `Lint/RequireRelativeSelfPath` when using a variable as an argument of `require_relative`. ([@koic][]) * [#10140](https://github.com/rubocop/rubocop/issues/10140): Fix false positive for `Layout/DotPosition` when a heredoc receives a method on the same line as the start sigil in `trailing` style. ([@dvandersluis][]) * [#10148](https://github.com/rubocop/rubocop/issues/10148): Fix `Style/QuotedSymbols` handling escaped characters incorrectly. ([@dvandersluis][]) * [#10145](https://github.com/rubocop/rubocop/issues/10145): Update `Style/SelectByRegexp` to ignore cases where the receiver appears to be a hash. ([@dvandersluis][]) [#]# 1.22.0 (2021-09-29) [#]## New features * [#8431](https://github.com/rubocop/rubocop/issues/8431): Add `Safety` section to documentation for all cops that are `Safe: false` or `SafeAutoCorrect: false`. ([@dvandersluis][]) * [#10132](https://github.com/rubocop/rubocop/issues/10132): Reorganize output of `rubocop --help` for better clarity. ([@dvandersluis][]) * [#10111](https://github.com/rubocop/rubocop/pull/10111): Add new `Style/NumberedParametersLimit` cop. ([@dvandersluis][]) * [#10025](https://github.com/rubocop/rubocop/pull/10025): Changed cop `SpaceInsideParens` to include a `compact` style. ([@itay-grudev][]) * [#10084](https://github.com/rubocop/rubocop/issues/10084): Add new `Lint/RequireRelativeSelfPath` cop. ([@koic][]) * [#8327](https://github.com/rubocop/rubocop/issues/8327): Add new cop `Style/SelectByRegexp`. ([@dvandersluis][]) * [#10100](https://github.com/rubocop/rubocop/pull/10100): Add new `Style/NumberedParameters` cop. ([@Hugo-Hache][]) * [#10103](https://github.com/rubocop/rubocop/issues/10103): Add `AllowHttpProtocol` option to `Bundler/InsecureProtocolSource`. ([@koic][]) * [#10102](https://github.com/rubocop/rubocop/pull/10102): Add new `Security/IoMethods` cop. ([@koic][]) [#]## Bug fixes * [#10110](https://github.com/rubocop/rubocop/issues/10110): Update `Layout/DotPosition` to be able to handle heredocs. ([@dvandersluis][]) * [#10134](https://github.com/rubocop/rubocop/issues/10134): Update `Style/MutableConstant` to not consider multiline uninterpolated strings as unfrozen in ruby 3.0. ([@dvandersluis][]) * [#10124](https://github.com/rubocop/rubocop/pull/10124): Fix `Layout/RedundantLineBreak` adding extra space within method chains. ([@dvandersluis][]) * [#10118](https://github.com/rubocop/rubocop/issues/10118): Fix crash with `Style/RedundantSort` when the block doesn't only contain a single `send` node. ([@dvandersluis][]) * [#10135](https://github.com/rubocop/rubocop/issues/10135): Fix `Style/WordArray` to exclude files in `--auto-gen-config` when `percent` style is given but brackets are required. ([@dvandersluis][]) * [#10090](https://github.com/rubocop/rubocop/issues/10090): Fix a false negative for `Style/ArgumentsForwarding` when using only kwrest arg. ([@koic][]) * [#10099](https://github.com/rubocop/rubocop/pull/10099): Update`Style/RedundantFreeze` to stop considering `ENV` values as immutable. ([@byroot][]) * [#10078](https://github.com/rubocop/rubocop/pull/10078): Fix `Layout/LineLength` reported length when ignoring directive comments. ([@dvandersluis][]) * [#9934](https://github.com/rubocop/rubocop/issues/9934): Fix configuration loading to not raise an error for an obsolete ruby version that is subsequently overridden. ([@dvandersluis][]) * [#10136](https://github.com/rubocop/rubocop/issues/10136): Update `Lint/AssignmentInCondition` to not consider assignments within blocks in conditions. ([@dvandersluis][]) * [#9588](https://github.com/rubocop/rubocop/issues/9588): Fix causing a variable to be shadowed from outside the rescue block in the logic of Naming/RescuedExceptionsVariableName. ([@lilisako][]) * [#10096](https://github.com/rubocop/rubocop/issues/10096): Fix `Lint/AmbiguousOperatorPrecedence` with `and`/`or` operators. ([@dvandersluis][]) * [#10106](https://github.com/rubocop/rubocop/issues/10106): Fix `Style/RedundantSelf` for pattern matching. ([@dvandersluis][]) * [#10066](https://github.com/rubocop/rubocop/issues/10066): Fix how `MinDigits` is calculated for `Style/NumericLiterals` when generating a configuration file. ([@dvandersluis][]) [#]## Changes * [#10088](https://github.com/rubocop/rubocop/pull/10088): Update `Lint/BooleanSymbol` to be `SafeAutoCorrect: false` rather than `Safe: false`. ([@dvandersluis][]) * [#10122](https://github.com/rubocop/rubocop/pull/10122): Update `Style/RedundantSort` to be unsafe, and revert the special case for `size` from [#10061](https://github.com/rubocop/rubocop/pull/10061). ([@dvandersluis][]) * [#10130](https://github.com/rubocop/rubocop/issues/10130): Update `Lint/ElseLayout` to be able to handle an `else` with only a single line. ([@dvandersluis][]) [#]# 1.21.0 (2021-09-13) [#]## New features * [#7849](https://github.com/rubocop/rubocop/issues/7849): Add new `Lint/AmbiguousOperatorPrecedence` cop. ([@dvandersluis][]) * [#9061](https://github.com/rubocop/rubocop/issues/9061): Add new `Lint/IncompatibleIoSelectWithFiberScheduler` cop. ([@koic][]) [#]## Bug fixes * [#10067](https://github.com/rubocop/rubocop/pull/10067): Fix an error for `Lint/NumberConversion` when using nested number conversion methods. ([@koic][]) * [#10054](https://github.com/rubocop/rubocop/pull/10054): Fix a false positive for `Layout/SpaceAroundOperators` when match operators between `<<` and `+=`. ([@koic][]) * [#10061](https://github.com/rubocop/rubocop/issues/10061): Fix a false positive for `Style/RedundantSort` when using `size` method in the block. ([@koic][]) * [#10063](https://github.com/rubocop/rubocop/pull/10063): Fix a false positive for `Layout/SingleLineBlockChain` when method call chained on a new line after a single line block with trailing dot. ([@koic][]) * [#10064](https://github.com/rubocop/rubocop/pull/10064): Fix `Style/ExplicitBlockArgument` corrector assuming any existing block argument was named `block`. ([@byroot][]) * [#10070](https://github.com/rubocop/rubocop/issues/10070): Fix a false positive for `Style/MutableConstant` when using non-interpolated heredoc in Ruby 3.0. ([@koic][]) [#]## Changes * [#9674](https://github.com/rubocop/rubocop/issues/9674): Disable `Style/AsciiComments` by default. ([@dvandersluis][]) * [#10051](https://github.com/rubocop/rubocop/pull/10051): Improve the messaging for `Style/Documentation` to be more clear about what class/module needs documentation. ([@dvandersluis][]) * [#10074](https://github.com/rubocop/rubocop/pull/10074): Update `Naming/InclusiveLanguage` to be disabled by default. ([@dvandersluis][]) * [#10068](https://github.com/rubocop/rubocop/pull/10068): Mark `Style/AndOr` as unsafe auto-correction. ([@koic][]) [#]# 1.20.0 (2021-08-26) [#]## New features * [#10040](https://github.com/rubocop/rubocop/pull/10040): Make `Lint/Debugger` aware of debug.rb. ([@koic][]) * [#9580](https://github.com/rubocop/rubocop/issues/9580): Add a new cop that enforces which bundler gem file to use. ([@gregfletch][]) [#]## Bug fixes * [#10033](https://github.com/rubocop/rubocop/issues/10033): Fix an incorrect auto-correct for `Style/BlockDelimiters` when there is a comment after the closing brace and using method chanin. ([@koic][]) * [#6630](https://github.com/rubocop/rubocop/issues/6630): Updated `Style/CommentAnnotation` to be able to handle multiword keyword phrases. ([@dvandersluis][]) * [#7836](https://github.com/rubocop/rubocop/issues/7836): Update `Style/BlockDelimeters` to add `begin`...`end` when converting a block containing `rescue` or `ensure` to braces. ([@dvandersluis][]) * [#10031](https://github.com/rubocop/rubocop/issues/10031): Fix a false positive for `Style/HashExcept` when comparing with hash value. ([@koic][]) [#]## Changes * [#10034](https://github.com/rubocop/rubocop/pull/10034): Add `RubyJard` debugger calls to Lint/Debugger/DebuggerMethods. ([@DanielVartanov][]) * [#10006](https://github.com/rubocop/rubocop/pull/10006): Interpolated string literals are no longer frozen since Ruby 3.0. ([@splattael][]) * [#9328](https://github.com/rubocop/rubocop/issues/9328): Recognize shareable_constant_value magic comment. ([@thearjunmdas][], [@caalberts][]) * [#10036](https://github.com/rubocop/rubocop/issues/10036): Mark `Style/StructInheritance` as unsafe auto-correction. ([@koic][]) * Wed Aug 25 2021 Manuel Schnitzer <mschnitzer@suse.com> - updated to version 1.19.1 [#]## Bug fixes * [#10017](https://github.com/rubocop/rubocop/pull/10017): Fixan error for `Layout/RescueEnsureAlignment` when using zsuper with block. ([@koic][]) * [#10011](https://github.com/rubocop/rubocop/issues/10011): Fix a false positive for `Style/RedundantSelfAssignmentBranch` when using instance variable, class variable, and global variable. ([@koic][]) * [#10010](https://github.com/rubocop/rubocop/issues/10010): Fix a false positive for `Style/DoubleNegation` when `!!` is used at return location and before `rescue` keyword. ([@koic][]) * [#10014](https://github.com/rubocop/rubocop/issues/10014): Fix `Style/Encoding` to handle more situations properly. ([@dvandersluis][]) * [#10016](https://github.com/rubocop/rubocop/issues/10016): Fix conflict between `Style/SoleNestedConditional` and `Style/NegatedIf`/`Style/NegatedUnless`. ([@dvandersluis][]) * [#10024](https://github.com/rubocop/rubocop/issues/10024): Fix an incorrect auto-correct for `Style/RedundantSelfAssignmentBranch` when using multiline `if` / `else` conditional assignment. ([@koic][]) * [#10004](https://github.com/rubocop/rubocop/issues/10004): Fix a false positive for `Style/RedundantBegin` when using one-liner with semicolon. ([@koic][]) [#]# 1.19.0 (2021-08-12) [#]## New features * [#4182](https://github.com/rubocop/rubocop/issues/4182): Add `Lint/AmbiguousRange` cop to check for ranges with ambiguous boundaries. ([@dvandersluis][]) * [#10000](https://github.com/rubocop/rubocop/pull/10000): Parallel static analysis by default. ([@koic][]) * [#9948](https://github.com/rubocop/rubocop/pull/9948): Support Ruby 2.7's pattern matching for `Style/ConditionalAssignment` cop. ([@koic][]) * [#9999](https://github.com/rubocop/rubocop/pull/9999): Add new `Style/RedundantSelfAssignmentBranch` cop. ([@koic][]) [#]## Bug fixes * [#9927](https://github.com/rubocop/rubocop/issues/9927): Indent hash values in `Layout/LineEndStringConcatenationIndentation`. ([@jonas054][]) * [#9959](https://github.com/rubocop/rubocop/issues/9959): Make `Style/IdenticalConditionalBranches` able to handle ternary `if`s. ([@dvandersluis][]) * [#9946](https://github.com/rubocop/rubocop/issues/9946): Avoid slow regexp matches in `Style/CommentedKeyword`. ([@jonas054][]) * [#7422](https://github.com/rubocop/rubocop/issues/7422): Treat constant assignment like other assignment in `Layout/SpaceAroundOperators`. ([@dvandersluis][]) * [#9953](https://github.com/rubocop/rubocop/issues/9953): Fix an infinite loop error and a false auto-correction behavior for `Layout/EndAlignment` when using a conditional statement in a method argument. ([@koic][]) * [#9958](https://github.com/rubocop/rubocop/issues/9958): Prevent an infinite loop when a detected method has fewer arguments than expected. ([@dvandersluis][]) * [#9977](https://github.com/rubocop/rubocop/issues/9977): Update `Layout/EmptyLineAfterGuardClause` to not register an offense if there is another expression following the guard clause on the same line. ([@dvandersluis][]) * [#9980](https://github.com/rubocop/rubocop/issues/9980): Fix a false positive for `Style/IdenticalConditionalBranches` when assigning to a variable used in a condition. ([@koic][]) * [#9975](https://github.com/rubocop/rubocop/issues/9975): Parentheses are always required for `Style/MethodDefParentheses` when a forwarding argument (`...`) is used. ([@dvandersluis][]) * [#9984](https://github.com/rubocop/rubocop/pull/9984): Fix false negatives involving heredocs for `Layout/SpaceBeforeComma`, `Layout/SpaceBeforeComment`, `Layout/SpaceBeforeSemicolon` and `Layout/SpaceInsideParens`. ([@dvandersluis][]) * [#9954](https://github.com/rubocop/rubocop/issues/9954): Fix infinite loop error for `Layout/HashAlignment` when `EnforcedStyle: with_fixed_indentation` is specified for `Layout/ArgumentAlignment`. ([@koic][]) * [#10002](https://github.com/rubocop/rubocop/issues/10002): Fix an incorrect auto-correct for `Lint/AmbigousRegexpLiteral` when using nested method arguments without parentheses. ([@koic][]) * [#9952](https://github.com/rubocop/rubocop/pull/9952) [rubocop-rspec#1126](https://github.com/rubocop/rubocop-rspec/issues/1126): Fix `inherit_mode` for deeply nested configuration defined in extensions' default configuration. ([@pirj][]) * [#9957](https://github.com/rubocop/rubocop/issues/9957): Add `WholeWord` configuration to `Naming/InclusiveLanguage`'s `FlaggedTerms` config. ([@dvandersluis][]) * [#9970](https://github.com/rubocop/rubocop/pull/9970): Don't register an offense when sort method has arguments for `Style/RedundantSort` cop. ([@mtsmfm][]) * [#4097](https://github.com/rubocop/rubocop/issues/4097): Add require English for special globals. ([@biinari][]) * [#9955](https://github.com/rubocop/rubocop/issues/9955): Fix `Style/ExplicitBlockArgument` adding a second set of parentheses. ([@dvandersluis][]) * [#9973](https://github.com/rubocop/rubocop/issues/9973): Fix a false positive for `Layout/RescueEnsureAlignment` when aligned `rescue` keyword and leading dot. ([@koic][]) * [#9945](https://github.com/rubocop/rubocop/issues/9945): Fix auto-correction of lines in heredocs with only spaces in `Layout/TrailingWhitespace`. ([@jonas054][]) [#]## Changes * [#9989](https://github.com/rubocop/rubocop/issues/9989): Mark `Style/CommentedKeyword` as unsafe auto-correction. ([@koic][]) * [#9964](https://github.com/rubocop/rubocop/pull/9964): Make `Layout/LeadingCommentSpace` aware of `#:nodoc`. ([@koic][]) * [#9985](https://github.com/rubocop/rubocop/pull/9985): Mark `Style/IdenticalConditionalBranches` as unsafe auto-correction. ([@koic][]) * [#9962](https://github.com/rubocop/rubocop/issues/9962): Update `Style/WordArray` to register an offense in `percent` style if any values contain spaces. ([@dvandersluis][]) * [#9979](https://github.com/rubocop/rubocop/pull/9979): Enable basic autocorrection for `Style/Semicolon`. ([@dvandersluis][]) * Thu Jul 29 2021 Manuel Schnitzer <mschnitzer@suse.com> - updated to version 1.18.4 [#]## New features * [#9930](https://github.com/rubocop/rubocop/pull/9930): Support Ruby 2.7's pattern matching for `Lint/DuplicateBranch` cop. ([@koic][]) [#]## Bug fixes * [#9938](https://github.com/rubocop/rubocop/pull/9938): Fix an incorrect auto-correct for `Layout/LineLength` when a heredoc is used as the first element of an array. ([@koic][]) * [#9940](https://github.com/rubocop/rubocop/issues/9940): Fix an incorrect auto-correct for `Style/HashTransformValues` when value is a hash literal for `_.to_h{...}`. ([@koic][]) * [#9752](https://github.com/rubocop/rubocop/issues/9752): Improve error message for top level department used in configuration. ([@jonas054][]) * [#9933](https://github.com/rubocop/rubocop/pull/9933): Fix GitHub Actions formatter when running in non-default directory. ([@ojab][]) * [#9922](https://github.com/rubocop/rubocop/issues/9922): Make better auto-corrections in `Style/DoubleCopDisableDirective`. ([@jonas054][]) * [#9848](https://github.com/rubocop/rubocop/issues/9848): Fix handling of comments in `Layout/ClassStructure` auto-correct. ([@jonas054][]) * [#9926](https://github.com/rubocop/rubocop/pull/9926): Fix an incorrect auto-correct for `Style/SingleLineMethods` when method body is enclosed in parentheses. ([@koic][]) * [#9928](https://github.com/rubocop/rubocop/issues/9928): Fix an infinite loop error and a false auto-correction behavior for `Layout/EndAlignment` when using operator methods and `EnforcedStyleAlignWith: variable`. ([@koic][]) * [#9434](https://github.com/rubocop/rubocop/issues/9434): Fix false positive for setter calls in `Layout/FirstArgumentIndentation`. ([@jonas054][]) * Sun Jul 11 2021 Manuel Schnitzer <mschnitzer@suse.com> - updated to version 1.18.3 [#]## Bug fixes * [#9891](https://github.com/rubocop/rubocop/issues/9891): Fix `--auto-gen-config` bug for `Style/HashSyntax`. ([@jonas054][]) * [#9905](https://github.com/rubocop/rubocop/issues/9905): Fix false positive for single line concatenation in `Layout/LineEndStringConcatenationIndentation`. ([@jonas054][]) * [#9907](https://github.com/rubocop/rubocop/issues/9907): Fix an incorrect auto-correct for `Lint/UselessTimes` when using block argument for `1.times`. ([@koic][]) * [#9869](https://github.com/rubocop/rubocop/issues/9869): Fix reference to file in configuration override warning. ([@jonas054][]) * [#9902](https://github.com/rubocop/rubocop/issues/9902): Fix an incorrect auto-correct for `Style/BlockDelimiters` when there is a comment after the closing brace. ([@koic][]) * [#8469](https://github.com/rubocop/rubocop/issues/8469): Add inspection of `class <<` to `Layout/SpaceAroundOperators`. ([@jonas054][]) * [#9909](https://github.com/rubocop/rubocop/pull/9909): This PR fixes an incorrect auto-correct for `Style/SingleLineMethods` when using `return`, `break`, or `next` for one line method body in Ruby 3.0. ([@koic][]) * [#9914](https://github.com/rubocop/rubocop/issues/9914): Fix an error for `Layout/HashAlignment` when using aligned hash argument for `proc.()`. ([@koic][]) * Thu Jun 24 2021 Stephan Kulow <coolo@suse.com> updated to version 1.17.0 no changelog found * Tue Jun 01 2021 Manuel Schnitzer <mschnitzer@suse.com> - updated to version 1.15.0 [#]## New features * [#9734](https://github.com/rubocop/rubocop/pull/9734): Add `Style/TopLevelMethodDefinition` cop. ([@tejasbubane][]) * [#9780](https://github.com/rubocop/rubocop/issues/9780): Support summary report for `JUnitFormatter`. ([@koic][]) * [#9798](https://github.com/rubocop/rubocop/pull/9798): Make `Layout/ArgumentAlignment` aware of kwargs. ([@koic][]) [#]## Bug fixes * [#9749](https://github.com/rubocop/rubocop/issues/9749): Fix autocorrection for `Layout/LineLength` to not move the first argument of an unparenthesized `send` node to the next line, which changes behaviour. ([@dvandersluis][]) * [#9799](https://github.com/rubocop/rubocop/issues/9799): Fix invalid line splitting by `Layout/LineLength` for `send` nodes with heredoc arguments. ([@dvandersluis][]) * [#9773](https://github.com/rubocop/rubocop/issues/9773): Fix `Style/EmptyLiteral` to not register offenses for `String.new` when `Style/FrozenStringLiteral` is enabled. ([@dvandersluis][]) * [#9771](https://github.com/rubocop/rubocop/issues/9771): Change `AllowDSLWriters` to true by default for `Style/TrivialAccessors`. ([@koic][]) * [#9777](https://github.com/rubocop/rubocop/pull/9777): Fix an incorrect auto-correct for `Style/RedundantBegin` when using multi-line `if` in `begin` block. ([@koic][]) * [#9791](https://github.com/rubocop/rubocop/pull/9791): Fix a false negative for `Layout/IndentationWidth` when using `ensure` in `do` ... `end` block. ([@koic][]) * [#9766](https://github.com/rubocop/rubocop/pull/9766): Fix a clobbering error for `Style/ClassAndModuleChildren` cop with compact style. ([@tejasbubane][]) * [#9767](https://github.com/rubocop/rubocop/issues/9767): Fix `Style/ClassAndModuleChildren` cop to preserve comments. ([@tejasbubane][]) * [#9792](https://github.com/rubocop/rubocop/issues/9792): Fix false positive for `Lint/Void` cop with ranges. ([@tejasbubane][]) [#]## Changes * [#9770](https://github.com/rubocop/rubocop/issues/9770): Update `Lint/EmptyBlock` to handle procs the same way as lambdas. ([@dvandersluis][]) * [#9776](https://github.com/rubocop/rubocop/pull/9776): Update `Style/NilLambda` to handle procs as well. ([@dvandersluis][]) * [#9744](https://github.com/rubocop/rubocop/pull/9744): The parallel flag will now be automatically ignored when combined with `--cache false`. Previously, an error was raised and execution stopped. ([@rrosenblum][]) * Wed May 05 2021 Dan Čermák <dcermak@suse.com> - New upstream release 1.14 [#]## New features * [#7669](https://github.com/rubocop/rubocop/issues/7669): New cop `Bundler/GemVersion` requires or forbids specifying gem versions. ([@timlkelly][]) * [#9758](https://github.com/rubocop/rubocop/pull/9758): Support `TargetRubyVersion 3.1` (experimental). ([@koic][]) * [#9377](https://github.com/rubocop/rubocop/issues/9377): Add cop `Layout/SingleLineBlockChain`. ([@jonas054][]) [#]## Bug fixes * [#9751](https://github.com/rubocop/rubocop/pull/9751): `Style/StringLiteral` doesn't autocorrect global variable interpolation. ([@etiennebarrie][]) * [#9731](https://github.com/rubocop/rubocop/issues/9731): Fix two autocorrection issues for `Style/NegatedIfElseCondition`. ([@dvandersluis][]) * [#9740](https://github.com/rubocop/rubocop/pull/9740): Fix an incorrect auto-correct for `Style/SingleLineMethods` when defining setter method. ([@koic][]) * [#9757](https://github.com/rubocop/rubocop/pull/9757): Fix a false positive for `Lint/NumberConversion` when `:to_f` is one of multiple method arguments. ([@koic][]) * [#9761](https://github.com/rubocop/rubocop/issues/9761): Fix `Style/ClassAndModuleChildren` false negative for `compact` style when a class/module is partially nested. ([@dvandersluis][]) * [#9748](https://github.com/rubocop/rubocop/pull/9748): Prevent infinite loops during symlink traversal. ([@Tonkpils][]) * [#9762](https://github.com/rubocop/rubocop/issues/9762): Update `VariableForce` to be able to handle `case-match` nodes. ([@dvandersluis][]) * [#9729](https://github.com/rubocop/rubocop/issues/9729): Fix an error for `Style/IfUnlessModifier` when variable assignment is used in the branch body of if modifier. ([@koic][]) * [#9750](https://github.com/rubocop/rubocop/issues/9750): Fix an incorrect auto-correct for `Style/SoleNestedConditional` when when using nested `if` within `unless foo == bar`. ([@koic][]) * [#9751](https://github.com/rubocop/rubocop/pull/9751): `Style/StringLiteral` autocorrects `'\\'` into `"\\"`. ([@etiennebarrie][]) * [#9732](https://github.com/rubocop/rubocop/pull/9732): Support deprecated Socket.gethostbyaddr and Socket.gethostbyname. ([@AndreiEres][]) * [#9713](https://github.com/rubocop/rubocop/issues/9713): Fix autocorrection for block local variables in `Lint/UnusedBlockArgument`. ([@tejasbubane][]) * [#9746](https://github.com/rubocop/rubocop/pull/9746): Fix a false positive for `Lint/UnreachableLoop` when using conditional `next` in a loop. ([@koic][]) [@timlkelly]: https://github.com/timlkelly [@koic]: https://github.com/koic [@jonas054]: https://github.com/jonas054 [@etiennebarrie]: https://github.com/etiennebarrie [@dvandersluis]: https://github.com/dvandersluis [@Tonkpils]: https://github.com/Tonkpils [@AndreiEres]: https://github.com/AndreiEres [@tejasbubane]: https://github.com/tejasbubane * Wed Apr 21 2021 Manuel Schnitzer <mschnitzer@suse.com> - updated to version 1.13.0 [#]## New features * [#7977](https://github.com/rubocop/rubocop/issues/7977): Add `Layout/RedundantLineBreak` cop. ([@jonas054][]) * [#9691](https://github.com/rubocop/rubocop/issues/9691): Add configuration parameter `InspectBlocks` to `Layout/RedundantLineBreak`. ([@jonas054][]) * [#9684](https://github.com/rubocop/rubocop/issues/9684): Support `IgnoredMethods` option for `Lint/AmbguousBlockAssociation`. ([@gprado][]) * [#9358](https://github.com/rubocop/rubocop/pull/9358): Support `restrictive_version_specificiers` option in `Bundler/GemComment` cop. ([@RobinDaugherty][]) [#]## Bug fixes * [#5576](https://github.com/rubocop/rubocop/issues/5576): Fix problem with inherited `Include` parameters. ([@jonas054][]) * [#9690](https://github.com/rubocop/rubocop/pull/9690): Fix an incorrect auto-correct for `Style/IfUnlessModifier` when using a method with heredoc argument. ([@koic][]) * [#9681](https://github.com/rubocop/rubocop/issues/9681): Fix an incorrect auto-correct for `Style/RedundantBegin` when using modifier `if` single statement in `begin` block. ([@koic][]) * [#9698](https://github.com/rubocop/rubocop/issues/9698): Fix an error for `Style/StructInheritance` when extending instance of `Struct` without `do` ... `end` and class body is empty and single line definition. ([@koic][]) * [#9700](https://github.com/rubocop/rubocop/issues/9700): Avoid warning about Ruby version mismatch. ([@marcandre][]) * [#9636](https://github.com/rubocop/rubocop/issues/9636): Resolve symlinks when excluding directories. ([@ob-stripe][]) * [#9707](https://github.com/rubocop/rubocop/issues/9707): Fix false positive for `Style/MethodCallWithArgsParentheses` with `omit_parentheses` style on an endless `defs` node. ([@dvandersluis][]) * [#9689](https://github.com/rubocop/rubocop/issues/9689): Treat parens around array items the same for children and deeper descendants. ([@dvandersluis][]) * [#9676](https://github.com/rubocop/rubocop/issues/9676): Fix an error for `Style/StringChars` when using `split` without parentheses. ([@koic][]) * [#9712](https://github.com/rubocop/rubocop/pull/9712): Fix an incorrect auto-correct for `Style/HashConversion` when `Hash[]` as a method argument without parentheses. ([@koic][]) * [#9704](https://github.com/rubocop/rubocop/pull/9704): Fix an incorrect auto-correct for `Style/SingleLineMethods` when single line method call without parentheses. ([@koic][]) * [#9683](https://github.com/rubocop/rubocop/issues/9683): Fix an incorrect auto-correct for `Style/HashConversion` when using `zip` method without argument in `Hash[]`. ([@koic][]) * [#9715](https://github.com/rubocop/rubocop/pull/9715): Fix an incorrect auto-correct for `EnforcedStyle: require_parentheses` of `Style/MethodCallWithArgsParentheses` with `Style/RescueModifier`. ([@koic][]) [#]## Changes * [#7544](https://github.com/rubocop/rubocop/pull/7544): Add --no-parallel (-P/--parallel can not be combined with --auto-correct). ([@kwerle][]) * [#9648](https://github.com/rubocop/rubocop/pull/9648): Drop support for Ruby 2.4. ([@koic][]) * [#9647](https://github.com/rubocop/rubocop/pull/9647): The parallel flag will now be automatically ignored when combined with `--auto-correct`, `--auto-gen-config`, or `-F/--fail-fast`. Previously, an error was raised and execution stopped. ([@rrosenblum][]) * Thu Apr 08 2021 Dan Čermák <dcermak@suse.com> New upstream release 1.12.1 [#]# 1.12.1 (2021-04-04) [#]## Bug fixes * [#9649](https://github.com/rubocop/rubocop/pull/9649): Fix when highlights contain multibyte characters. ([@osyo-manga][]) * [#9646](https://github.com/rubocop/rubocop/pull/9646): Fix an incorrect auto-correct for `EnforcedStyle: require_parentheses` of `Style/MethodCallWithArgsParentheses` with `EnforcedStyle: conditionals` of `Style/AndOr`. ([@koic][]) * [#9608](https://github.com/rubocop/rubocop/issues/9608): Fix a false positive for `Layout/EmptyLineAfterGuardClause` when using guard clause is after `rubocop:enable` comment. ([@koic][]) * [#9637](https://github.com/rubocop/rubocop/issues/9637): Allow parentheses for forwarded args in `Style/MethodCallWithArgsParentheses`'s `omit_parentheses` style to avoid endless range ambiguity. ([@gsamokovarov][]) * [#9641](https://github.com/rubocop/rubocop/issues/9641): Fix `Layout/MultilineMethodCallIndentation` triggering on method calls that look like operators. ([@dvandersluis][]) * [#9638](https://github.com/rubocop/rubocop/pull/9638): Fix an error for `Layout/LineLength` when over limit at right hand side of multiple assignment. ([@koic][]) * [#9639](https://github.com/rubocop/rubocop/pull/9639): Fix `Style/RedundantBegin` removing comments on assignment statement correction. ([@marcotc][]) * [#9671](https://github.com/rubocop/rubocop/pull/9671): Fix an incorrect auto-correct for `Lint/AmbiguousOperator` with `Style/MethodCallWithArgsParentheses`. ([@koic][]) * [#9645](https://github.com/rubocop/rubocop/pull/9645): Fix an incorrect auto-correct for `Style/SingleLineMethods` when using single line class method definition. ([@koic][]) * [#9644](https://github.com/rubocop/rubocop/pull/9644): Fix an error and an incorrect auto-correct for `Style/MultilineMethodSignature` when line break after opening parenthesis. ([@koic][]) * [#9672](https://github.com/rubocop/rubocop/issues/9672): Fix an incorrect auto-correct for `Style/HashConversion` when using multi-argument `Hash[]` as a method argument. ([@koic][]) [#]# 1.12.0 (2021-03-24) [#]## New features * [#9615](https://github.com/rubocop/rubocop/pull/9615): Add new `Style/StringChars` cop. ([@koic][]) * [#9629](https://github.com/rubocop/rubocop/issues/9629): Add `AllowParenthesesInStringInterpolation` configuration to `Style/MethodCallWithArgsParentheses` to allow parenthesized calls in string interpolation. ([@gsamokovarov][]) * [#9219](https://github.com/rubocop/rubocop/pull/9219): Allow excluding some constants from Style/Documentation. ([@fsateler][]) * Add `AllowNil` option for `Lint/SuppressedException` to allow/disallow `rescue nil`. ([@corroded][]) [#]## Bug fixes * [#9560](https://github.com/rubocop/rubocop/pull/9560): Fix an error for `Lint/ClassMethodsDefinitions` when defining class methods with `class << self` with comment only body. ([@koic][]) * [#9551](https://github.com/rubocop/rubocop/issues/9551): Fix a false positive for `Style/UnlessLogicalOperators` when using `||` operator and invoked method name includes "or" in the conditional branch. ([@koic][]) * [#9620](https://github.com/rubocop/rubocop/pull/9620): Allow parentheses in operator methods calls for `Style/MethodCallWithArgsParentheses` `EnforcedStyle: omit_parentheses`. ([@gsamokovarov][]) * [#9622](https://github.com/rubocop/rubocop/issues/9622): Fixed `Style/BisectedAttrAccessor` autocorrection to handle multiple bisected attrs in the same macro. ([@dvandersluis][]) * [#9606](https://github.com/rubocop/rubocop/issues/9606): Fix an error for `Layout/IndentationConsistency` when using access modifier at the top level. ([@koic][]) * [#9619](https://github.com/rubocop/rubocop/pull/9619): Fix infinite loop between `Layout/IndentationWidth` and `Layout/RescueEnsureAlignment` autocorrection. ([@dvandersluis][]) * [#9633](https://github.com/rubocop/rubocop/pull/9633): Fix an incorrect auto-correct for `Lint/NumberConversion` when `to_i` method in symbol form. ([@koic][]) * [#9616](https://github.com/rubocop/rubocop/pull/9616): Fix an incorrect auto-correct for `Style/EvalWithLocation` when using `#instance_eval` with a string argument in parentheses. ([@koic][]) * [#9429](https://github.com/rubocop/rubocop/issues/9429): Fix `Style/NegatedIfElseCondition` autocorrect to keep comments in correct branch. ([@tejasbubane][]) * [#9631](https://github.com/rubocop/rubocop/issues/9631): Fix an incorrect auto-correct for `Style/RedundantReturn` when using `return` with splat argument. ([@koic][]) * [#9627](https://github.com/rubocop/rubocop/issues/9627): Fix an incorrect auto-correct for `Style/StructInheritance` when extending instance of Struct without `do` ... `end` and class body is empty. ([@koic][]) * [#5953](https://github.com/rubocop/rubocop/issues/5953): Fix a false positive for `Style/AccessModifierDeclarations` when using `module_function` with symbol. ([@koic][]) * [#9593](https://github.com/rubocop/rubocop/issues/9593): Fix an error when processing a directory is named `{}`. ([@koic][]) * [#9599](https://github.com/rubocop/rubocop/issues/9599): Fix an error for `Style/CaseLikeIf` when using `include?` without a receiver. ([@koic][]) * [#9582](https://github.com/rubocop/rubocop/issues/9582): Fix incorrect auto-correct for `Style/ClassEqualityComparison` when comparing `Module#name` for equality. ([@koic][]) * [#9603](https://github.com/rubocop/rubocop/issues/9603): Fix a false positive for `Style/SoleNestedConditional` when using nested modifier on value assigned in condition. ([@koic][]) * [#9598](https://github.com/rubocop/rubocop/pull/9598): Fix RuboCop::MagicComment#valid_shareable_constant_value?. ([@kachick][]) * [#9625](https://github.com/rubocop/rubocop/pull/9625): Allow parentheses in yield arguments with `Style/MethodCallWithArgsParentheses` `EnforcedStyle: omit_parentheses` to fix invalid Ruby auto-correction. ([@gsamokovarov][]) * [#9558](https://github.com/rubocop/rubocop/issues/9558): Fix inconsistency when dealing with URIs that are wrapped in single quotes vs double quotes. ([@dvandersluis][]) * [#9613](https://github.com/rubocop/rubocop/issues/9613): Fix a false positive for `Style/RedundantSelf` when a self receiver on an lvalue of mlhs arguments. ([@koic][]) * [#9586](https://github.com/rubocop/rubocop/issues/9586): Update `Naming/RescuedExceptionsVariableName` to not register on inner rescues when nested. ([@dvandersluis][]) [#]## Changes * [#9487](https://github.com/rubocop/rubocop/issues/9487): Mark Naming/MemoizedInstanceVariableName as unsafe. ([@marcandre][]) * [#9601](https://github.com/rubocop/rubocop/issues/9601): Make `Style/RedundantBegin` aware of redundant `begin`/`end` blocks around memoization. ([@koic][]) * [#9617](https://github.com/rubocop/rubocop/issues/9617): Disable suggested extensions when using the `--stdin` option. ([@dvandersluis][]) [#]# 1.11.0 (2021-03-01) [#]## New features * [#5388](https://github.com/rubocop/rubocop/issues/5388): Add new `Style/UnlessLogicalOperators` cop. ([@caalberts][]) * [#9525](https://github.com/rubocop/rubocop/issues/9525): Add `AllowMethodsWithArguments` option to `Style/SymbolProc`. ([@koic][]) [#]## Bug fixes * [#9520](https://github.com/rubocop/rubocop/issues/9520): Fix an incorrect auto-correct for `Style/MultipleComparison` when comparing a variable with multiple items in `if` and `elsif` conditions. ([@koic][]) * [#9548](https://github.com/rubocop/rubocop/pull/9548): Fix a false positive for `Style/TrailingBodyOnMethodDefinition` when endless method definition body is after newline in opening parenthesis. ([@koic][]) * [#9541](https://github.com/rubocop/rubocop/issues/9541): Fix `Style/HashConversion` when the correction needs to be wrapped in parens. ([@dvandersluis][]) * [#9533](https://github.com/rubocop/rubocop/issues/9533): Make metrics length cops aware of multi-line kwargs. ([@koic][]) * [#9523](https://github.com/rubocop/rubocop/issues/9523): Fix an error for `Style/TrailingMethodEndStatement` when endless method definition signature and body are on different lines. ([@koic][]) * [#9482](https://github.com/rubocop/rubocop/issues/9482): Return minimal known ruby version from gemspecs `required_ruby_version`. ([@HeroProtagonist][]) * [#9539](https://github.com/rubocop/rubocop/issues/9539): Fix an error for `Style/RedundantBegin` when using body of `begin` is empty. ([@koic][]) * [#9542](https://github.com/rubocop/rubocop/pull/9542): Fix `Layout/FirstArgumentIndentation` for operator methods not called as operators. ([@dvandersluis][], [@TSMMark][]) [#]## Changes * [#9526](https://github.com/rubocop/rubocop/issues/9526): Add `AllowSplatArgument` option to `Style/HashConversion` and the option is true by default. ([@koic][]) [#]# 1.10.0 (2021-02-15) [#]## New features * [#9478](https://github.com/rubocop/rubocop/pull/9478): Add new `Style/HashConversion` cop. ([@zverok][]) * [#9496](https://github.com/rubocop/rubocop/pull/9496): Add new `Gemspec/DateAssignment` cop. ([@koic][]) * [#8724](https://github.com/rubocop/rubocop/issues/8724): Add `IgnoreModules` configuration to `Style/ConstantVisibility` to not register offense for module definitions. ([@tejasbubane][]) * [#9403](https://github.com/rubocop/rubocop/issues/9403): Add autocorrect for `Style/EvalWithLocation` cop. ([@cteece][]) [#]## Bug fixes * [#9500](https://github.com/rubocop/rubocop/issues/9500): Update `Lint/Debugger` so that only specific receivers for debug methods lead to offenses. ([@dvandersluis][]) * [#9499](https://github.com/rubocop/rubocop/issues/9499): Fix a false positive for `Layout/SpaceBeforeBrackets` when multiple spaces are inserted inside the left bracket. ([@koic][]) * [#9507](https://github.com/rubocop/rubocop/issues/9507): Fix an incorrect auto-correct for `Lint/RedundantSplatExpansion` when expanding `Array.new` call on method argument. ([@koic][]) * [#9490](https://github.com/rubocop/rubocop/issues/9490): Fix incorrect auto-correct for `Layout/FirstArgumentIndentation` when specifying `EnforcedStyle: with_fixed_indentation` of `Layout/ArgumentAlignment` and `EnforcedStyle: consistent` of `Layout/FirstArgumentIndentation`. ([@koic][]) * [#9497](https://github.com/rubocop/rubocop/issues/9497): Fix an error for `Style/ExplicitBlockArgument` when `yield` is inside block of `super`. ([@koic][]) * [#9349](https://github.com/rubocop/rubocop/issues/9349): Fix a false positive for `Lint/MultipleComparison` when using `&`, `|`, and `^` set operation operators in multiple comparison. ([@koic][]) * [#9511](https://github.com/rubocop/rubocop/pull/9511): Fix a false negative for `Lint/ElseLayout` when using multiple `elsif`s. ([@koic][]) * [#9513](https://github.com/rubocop/rubocop/issues/9513): Fix an incorrect auto-correct for `Style/HashConversion` when using hash argument `Hash[]`. ([@koic][]) * [#9492](https://github.com/rubocop/rubocop/issues/9492): Fix an incorrect auto-correct for `Lint/DeprecatedOpenSSLConstant` when using no argument algorithm. ([@koic][]) [#]## Changes * [#9405](https://github.com/rubocop/rubocop/pull/9405): Improve documentation for `Style/EvalWithLocation` cop. ([@taichi-ishitani][]) [#]# 1.9.1 (2021-02-01) [#]## New features * [#9459](https://github.com/rubocop/rubocop/issues/9459): Add `AllowedMethods` option to `Style/IfWithBooleanLiteralBranches` and set `nonzero?` as default value. ([@koic][]) [#]## Bug fixes * [#9431](https://github.com/rubocop/rubocop/issues/9431): Fix an error for `Style/DisableCopsWithinSourceCodeDirective` when using leading source comment. ([@koic][]) * [#9444](https://github.com/rubocop/rubocop/issues/9444): Fix error on colorization for offenses with `Severity: info`. ([@tejasbubane][]) * [#9448](https://github.com/rubocop/rubocop/issues/9448): Fix an error for `Style/SoleNestedConditional` when using nested `unless` modifier with a single expression condition. ([@koic][]) * [#9449](https://github.com/rubocop/rubocop/issues/9449): Fix an error for `Style/NilComparison` when using `x == nil` as a guard condition'. ([@koic][]) * [#9440](https://github.com/rubocop/rubocop/issues/9440): Fix `Lint/SymbolConversion` for implicit `to_sym` without a receiver. ([@dvandersluis][]) * [#9453](https://github.com/rubocop/rubocop/issues/9453): Fix infinite loop error for `Layout/FirstParameterIndentation` when `EnforcedStyle: with_fixed_indentation` is specified for `Layout/ArgumentAlignment`. ([@koic][]) * [#9466](https://github.com/rubocop/rubocop/issues/9466): Don't correct `Style/SingleLineMethods` using endless methods if the target ruby is < 3.0. ([@dvandersluis][]) * [#9455](https://github.com/rubocop/rubocop/issues/9455): Fix a false positive for `Lint/SymbolConversion` when hash keys that contain `":"`. ([@koic][]) * [#9454](https://github.com/rubocop/rubocop/issues/9454): Fix an incorrect auto-correct for `Style/IfWithBooleanLiteralBranches` when using `elsif do_something?` with boolean literal branches. ([@koic][]) * [#9438](https://github.com/rubocop/rubocop/issues/9438): Fix a false positive for `Layout/SpaceBeforeBrackets` when space is used in left bracket. ([@koic][]) * [#9457](https://github.com/rubocop/rubocop/issues/9457): Fix a false positive for `Lint/SymbolConversion` when hash keys that end with `=`. ([@koic][]) * [#9473](https://github.com/rubocop/rubocop/issues/9473): Fix an error for `Lint/DeprecatedConstants` when using `__ENCODING__`. ([@koic][]) * [#9452](https://github.com/rubocop/rubocop/pull/9452): Fix `StyleGuideBaseURL` not functioning with nested departments. ([@tas50][]) * [#9465](https://github.com/rubocop/rubocop/issues/9465): Update `Metrics/ParameterLists` to be able to write `MaxOptionalParameters` in rubocop_todo.yml. ([@dvandersluis][]) * [#9433](https://github.com/rubocop/rubocop/issues/9433): Fix an error for `Style/EvalWithLocation` when using eval with block argument. ([@koic][]) [#]## Changes * [#9437](https://github.com/rubocop/rubocop/issues/9437): Improve offense message when there is an allowed range of empty lines. ([@dvandersluis][]) * [#9476](https://github.com/rubocop/rubocop/pull/9476): Mark `Style/IfWithBooleanLiteralBranche` as unsafe auto-correction. ([@koic][]) [#]# 1.9.0 (2021-01-28) [#]## New features * [#9396](https://github.com/rubocop/rubocop/pull/9396): Add new `Style/IfWithBooleanLiteralBranches` cop. ([@koic][]) * [#9402](https://github.com/rubocop/rubocop/pull/9402): Add new `Lint/TripleQuotes` cop. ([@dvandersluis][]) * [#7827](https://github.com/rubocop/rubocop/pull/7827): Add pre-commit hook. ([@jdufresne][], [@adithyabsk][]) * [#7452](https://github.com/rubocop/rubocop/issues/7452): Support `IgnoredMethods` option for `Style/FormatStringToken`. ([@koic][]) * [#9340](https://github.com/rubocop/rubocop/pull/9340): Added `info` Severity level to allow offenses to be listed but not return a non-zero error code. ([@dvandersluis][]) * [#9353](https://github.com/rubocop/rubocop/issues/9353): Add new `Lint/SymbolConversion` cop. ([@dvandersluis][]) * [#9363](https://github.com/rubocop/rubocop/pull/9363): Add new cop `Lint/OrAssignmentToConstant`. ([@uplus][]) * [#9326](https://github.com/rubocop/rubocop/pull/9326): Add new `Lint/NumberedParameterAssignment` cop. ([@koic][]) [#]## Bug fixes * [#9366](https://github.com/rubocop/rubocop/issues/9366): Fix an incorrect auto-correct for `Style/SoleNestedConditional` when using method arguments without parentheses for outer condition. ([@koic][]) * [#9372](https://github.com/rubocop/rubocop/issues/9372): Fix an error for `Style/IfInsideElse` when nested `if` branch code is empty. ([@koic][]) * [#9374](https://github.com/rubocop/rubocop/issues/9374): Fix autocorrection for `Layout/LineLength` when the first argument to a send node is a overly long hash pair. ([@dvandersluis][]) * [#9387](https://github.com/rubocop/rubocop/issues/9387): Fix incorrect auto-correct for `Style/NilComparison` when using `!x.nil?` and `EnforcedStyle: comparison`. ([@koic][]) * [#9411](https://github.com/rubocop/rubocop/pull/9411): Fix false negatives for `Style/EvalWithLocation` for `Kernel.eval` and when given improper arguments. ([@dvandersluis][]) * [#7766](https://github.com/rubocop/rubocop/issues/7766): Fix `Naming/RescuedExceptionsVariableName` autocorrection when the rescue body returns the exception variable. ([@asterite][]) * [#7766](https://github.com/rubocop/rubocop/issues/7766): Fix `Naming/RescuedExceptionsVariableName` autocorrection to not change variables if the exception variable has been reassigned. ([@dvandersluis][]) * [#9389](https://github.com/rubocop/rubocop/pull/9389): Fix an infinite loop error for `IncludeSemanticChanges: false` of `Style/NonNilCheck` with `EnforcedStyle: comparison` of `Style/NilComparison`. ([@koic][]) * [#9384](https://github.com/rubocop/rubocop/pull/9384): Fix a suggestion message when not auto-correctable. ([@koic][]) * [#9424](https://github.com/rubocop/rubocop/pull/9424): Fix an incorrect auto-correct for `Style/ClassMethodsDefinitions` when defining class methods with `class << self` and there is no blank line between method definition and attribute accessor. ([@koic][]) * [#9370](https://github.com/rubocop/rubocop/issues/9370): Fix an incorrect auto-correct for `Style/SoleNestedConditional` when using nested `unless` modifier multiple conditional. ([@koic][]) * [#9406](https://github.com/rubocop/rubocop/pull/9406): Fix rubocop_todo link injection when YAML doc start sigil exists. ([@dduugg][]) * [#9229](https://github.com/rubocop/rubocop/pull/9229): Fix errors being reported with `rubocop -V` with an invalid config. ([@dvandersluis][]) * [#9425](https://github.com/rubocop/rubocop/issues/9425): Fix error in `Layout/ClassStructure` when initializer comes after private attribute macro. ([@tejasbubane][]) [#]## Changes * [#9415](https://github.com/rubocop/rubocop/issues/9415): Change `Layout/ClassStructure` to detect inline modifiers. ([@AndreiEres][]) * [#9380](https://github.com/rubocop/rubocop/issues/9380): Mark `Style/FloatDivision` as unsafe. ([@koic][]) * [#9345](https://github.com/rubocop/rubocop/issues/9345): Make `Style/AsciiComments` allow copyright notice by default. ([@koic][]) * [#9399](https://github.com/rubocop/rubocop/issues/9399): Added `AllowedCops` configuration to `Style/DisableCopsWithinSourceCodeDirective`. ([@dvandersluis][]) * [#9327](https://github.com/rubocop/rubocop/issues/9327): Change `Layout/EmptyLineAfterMagicComment` to accept top-level `shareable_constant_values` directive. ([@tejasbubane][]) * [#7902](https://github.com/rubocop/rubocop/issues/7902): Change `Lint/NumberConversion` to detect symbol form of conversion methods. ([@tejasbubane][]) * Wed Jan 20 2021 Stephan Kulow <coolo@suse.com> updated to version 1.8.1 no changelog found * Fri Jan 08 2021 Dan Čermák <dcermak@suse.com> - New upstream release 1.8.0 [#]## New features * [#9324](https://github.com/rubocop-hq/rubocop/pull/9324): Add new `Lint/DeprecatedConstants` cop. ([@koic][]) * [#9319](https://github.com/rubocop-hq/rubocop/pull/9319): Support asdf's .tool-versions file. ([@noon-ng][]) * [#9301](https://github.com/rubocop-hq/rubocop/pull/9301): Add new `Lint/RedundantDirGlobSort` cop. ([@koic][]) * [#9281](https://github.com/rubocop-hq/rubocop/pull/9281): Add new cop `Style/EndlessMethod`. ([@dvandersluis][]) [#]## Bug fixes * [#9298](https://github.com/rubocop-hq/rubocop/issues/9298): Fix an incorrect auto-correct for `Lint/RedundantCopDisableDirective` when there is a blank line before inline comment. ([@koic][]) * [#9233](https://github.com/rubocop-hq/rubocop/issues/9233): Fix `Style/SoleNestedConditional` copying non-relevant comments during auto-correction. ([@Darhazer][]) * [#9312](https://github.com/rubocop-hq/rubocop/issues/9312): Fix `Layout/FirstHashElementLineBreak` to apply to multi-line hashes with only a single element. ([@muirdm][]) * [#9316](https://github.com/rubocop-hq/rubocop/issues/9316): Fix `Style/EmptyLiteral` registering wrong offense when using a numbered block for Hash.new, i.e. `Hash.new { _1[_2] = [] }`. ([@agargiulo][]) * [#9308](https://github.com/rubocop-hq/rubocop/issues/9308): Fix an error for `Layout/EmptyLineBetweenDefs` when using endless class method. ([@koic][]) * [#9314](https://github.com/rubocop-hq/rubocop/issues/9314): Fix an incorrect auto-correct for `Style/RedundantReturn` when multiple return values have a parenthesized return value. ([@koic][]) * [#9335](https://github.com/rubocop-hq/rubocop/issues/9335): Fix an incorrect auto-correct for `EnforcedStyle: require_parentheses` of `Style/MethodCallWithArgsParentheses` with `Style/NestedParenthesizedCalls`. ([@koic][]) * [#9290](https://github.com/rubocop-hq/rubocop/issues/9290): Fix a false positive for `Layout/SpaceBeforeBrackets` when using array literal method argument. ([@koic][]) * [#9333](https://github.com/rubocop-hq/rubocop/issues/9333): Fix an error for `Style/IfInsideElse` when using a modifier `if` nested inside an `else` after `elsif`. ([@koic][]) * [#9303](https://github.com/rubocop-hq/rubocop/issues/9303): Fix an incorrect auto-correct for `Style/RaiseArgs` with `EnforcedStyle: compact` when using exception instantiation argument. ([@koic][]) [#]## Changes * [#9300](https://github.com/rubocop-hq/rubocop/pull/9300): Make `Lint/NonDeterministicRequireOrder` not to register offense when using Ruby 3.0 or higher. ([@koic][]) * [#9320](https://github.com/rubocop-hq/rubocop/pull/9320): Support unicode-display_width v2. ([@dduugg][]) * [#9288](https://github.com/rubocop-hq/rubocop/pull/9288): Require Parser 3.0.0.0 or higher. ([@koic][]) * [#9337](https://github.com/rubocop-hq/rubocop/issues/9337): Add `AllowedIdentifiers` to `Naming/VariableName`. ([@dvandersluis][]) * [#9295](https://github.com/rubocop-hq/rubocop/pull/9295): Update `Style/SingleLineMethods` to correct to an endless method definition if they are allowed. ([@dvandersluis][]) * [#9331](https://github.com/rubocop-hq/rubocop/pull/9331): Mark `Style/MutableConstant` as unsafe. ([@koic][]) [@koic]: https://github.com/koic [@noon-ng]: https://github.com/noon-ng [@dvandersluis]: https://github.com/dvandersluis [@Darhazer]: https://github.com/Darhazer [@muirdm]: https://github.com/muirdm [@agargiulo]: https://github.com/agargiulo [@dduugg]: https://github.com/dduugg * Mon Jan 04 2021 Dan Čermák <dcermak@suse.com> - New upstream release 1.7.0 [#]## New features * [#9260](https://github.com/rubocop-hq/rubocop/pull/9260): Support auto-correction for `Style/MultilineMethodSignature`. ([@koic][]) * [#9282](https://github.com/rubocop-hq/rubocop/pull/9282): Make `Style/RedundantFreeze` and `Style/MutableConstant` cops aware of frozen regexp and range literals when using Ruby 3.0. ([@koic][]) * [#9223](https://github.com/rubocop-hq/rubocop/issues/9223): Add new `Lint/AmbiguousAssignment` cop. ([@fatkodima][]) * [#9243](https://github.com/rubocop-hq/rubocop/pull/9243): Support auto-correction for `Style/CommentedKeyword`. ([@koic][]) * [#9283](https://github.com/rubocop-hq/rubocop/pull/9283): Add new `Style/HashExcept` cop. ([@koic][]) * [#9231](https://github.com/rubocop-hq/rubocop/pull/9231): Add new `Layout/SpaceBeforeBrackets` cop. ([@koic][]) [#]## Bug fixes * [#9232](https://github.com/rubocop-hq/rubocop/pull/9232): Fix `Style/SymbolProc` registering wrong offense when using a symbol numbered block argument greater than 1, i.e. `[[1, 2]].map { _2.succ }`. ([@tdeo][]) * [#9274](https://github.com/rubocop-hq/rubocop/issues/9274): Fix error in `Metrics/ClassLength` when the class only contains comments. ([@dvandersluis][]) * [#9213](https://github.com/rubocop-hq/rubocop/issues/9213): Fix a false positive for `Style/RedanduntFreeze` when using `Array#*`. ([@koic][]) * [#9279](https://github.com/rubocop-hq/rubocop/pull/9279): Add support for endless methods to `Style/MethodCallWithArgsParentheses`. ([@dvandersluis][]) * [#9245](https://github.com/rubocop-hq/rubocop/issues/9245): Fix `Lint/AmbiguousRegexpLiteral` when given a `match_with_lvasgn` node. ([@dvandersluis][]) * [#9276](https://github.com/rubocop-hq/rubocop/pull/9276): Add support for endless methods to `Style/SingleLineMethods`. ([@dvandersluis][]) * [#9225](https://github.com/rubocop-hq/rubocop/issues/9225): Fix Style/LambdaCall ignoring further offenses after opposite style is detected. ([@sswander][]) * [#9234](https://github.com/rubocop-hq/rubocop/issues/9234): Fix the error for `Style/KeywordParametersOrder` and make it aware of block keyword parameters. ([@koic][]) * [#8938](https://github.com/rubocop-hq/rubocop/pull/8938): Fix some ConfigurableEnforcedStyle cops to output `Exclude` file lists in `--auto-gen-config` runs. ([@h-lame][]) * [#9257](https://github.com/rubocop-hq/rubocop/issues/9257): Fix false positive for `Style/SymbolProc` when the block uses a variable from outside the block. ([@dvandersluis][]) * [#9251](https://github.com/rubocop-hq/rubocop/issues/9251): Fix extracted cop warning when the extension is loaded using `--require`. ([@dvandersluis][]) * [#9244](https://github.com/rubocop-hq/rubocop/issues/9244): When a cop defined in an extension is explicitly enabled, ensure that it remains enabled. ([@dvandersluis][]) * [#8046](https://github.com/rubocop-hq/rubocop/issues/8046): Fix an error for `Layout/HeredocArgumentClosingParenthesis` when there is an argument between a heredoc argument and the closing paretheses. ([@koic][]) * [#9261](https://github.com/rubocop-hq/rubocop/pull/9261): Fix an incorrect auto-correct for `Style/MultilineWhenThen` when one line for multiple condidate values of `when` statement. ([@makicamel][]) * [#9258](https://github.com/rubocop-hq/rubocop/pull/9258): Fix calculation of cop department for nested departments. ([@mvz][]) * [#9277](https://github.com/rubocop-hq/rubocop/pull/9277): Fix `Layout/EmptyLineBetweenDefs` error with endless method definitions. ([@dvandersluis][]) * [#9278](https://github.com/rubocop-hq/rubocop/pull/9278): Update `Style/MethodDefParentheses` to ignore endless method definitions since parentheses are always required. ([@dvandersluis][]) [#]## Changes * [#9212](https://github.com/rubocop-hq/rubocop/pull/9212): Make `Style/RedundantArgument` aware of `String#chomp` and `String#chomp!`. ([@koic][]) * [#8482](https://github.com/rubocop-hq/rubocop/issues/8482): Allow simple math for `Lint/BinaryOperatorWithIdenticalOperands` cop. ([@fatkodima][]) * [#9237](https://github.com/rubocop-hq/rubocop/issues/9237): Add `IgnoredPatterns` configuration to `Lint/UnreachableLoop` to allow for block methods that share a name with an `Enumerable` method. ([@dvandersluis][]) * [#9206](https://github.com/rubocop-hq/rubocop/pull/9206): Allow extensions to disable cop obsoletions. ([@dvandersluis][]) * [#9262](https://github.com/rubocop-hq/rubocop/issues/9262): Update `Style/CollectionMethods` to be handle additional arguments and methods that accept a symbol instead of a block. ([@dvandersluis][]) * [#9235](https://github.com/rubocop-hq/rubocop/issues/9235): Allow `--only` and `--except` to be able to properly qualify cops added by require. ([@dvandersluis][]) * [#9205](https://github.com/rubocop-hq/rubocop/issues/9205): Update `Naming/MemoizedInstanceVariableName` to handle dynamically defined methods. ([@dvandersluis][]) * [#9285](https://github.com/rubocop-hq/rubocop/pull/9285): Add `AllowPercentLiteralArrayArgument` option for `Lint/RedundantSplatExpansion` to enable the option by default. ([@koic][]) * [#9208](https://github.com/rubocop-hq/rubocop/issues/9208): Use Array#bsearch instead of Array#include? to detect hidden files. ([@dark-panda][]) * [#9228](https://github.com/rubocop-hq/rubocop/pull/9228): Suppress any config warnings for `rubocop -V`. ([@dvandersluis][]) * [#9193](https://github.com/rubocop-hq/rubocop/pull/9193): Add `IgnoreLiteralBranches` and `IgnoreConstantBranches` options to `Lint/DuplicateBranch`. ([@dvandersluis][]) [@koic]: https://github.com/koic [@fatkodima]: https://github.com/fatkodima [@tdeo]: https://github.com/tdeo [@dvandersluis]: https://github.com/dvandersluis [@sswander]: https://github.com/sswander [@h-lame]: https://github.com/h-lame [@makicamel]: https://github.com/makicamel [@mvz]: https://github.com/mvz [@dark-panda]: https://github.com/dark-panda - New upstream release 1.6.1 [#]## Bug fixes * [#9196](https://github.com/rubocop-hq/rubocop/issues/9196): Fix `ConfigObsoletion::ExtractedCop` raising errors for loaded features when bundler is not activated. ([@dvandersluis][]) [@dvandersluis]: https://github.com/dvandersluis
/etc/alternatives/rubocop /etc/alternatives/rubocop-1.68.0 /etc/alternatives/rubocop.ruby3.3 /usr/bin/rubocop /usr/bin/rubocop-1.68.0 /usr/bin/rubocop.ruby3.3 /usr/bin/rubocop.ruby3.3-1.68.0 /usr/lib64/ruby/gems/3.3.0/build_info /usr/lib64/ruby/gems/3.3.0/cache/rubocop-1.68.0.gem /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0 /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/LICENSE.txt /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/README.md /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/assets /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/assets/logo.png /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/assets/output.css.erb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/assets/output.html.erb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/config /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/config/default.yml /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/config/internal_affairs.yml /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/config/obsoletion.yml /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/exe /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/exe/rubocop /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/arguments_env.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/arguments_file.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/ast_aliases.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cache_config.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cached_data.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cli /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cli.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cli/command /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cli/command.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cli/command/auto_generate_config.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cli/command/base.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cli/command/execute_runner.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cli/command/init_dotfile.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cli/command/lsp.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cli/command/show_cops.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cli/command/show_docs_url.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cli/command/suggest_extensions.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cli/command/version.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cli/environment.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/comment_config.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/config.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/config_finder.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/config_loader.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/config_loader_resolver.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/config_obsoletion /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/config_obsoletion.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/config_obsoletion/changed_enforced_styles.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/config_obsoletion/changed_parameter.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/config_obsoletion/cop_rule.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/config_obsoletion/extracted_cop.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/config_obsoletion/parameter_rule.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/config_obsoletion/removed_cop.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/config_obsoletion/renamed_cop.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/config_obsoletion/rule.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/config_obsoletion/split_cop.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/config_regeneration.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/config_store.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/config_validator.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/autocorrect_logic.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/badge.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/base.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/bundler /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/bundler/duplicated_gem.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/bundler/duplicated_group.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/bundler/gem_comment.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/bundler/gem_filename.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/bundler/gem_version.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/bundler/insecure_protocol_source.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/bundler/ordered_gems.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/commissioner.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/cop.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/corrector.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/correctors /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/correctors/alignment_corrector.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/correctors/condition_corrector.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/correctors/each_to_for_corrector.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/correctors/empty_line_corrector.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/correctors/for_to_each_corrector.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/correctors/if_then_corrector.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/correctors/line_break_corrector.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/correctors/ordered_gem_corrector.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/correctors/parentheses_corrector.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/correctors/percent_literal_corrector.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/correctors/punctuation_corrector.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/correctors/require_library_corrector.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/correctors/space_corrector.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/correctors/string_literal_corrector.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/correctors/unused_arg_corrector.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/documentation.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/exclude_limit.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/force.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/gemspec /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/gemspec/add_runtime_dependency.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/gemspec/dependency_version.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/gemspec/deprecated_attribute_assignment.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/gemspec/development_dependencies.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/gemspec/duplicated_assignment.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/gemspec/ordered_dependencies.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/gemspec/require_mfa.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/gemspec/required_ruby_version.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/gemspec/ruby_version_globals_usage.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/generator /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/generator.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/generator/configuration_injector.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/generator/require_file_injector.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/ignored_node.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/internal_affairs /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/internal_affairs.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/internal_affairs/cop_description.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/internal_affairs/create_empty_file.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/internal_affairs/empty_line_between_expect_offense_and_correction.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/internal_affairs/example_description.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/internal_affairs/example_heredoc_delimiter.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/internal_affairs/inherit_deprecated_cop_class.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/internal_affairs/lambda_or_proc.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/internal_affairs/location_expression.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/internal_affairs/location_line_equality_comparison.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/internal_affairs/method_name_end_with.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/internal_affairs/method_name_equal.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/internal_affairs/node_destructuring.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/internal_affairs/node_first_or_last_argument.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/internal_affairs/node_matcher_directive.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/internal_affairs/node_type_predicate.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/internal_affairs/numblock_handler.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/internal_affairs/offense_location_keyword.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/internal_affairs/processed_source_buffer_name.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/internal_affairs/redundant_context_config_parameter.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/internal_affairs/redundant_described_class_as_subject.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/internal_affairs/redundant_expect_offense_arguments.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/internal_affairs/redundant_let_rubocop_config_new.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/internal_affairs/redundant_location_argument.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/internal_affairs/redundant_message_argument.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/internal_affairs/redundant_method_dispatch_node.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/internal_affairs/redundant_source_range.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/internal_affairs/single_line_comparison.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/internal_affairs/style_detected_api_use.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/internal_affairs/undefined_config.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/internal_affairs/useless_message_assertion.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/internal_affairs/useless_restrict_on_send.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/access_modifier_indentation.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/argument_alignment.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/array_alignment.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/assignment_indentation.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/begin_end_alignment.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/block_alignment.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/block_end_newline.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/case_indentation.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/class_structure.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/closing_heredoc_indentation.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/closing_parenthesis_indentation.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/comment_indentation.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/condition_position.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/def_end_alignment.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/dot_position.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/else_alignment.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/empty_comment.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/empty_line_after_guard_clause.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/empty_line_after_magic_comment.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/empty_line_after_multiline_condition.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/empty_line_between_defs.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/empty_lines.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/empty_lines_around_arguments.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/empty_lines_around_attribute_accessor.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/empty_lines_around_begin_body.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/empty_lines_around_block_body.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/empty_lines_around_class_body.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/empty_lines_around_method_body.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/empty_lines_around_module_body.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/end_alignment.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/end_of_line.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/extra_spacing.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/first_argument_indentation.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/first_array_element_indentation.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/first_array_element_line_break.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/first_hash_element_indentation.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/first_hash_element_line_break.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/first_method_argument_line_break.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/first_method_parameter_line_break.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/first_parameter_indentation.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/hash_alignment.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/heredoc_indentation.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/indentation_consistency.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/indentation_style.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/indentation_width.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/initial_indentation.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/leading_comment_space.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/leading_empty_lines.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/line_continuation_leading_space.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/line_continuation_spacing.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/line_end_string_concatenation_indentation.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/line_length.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/multiline_array_brace_layout.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/multiline_array_line_breaks.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/multiline_assignment_layout.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/multiline_block_layout.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/multiline_hash_brace_layout.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/multiline_hash_key_line_breaks.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/multiline_method_argument_line_breaks.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/multiline_method_call_indentation.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/multiline_method_definition_brace_layout.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/multiline_method_parameter_line_breaks.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/multiline_operation_indentation.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/parameter_alignment.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/redundant_line_break.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/rescue_ensure_alignment.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/single_line_block_chain.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/space_after_colon.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/space_after_comma.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/space_after_method_name.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/space_after_not.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/space_after_semicolon.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/space_around_block_parameters.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/space_around_equals_in_parameter_default.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/space_around_keyword.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/space_around_method_call_operator.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/space_around_operators.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/space_before_block_braces.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/space_before_brackets.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/space_before_comma.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/space_before_comment.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/space_before_first_arg.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/space_before_semicolon.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/space_in_lambda_literal.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/space_inside_array_percent_literal.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/space_inside_block_braces.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/space_inside_parens.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/space_inside_percent_literal_delimiters.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/space_inside_range_literal.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/space_inside_reference_brackets.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/space_inside_string_interpolation.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/trailing_empty_lines.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/layout/trailing_whitespace.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/legacy /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/legacy/corrections_proxy.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/legacy/corrector.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/ambiguous_assignment.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/ambiguous_block_association.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/ambiguous_operator.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/ambiguous_operator_precedence.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/ambiguous_range.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/ambiguous_regexp_literal.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/assignment_in_condition.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/big_decimal_new.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/binary_operator_with_identical_operands.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/boolean_symbol.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/circular_argument_reference.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/constant_definition_in_block.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/constant_overwritten_in_rescue.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/constant_resolution.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/debugger.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/deprecated_class_methods.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/deprecated_constants.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/deprecated_open_ssl_constant.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/disjunctive_assignment_in_constructor.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/duplicate_branch.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/duplicate_case_condition.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/duplicate_elsif_condition.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/duplicate_hash_key.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/duplicate_magic_comment.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/duplicate_match_pattern.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/duplicate_methods.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/duplicate_regexp_character_class_element.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/duplicate_require.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/duplicate_rescue_exception.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/duplicate_set_element.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/each_with_object_argument.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/else_layout.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/empty_block.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/empty_class.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/empty_conditional_body.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/empty_ensure.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/empty_expression.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/empty_file.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/empty_in_pattern.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/empty_interpolation.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/empty_when.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/ensure_return.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/erb_new_arguments.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/flip_flop.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/float_comparison.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/float_out_of_range.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/format_parameter_mismatch.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/hash_compare_by_identity.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/heredoc_method_call_position.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/identity_comparison.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/implicit_string_concatenation.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/incompatible_io_select_with_fiber_scheduler.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/ineffective_access_modifier.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/inherit_exception.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/interpolation_check.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/it_without_arguments_in_block.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/lambda_without_literal_block.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/literal_as_condition.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/literal_assignment_in_condition.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/literal_in_interpolation.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/loop.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/missing_cop_enable_directive.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/missing_super.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/mixed_case_range.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/mixed_regexp_capture_types.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/multiple_comparison.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/nested_method_definition.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/nested_percent_literal.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/next_without_accumulator.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/no_return_in_begin_end_blocks.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/non_atomic_file_operation.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/non_deterministic_require_order.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/non_local_exit_from_iterator.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/number_conversion.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/numbered_parameter_assignment.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/or_assignment_to_constant.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/ordered_magic_comments.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/out_of_range_regexp_ref.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/percent_string_array.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/percent_symbol_array.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/raise_exception.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/rand_one.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/redundant_cop_enable_directive.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/redundant_dir_glob_sort.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/redundant_regexp_quantifiers.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/redundant_require_statement.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/redundant_safe_navigation.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/redundant_splat_expansion.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/redundant_string_coercion.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/redundant_with_index.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/redundant_with_object.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/refinement_import_methods.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/regexp_as_condition.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/require_parentheses.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/require_range_parentheses.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/require_relative_self_path.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/rescue_exception.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/rescue_type.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/return_in_void_context.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/safe_navigation_chain.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/safe_navigation_consistency.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/safe_navigation_with_empty.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/script_permission.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/self_assignment.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/send_with_mixin_argument.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/shadowed_argument.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/shadowed_exception.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/shadowing_outer_local_variable.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/struct_new_override.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/suppressed_exception.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/symbol_conversion.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/syntax.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/to_enum_arguments.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/to_json.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/top_level_return_with_argument.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/trailing_comma_in_attribute_declaration.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/triple_quotes.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/underscore_prefixed_variable_name.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/unescaped_bracket_in_regexp.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/unexpected_block_arity.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/unified_integer.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/unreachable_code.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/unreachable_loop.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/unused_block_argument.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/unused_method_argument.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/uri_escape_unescape.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/uri_regexp.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/useless_access_modifier.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/useless_assignment.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/useless_else_without_rescue.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/useless_method_definition.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/useless_numeric_operation.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/useless_rescue.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/useless_ruby2_keywords.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/useless_setter_call.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/useless_times.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/lint/void.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/message_annotator.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/metrics /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/metrics/abc_size.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/metrics/block_length.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/metrics/block_nesting.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/metrics/class_length.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/metrics/collection_literal_length.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/metrics/cyclomatic_complexity.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/metrics/method_length.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/metrics/module_length.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/metrics/parameter_lists.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/metrics/perceived_complexity.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/metrics/utils /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/metrics/utils/abc_size_calculator.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/metrics/utils/code_length_calculator.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/metrics/utils/iterating_block.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/metrics/utils/repeated_csend_discount.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/migration /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/migration/department_name.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/alignment.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/allowed_identifiers.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/allowed_methods.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/allowed_pattern.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/allowed_receivers.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/annotation_comment.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/array_min_size.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/array_syntax.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/auto_corrector.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/check_assignment.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/check_line_breakable.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/code_length.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/comments_help.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/configurable_enforced_style.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/configurable_formatting.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/configurable_max.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/configurable_naming.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/configurable_numbering.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/def_node.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/documentation_comment.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/duplication.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/empty_lines_around_body.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/empty_parameter.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/end_keyword_alignment.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/endless_method_rewriter.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/enforce_superclass.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/first_element_line_break.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/frozen_string_literal.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/gem_declaration.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/gemspec_help.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/hash_alignment_styles.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/hash_shorthand_syntax.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/hash_transform_method.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/heredoc.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/integer_node.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/interpolation.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/line_length_help.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/match_range.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/method_complexity.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/method_preference.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/min_body_length.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/min_branches_count.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/multiline_element_indentation.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/multiline_element_line_breaks.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/multiline_expression_indentation.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/negative_conditional.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/nil_methods.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/on_normal_if_unless.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/ordered_gem_node.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/parentheses.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/percent_array.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/percent_literal.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/preceding_following_alignment.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/preferred_delimiters.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/range_help.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/rational_literal.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/require_library.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/rescue_node.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/safe_assignment.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/space_after_punctuation.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/space_before_punctuation.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/statement_modifier.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/string_help.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/string_literals_help.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/surrounding_space.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/symbol_help.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/target_ruby_version.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/trailing_body.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/trailing_comma.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/uncommunicative_name.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/unused_argument.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/mixin/visibility_help.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/naming /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/naming/accessor_method_name.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/naming/ascii_identifiers.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/naming/binary_operator_parameter_name.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/naming/block_forwarding.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/naming/block_parameter_name.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/naming/class_and_module_camel_case.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/naming/constant_name.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/naming/file_name.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/naming/heredoc_delimiter_case.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/naming/heredoc_delimiter_naming.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/naming/inclusive_language.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/naming/memoized_instance_variable_name.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/naming/method_name.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/naming/method_parameter_name.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/naming/predicate_name.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/naming/rescued_exceptions_variable_name.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/naming/variable_name.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/naming/variable_number.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/offense.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/registry.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/security /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/security/compound_hash.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/security/eval.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/security/io_methods.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/security/json_load.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/security/marshal_load.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/security/open.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/security/yaml_load.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/severity.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/access_modifier_declarations.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/accessor_grouping.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/alias.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/ambiguous_endless_method_definition.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/and_or.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/arguments_forwarding.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/array_coercion.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/array_first_last.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/array_intersect.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/array_join.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/ascii_comments.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/attr.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/auto_resource_cleanup.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/bare_percent_literals.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/begin_block.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/bisected_attr_accessor /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/bisected_attr_accessor.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/bisected_attr_accessor/macro.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/bitwise_predicate.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/block_comments.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/block_delimiters.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/case_equality.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/case_like_if.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/character_literal.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/class_and_module_children.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/class_check.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/class_equality_comparison.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/class_methods.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/class_methods_definitions.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/class_vars.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/collection_compact.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/collection_methods.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/colon_method_call.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/colon_method_definition.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/combinable_defined.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/combinable_loops.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/command_literal.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/comment_annotation.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/commented_keyword.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/comparable_clamp.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/concat_array_literals.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/conditional_assignment.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/constant_visibility.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/copyright.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/data_inheritance.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/date_time.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/def_with_parentheses.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/dir.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/dir_empty.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/disable_cops_within_source_code_directive.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/document_dynamic_eval_definition.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/documentation.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/documentation_method.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/double_cop_disable_directive.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/double_negation.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/each_for_simple_loop.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/each_with_object.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/empty_block_parameter.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/empty_case_condition.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/empty_else.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/empty_heredoc.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/empty_lambda_parameter.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/empty_literal.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/empty_method.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/encoding.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/end_block.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/endless_method.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/env_home.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/eval_with_location.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/even_odd.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/exact_regexp_match.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/expand_path_arguments.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/explicit_block_argument.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/exponential_notation.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/fetch_env_var.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/file_empty.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/file_read.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/file_write.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/float_division.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/for.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/format_string.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/format_string_token.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/frozen_string_literal_comment.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/global_std_stream.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/global_vars.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/guard_clause.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/hash_as_last_array_item.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/hash_conversion.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/hash_each_methods.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/hash_except.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/hash_like_case.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/hash_syntax.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/hash_transform_keys.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/hash_transform_values.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/identical_conditional_branches.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/if_inside_else.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/if_unless_modifier.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/if_unless_modifier_of_if_unless.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/if_with_boolean_literal_branches.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/if_with_semicolon.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/implicit_runtime_error.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/in_pattern_then.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/infinite_loop.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/inline_comment.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/inverse_methods.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/invertible_unless_condition.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/ip_addresses.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/keyword_arguments_merging.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/keyword_parameters_order.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/lambda.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/lambda_call.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/line_end_concatenation.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/magic_comment_format.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/map_compact_with_conditional_block.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/map_into_array.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/map_to_hash.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/map_to_set.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/method_call_with_args_parentheses /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/method_call_with_args_parentheses.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/method_call_with_args_parentheses/require_parentheses.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/method_call_without_args_parentheses.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/method_called_on_do_end_block.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/method_def_parentheses.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/min_max.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/min_max_comparison.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/missing_else.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/missing_respond_to_missing.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/mixin_grouping.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/mixin_usage.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/module_function.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/multiline_block_chain.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/multiline_if_modifier.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/multiline_if_then.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/multiline_in_pattern_then.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/multiline_memoization.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/multiline_method_signature.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/multiline_ternary_operator.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/multiline_when_then.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/multiple_comparison.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/mutable_constant.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/negated_if.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/negated_if_else_condition.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/negated_unless.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/negated_while.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/nested_file_dirname.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/nested_modifier.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/nested_parenthesized_calls.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/nested_ternary_operator.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/next.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/nil_comparison.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/nil_lambda.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/non_nil_check.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/not.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/numbered_parameters.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/numbered_parameters_limit.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/numeric_literal_prefix.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/numeric_literals.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/numeric_predicate.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/object_then.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/one_line_conditional.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/open_struct_use.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/operator_method_call.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/option_hash.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/optional_arguments.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/optional_boolean_parameter.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/or_assignment.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/parallel_assignment.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/parentheses_around_condition.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/percent_literal_delimiters.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/percent_q_literals.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/perl_backrefs.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/preferred_hash_methods.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/proc.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/quoted_symbols.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/raise_args.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/random_with_offset.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/redundant_argument.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/redundant_array_constructor.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/redundant_assignment.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/redundant_begin.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/redundant_capital_w.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/redundant_condition.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/redundant_conditional.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/redundant_constant_base.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/redundant_current_directory_in_path.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/redundant_double_splat_hash_braces.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/redundant_each.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/redundant_exception.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/redundant_fetch_block.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/redundant_file_extension_in_require.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/redundant_filter_chain.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/redundant_freeze.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/redundant_heredoc_delimiter_quotes.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/redundant_initialize.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/redundant_interpolation.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/redundant_interpolation_unfreeze.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/redundant_line_continuation.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/redundant_parentheses.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/redundant_percent_q.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/redundant_regexp_argument.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/redundant_regexp_character_class.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/redundant_regexp_constructor.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/redundant_regexp_escape.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/redundant_return.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/redundant_self.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/redundant_self_assignment.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/redundant_self_assignment_branch.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/redundant_sort.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/redundant_sort_by.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/redundant_string_escape.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/regexp_literal.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/require_order.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/rescue_modifier.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/rescue_standard_error.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/return_nil.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/return_nil_in_predicate_method_definition.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/safe_navigation.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/safe_navigation_chain_length.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/sample.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/select_by_regexp.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/self_assignment.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/semicolon.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/send.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/send_with_literal_method_name.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/signal_exception.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/single_argument_dig.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/single_line_block_params.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/single_line_do_end_block.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/single_line_methods.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/slicing_with_range.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/sole_nested_conditional.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/special_global_vars.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/stabby_lambda_parentheses.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/static_class.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/stderr_puts.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/string_chars.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/string_concatenation.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/string_hash_keys.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/string_literals.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/string_literals_in_interpolation.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/string_methods.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/strip.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/struct_inheritance.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/super_arguments.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/super_with_args_parentheses.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/swap_values.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/symbol_array.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/symbol_literal.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/symbol_proc.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/ternary_parentheses.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/top_level_method_definition.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/trailing_body_on_class.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/trailing_body_on_method_definition.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/trailing_body_on_module.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/trailing_comma_in_arguments.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/trailing_comma_in_array_literal.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/trailing_comma_in_block_args.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/trailing_comma_in_hash_literal.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/trailing_method_end_statement.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/trailing_underscore_variable.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/trivial_accessors.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/unless_else.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/unless_logical_operators.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/unpack_first.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/variable_interpolation.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/when_then.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/while_until_do.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/while_until_modifier.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/word_array.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/yaml_file_read.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/yoda_condition.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/yoda_expression.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/style/zero_length_predicate.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/team.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/util.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/utils /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/utils/format_string.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/utils/regexp_ranges.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/variable_force /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/variable_force.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/variable_force/assignment.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/variable_force/branch.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/variable_force/branchable.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/variable_force/reference.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/variable_force/scope.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/variable_force/variable.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cop/variable_force/variable_table.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/cops_documentation_generator.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/core_ext /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/core_ext/string.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/directive_comment.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/error.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/ext /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/ext/comment.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/ext/processed_source.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/ext/range.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/ext/regexp_node.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/ext/regexp_parser.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/feature_loader.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/file_finder.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/file_patterns.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/formatter /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/formatter.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/formatter/auto_gen_config_formatter.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/formatter/base_formatter.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/formatter/clang_style_formatter.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/formatter/colorizable.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/formatter/disabled_config_formatter.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/formatter/emacs_style_formatter.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/formatter/file_list_formatter.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/formatter/formatter_set.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/formatter/fuubar_style_formatter.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/formatter/github_actions_formatter.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/formatter/html_formatter.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/formatter/json_formatter.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/formatter/junit_formatter.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/formatter/markdown_formatter.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/formatter/offense_count_formatter.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/formatter/pacman_formatter.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/formatter/progress_formatter.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/formatter/quiet_formatter.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/formatter/simple_text_formatter.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/formatter/tap_formatter.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/formatter/text_util.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/formatter/worst_offenders_formatter.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/lockfile.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/lsp /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/lsp.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/lsp/logger.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/lsp/routes.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/lsp/runtime.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/lsp/server.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/lsp/severity.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/magic_comment.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/name_similarity.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/options.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/path_util.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/platform.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/rake_task.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/remote_config.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/result_cache.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/rspec /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/rspec/cop_helper.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/rspec/expect_offense.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/rspec/host_environment_simulation_helper.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/rspec/parallel_formatter.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/rspec/shared_contexts.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/rspec/support.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/runner.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/server /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/server.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/server/cache.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/server/cli.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/server/client_command /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/server/client_command.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/server/client_command/base.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/server/client_command/exec.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/server/client_command/restart.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/server/client_command/start.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/server/client_command/status.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/server/client_command/stop.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/server/core.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/server/errors.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/server/helper.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/server/server_command /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/server/server_command.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/server/server_command/base.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/server/server_command/exec.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/server/server_command/stop.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/server/socket_reader.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/string_interpreter.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/target_finder.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/target_ruby.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/util.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/version.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/warning.rb /usr/lib64/ruby/gems/3.3.0/gems/rubocop-1.68.0/lib/rubocop/yaml_duplication_checker.rb /usr/lib64/ruby/gems/3.3.0/specifications/rubocop-1.68.0.gemspec /usr/share/doc/packages/ruby3.3-rubygem-rubocop /usr/share/doc/packages/ruby3.3-rubygem-rubocop/LICENSE.txt /usr/share/doc/packages/ruby3.3-rubygem-rubocop/README.md
Generated by rpm2html 1.8.1
Fabrice Bellet, Tue Nov 19 01:14:14 2024