cloudflare-rails icon indicating copy to clipboard operation
cloudflare-rails copied to clipboard

Update rubocop-rspec requirement from ~> 3.7.0 to ~> 3.8.0

Open dependabot[bot] opened this issue 1 month ago • 0 comments

Updates the requirements on rubocop-rspec to permit the latest version.

Release notes

Sourced from rubocop-rspec's releases.

RuboCop RSpec v3.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)
Changelog

Sourced from rubocop-rspec's changelog.

3.8.0 (2025-11-12)

  • 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 (2025-09-01)

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

3.6.0 (2025-04-18)

  • Fix false positive in RSpec/Pending, where it would mark the default block it as an offense. ([@​bquorning])
  • Fix issue when Style/ContextWording is configured with a Prefix being interpreted as a boolean, like on. ([@​sakuro])
  • Add new RSpec/IncludeExamples cop to enforce using it_behaves_like over include_examples. ([@​dvandersluis])
  • Change RSpec/ScatteredSetup to allow around hooks to be scattered. ([@​ydah])
  • Fix an error RSpec/ChangeByZero cop when without expect block. ([@​lee266])
  • Fix a false positive for RSpec/DescribedClass when SkipBlocks is true and numblocks are used. ([@​earlopain])

3.5.0 (2025-02-16)

  • Don't let RSpec/PredicateMatcher replace respond_to? with two arguments with the RSpec respond_to matcher. ([@​bquorning])
  • Fix RSpec/PredicateMatcher support for eql and equal matchers. ([@​bquorning])
  • Pluginfy RuboCop RSpec. ([@​koic])

3.4.0 (2025-01-20)

  • Fix RSpec/SortMetadata cop to limit sorting to trailing metadata arguments. ([@​cbliard])
  • Replace RSpec/StringAsInstanceDoubleConstant with RSpec/VerifiedDoubleReference configured to only support constant class references. ([@​corsonknowles])
  • Fix RSpec/EmptyExampleGroup cop false positive when a simple conditional is used inside an iterator. ([@​lovro-bikic])

3.3.0 (2024-12-12)

  • Deprecate top_level_group? method from TopLevelGroup mixin as all of its callers were intentionally removed from Rubocop/RSpec. ([@​corsonknowles])
  • Fix false positive for RSpec/EmptyMetadata for splat kwargs. ([@​pirj])

3.2.0 (2024-10-26)

  • Fix RSpec/VoidExpect to only operate inside an example block. ([@​corsonknowles])
  • Change RSpec/ContextWording cop to always report an offense when both Prefixes and AllowedPatterns are empty. ([@​ydah])

... (truncated)

Commits
  • dc8f6ac Merge pull request #2133 from rubocop/bump
  • c271e68 Bump version to 3.8.0
  • 44b9294 Merge pull request #2130 from rubocop/add-dot-ruby-version
  • 25a1255 Add a .ruby-version file
  • 3f31059 Merge pull request #2090 from corsonknowles/fix_spec_file_path_format_for_inf...
  • 2777fa2 Let RSpec/SpecFilePathFormat leverage ActiveSupport inflections when define...
  • 961389a Merge pull request #2119 from rubocop/1932
  • f6db226 Improve an offense message for RSpec/RepeatedExamplecop
  • 9b5dd15 Merge pull request #2112 from ushi-as/fix-detection-of-nameless-doubles
  • 0549bae RSpec/VerifiedDoubles: fix detection of nameless doubles
  • Additional commits viewable in compare view

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

dependabot[bot] avatar Nov 12 '25 13:11 dependabot[bot]