orange-cloudfoundry / cf-ops-automation

a collaboration framework for operating cloudfoundry and services at scale
22 stars 6 forks source link

chore(deps): update dependency rubocop-rspec to v3 #459

Open renovate[bot] opened 5 months ago

renovate[bot] commented 5 months ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
rubocop-rspec (changelog) '~> 2.31' -> '~> 3.2' age adoption passing confidence

Release Notes

rubocop/rubocop-rspec (rubocop-rspec) ### [`v3.2.0`](https://redirect.github.com/rubocop/rubocop-rspec/blob/HEAD/CHANGELOG.md#320-2024-10-26) [Compare Source](https://redirect.github.com/rubocop/rubocop-rspec/compare/v3.1.0...v3.2.0) - Fix `RSpec/VoidExpect` to only operate inside an example block. (\[[@​corsonknowles](https://redirect.github.com/corsonknowles)]) - Change `RSpec/ContextWording` cop to always report an offense when both `Prefixes` and `AllowedPatterns` are empty. (\[[@​ydah](https://redirect.github.com/ydah)]) - Add support for `and` and `or` compound matchers to `RSpec/ChangeByZero` cop. (\[[@​ydah](https://redirect.github.com/ydah)]) ### [`v3.1.0`](https://redirect.github.com/rubocop/rubocop-rspec/blob/HEAD/CHANGELOG.md#310-2024-10-01) [Compare Source](https://redirect.github.com/rubocop/rubocop-rspec/compare/v3.0.5...v3.1.0) - Add `RSpec/StringAsInstanceDoubleConstant` to check for and correct strings used as instance_doubles. (\[[@​corsonknowles](https://redirect.github.com/corsonknowles)]) - Fix false-positive for `RSpec/UnspecifiedException` when a method is literally named `raise_exception`. (\[[@​aarestad](https://redirect.github.com/aarestad)]) - Fix false-positive for `RSpec/UnspecifiedException` when `not_to raise_error` is used within a block. (\[[@​aarestad](https://redirect.github.com/aarestad)], \[[@​G-Rath](https://redirect.github.com/G-Rath)]) ### [`v3.0.5`](https://redirect.github.com/rubocop/rubocop-rspec/blob/HEAD/CHANGELOG.md#305-2024-09-07) [Compare Source](https://redirect.github.com/rubocop/rubocop-rspec/compare/v3.0.4...v3.0.5) - Fix false-negative and error for `RSpec/MetadataStyle` when non-literal args are used in metadata in `EnforceStyle: hash`. (\[[@​cbliard](https://redirect.github.com/cbliard)]) - Improve offense message for `RSpec/IndexedLet`. (\[[@​earlopain](https://redirect.github.com/earlopain)]) ### [`v3.0.4`](https://redirect.github.com/rubocop/rubocop-rspec/blob/HEAD/CHANGELOG.md#304-2024-08-05) [Compare Source](https://redirect.github.com/rubocop/rubocop-rspec/compare/v3.0.3...v3.0.4) - Fix false-negative for `UnspecifiedException` when matcher is chained. (\[[@​r7kamura](https://redirect.github.com/r7kamura)]) ### [`v3.0.3`](https://redirect.github.com/rubocop/rubocop-rspec/blob/HEAD/CHANGELOG.md#303-2024-07-12) [Compare Source](https://redirect.github.com/rubocop/rubocop-rspec/compare/v3.0.2...v3.0.3) - Add support for Unicode RIGHT SINGLE QUOTATION MARK in `RSpec/ExampleWording`. (\[[@​jdufresne](https://redirect.github.com/jdufresne)]) - Suppress deprecation warning for `RSpec/MultipleExpectations`, `RSpec/MultipleMemoizedHelpers`, and `RSpec/NestedGroups` cops. (\[[@​koic](https://redirect.github.com/koic)]) ### [`v3.0.2`](https://redirect.github.com/rubocop/rubocop-rspec/blob/HEAD/CHANGELOG.md#302-2024-07-02) [Compare Source](https://redirect.github.com/rubocop/rubocop-rspec/compare/v3.0.1...v3.0.2) - Fix wrong autocorrect for `RSpec/ScatteredSetup` when hook contains heredoc. (\[[@​earlopain](https://redirect.github.com/earlopain)]) - Fix false negative for `RSpec/PredicateMatcher` when expectation contains custom failure message. (\[[@​earlopain](https://redirect.github.com/earlopain)]) - Facilitate the 3.0 upgrade flow with proper extracted cop messages. (\[[@​jeppester](https://redirect.github.com/jeppester)]) ### [`v3.0.1`](https://redirect.github.com/rubocop/rubocop-rspec/blob/HEAD/CHANGELOG.md#301-2024-06-11) [Compare Source](https://redirect.github.com/rubocop/rubocop-rspec/compare/v3.0.0...v3.0.1) - Bump RuboCop requirement to +1.61. (\[[@​ydah](https://redirect.github.com/ydah)]) ### [`v3.0.0`](https://redirect.github.com/rubocop/rubocop-rspec/blob/HEAD/CHANGELOG.md#300-2024-06-11) [Compare Source](https://redirect.github.com/rubocop/rubocop-rspec/compare/v2.31.0...v3.0.0) - Remove extracted cops in `Capybara`, `FactoryBot` and `Rails` departments. (\[[@​ydah](https://redirect.github.com/ydah)]) - Remove `RuboCop::RSpec::Language::NodePattern`. (\[[@​ydah](https://redirect.github.com/ydah)]) - Remove `RSpec/FilePath` cop. (\[[@​ydah](https://redirect.github.com/ydah)]) - Remove `RSpec/Capybara/FeatureMethods` cop. If you are using this cop, change it to use `RSpec/Dialect`. (\[[@​ydah](https://redirect.github.com/ydah)]) - Add new `RSpec/MissingExpectationTargetMethod` cop. (\[[@​krororo](https://redirect.github.com/krororo)]) - Fix an error for `RSpec/ScatteredSetup` when one of the hooks is an empty block. (\[[@​earlopain](https://redirect.github.com/earlopain)]) These previously pending cops are now enabled by default: `RSpec/BeEmpty`, `RSpec/BeEq`, `RSpec/BeNil`, `RSpec/ChangeByZero`, `RSpec/ClassCheck`, `RSpec/ContainExactly`, `RSpec/DuplicatedMetadata`, `RSpec/EmptyMetadata`, `RSpec/EmptyOutput`, `RSpec/Eq`, `RSpec/ExcessiveDocstringSpacing`, `RSpec/ExpectInLet`, `RSpec/IdenticalEqualityAssertion`, `RSpec/IndexedLet`, `RSpec/IsExpectedSpecify`, `RSpec/MatchArray`, `RSpec/MetadataStyle`, `RSpec/NoExpectationExample`, `RSpec/PendingWithoutReason`, `RSpec/ReceiveMessages`, `RSpec/RedundantAround`, `RSpec/RedundantPredicateMatcher`, `RSpec/RemoveConst`, `RSpec/RepeatedSubjectCall`, `RSpec/SkipBlockInsideExample`, `RSpec/SortMetadata`, `RSpec/SpecFilePathFormat`, `RSpec/SpecFilePathSuffix`, `RSpec/SubjectDeclaration`, `RSpec/UndescriptiveLiteralsDescription`, and `RSpec/VerifiedDoubleReference`. Read more about how to upgrade in https://docs.rubocop.org/rubocop-rspec/upgrade_to_version\_3.html

Configuration

📅 Schedule: Branch creation - "after 8am on the first day of the month" (UTC), 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.



This PR was generated by Mend Renovate. View the repository job log.