Skip to content

Commit 2218c9a

Browse files
Bump the linters group with 4 updates (#4337)
Bumps the linters group with 4 updates: [rubocop](https://github.com/rubocop/rubocop), [rubocop-performance](https://github.com/rubocop/rubocop-performance), [rubocop-rails](https://github.com/rubocop/rubocop-rails) and [rubocop-rspec](https://github.com/rubocop/rubocop-rspec). Updates `rubocop` from 1.71.2 to 1.72.1 <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 1.72.1</h2> <h3>Bug fixes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13836">#13836</a>: Fix an error for <code>Style/RedundantParentheses</code> when a different expression appears before a range literal. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13839">#13839</a>: Fix false positives for <code>Lint/RedundantTypeConversion</code> when passing block arguments when generating a Hash or a Set. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> </ul> <h3>Changes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13839">#13839</a>: Extension plugin is loaded automatically with <code>require 'rubocop/rspec/support'</code>. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> </ul> <h2>RuboCop 1.72</h2> <h3>New features</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13740">#13740</a>: Add new <code>Lint/CopDirectiveSyntax</code> cop. (<a href="https://github.com/kyanagi"><code>@​kyanagi</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13800">#13800</a>: Add new <code>Lint/SuppressedExceptionInNumberConversion</code> cop. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13702">#13702</a>: Add new <code>Lint/RedundantTypeConversion</code> cop. (<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13831">#13831</a>: Add new <code>Lint/UselessConstantScoping</code> cop. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13793">#13793</a>: Add new <code>Style/RedundantFormat</code> cop to check for uses of <code>format</code> or <code>sprintf</code> with only a single string argument. (<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13581">#13581</a>: Add new <code>InternalAffairs/LocationExists</code> cop to check for code that can be replaced with <code>Node#loc?</code> or <code>Node#loc_is?</code>. (<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13661">#13661</a>: Make server mode detect local paths in .rubocop.yml under <code>inherit_from</code> and <code>require</code> for automatically restart. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13721">#13721</a>: <code>Naming/PredicateName</code>: Optionally use Sorbet to detect predicate methods. (<a href="https://github.com/issyl0"><code>@​issyl0</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/6012">#6012</a>: Support RuboCop extension plugin. (<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/13807">#13807</a>: Fix false negatives for <code>Style/RedundantParentheses</code> when chaining <code>[]</code> method calls. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13788">#13788</a>: Fix false negatives for <code>Style/RedundantParentheses</code> when <code>[]</code> method is called with variable or constant receivers. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13811">#13811</a>: Fix false negatives for <code>Style/RedundantParentheses</code> when handling range literals with redundant parentheses. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13796">#13796</a>: Fix crash in <code>Layout/EmptyLinesAroundMethodBody</code> for endless methods. (<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13817">#13817</a>: Fix false positive for format specifier with non-numeric precision. (<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/12672">#12672</a>: Fix false positives for <code>Lint/FormatParameterMismatch</code> when the width value is interpolated. (<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/12795">#12795</a>: Fix <code>Layout/BlockAlignment</code> for blocks that are the body of an endless method. (<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13822">#13822</a>: Fix undefined method Logger when processing watched file notifications. (<a href="https://github.com/vinistock"><code>@​vinistock</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13805">#13805</a>: Make the language_server-protocol dependency version stricter. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> </ul> </blockquote> </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.72.1 (2025-02-15)</h2> <h3>Bug fixes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13836">#13836</a>: Fix an error for <code>Style/RedundantParentheses</code> when a different expression appears before a range literal. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13839">#13839</a>: Fix false positives for <code>Lint/RedundantTypeConversion</code> when passing block arguments when generating a Hash or a Set. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> </ul> <h3>Changes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13839">#13839</a>: Extension plugin is loaded automatically with `require 'rubocop/rspec/support'. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> </ul> <h2>1.72.0 (2025-02-14)</h2> <h3>New features</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13740">#13740</a>: Add new <code>Lint/CopDirectiveSyntax</code> cop. ([<a href="https://github.com/kyanagi"><code>@​kyanagi</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13800">#13800</a>: Add new <code>Lint/SuppressedExceptionInNumberConversion</code> cop. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13702">#13702</a>: Add new <code>Lint/RedundantTypeConversion</code> cop. ([<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13831">#13831</a>: Add new <code>Lint/UselessConstantScoping</code> cop. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13793">#13793</a>: Add new <code>Style/RedundantFormat</code> cop to check for uses of <code>format</code> or <code>sprintf</code> with only a single string argument. ([<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13581">#13581</a>: Add new <code>InternalAffairs/LocationExists</code> cop to check for code that can be replaced with <code>Node#loc?</code> or <code>Node#loc_is?</code>. ([<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13661">#13661</a>: Make server mode detect local paths in .rubocop.yml under <code>inherit_from</code> and <code>require</code> for automatically restart. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13721">#13721</a>: <code>Naming/PredicateName</code>: Optionally use Sorbet to detect predicate methods. ([<a href="https://github.com/issyl0"><code>@​issyl0</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/6012">#6012</a>: Support RuboCop extension plugin. ([<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/13807">#13807</a>: Fix false negatives for <code>Style/RedundantParentheses</code> when chaining <code>[]</code> method calls. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13788">#13788</a>: Fix false negatives for <code>Style/RedundantParentheses</code> when <code>[]</code> method is called with variable or constant receivers. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13811">#13811</a>: Fix false negatives for <code>Style/RedundantParentheses</code> when handling range literals with redundant parentheses. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13796">#13796</a>: Fix crash in <code>Layout/EmptyLinesAroundMethodBody</code> for endless methods. ([<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13817">#13817</a>: Fix false positive for format specifier with non-numeric precision. ([<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/12672">#12672</a>: Fix false positives for <code>Lint/FormatParameterMismatch</code> when the width value is interpolated. ([<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/12795">#12795</a>: Fix <code>Layout/BlockAlignment</code> for blocks that are the body of an endless method. ([<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13822">#13822</a>: Fix undefined method Logger when processing watched file notifications. ([<a href="https://github.com/vinistock"><code>@​vinistock</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13805">#13805</a>: Make the language_server-protocol dependency version stricter. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rubocop/rubocop/commit/557a7b8132195cf56bf65bee816a86a7a21344a6"><code>557a7b8</code></a> Cut 1.72.1</li> <li><a href="https://github.com/rubocop/rubocop/commit/8fa015502b4ddc7dbca455cd282aa394b8e6638f"><code>8fa0155</code></a> Update Changelog</li> <li><a href="https://github.com/rubocop/rubocop/commit/224c259e317231911bd153e1fc16a2f857ed2acd"><code>224c259</code></a> Make plugin load error messages more user-friendly</li> <li><a href="https://github.com/rubocop/rubocop/commit/272303d79a70f05935c7f8d8880e4e92093e3590"><code>272303d</code></a> [Fix <a href="https://redirect.github.com/rubocop/rubocop/issues/13839">#13839</a>] Fix false positives for <code>Lint/RedundantTypeConversion</code></li> <li><a href="https://github.com/rubocop/rubocop/commit/8acafc7b0ecb09153dab1afe71db6c5983dc825f"><code>8acafc7</code></a> Extension plugin is loaded automatically with <code>require 'rubocop/rspec/support'</code></li> <li><a href="https://github.com/rubocop/rubocop/commit/1667898613b78049e99ce8bacb00d3b1fb92a554"><code>1667898</code></a> [Fix <a href="https://redirect.github.com/rubocop/rubocop/issues/13836">#13836</a>] Fix an error for <code>Style/RedundantParentheses</code></li> <li><a href="https://github.com/rubocop/rubocop/commit/f37f6d5ca334d787d895cfa111d36d3bf056059c"><code>f37f6d5</code></a> Reset docs version</li> <li><a href="https://github.com/rubocop/rubocop/commit/96989aaf72c21b845152827edbff49067a5b1bdc"><code>96989aa</code></a> Cut 1.72</li> <li><a href="https://github.com/rubocop/rubocop/commit/60cf2b75ba57a115d6497f1d8c0b55507368538b"><code>60cf2b7</code></a> Update Changelog</li> <li><a href="https://github.com/rubocop/rubocop/commit/ebc89df0c1fbd9dbc93d939feddc1d84740e6ae8"><code>ebc89df</code></a> Allow <code>RuboCop::ConfigLoader.inject_defaults!</code> to accept <code>Pathname</code> instances</li> <li>Additional commits viewable in <a href="https://github.com/rubocop/rubocop/compare/v1.71.2...v1.72.1">compare view</a></li> </ul> </details> <br /> Updates `rubocop-performance` from 1.23.1 to 1.24.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/rubocop/rubocop-performance/releases">rubocop-performance's releases</a>.</em></p> <blockquote> <h2>RuboCop Performance 1.24.0</h2> <h3>New features</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop-performance/pull/490">#490</a>: Pluginfy RuboCop Performance. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop-performance/pull/462">#462</a>: Add new <code>Performance/ZipWithoutBlock</code> cop that checks patterns like <code>.map { |id| [id] }</code> or <code>.map { [_1] }</code> and can replace them with <code>.zip</code>. (<a href="https://github.com/corsonknowles"><code>@​corsonknowles</code></a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop-performance/pull/484">#484</a>: Fix <code>Performance/CaseWhenSplat</code> cop error on <code>when</code> node without body. (<a href="https://github.com/viralpraxis"><code>@​viralpraxis</code></a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/rubocop/rubocop-performance/blob/master/CHANGELOG.md">rubocop-performance's changelog</a>.</em></p> <blockquote> <h2>1.24.0 (2025-02-16)</h2> <h3>New features</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop-performance/pull/490">#490</a>: Pluginfy RuboCop Performance. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop-performance/pull/462">#462</a>: Add new <code>Performance/ZipWithoutBlock</code> cop that checks patterns like <code>.map { |id| [id] }</code> or <code>.map { [_1] }</code> and can replace them with <code>.zip</code>. ([<a href="https://github.com/corsonknowles"><code>@​corsonknowles</code></a>][])</li> </ul> <h3>Bug fixes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop-performance/pull/484">#484</a>: Fix <code>Performance/CaseWhenSplat</code> cop error on <code>when</code> node without body. ([<a href="https://github.com/viralpraxis"><code>@​viralpraxis</code></a>][])</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rubocop/rubocop-performance/commit/24a3a4e2af013f1378dca53d541dafed9487e5e8"><code>24a3a4e</code></a> Cut 1.24.0</li> <li><a href="https://github.com/rubocop/rubocop-performance/commit/20c07a276bc086597cab3391aa7574f8bf6f6d30"><code>20c07a2</code></a> Update Changelog</li> <li><a href="https://github.com/rubocop/rubocop-performance/commit/f6e7da057be440376061e61b4d0ae62771ed4392"><code>f6e7da0</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop-performance/issues/490">#490</a> from koic/pluginfy_with_lint_roller</li> <li><a href="https://github.com/rubocop/rubocop-performance/commit/b83339d4bad0161d827e867921e3ffe4673a12b1"><code>b83339d</code></a> Pluginfy RuboCop Performance</li> <li><a href="https://github.com/rubocop/rubocop-performance/commit/ab7ef1631e74197bb5932d7a0de447981664b39c"><code>ab7ef16</code></a> Suppress redundant configuration logging for rubocop-performace</li> <li><a href="https://github.com/rubocop/rubocop-performance/commit/2c00726662fad516ae559c0bb086de4c45330fdc"><code>2c00726</code></a> Avoid unnecessary <code>send</code></li> <li><a href="https://github.com/rubocop/rubocop-performance/commit/074bd2aef174dd5067ba427e82dc5aa3cb2f8f31"><code>074bd2a</code></a> Explicit default <code>Performance/Sum</code> cop config for the spec</li> <li><a href="https://github.com/rubocop/rubocop-performance/commit/349ae04ccd695300d256e18bc208025184d52851"><code>349ae04</code></a> Suppress RuboCop's offenses</li> <li><a href="https://github.com/rubocop/rubocop-performance/commit/2d36cac8eca24583c336344d84f212bd2e178ec7"><code>2d36cac</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop-performance/issues/462">#462</a> from corsonknowles/add_performance_use_zip_to_wrap_ar...</li> <li><a href="https://github.com/rubocop/rubocop-performance/commit/063b56daeeb032a641173fae391eb613b5561fcf"><code>063b56d</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop-performance/issues/489">#489</a> from dvandersluis/use-node-groups</li> <li>Additional commits viewable in <a href="https://github.com/rubocop/rubocop-performance/compare/v1.23.1...v1.24.0">compare view</a></li> </ul> </details> <br /> Updates `rubocop-rails` from 2.29.1 to 2.30.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/rubocop/rubocop-rails/releases">rubocop-rails's releases</a>.</em></p> <blockquote> <h2>RuboCop Rails 2.30.1</h2> <h3>Bug fixes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop-rails/issues/1442">#1442</a>: Fix an incorrect behavior when using <code>AllCops: TargetRailsVersion</code>. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop-rails/pull/1444">#1444</a>: Fix an incorrect behavior when using <code>AllCops: MigratedSchemaVersion</code>. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> </ul> <h2>RuboCop Rails 2.23.0</h2> <h3>New features</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop-rails/pull/1434">#1434</a>: Pluginfy RuboCop Rails. (<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-rails/issues/1071">#1071</a>: Fix <code>Rails/FilePath</code> cop to correctly handle <code>File.join</code> with variables and ignore leading and multiple slashes in string literal arguments for <code>Rails.root.join</code> and <code>File.join</code>. (<a href="https://github.com/ydakuka"><code>@​ydakuka</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop-rails/issues/912">#912</a>: Enhance <code>Rails/Delegate</code> by adding delegation detection for <code>self.class</code>, constants, class variables, global variables, and instance variables. (<a href="https://github.com/ydakuka"><code>@​ydakuka</code></a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md">rubocop-rails's changelog</a>.</em></p> <blockquote> <h2>2.30.1 (2025-02-17)</h2> <h3>Bug fixes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop-rails/issues/1442">#1442</a>: Fix an incorrect behavior when using <code>AllCops: TargetRailsVersion</code>. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop-rails/pull/1444">#1444</a>: Fix an incorrect behavior when using <code>AllCops: MigratedSchemaVersion</code>. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> </ul> <h2>2.30.0 (2025-02-16)</h2> <h3>New features</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop-rails/pull/1434">#1434</a>: Pluginfy RuboCop Rails. ([<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-rails/issues/1071">#1071</a>: Fix <code>Rails/FilePath</code> cop to correctly handle <code>File.join</code> with variables and ignore leading and multiple slashes in string literal arguments for <code>Rails.root.join</code> and <code>File.join</code>. ([<a href="https://github.com/ydakuka"><code>@​ydakuka</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop-rails/issues/912">#912</a>: Enhance <code>Rails/Delegate</code> by adding delegation detection for <code>self.class</code>, constants, class variables, global variables, and instance variables. ([<a href="https://github.com/ydakuka"><code>@​ydakuka</code></a>][])</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rubocop/rubocop-rails/commit/955b7aef26035742cb4cd66cc77027b7be2b6829"><code>955b7ae</code></a> Cut 2.30.1</li> <li><a href="https://github.com/rubocop/rubocop-rails/commit/a79b2fda17e1616d0e7afc3f041343e089b2b3b0"><code>a79b2fd</code></a> Update Changelog</li> <li><a href="https://github.com/rubocop/rubocop-rails/commit/063bf20fef34e5a4d67e45adcf7f812df2305162"><code>063bf20</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop-rails/issues/1445">#1445</a> from koic/fix_an_error_when_using_target_rails_version</li> <li><a href="https://github.com/rubocop/rubocop-rails/commit/d8bb5107e5f05cc6b31addcae233cdec8819680d"><code>d8bb510</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop-rails/issues/1444">#1444</a> from koic/fix_an_incorrect_behavior_when_using_migra...</li> <li><a href="https://github.com/rubocop/rubocop-rails/commit/da9d36f7ba437263c5ec7fde68a5a9fa499679e1"><code>da9d36f</code></a> [Fix <a href="https://redirect.github.com/rubocop/rubocop-rails/issues/1442">#1442</a>] Fix an incorrect behavior when using <code>AllCops: TargetRailsVersion</code></li> <li><a href="https://github.com/rubocop/rubocop-rails/commit/d40c9437a196af4dafca749b5b472a1b749a7cc9"><code>d40c943</code></a> Fix an incorrect behavior when using <code>AllCops: MigratedSchemaVersion</code></li> <li><a href="https://github.com/rubocop/rubocop-rails/commit/405faca5b7bbd80b3c1a67332b663448799f0095"><code>405faca</code></a> Switch back docs version to master</li> <li><a href="https://github.com/rubocop/rubocop-rails/commit/ddc7e4b344c92bbff11377805c5e7576a46fb0d0"><code>ddc7e4b</code></a> Restore useful comment</li> <li><a href="https://github.com/rubocop/rubocop-rails/commit/ff29ba4604e3e90066f469e2355aae0d305716a5"><code>ff29ba4</code></a> Cut 2.30.0</li> <li><a href="https://github.com/rubocop/rubocop-rails/commit/c8e707a3db79dfece0851557af4f681056be81e7"><code>c8e707a</code></a> Update Changelog</li> <li>Additional commits viewable in <a href="https://github.com/rubocop/rubocop-rails/compare/v2.29.1...v2.30.1">compare view</a></li> </ul> </details> <br /> Updates `rubocop-rspec` from 3.4.0 to 3.5.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/rubocop/rubocop-rspec/releases">rubocop-rspec's releases</a>.</em></p> <blockquote> <h2>RuboCop RSpec v3.5.0</h2> <ul> <li>Don't let <code>RSpec/PredicateMatcher</code> replace <code>respond_to?</code> with two arguments with the RSpec <code>respond_to</code> matcher. (<a href="https://github.com/bquorning"><code>@​bquorning</code></a>)</li> <li>Fix <code>RSpec/PredicateMatcher</code> support for <code>eql</code> and <code>equal</code> matchers. (<a href="https://github.com/bquorning"><code>@​bquorning</code></a>)</li> <li>Pluginfy RuboCop RSpec. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md">rubocop-rspec's changelog</a>.</em></p> <blockquote> <h2>3.5.0 (2025-02-16)</h2> <ul> <li>Don't let <code>RSpec/PredicateMatcher</code> replace <code>respond_to?</code> with two arguments with the RSpec <code>respond_to</code> matcher. ([<a href="https://github.com/bquorning"><code>@​bquorning</code></a>])</li> <li>Fix <code>RSpec/PredicateMatcher</code> support for <code>eql</code> and <code>equal</code> matchers. ([<a href="https://github.com/bquorning"><code>@​bquorning</code></a>])</li> <li>Pluginfy RuboCop RSpec. ([<a href="https://github.com/koic"><code>@​koic</code></a>])</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rubocop/rubocop-rspec/commit/4b14015201e62db238051e122809491a2c1defa7"><code>4b14015</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop-rspec/issues/2043">#2043</a> from rubocop/release</li> <li><a href="https://github.com/rubocop/rubocop-rspec/commit/6dafd48788494db61644e0299e290bf59f67428a"><code>6dafd48</code></a> Release v3.5.0</li> <li><a href="https://github.com/rubocop/rubocop-rspec/commit/664e15ff45d000d412eefb27730c1b459bb9be5f"><code>664e15f</code></a> Enable pending cops</li> <li><a href="https://github.com/rubocop/rubocop-rspec/commit/dac425657b8275f2961e94546c5112601a8315fa"><code>dac4256</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop-rspec/issues/2025">#2025</a> from rubocop/use-node-groups</li> <li><a href="https://github.com/rubocop/rubocop-rspec/commit/876b41557bd166e185f2161045aaa0ba98973f87"><code>876b415</code></a> Use node groups in node patterns to replace unions of types</li> <li><a href="https://github.com/rubocop/rubocop-rspec/commit/17640ad2cf7b7fcfef2fd2270b61e6c00cd2e4e4"><code>17640ad</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop-rspec/issues/2042">#2042</a> from koic/pluginfy_with_lint_roller</li> <li><a href="https://github.com/rubocop/rubocop-rspec/commit/5f09fdf24aff232f7a2149aa5186c0357e6f60cb"><code>5f09fdf</code></a> Pluginfy RuboCop RSpec</li> <li><a href="https://github.com/rubocop/rubocop-rspec/commit/d29fd64b609d0ab7dcca356f82ee2be255729d4e"><code>d29fd64</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop-rspec/issues/2039">#2039</a> from rubocop/fewer-inline-disabled-cops</li> <li><a href="https://github.com/rubocop/rubocop-rspec/commit/2edbf15ea3cf8354c0ec8a6ca30b8a244e57a6f8"><code>2edbf15</code></a> Loosen Metrics/MethodLength to 15</li> <li><a href="https://github.com/rubocop/rubocop-rspec/commit/c8b14c15cd415686967086a768496663b68044d1"><code>c8b14c1</code></a> Remove unnecessary RuboCop disables</li> <li>Additional commits viewable in <a href="https://github.com/rubocop/rubocop-rspec/compare/v3.4.0...v3.5.0">compare view</a></li> </ul> </details> <br /> 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> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent caf8872 commit 2218c9a

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

Gemfile.lock

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ GEM
234234
addressable (~> 2.8)
235235
childprocess (~> 5.0)
236236
logger (~> 1.6)
237+
lint_roller (1.1.0)
237238
listen (3.9.0)
238239
rb-fsevent (~> 0.10, >= 0.10.3)
239240
rb-inotify (~> 0.9, >= 0.9.10)
@@ -410,9 +411,10 @@ GEM
410411
rspec-mocks (~> 3.13)
411412
rspec-support (~> 3.13)
412413
rspec-support (3.13.2)
413-
rubocop (1.71.2)
414+
rubocop (1.72.1)
414415
json (~> 2.3)
415-
language_server-protocol (>= 3.17.0)
416+
language_server-protocol (~> 3.17.0.2)
417+
lint_roller (~> 1.1.0)
416418
parallel (~> 1.10)
417419
parser (>= 3.3.0.2)
418420
rainbow (>= 2.2.2, < 4.0)
@@ -426,16 +428,19 @@ GEM
426428
rubocop (~> 1.41)
427429
rubocop-factory_bot (2.26.1)
428430
rubocop (~> 1.61)
429-
rubocop-performance (1.23.1)
430-
rubocop (>= 1.48.1, < 2.0)
431-
rubocop-ast (>= 1.31.1, < 2.0)
432-
rubocop-rails (2.29.1)
431+
rubocop-performance (1.24.0)
432+
lint_roller (~> 1.1)
433+
rubocop (>= 1.72.1, < 2.0)
434+
rubocop-ast (>= 1.38.0, < 2.0)
435+
rubocop-rails (2.30.1)
433436
activesupport (>= 4.2.0)
437+
lint_roller (~> 1.1)
434438
rack (>= 1.1)
435-
rubocop (>= 1.52.0, < 2.0)
436-
rubocop-ast (>= 1.31.1, < 2.0)
437-
rubocop-rspec (3.4.0)
438-
rubocop (~> 1.61)
439+
rubocop (>= 1.72.1, < 2.0)
440+
rubocop-ast (>= 1.38.0, < 2.0)
441+
rubocop-rspec (3.5.0)
442+
lint_roller (~> 1.1)
443+
rubocop (~> 1.72, >= 1.72.1)
439444
rubocop-rspec_rails (2.30.0)
440445
rubocop (~> 1.61)
441446
rubocop-rspec (~> 3, >= 3.0.1)

0 commit comments

Comments
 (0)