Skip to content

Update rubocop-rspec 3.6.0 → 3.10.2 (minor)#698

Open
depfu[bot] wants to merge 1 commit into
developfrom
depfu/update/rubocop-rspec-3.10.2
Open

Update rubocop-rspec 3.6.0 → 3.10.2 (minor)#698
depfu[bot] wants to merge 1 commit into
developfrom
depfu/update/rubocop-rspec-3.10.2

Conversation

@depfu

@depfu depfu Bot commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ rubocop-rspec (3.6.0 → 3.10.2) · Repo · Changelog

Release Notes

3.10.2

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

3.10.1

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

3.10.0

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

3.9.0

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

3.8.0

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

3.7.0

  • Mark RSpec/IncludeExamples as SafeAutoCorrect: false. (@yujideveloper)
  • Fix a false positive for RSpec/LeakyConstantDeclaration when defining constants in explicit namespaces. (@naveg)
  • Add support for error matchers (raise_exception and raise_error) to RSpec/Dialect. (@lovro-bikic)
  • Don't register offenses for RSpec/DescribedClass within Data.define blocks. (@lovro-bikic)
  • Add autocorrection support for RSpec/IteratedExpectation for single expectations. (@lovro-bikic)
  • Exclude all cops from inspecting factorybot files, except if explicitly included. (@Mth0158)
  • Fix a false positive for RSpec/ExcessiveDocstringSpacing when receivers are not RSpec methods. (@ydah)

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

✳️ rubocop (1.78.0 → 1.87.0) · Repo · Changelog

Release Notes

Too many releases to show here. View the full release notes.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ json (indirect, 2.19.3 → 2.19.9) · Repo · Changelog

Release Notes

2.19.9

  • Fix buffer overflow that could lead to a crash when writing JSON directly into an IO
    with JSON.generate(object, io). [CVE-PENDING].

Full Changelog: v2.19.8...v2.19.9

2.19.8 (from changelog)

  • Fix 1-byte buffer overread on EOS errors.
  • Handle invalid types passed as max_nesting option.

2.19.7

What's Changed

  • Fix some more edge cases with out of range floats.
  • Ensure the string provided to JSON.parse can't be mutated during parsing.
  • Add missing write barriers in State#dup.
  • Further validate generator depth config.

Full Changelog: v2.19.6...v2.19.7

2.19.6

What's Changed

  • Cleanly handle overly large depth generator argument.
  • Add missing write barrier in ParserConfig.

Full Changelog: v2.19.5...v2.19.6

2.19.5

What's Changed

  • Cap the parser to emit a maximum of 5 deprecation warnings per document. Emitting more is not helpful.

Full Changelog: v2.19.4...v2.19.5

2.19.4

What's Changed

  • Fix parsing of out of range floats (very large exponents that lead to either 0.0 or Inf).

Full Changelog: v2.19.2...v2.19.4

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ parallel (indirect, 1.27.0 → 2.1.0) · Repo · Changelog

Release Notes

2.1.0 (from changelog)

Added

  • support different serializers
  • support for HMac verified serializer to secure hardened environments

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 27 commits:

↗️ parser (indirect, 3.3.8.0 → 3.3.11.1) · Repo · Changelog

Release Notes

3.3.11.1 (from changelog)

API modifications:

  • Bump maintenance branches to 3.2.11 (#1089) (Koichi ITO)

3.3.11.0 (from changelog)

API modifications:

  • Bump maintenance branches to 3.3.11 (#1088) (Koichi ITO)

3.3.10.2 (from changelog)

Features implemented:

  • add blocknilarg for prism (#1087) (Earlopain)

3.3.10.1 (from changelog)

API modifications:

  • Bump maintenance branches to 3.2.10 (#1085) (Koichi ITO)

3.3.10.0 (from changelog)

API modifications:

  • Bump maintenance branches to 3.3.10 (#1083) (Koichi ITO)

3.3.9.0 (from changelog)

API modifications:

  • Bump maintenance branches to 3.3.9 (#1080) (Koichi ITO)
  • Bump maintenance branches to 3.2.9 (#1079) (Koichi ITO)

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 26 commits:

↗️ regexp_parser (indirect, 2.10.0 → 2.12.0) · Repo · Changelog

Release Notes

2.12.0 (from changelog)

Added

  • support for new unicode properties of Ruby 4.0.0

2.11.3 (from changelog)

Fixed

  • correctly emit backslash-escaped UTF8 characters in character classes as one token (#104)

2.11.2 (from changelog)

Added

Fixed

  • scan with correct encoding when passing regopt individually (#102)

2.11.1 (from changelog)

Fixed

  • restored compatibility with Ruby < 2.6, broken in regexp_parser v2.11.0

2.11.0 (from changelog)

Added

  • a new token :escape, :utf8_hex and expression EscapeSequence::UTF8Hex
    • used for UTF-8 hex escapes, e.g. \xE2\x82\xAC representing U+20AC "€"

Fixed

  • detection of numeric backrefs > 9, e.g. ((((((((((foo))))))))))\10
    • these are only backrefs in Ruby if sufficient groups have been opened
    • they were previously always scanned as octal or literal escapes

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 35 commits:

↗️ rubocop-ast (indirect, 1.46.0 → 1.49.1) · Repo · Changelog

Release Notes

1.49.1 (from changelog)

Bug fixes

  • #399: Fix unification variables not persisting in any-order nodes. (@marcandre)

1.49.0

New features

  • #394: Support Ruby 4.1 (experimental). (@koic)

1.48.0

New features

  • #391: Support Ruby 4.0 (experimental). (@koic)

1.47.1 (from changelog)

Bug fixes

  • #386: Fix parsing of node patterns that match against the empty string. (@earloapin)

1.47.0 (from changelog)

New features

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 42 commits:

↗️ unicode-display_width (indirect, 3.1.4 → 3.2.0) · Repo · Changelog

Release Notes

3.2.0 (from changelog)

  • Unicode 17.0

3.1.5 (from changelog)

  • Cache Emoji support level for performance reasons #30, patch by @Earlopain:

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 6 commits:

↗️ unicode-emoji (indirect, 4.0.4 → 4.2.0) · Repo · Changelog

Release Notes

4.2.0 (from changelog)

  • Allow Ruby 4.0
  • Remove Non-Emoji pictographs from spec, since they have been removed in Unicode 17
  • Update valid subdivisions to CLDR 48 (no changes)

4.1.0 (from changelog)

  • Unicode 17
  • Update valid subdivisions to CLDR 47 (no changes)

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 16 commits:


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu Bot added dependencies Pull requests that update a dependency file Technical Debt labels Jun 12, 2026
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 Technical Debt

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants