Bumps the rubocop group with 1 update: [rubocop](https://github.com/rubocop/rubocop).
Updates `rubocop` from 1.82.1 to 1.84.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/rubocop/rubocop/releases">rubocop's releases</a>.</em></p> <blockquote> <h2>RuboCop v1.84.0</h2> <h3>New features</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14516">#14516</a>: Add <code>AllowImplicitArrayLiterals</code> to <code>Layout/FirstArrayElementLineBreak</code>. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14750">#14750</a>: Add new <code>Style/ReverseFind</code> cop. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/12343">#12343</a>: Add new <code>Style/EmptyClassDefinition</code> cop to enforce consistent style for empty class definitions. The cop can enforce either a two-line class definition or <code>Class.new</code> for classes with no body. (<a href="https://github.com/ydakuka"><code>@ydakuka</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14769">#14769</a>: Add new <code>Style/HashLookupMethod</code> cop to enforce <code>Hash#[]</code> vs <code>Hash#fetch</code> preference. (<a href="https://github.com/sferik"><code>@sferik</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/12051">#12051</a>: Add new <code>Style/NegativeArrayIndex</code> cop to enforce using negative array indices instead of calculating array length minus a value. The cop handles both simple index patterns and range patterns, and recognizes preserving methods and their combinations. (<a href="https://github.com/ydakuka"><code>@ydakuka</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14633">#14633</a>: Make a new system to handle push and pop locally. (<a href="https://github.com/Magikdidi24"><code>@Magikdidi24</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14722">#14722</a>: Support <code>TargetRubyVersion 4.1</code> (experimental). (<a href="https://github.com/koic"><code>@koic</code></a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14697">#14697</a>: Allow non-method calls in <code>Categories</code> for <code>Layout/ClassStructure</code>. (<a href="https://github.com/fatkodima"><code>@fatkodima</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14784">#14784</a>: Fix an error for <code>Style/GuardClause</code> when using heredoc as an argument of raise in <code>else</code> branch and <code>if</code> branch is empty. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14790">#14790</a>: Fix an error for <code>Style/HashLookupMethod</code> cop when there's no receiver. (<a href="https://github.com/viralpraxis"><code>@viralpraxis</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14779">#14779</a>: Fix autocorrect crash with <code>ruby_extractor</code> when using <code>offset: 0</code> and different source buffers. (<a href="https://github.com/ydakuka"><code>@ydakuka</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14762">#14762</a>: Fix false negatives for <code>Style/RedundantCondition</code> when the branches contains constant assignment. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14751">#14751</a>: Fix <code>--force-default-config</code> not preventing project config loading when used with options that access configuration. (<a href="https://github.com/sakuro"><code>@sakuro</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14783">#14783</a>: Fix incorrect autocorrect for <code>Style/HashSyntax</code> when shorthand syntax is used in condition of <code>if</code>/<code>unless</code>/<code>while</code>/<code>until</code>. (<a href="https://github.com/ydakuka"><code>@ydakuka</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14747">#14747</a>: Fix a regression in<code>Layout/IndentationWidth</code> by adding a new <code>EnforcedStyleAlignWith</code> style parameter. (<a href="https://github.com/MikeMcQuaid"><code>@MikeMcQuaid</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14716">#14716</a>: Fix an infinite loop error for <code>Layout/LineLength</code> when <code>SplitStrings</code> option is enabled and strings span multiple lines. (<a href="https://github.com/HariprasanthMSH"><code>@HariprasanthMSH</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14763">#14763</a>: Fix an infinite loop error for <code>Layout/IndentationWidth</code> and <code>Layout/IndentationConsistency</code> when using <code>EnforcedStyle: indented_internal_methods</code> with method chain blocks. (<a href="https://github.com/ydakuka"><code>@ydakuka</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/9373">#9373</a>: Fix an infinite loop error for <code>Layout/IndentationWidth</code> when autocorrecting mixed tabs and spaces in blocks. Fix an infinite loop error for <code>Layout/DefEndAlignment</code> and <code>Layout/IndentationStyle</code> when autocorrecting mixed tabs and spaces. Autocorrection for tabs is disabled in <code>AlignmentCorrector</code> for indentation offenses, but enabled for <code>align_end</code>. (<a href="https://github.com/ydakuka"><code>@ydakuka</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/12295">#12295</a>: Fix <code>Layout/FirstArgumentIndentation</code> to correct entire method calls and chains for nested calls. (<a href="https://github.com/ydakuka"><code>@ydakuka</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/12527">#12527</a>: Fix <code>Offense#highlighted_area</code> to return a valid <code>Parser::Source::Range</code>. (<a href="https://github.com/ydakuka"><code>@ydakuka</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14801">#14801</a>: Preserve source tabs in Clang and Tap formatters when displaying offense highlight. (<a href="https://github.com/lovro-bikic"><code>@lovro-bikic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14761">#14761</a>: Improved the remote configuration file name on the cache location. ([<a href="https://github.com/Jack12816"><code>@Jack12816</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14778">#14778</a>: Fix a false positive for <code>Security/JSONLoad</code> when <code>create_additions</code> option is passed with other options in a hash. ([<a href="https://github.com/wktk"><code>@wktk</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14796">#14796</a>: Handle logical and operator assignment nodes in variable branch handling. (<a href="https://github.com/lovro-bikic"><code>@lovro-bikic</code></a>)</li> </ul> <h3>Changes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14753">#14753</a>: Add support for <code>squish</code> and <code>squish!</code> applied to heredoc to <code>Layout/HeredocIndentation</code>. (<a href="https://github.com/lovro-bikic"><code>@lovro-bikic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14798">#14798</a>: Recognize <code>Forwardable</code> methods in <code>Lint/DuplicateMethods</code>. (<a href="https://github.com/lovro-bikic"><code>@lovro-bikic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14793">#14793</a>: Make <code>Lint/RedundantSplatExpansion</code> aware of constant assignment. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14770">#14770</a>: Make <code>Style/AccessModifierDeclarations</code> aware of self class. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14748">#14748</a>: Add support for other <code>Module</code> member existence methods to <code>Style/ModuleMemberExistenceCheck</code>. (<a href="https://github.com/lovro-bikic"><code>@lovro-bikic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14795">#14795</a>: Add <code>AllowedMethods</code> configuration to <code>Style/ModuleMemberExistenceCheck</code>. (<a href="https://github.com/lovro-bikic"><code>@lovro-bikic</code></a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md">rubocop's changelog</a>.</em></p> <blockquote> <h2>1.84.0 (2026-01-27)</h2> <h3>New features</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14516">#14516</a>: Add <code>AllowImplicitArrayLiterals</code> to <code>Layout/FirstArrayElementLineBreak</code>. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14750">#14750</a>: Add new <code>Style/ReverseFind</code> cop. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/12343">#12343</a>: Add new <code>Style/EmptyClassDefinition</code> cop to enforce consistent style for empty class definitions. The cop can enforce either a two-line class definition or <code>Class.new</code> for classes with no body. ([<a href="https://github.com/ydakuka"><code>@ydakuka</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14769">#14769</a>: Add new <code>Style/HashLookupMethod</code> cop to enforce <code>Hash#[]</code> vs <code>Hash#fetch</code> preference. ([<a href="https://github.com/sferik"><code>@sferik</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/12051">#12051</a>: Add new <code>Style/NegativeArrayIndex</code> cop to enforce using negative array indices instead of calculating array length minus a value. The cop handles both simple index patterns and range patterns, and recognizes preserving methods and their combinations. ([<a href="https://github.com/ydakuka"><code>@ydakuka</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14633">#14633</a>: Make a new system to handle push and pop locally. ([<a href="https://github.com/Magikdidi24"><code>@Magikdidi24</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14722">#14722</a>: Support <code>TargetRubyVersion 4.1</code> (experimental). ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> </ul> <h3>Bug fixes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14697">#14697</a>: Allow non-method calls in <code>Categories</code> for <code>Layout/ClassStructure</code>. ([<a href="https://github.com/fatkodima"><code>@fatkodima</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14784">#14784</a>: Fix an error for <code>Style/GuardClause</code> when using heredoc as an argument of raise in <code>else</code> branch and <code>if</code> branch is empty. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14790">#14790</a>: Fix an error for <code>Style/HashLookupMethod</code> cop when there's no receiver. ([<a href="https://github.com/viralpraxis"><code>@viralpraxis</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14779">#14779</a>: Fix autocorrect crash with <code>ruby_extractor</code> when using <code>offset: 0</code> and different source buffers. ([<a href="https://github.com/ydakuka"><code>@ydakuka</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14762">#14762</a>: Fix false negatives for <code>Style/RedundantCondition</code> when the branches contains constant assignment. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14751">#14751</a>: Fix <code>--force-default-config</code> not preventing project config loading when used with options that access configuration. ([<a href="https://github.com/sakuro"><code>@sakuro</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14783">#14783</a>: Fix incorrect autocorrect for <code>Style/HashSyntax</code> when shorthand syntax is used in condition of <code>if</code>/<code>unless</code>/<code>while</code>/<code>until</code>. ([<a href="https://github.com/ydakuka"><code>@ydakuka</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14747">#14747</a>: Fix a regression in<code>Layout/IndentationWidth</code> by adding a new <code>EnforcedStyleAlignWith</code> style parameter. ([<a href="https://github.com/MikeMcQuaid"><code>@MikeMcQuaid</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14716">#14716</a>: Fix an infinite loop error for <code>Layout/LineLength</code> when <code>SplitStrings</code> option is enabled and strings span multiple lines. ([<a href="https://github.com/HariprasanthMSH"><code>@HariprasanthMSH</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14763">#14763</a>: Fix an infinite loop error for <code>Layout/IndentationWidth</code> and <code>Layout/IndentationConsistency</code> when using <code>EnforcedStyle: indented_internal_methods</code> with method chain blocks. ([<a href="https://github.com/ydakuka"><code>@ydakuka</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/9373">#9373</a>: Fix an infinite loop error for <code>Layout/IndentationWidth</code> when autocorrecting mixed tabs and spaces in blocks. Fix an infinite loop error for <code>Layout/DefEndAlignment</code> and <code>Layout/IndentationStyle</code> when autocorrecting mixed tabs and spaces. Autocorrection for tabs is disabled in <code>AlignmentCorrector</code> for indentation offenses, but enabled for <code>align_end</code>. ([<a href="https://github.com/ydakuka"><code>@ydakuka</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/12295">#12295</a>: Fix <code>Layout/FirstArgumentIndentation</code> to correct entire method calls and chains for nested calls. ([<a href="https://github.com/ydakuka"><code>@ydakuka</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/12527">#12527</a>: Fix <code>Offense#highlighted_area</code> to return a valid <code>Parser::Source::Range</code>. ([<a href="https://github.com/ydakuka"><code>@ydakuka</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14801">#14801</a>: Preserve source tabs in Clang and Tap formatters when displaying offense highlight. ([<a href="https://github.com/lovro-bikic"><code>@lovro-bikic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14761">#14761</a>: Improved the remote configuration file name on the cache location. ([<a href="https://github.com/Jack12816"><code>@Jack12816</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14778">#14778</a>: Fix a false positive for <code>Security/JSONLoad</code> when <code>create_additions</code> option is passed with other options in a hash. ([<a href="https://github.com/wktk"><code>@wktk</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14796">#14796</a>: Handle logical and operator assignment nodes in variable branch handling. ([<a href="https://github.com/lovro-bikic"><code>@lovro-bikic</code></a>][])</li> </ul> <h3>Changes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14753">#14753</a>: Add support for <code>squish</code> and <code>squish!</code> applied to heredoc to <code>Layout/HeredocIndentation</code>. ([<a href="https://github.com/lovro-bikic"><code>@lovro-bikic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14798">#14798</a>: Recognize <code>Forwardable</code> methods in <code>Lint/DuplicateMethods</code>. ([<a href="https://github.com/lovro-bikic"><code>@lovro-bikic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14793">#14793</a>: Make <code>Lint/RedundantSplatExpansion</code> aware of constant assignment. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14770">#14770</a>: Make <code>Style/AccessModifierDeclarations</code> aware of self class. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14748">#14748</a>: Add support for other <code>Module</code> member existence methods to <code>Style/ModuleMemberExistenceCheck</code>. ([<a href="https://github.com/lovro-bikic"><code>@lovro-bikic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14795">#14795</a>: Add <code>AllowedMethods</code> configuration to <code>Style/ModuleMemberExistenceCheck</code>. ([<a href="https://github.com/lovro-bikic"><code>@lovro-bikic</code></a>][])</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rubocop/rubocop/commit/11df34a0abcfcf5c926ddf2dcc49daab5a4ab0f7"><code>11df34a</code></a> Cut 1.84</li> <li><a href="https://github.com/rubocop/rubocop/commit/af56871d3ad5f0fbf2ce0801b7db747823bfcbc1"><code>af56871</code></a> Fix broken example</li> <li><a href="https://github.com/rubocop/rubocop/commit/4481685968fb258e151af8bf75b4e31dee043a06"><code>4481685</code></a> Allow references to be redirects</li> <li><a href="https://github.com/rubocop/rubocop/commit/5cb3b0fbefb17185a425a4812e1716b35eedcc6b"><code>5cb3b0f</code></a> Update Changelog</li> <li><a href="https://github.com/rubocop/rubocop/commit/2dc96ceeca3c390f02db833aef32ddd791ca126b"><code>2dc96ce</code></a> [Fix <a href="https://redirect.github.com/rubocop/rubocop/issues/10956">#10956</a>] Preserve source tabs in Clang and Tap formatters when displaying...</li> <li><a href="https://github.com/rubocop/rubocop/commit/5334618429257059d18758f51adfaac46d6cfaa3"><code>5334618</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop/issues/14798">#14798</a> from lovro-bikic/fix-14691</li> <li><a href="https://github.com/rubocop/rubocop/commit/38fd70c930a55b4d141e859d13cf598a77b3b3de"><code>38fd70c</code></a> Add AllowedMethods configuration to Style/ModuleMemberExistenceCheck</li> <li><a href="https://github.com/rubocop/rubocop/commit/cf1bdcf3447c26816b5f9a932b34aff7f36d9cef"><code>cf1bdcf</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop/issues/14799">#14799</a> from HariprasanthMS/bug_14716</li> <li><a href="https://github.com/rubocop/rubocop/commit/882519b994cf2ee6e2cd985fecb644a9c8ecfa7e"><code>882519b</code></a> [Fix <a href="https://redirect.github.com/rubocop/rubocop/issues/14716">#14716</a>] Fix infinite loop for Layout/LineLength with SplitStrings</li> <li><a href="https://github.com/rubocop/rubocop/commit/7f972a8c2989e0db92e14dc8eb78da5abe23d01d"><code>7f972a8</code></a> Fix <a href="https://redirect.github.com/rubocop/rubocop/issues/14691">#14691</a> Recognize Forwardable methods in Lint/DuplicateMethods</li> <li>Additional commits viewable in <a href="https://github.com/rubocop/rubocop/compare/v1.82.1...v1.84.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> You can view, comment on, or merge this pull request online at: https://github.com/openstreetmap/openstreetmap-website/pull/6751 -- Commit Summary -- * Bump rubocop from 1.82.1 to 1.84.0 in the rubocop group -- File Changes -- M Gemfile.lock (8) -- Patch Links -- https://github.com/openstreetmap/openstreetmap-website/pull/6751.patch https://github.com/openstreetmap/openstreetmap-website/pull/6751.diff -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/6751 You are receiving this because you are subscribed to this thread. Message ID: <openstreetmap/openstreetmap-website/pull/[email protected]>
_______________________________________________ rails-dev mailing list [email protected] https://lists.openstreetmap.org/listinfo/rails-dev
