cloudflare-rails
cloudflare-rails copied to clipboard
Update rubocop-rspec requirement from ~> 3.7.0 to ~> 3.8.0
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/LetSetupwhenlet!used in outer scope. (@ydah)- Fix a false positive for
RSpec/ReceiveNevercop whenallow(...).to receive(...).never. (@ydah)- Fix detection of nameless doubles with methods in
RSpec/VerifiedDoubles. (@ushi-as)- Improve an offense message for
RSpec/RepeatedExamplecop. (@ydah)- Let
RSpec/SpecFilePathFormatleverage 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/LetSetupwhenlet!used in outer scope. ([@ydah])- Fix a false positive for
RSpec/ReceiveNevercop whenallow(...).to receive(...).never. ([@ydah])- Fix detection of nameless doubles with methods in
RSpec/VerifiedDoubles. ([@ushi-as])- Improve an offense message for
RSpec/RepeatedExamplecop. ([@ydah])- Let
RSpec/SpecFilePathFormatleverage ActiveSupport inflections when configured. ([@corsonknowles], [@bquorning])3.7.0 (2025-09-01)
- Mark
RSpec/IncludeExamplesasSafeAutoCorrect: false. ([@yujideveloper])- Fix a false positive for
RSpec/LeakyConstantDeclarationwhen defining constants in explicit namespaces. ([@naveg])- Add support for error matchers (
raise_exceptionandraise_error) toRSpec/Dialect. ([@lovro-bikic])- Don't register offenses for
RSpec/DescribedClasswithinData.defineblocks. ([@lovro-bikic])- Add autocorrection support for
RSpec/IteratedExpectationfor single expectations. ([@lovro-bikic])- Exclude all cops from inspecting factorybot files, except if explicitly included. ([
@Mth0158])- Fix a false positive for
RSpec/ExcessiveDocstringSpacingwhen receivers are not RSpec methods. ([@ydah])3.6.0 (2025-04-18)
- Fix false positive in
RSpec/Pending, where it would mark the default blockitas an offense. ([@bquorning])- Fix issue when
Style/ContextWordingis configured with a Prefix being interpreted as a boolean, likeon. ([@sakuro])- Add new
RSpec/IncludeExamplescop to enforce usingit_behaves_likeoverinclude_examples. ([@dvandersluis])- Change
RSpec/ScatteredSetupto allowaroundhooks to be scattered. ([@ydah])- Fix an error
RSpec/ChangeByZerocop when without expect block. ([@lee266])- Fix a false positive for
RSpec/DescribedClasswhenSkipBlocksis true and numblocks are used. ([@earlopain])3.5.0 (2025-02-16)
- Don't let
RSpec/PredicateMatcherreplacerespond_to?with two arguments with the RSpecrespond_tomatcher. ([@bquorning])- Fix
RSpec/PredicateMatchersupport foreqlandequalmatchers. ([@bquorning])- Pluginfy RuboCop RSpec. ([
@koic])3.4.0 (2025-01-20)
- Fix
RSpec/SortMetadatacop to limit sorting to trailing metadata arguments. ([@cbliard])- Replace
RSpec/StringAsInstanceDoubleConstantwithRSpec/VerifiedDoubleReferenceconfigured to only support constant class references. ([@corsonknowles])- Fix
RSpec/EmptyExampleGroupcop false positive when a simple conditional is used inside an iterator. ([@lovro-bikic])3.3.0 (2024-12-12)
- Deprecate
top_level_group?method fromTopLevelGroupmixin as all of its callers were intentionally removed fromRubocop/RSpec. ([@corsonknowles])- Fix false positive for RSpec/EmptyMetadata for splat kwargs. ([
@pirj])3.2.0 (2024-10-26)
- Fix
RSpec/VoidExpectto only operate inside an example block. ([@corsonknowles])- Change
RSpec/ContextWordingcop to always report an offense when bothPrefixesandAllowedPatternsare empty. ([@ydah])
... (truncated)
Commits
dc8f6acMerge pull request #2133 from rubocop/bumpc271e68Bump version to 3.8.044b9294Merge pull request #2130 from rubocop/add-dot-ruby-version25a1255Add a .ruby-version file3f31059Merge pull request #2090 from corsonknowles/fix_spec_file_path_format_for_inf...2777fa2LetRSpec/SpecFilePathFormatleverage ActiveSupport inflections when define...961389aMerge pull request #2119 from rubocop/1932f6db226Improve an offense message forRSpec/RepeatedExamplecop9b5dd15Merge pull request #2112 from ushi-as/fix-detection-of-nameless-doubles0549baeRSpec/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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)