Skip to content

Update dependency rubocop-rspec to '~> 3.11.0' - #1925

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/rubocop-rspec-3.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/rubocop-rspec-3.x

Conversation

@renovate

@renovate renovate Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
rubocop-rspec (changelog) '~> 3.8.0' → '~> 3.11.0' age confidence

Release Notes

rubocop/rubocop-rspec (rubocop-rspec)

v3.11.0

Compare Source

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

v3.10.2

Compare Source

  • Fix false positives for RSpec/SpecFilePathFormat when CustomTransform maps a namespace to an empty string. ([@​sakuro])
  • Fix RSpec/MatchWithSimpleRegex to ignore regular expressions with options. ([@​bquorning])

v3.10.1

Compare Source

  • Add Strict option to RSpec/SharedContext to flag shared_context whenever it contains examples, even alongside setup code. ([@​Darhazer])
  • Add NegatedMatcher configuration option RSpec/ExpectChange. ([@​Darhazer])
  • Fix RSpec/MatchWithSimpleRegex to ignore regular expressions with interpolations. ([@​bquorning])

v3.10.0

Compare Source

  • Add new cop RSpec/MatchWithSimpleRegex to suggest include matcher when match is used with simple string literals without regex-specific features. ([@​bquorning])
  • Add new cop RSpec/DiscardedMatcher to detect matchers in void context (e.g. missing .and between compound matchers). ([@​ydakuka])
  • Add support for itblock nodes. ([@​Darhazer])
  • RSpec/ScatteredLet now preserves the order of lets during auto-correction. ([@​Darhazer])
  • Fix a false negative for RSpec/EmptyLineAfterFinalLet inside shared_examples / include_examples / it_behaves_like blocks. ([@​Darhazer])
  • Fix a false positive for RSpec/ContainExactly when contain_exactly has multiple splat arguments. ([@​ydah])
  • Add autocorrect support for RSpec/SubjectDeclaration. ([@​eugeneius])
  • Fix false negatives for RSpec/SpecFilePathFormat when the expected class path only partially matches a path segment. ([@​ydah])
  • Fix a false negative for RSpec/ExpectActual when the matcher takes no arguments (e.g. expect("foo").to be_present, expect(1).to be). ([@​cvx])

v3.9.0

Compare Source

  • Fix a false positive for RSpec/LeakyLocalVariable when variables are used only in example metadata (e.g., skip messages). ([@​ydah])
  • Fix a false positive for RSpec/ScatteredSetup when the hook is defined inside a class method. ([@​d4rky-pl])
  • Fix a false positive for RSpec/DescribedClass inside dynamically evaluated blocks (class_eval, module_eval, instance_eval, class_exec, module_exec, instance_exec). ([@​sucicfilip])
  • Add new cop RSpec/Output. ([@​kevinrobell-st])

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the 🤖 dependencies Dependency upgrade label Nov 12, 2026
@renovate

renovate Bot commented Nov 12, 2026

Copy link
Copy Markdown
Contributor Author

Branch automerge failure

This PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead.


  • Branch has one or more failed status checks

@renovate
renovate Bot force-pushed the renovate/rubocop-rspec-3.x branch 2 times, most recently from 349d1b9 to 00d712a Compare November 12, 2026 23:55
@renovate
renovate Bot force-pushed the renovate/rubocop-rspec-3.x branch from 00d712a to 31ce8da Compare November 23, 2026 00:43
@renovate
renovate Bot force-pushed the renovate/rubocop-rspec-3.x branch from 31ce8da to 086f975 Compare November 27, 2026 13:08
@renovate renovate Bot changed the title Update dependency rubocop-rspec to '~> 3.10.0' Update dependency rubocop-rspec to '~> 3.11.0' Nov 27, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🤖 dependencies Dependency upgrade

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants