Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 2, 2025

Updates the requirements on rubocop-rspec to permit the latest version.

Release notes

Sourced from rubocop-rspec's releases.

RuboCop RSpec v3.7.0

  • Mark RSpec/IncludeExamples as SafeAutoCorrect: false. (@​yujideveloper)
  • Fix a false positive for RSpec/LeakyConstantDeclaration when defining constants in explicit namespaces. (@​naveg)
  • Add support for error matchers (raise_exception and raise_error) to RSpec/Dialect. (@​lovro-bikic)
  • Don't register offenses for RSpec/DescribedClass within Data.define blocks. (@​lovro-bikic)
  • Add autocorrection support for RSpec/IteratedExpectation for single expectations. (@​lovro-bikic)
  • Exclude all cops from inspecting factorybot files, except if explicitly included. (@​Mth0158)
  • Fix a false positive for RSpec/ExcessiveDocstringSpacing when receivers are not RSpec methods. (@​ydah)
Changelog

Sourced from rubocop-rspec's changelog.

3.7.0 (2025-09-01)

  • Mark RSpec/IncludeExamples as SafeAutoCorrect: false. ([@​yujideveloper])
  • Fix a false positive for RSpec/LeakyConstantDeclaration when defining constants in explicit namespaces. ([@​naveg])
  • Add support for error matchers (raise_exception and raise_error) to RSpec/Dialect. ([@​lovro-bikic])
  • Don't register offenses for RSpec/DescribedClass within Data.define blocks. ([@​lovro-bikic])
  • Add autocorrection support for RSpec/IteratedExpectation for single expectations. ([@​lovro-bikic])
  • Exclude all cops from inspecting factorybot files, except if explicitly included. ([@​Mth0158])
  • Fix a false positive for RSpec/ExcessiveDocstringSpacing when receivers are not RSpec methods. ([@​ydah])

3.6.0 (2025-04-18)

  • Fix false positive in RSpec/Pending, where it would mark the default block it as an offense. ([@​bquorning])
  • Fix issue when Style/ContextWording is configured with a Prefix being interpreted as a boolean, like on. ([@​sakuro])
  • Add new RSpec/IncludeExamples cop to enforce using it_behaves_like over include_examples. ([@​dvandersluis])
  • Change RSpec/ScatteredSetup to allow around hooks to be scattered. ([@​ydah])
  • Fix an error RSpec/ChangeByZero cop when without expect block. ([@​lee266])
  • Fix a false positive for RSpec/DescribedClass when SkipBlocks is true and numblocks are used. ([@​earlopain])

3.5.0 (2025-02-16)

  • Don't let RSpec/PredicateMatcher replace respond_to? with two arguments with the RSpec respond_to matcher. ([@​bquorning])
  • Fix RSpec/PredicateMatcher support for eql and equal matchers. ([@​bquorning])
  • Pluginfy RuboCop RSpec. ([@​koic])

3.4.0 (2025-01-20)

  • Fix RSpec/SortMetadata cop to limit sorting to trailing metadata arguments. ([@​cbliard])
  • Replace RSpec/StringAsInstanceDoubleConstant with RSpec/VerifiedDoubleReference configured to only support constant class references. ([@​corsonknowles])
  • Fix RSpec/EmptyExampleGroup cop false positive when a simple conditional is used inside an iterator. ([@​lovro-bikic])

3.3.0 (2024-12-12)

  • Deprecate top_level_group? method from TopLevelGroup mixin as all of its callers were intentionally removed from Rubocop/RSpec. ([@​corsonknowles])
  • Fix false positive for RSpec/EmptyMetadata for splat kwargs. ([@​pirj])

3.2.0 (2024-10-26)

  • Fix RSpec/VoidExpect to only operate inside an example block. ([@​corsonknowles])
  • Change RSpec/ContextWording cop to always report an offense when both Prefixes and AllowedPatterns are empty. ([@​ydah])
  • Add support for and and or compound matchers to RSpec/ChangeByZero cop. ([@​ydah])

3.1.0 (2024-10-01)

  • Add RSpec/StringAsInstanceDoubleConstant to check for and correct strings used as instance_doubles. ([@​corsonknowles])
  • Fix false-positive for RSpec/UnspecifiedException when a method is literally named raise_exception. ([@​aarestad])
  • Fix false-positive for RSpec/UnspecifiedException when not_to raise_error is used within a block. ([@​aarestad], [@​G-Rath])

3.0.5 (2024-09-07)

... (truncated)

Commits
  • 84ccc76 Merge pull request #2106 from rubocop/release
  • 4ecc2aa Release v3.7.0
  • 7abc671 Merge pull request #2105 from r7kamura/include-examples-doc-fix
  • ed38d60 Fix broken adoc comment in RSpec/IncludeExamples
  • 5f1d09c Merge pull request #2104 from rubocop/2103
  • 26beee7 Fix a false positive for RSpec/ExcessiveDocstringSpacing when receivers are...
  • 50d347c Merge pull request #2102 from rubocop/dependabot/github_actions/actions/check...
  • 9a807a3 Bump actions/checkout from 4 to 5
  • 09f60c7 Merge pull request #2099 from Mth0158/factorybot-wrong-interpretation-of-attr...
  • 0b86050 Remove factorybot files inclusion for Metrics/BlockLength cop
  • Additional commits viewable in compare view

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 commands and options

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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Sep 2, 2025
Updates the requirements on [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop-rspec@v3.6.0...v3.7.0)

---
updated-dependencies:
- dependency-name: rubocop-rspec
  dependency-version: 3.7.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/bundler/rubocop-rspec-tw-3.7.0 branch from 750e089 to c26be1d Compare September 12, 2025 09:31
@mvz mvz merged commit 224640a into master Sep 12, 2025
10 checks passed
@mvz mvz deleted the dependabot/bundler/rubocop-rspec-tw-3.7.0 branch September 12, 2025 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant