Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump rubocop-rspec from 2.22.0 to 2.24.0 (#101)
Bumps [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) from 2.22.0 to 2.24.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 v2.24.0</h2> <ul> <li>Split <code>RSpec/FilePath</code> into <code>RSpec/SpecFilePathSuffix</code> and <code>RSpec/SpecFilePathFormat</code>. <code>RSpec/FilePath</code> cop is enabled by default, the two new cops are pending and need to be enabled explicitly. (<a href="https://github.com/ydah"><code>@ydah</code></a>)</li> <li>Add new <code>RSpec/Eq</code> cop. (<a href="https://github.com/ydah"><code>@ydah</code></a>)</li> <li>Add <code>RSpec/MetadataStyle</code> and <code>RSpec/EmptyMetadata</code> cops. (<a href="https://github.com/r7kamura"><code>@r7kamura</code></a>)</li> <li>Add support <code>RSpec/Rails/HttpStatus</code> when <code>have_http_status</code> with string argument. (<a href="https://github.com/ydah"><code>@ydah</code></a>)</li> <li>Fix an infinite loop error when <code>RSpec/ExcessiveDocstringSpacing</code> finds a description with non-ASCII leading/trailing whitespace. (<a href="https://github.com/bcgraham"><code>@bcgraham</code></a>)</li> <li>Fix an incorrect autocorrect for <code>RSpec/ReceiveMessages</code> when return values declared between stubs. (<a href="https://github.com/marocchino"><code>@marocchino</code></a>)</li> <li>Fix a false positive <code>RSpec/Focus</code> when chained method call and inside define method. (<a href="https://github.com/ydah"><code>@ydah</code></a>)</li> </ul> <h2>RuboCop RSpec v2.23.2</h2> <ul> <li>Fix an incorrect autocorrect for <code>RSpec/ReceiveMessages</code> when method is only non-word character. (<a href="https://github.com/marocchino"><code>@marocchino</code></a>)</li> <li>Fix a false positive for <code>RSpec/ReceiveMessages</code> when return with splat. (<a href="https://github.com/marocchino"><code>@marocchino</code></a>)</li> </ul> <h2>RuboCop RSpec v2.23.1</h2> <ul> <li>Mark to <code>Safe: false</code> for <code>RSpec/Rails/NegationBeValid</code> cop. (<a href="https://github.com/ydah"><code>@ydah</code></a>)</li> <li>Declare autocorrect as unsafe for <code>RSpec/ReceiveMessages</code>. (<a href="https://github.com/bquorning"><code>@bquorning</code></a>)</li> </ul> <h2>RuboCop RSpec v2.23.0</h2> <ul> <li>Add new <code>RSpec/Rails/NegationBeValid</code> cop. (<a href="https://github.com/ydah"><code>@ydah</code></a>)</li> <li>Fix a false negative for <code>RSpec/ExcessiveDocstringSpacing</code> when finds description with em space. (<a href="https://github.com/ydah"><code>@ydah</code></a>)</li> <li>Fix a false positive for <code>RSpec/EmptyExampleGroup</code> when example group with examples defined in <code>if</code> branch inside iterator. (<a href="https://github.com/ydah"><code>@ydah</code></a>)</li> <li>Update the message output of <code>RSpec/ExpectActual</code> to include the word 'value'. (<a href="https://github.com/corydiamand"><code>@corydiamand</code></a>)</li> <li>Fix a false negative for <code>RSpec/Pending</code> when <code>it</code> without body. (<a href="https://github.com/ydah"><code>@ydah</code></a>)</li> <li>Add new <code>RSpec/ReceiveMessages</code> cop. (<a href="https://github.com/ydah"><code>@ydah</code></a>)</li> <li>Change default.yml path to use <code>**/spec/*</code> instead of <code>spec/*</code>. (<a href="https://github.com/ydah"><code>@ydah</code></a>)</li> <li>Add <code>AllowedIdentifiers</code> and <code>AllowedPatterns</code> configuration option to <code>RSpec/IndexedLet</code>. (<a href="https://github.com/ydah"><code>@ydah</code></a>)</li> <li>Fix <code>RSpec/NamedSubject</code> when block has no body. (<a href="https://github.com/splattael"><code>@splattael</code></a>)</li> <li>Fix <code>RSpec/LetBeforeExamples</code> autocorrect incompatible with <code>RSpec/ScatteredLet</code> autocorrect. (<a href="https://github.com/ydah"><code>@ydah</code></a>)</li> <li>Update <code>RSpec/Focus</code> to support <code>shared_context</code> and <code>shared_examples</code> (<a href="https://github.com/tmaier"><code>@tmaier</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>2.24.0 (2023-09-08)</h2> <ul> <li>Split <code>RSpec/FilePath</code> into <code>RSpec/SpecFilePathSuffix</code> and <code>RSpec/SpecFilePathFormat</code>. <code>RSpec/FilePath</code> cop is enabled by default, the two new cops are pending and need to be enabled explicitly. ([<a href="https://github.com/ydah"><code>@ydah</code></a>])</li> <li>Add new <code>RSpec/Eq</code> cop. ([<a href="https://github.com/ydah"><code>@ydah</code></a>])</li> <li>Add <code>RSpec/MetadataStyle</code> and <code>RSpec/EmptyMetadata</code> cops. ([<a href="https://github.com/r7kamura"><code>@r7kamura</code></a>])</li> <li>Add support <code>RSpec/Rails/HttpStatus</code> when <code>have_http_status</code> with string argument. ([<a href="https://github.com/ydah"><code>@ydah</code></a>])</li> <li>Fix an infinite loop error when <code>RSpec/ExcessiveDocstringSpacing</code> finds a description with non-ASCII leading/trailing whitespace. ([<a href="https://github.com/bcgraham"><code>@bcgraham</code></a>])</li> <li>Fix an incorrect autocorrect for <code>RSpec/ReceiveMessages</code> when return values declared between stubs. ([<a href="https://github.com/marocchino"><code>@marocchino</code></a>])</li> <li>Fix a false positive <code>RSpec/Focus</code> when chained method call and inside define method. ([<a href="https://github.com/ydah"><code>@ydah</code></a>])</li> </ul> <h2>2.23.2 (2023-08-09)</h2> <ul> <li>Fix an incorrect autocorrect for <code>RSpec/ReceiveMessages</code> when method is only non-word character. ([<a href="https://github.com/marocchino"><code>@marocchino</code></a>])</li> <li>Fix a false positive for <code>RSpec/ReceiveMessages</code> when return with splat. ([<a href="https://github.com/marocchino"><code>@marocchino</code></a>])</li> </ul> <h2>2.23.1 (2023-08-07)</h2> <ul> <li>Mark to <code>Safe: false</code> for <code>RSpec/Rails/NegationBeValid</code> cop. ([<a href="https://github.com/ydah"><code>@ydah</code></a>])</li> <li>Declare autocorrect as unsafe for <code>RSpec/ReceiveMessages</code>. ([<a href="https://github.com/bquorning"><code>@bquorning</code></a>])</li> </ul> <h2>2.23.0 (2023-07-30)</h2> <ul> <li>Add new <code>RSpec/Rails/NegationBeValid</code> cop. ([<a href="https://github.com/ydah"><code>@ydah</code></a>])</li> <li>Fix a false negative for <code>RSpec/ExcessiveDocstringSpacing</code> when finds description with em space. ([<a href="https://github.com/ydah"><code>@ydah</code></a>])</li> <li>Fix a false positive for <code>RSpec/EmptyExampleGroup</code> when example group with examples defined in <code>if</code> branch inside iterator. ([<a href="https://github.com/ydah"><code>@ydah</code></a>])</li> <li>Update the message output of <code>RSpec/ExpectActual</code> to include the word 'value'. ([<a href="https://github.com/corydiamand"><code>@corydiamand</code></a>])</li> <li>Fix a false negative for <code>RSpec/Pending</code> when <code>it</code> without body. ([<a href="https://github.com/ydah"><code>@ydah</code></a>])</li> <li>Add new <code>RSpec/ReceiveMessages</code> cop. ([<a href="https://github.com/ydah"><code>@ydah</code></a>])</li> <li>Change default.yml path to use <code>**/spec/*</code> instead of <code>spec/*</code>. ([<a href="https://github.com/ydah"><code>@ydah</code></a>])</li> <li>Add <code>AllowedIdentifiers</code> and <code>AllowedPatterns</code> configuration option to <code>RSpec/IndexedLet</code>. ([<a href="https://github.com/ydah"><code>@ydah</code></a>])</li> <li>Fix <code>RSpec/NamedSubject</code> when block has no body. ([<a href="https://github.com/splattael"><code>@splattael</code></a>])</li> <li>Fix <code>RSpec/LetBeforeExamples</code> autocorrect incompatible with <code>RSpec/ScatteredLet</code> autocorrect. ([<a href="https://github.com/ydah"><code>@ydah</code></a>])</li> <li>Update <code>RSpec/Focus</code> to support <code>shared_context</code> and <code>shared_examples</code> ([<a href="https://github.com/tmaier"><code>@tmaier</code></a>])</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rubocop/rubocop-rspec/commit/7488573388dc01c5df5f0a7638573e42fd4661d9"><code>7488573</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop-rspec/issues/1708">#1708</a> from rubocop/release</li> <li><a href="https://github.com/rubocop/rubocop-rspec/commit/9d219df3571c736d5294921aef1e0a9535a818a3"><code>9d219df</code></a> Bump version to v2.24.0</li> <li><a href="https://github.com/rubocop/rubocop-rspec/commit/97269bc0ab1a256ec59c1eab2b0927b63758b222"><code>97269bc</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop-rspec/issues/1497">#1497</a> from r7kamura/feature/metadata-style</li> <li><a href="https://github.com/rubocop/rubocop-rspec/commit/54d7b8e27cb70d464868169388523e18df1165c1"><code>54d7b8e</code></a> Add <code>RSpec/MetadataStyle</code> and <code>RSpec/EmptyMetadata</code> cops</li> <li><a href="https://github.com/rubocop/rubocop-rspec/commit/9fc5ca40662488734d8aa2d1cc125ba159e9e642"><code>9fc5ca4</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop-rspec/issues/1707">#1707</a> from rubocop/dependabot/github_actions/actions/check...</li> <li><a href="https://github.com/rubocop/rubocop-rspec/commit/abb6c801c492c000b018118053bbd9d4fe570552"><code>abb6c80</code></a> Bump actions/checkout from 3 to 4</li> <li><a href="https://github.com/rubocop/rubocop-rspec/commit/041b1e642d07b7a48701dad9db1bee1fa1ce655b"><code>041b1e6</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop-rspec/issues/1706">#1706</a> from rubocop/clarify-eq-cop-documentation</li> <li><a href="https://github.com/rubocop/rubocop-rspec/commit/60c0644dd027f878dbc614d1ad0d316245b8a673"><code>60c0644</code></a> Docs: Avoid confusion with be_truthy, etc.</li> <li><a href="https://github.com/rubocop/rubocop-rspec/commit/86a1f33670385b795ba58c6c1431a79d547ce952"><code>86a1f33</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop-rspec/issues/1704">#1704</a> from rubocop/fix/398</li> <li><a href="https://github.com/rubocop/rubocop-rspec/commit/b4c93e5737e4604dfbab61b3936946315021fb9e"><code>b4c93e5</code></a> Fix a false positive <code>RSpec/Focus</code> when chained method call and inside define...</li> <li>Additional commits viewable in <a href="https://github.com/rubocop/rubocop-rspec/compare/v2.22.0...v2.24.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rubocop-rspec&package-manager=bundler&previous-version=2.22.0&new-version=2.24.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR 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 this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> > **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days. Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information