Skip to content

Update dependency rubocop-rspec to '~> 3.10.0'#113

Merged
silug merged 2 commits into
masterfrom
renovate/rubocop-rspec-3.x
Jun 7, 2026
Merged

Update dependency rubocop-rspec to '~> 3.10.0'#113
silug merged 2 commits into
masterfrom
renovate/rubocop-rspec-3.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Nov 12, 2025

This PR contains the following updates:

Package Change Age Confidence
rubocop-rspec (changelog) '~> 3.7.0''~> 3.10.0' age confidence

Release Notes

rubocop/rubocop-rspec (rubocop-rspec)

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

v3.8.0

Compare Source

  • Add new cop RSpec/LeakyLocalVariable. ([@​lovro-bikic])
  • Bump RuboCop requirement to +1.81. ([@​ydah])
  • Fix a false positive for RSpec/LetSetup when let! used in outer scope. ([@​ydah])
  • Fix a false positive for RSpec/ReceiveNever cop when allow(...).to receive(...).never. ([@​ydah])
  • Fix detection of nameless doubles with methods in RSpec/VerifiedDoubles. ([@​ushi-as])
  • Improve an offense message for RSpec/RepeatedExample cop. ([@​ydah])
  • Let RSpec/SpecFilePathFormat leverage ActiveSupport inflections when configured. ([@​corsonknowles], [@​bquorning])

Configuration

📅 Schedule: (UTC)

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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.

@op-ct op-ct added this to Org Triage Nov 12, 2025
@renovate renovate Bot force-pushed the renovate/rubocop-rspec-3.x branch from 562f141 to 2aed396 Compare November 24, 2025 15:39
@renovate renovate Bot force-pushed the renovate/rubocop-rspec-3.x branch from 2aed396 to 45e4d4d Compare January 8, 2026 01:10
@renovate renovate Bot changed the title Update dependency rubocop-rspec to '~> 3.8.0' Update dependency rubocop-rspec to '~> 3.9.0' Jan 8, 2026
@silug silug removed this from Org Triage Mar 2, 2026
@renovate renovate Bot force-pushed the renovate/rubocop-rspec-3.x branch from 45e4d4d to d5dd069 Compare April 1, 2026 19:23
@renovate renovate Bot force-pushed the renovate/rubocop-rspec-3.x branch from d5dd069 to a25bb76 Compare April 13, 2026 15:34
@renovate renovate Bot force-pushed the renovate/rubocop-rspec-3.x branch from a25bb76 to b2f51e4 Compare May 11, 2026 14:48
@renovate renovate Bot changed the title Update dependency rubocop-rspec to '~> 3.9.0' Update dependency rubocop-rspec to '~> 3.10.0' Jun 5, 2026
@renovate renovate Bot force-pushed the renovate/rubocop-rspec-3.x branch from b2f51e4 to 82f4dda Compare June 5, 2026 13:52
@renovate renovate Bot force-pushed the renovate/rubocop-rspec-3.x branch from 82f4dda to dfe5292 Compare June 6, 2026 19:20
Convert file-level local variables in spec files into let blocks so
rubocop-rspec 3.10 no longer flags them as leaky.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@renovate
Copy link
Copy Markdown
Contributor Author

renovate Bot commented Jun 7, 2026

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@silug silug merged commit 7a5c1cb into master Jun 7, 2026
8 checks passed
@silug silug deleted the renovate/rubocop-rspec-3.x branch June 7, 2026 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants