Skip to content

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

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

Update dependency rubocop-rspec to '~> 3.10.0'#329
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 2 times, most recently from 55f70da to ee1262b Compare November 25, 2025 16:31
@renovate renovate Bot force-pushed the renovate/rubocop-rspec-3.x branch from ee1262b to 946cc57 Compare January 7, 2026 17:57
@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
@renovate renovate Bot force-pushed the renovate/rubocop-rspec-3.x branch from 946cc57 to 65152b6 Compare January 8, 2026 00:39
@silug silug removed this from Org Triage Mar 2, 2026
@renovate renovate Bot force-pushed the renovate/rubocop-rspec-3.x branch from 65152b6 to 8a6b435 Compare April 13, 2026 15:43
@renovate renovate Bot force-pushed the renovate/rubocop-rspec-3.x branch from 8a6b435 to dd194d2 Compare May 11, 2026 14:43
@renovate renovate Bot force-pushed the renovate/rubocop-rspec-3.x branch from dd194d2 to 5e50c04 Compare May 20, 2026 14:03
@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 5e50c04 to e101cee Compare June 5, 2026 10:39
@renovate renovate Bot force-pushed the renovate/rubocop-rspec-3.x branch from e101cee to 59e44e2 Compare June 7, 2026 16:12
Convert shared describe-block locals in functions/ specs to let blocks;
use described_class in type specs; exclude LeakyLocalVariable from
acceptance suites and data_types specs where the pattern is intentional.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@silug silug merged commit bea5231 into master Jun 7, 2026
8 checks passed
@silug silug deleted the renovate/rubocop-rspec-3.x branch June 7, 2026 18:24
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