Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 21, 2025

Bumps rubocop-rspec from 3.0.2 to 3.6.0.

Release notes

Sourced from rubocop-rspec's releases.

RuboCop RSpec v3.6.0 (RubyKaigi 2025 Edition🍊)

  • 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)

RuboCop RSpec v3.5.0

  • 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)

RuboCop RSpec v3.4.0

  • 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)

RuboCop RSpec v3.3.0

  • 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)

RuboCop RSpec v3.2.0

  • 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)

RuboCop RSpec v3.1.0

  • 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])

... (truncated)

Changelog

Sourced from rubocop-rspec's changelog.

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)

  • Fix false-negative and error for RSpec/MetadataStyle when non-literal args are used in metadata in EnforceStyle: hash. ([@​cbliard])
  • Improve offense message for RSpec/IndexedLet. ([@​earlopain])

3.0.4 (2024-08-05)

  • Fix false-negative for UnspecifiedException when matcher is chained. ([@​r7kamura])

3.0.3 (2024-07-12)

  • Add support for Unicode RIGHT SINGLE QUOTATION MARK in RSpec/ExampleWording. ([@​jdufresne])

... (truncated)

Commits
  • 5fe53ae Merge pull request #2081 from rubocop/v3.6.0
  • 745d804 RuboCop RSpec v3.6.0 RubyKaigi 2025 edition
  • 170cc32 Merge pull request #2054 from Earlopain/described-class-numblocks
  • 0ba0917 Fix a false positive for RSpec/DescribedClass when SkipBlocks is true and...
  • 436a4d4 Merge pull request #2052 from Earlopain/always-expect-correction
  • c25abf4 Merge pull request #2071 from lee266/bugfix-change-by-zero
  • 8c4429e Fix RSpec/ChangeByZero cop to handle invalid change matcher usage
  • 14f3dd2 Merge pull request #2073 from rubocop/1943
  • bfe68bc Change RSpec/ScatteredSetup to allow around hooks to be scattered
  • 0f0fb8b Merge pull request #2072 from rubocop/fix-offenses
  • Additional commits viewable in compare view

Dependabot compatibility score

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)

Bumps [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) from 3.0.2 to 3.6.0.
- [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.0.2...v3.6.0)

---
updated-dependencies:
- dependency-name: rubocop-rspec
  dependency-version: 3.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code labels Apr 21, 2025
@pboling pboling closed this Oct 25, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 25, 2025

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/bundler/rubocop-rspec-3.6.0 branch October 25, 2025 20:27
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