Skip to content

Bump rubocop-rspec from 3.10.2 to 3.11.0 - #33

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bundler/rubocop-rspec-3.11.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bundler/rubocop-rspec-3.11.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 30, 2026

Copy link
Copy Markdown
Contributor

Bumps rubocop-rspec from 3.10.2 to 3.11.0.

Release notes

Sourced from rubocop-rspec's releases.

RuboCop RSpec v3.11.0

  • Add new cop RSpec/EmptyLineAfterSharedInclusion. (@​sucicfilip)
  • Fix an incorrect autocorrect for RSpec/MatchWithSimpleRegex when the regex contains a backslash, which produced invalid or semantically different code. (@​ihamzatarar)
  • Fix an incorrect autocorrect for RSpec/ScatteredLet that moved a let! above a hook, changing the order the setup ran in. (@​andrewfader)
  • Fix an incorrect autocorrect for RSpec/Output when the output call is the body of a modifier condition or loop. (@​Starlexxx)
  • Fix an error for RSpec/ImplicitExpect when the runner is separated from is_expected by whitespace. (@​viralpraxis)
  • Fix false positives for RSpec/InstanceVariable when an instance variable is used inside a class_eval or module_eval block. (@​corsonknowles)
  • Fix RSpec/LeadingSubject to not move a subject above another subject, avoiding an autocorrect clash with RSpec/MultipleSubjects that could remove a subject used in tests. (@​pcbeingused333)
  • Fix false positives for RSpec/Pending when using SimpleCov 1.x skip filters. (@​gee-forr)
  • Fix false positives for RSpec/SpecFilePathFormat when matching spec partials. (@​ydah)
  • Fix incorrect autocorrection for RSpec/DescribedClass when using nested example groups with EnforcedStyle: explicit. (@​ydah)
  • Fix RSpec/MatchWithSimpleRegex to ignore match outside examples. (@​ydah)
  • Fix incorrect autocorrection for RSpec/ExampleWording with percent literal and escaped example descriptions. (@​ydah)
  • Fix RSpec/SpecFilePathFormat raising when EnforcedInflector: active_support and RuboCop is invoked from outside the project root. (@​corsonknowles)
  • Fix RSpec/LeadingSubject to not crash on itblock/numblock example groups with Ruby 3.4 and Prism. (@​pcbeingused333)
  • Fix RSpec/MatchWithSimpleRegex to ignore match nested inside include matchers. (@​ydah)
  • Fix an incorrect autocorrect for RSpec/SharedExamples when the shared example name cannot be written as a plain symbol or a single-quoted string. (@​viralpraxis)
  • Fix an incorrect autocorrect for RSpec/PredicateMatcher with EnforcedStyle: explicit when Style/TrailingCommaInArguments corrects the same expectation. (@​viralpraxis)
  • Fix RSpec/Dialect to ignore configured method names on non-RSpec receivers. (@​iamzayn19)
  • Mark RSpec/MatchWithSimpleRegex as unsafe. (@​bquorning)
  • Point the style guide link of RSpec/ClassCheck at the Ruby style guide, since the RSpec style guide has no guideline for it. (@​bbatsov)
  • Speed up loading rubocop-rspec by lazily loading only the cops needed for a run. This requires RuboCop 1.89.0+. (@​koic)
  • Bump RuboCop requirement to 1.92+. (@​bquorning)
Changelog

Sourced from rubocop-rspec's changelog.

3.11.0 (2026-11-27)

  • Add new cop RSpec/EmptyLineAfterSharedInclusion. ([@​sucicfilip])
  • Fix an incorrect autocorrect for RSpec/MatchWithSimpleRegex when the regex contains a backslash, which produced invalid or semantically different code. ([@​ihamzatarar])
  • Fix an incorrect autocorrect for RSpec/ScatteredLet that moved a let! above a hook, changing the order the setup ran in. ([@​andrewfader])
  • Fix an incorrect autocorrect for RSpec/Output when the output call is the body of a modifier condition or loop. ([@​Starlexxx])
  • Fix an error for RSpec/ImplicitExpect when the runner is separated from is_expected by whitespace. ([@​viralpraxis])
  • Fix false positives for RSpec/InstanceVariable when an instance variable is used inside a class_eval or module_eval block. ([@​corsonknowles])
  • Fix RSpec/LeadingSubject to not move a subject above another subject, avoiding an autocorrect clash with RSpec/MultipleSubjects that could remove a subject used in tests. ([@​pcbeingused333])
  • Fix false positives for RSpec/Pending when using SimpleCov 1.x skip filters. ([@​gee-forr])
  • Fix false positives for RSpec/SpecFilePathFormat when matching spec partials. ([@​ydah])
  • Fix incorrect autocorrection for RSpec/DescribedClass when using nested example groups with EnforcedStyle: explicit. ([@​ydah])
  • Fix RSpec/MatchWithSimpleRegex to ignore match outside examples. ([@​ydah])
  • Fix incorrect autocorrection for RSpec/ExampleWording with percent literal and escaped example descriptions. ([@​ydah])
  • Fix RSpec/SpecFilePathFormat raising when EnforcedInflector: active_support and RuboCop is invoked from outside the project root. ([@​corsonknowles])
  • Fix RSpec/LeadingSubject to not crash on itblock/numblock example groups with Ruby 3.4 and Prism. ([@​pcbeingused333])
  • Fix RSpec/MatchWithSimpleRegex to ignore match nested inside include matchers. ([@​ydah])
  • Fix an incorrect autocorrect for RSpec/SharedExamples when the shared example name cannot be written as a plain symbol or a single-quoted string. ([@​viralpraxis])
  • Fix an incorrect autocorrect for RSpec/PredicateMatcher with EnforcedStyle: explicit when Style/TrailingCommaInArguments corrects the same expectation. ([@​viralpraxis])
  • Fix RSpec/Dialect to ignore configured method names on non-RSpec receivers. ([@​iamzayn19])
  • Mark RSpec/MatchWithSimpleRegex as unsafe. ([@​bquorning])
  • Point the style guide link of RSpec/ClassCheck at the Ruby style guide, since the RSpec style guide has no guideline for it. ([@​bbatsov])
  • Speed up loading rubocop-rspec by lazily loading only the cops needed for a run. This requires RuboCop 1.89.0+. ([@​koic])
  • Bump RuboCop requirement to 1.92+. ([@​bquorning])
Commits
  • a098880 Merge pull request #2280 from rubocop/release
  • 43aeb91 Release v3.11.0
  • 750555a Merge pull request #2277 from rubocop/simple-regex-cop-improvements
  • d1d4ee9 Merge pull request #2279 from rubocop/dependabot/github_actions/rubygems/rele...
  • 53a9ab7 Bump rubygems/release-gem from 1.4.1 to 1.4.2
  • ea365f0 Mark RSpec/MatchWithSimpleRegex as unsafe
  • 5cb212c Merge pull request #2278 from rubocop/cleanup-autocorrect-incompatibilities
  • 462c44c Clean up autocorrect incompatibilities
  • f7ec411 Merge pull request #2276 from rubocop/jruby-latest
  • 2506926 Only use latest JRuby
  • 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 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.10.2 to 3.11.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.10.2...v3.11.0)

---
updated-dependencies:
- dependency-name: rubocop-rspec
  dependency-version: 3.11.0
  dependency-type: direct:development
  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 Nov 30, 2026
@coderabbitai

coderabbitai Bot commented Nov 30, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@codecov

codecov Bot commented Nov 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

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.

0 participants