troessner / reek

Code smell detector for Ruby
https://github.com/troessner/reek
MIT License
4k stars 279 forks source link

Update rubocop-rspec requirement from ~> 2.22.0 to ~> 2.23.1 #1728

Closed dependabot[bot] closed 10 months ago

dependabot[bot] commented 10 months ago

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

Release notes

Sourced from rubocop-rspec's releases.

RuboCop RSpec v2.23.1

  • Mark to Safe: false for RSpec/Rails/NegationBeValid cop. (@​ydah)
  • Declare autocorrect as unsafe for RSpec/ReceiveMessages. (@​bquorning)
Changelog

Sourced from rubocop-rspec's changelog.

2.23.1 (2023-08-07)

  • Mark to Safe: false for RSpec/Rails/NegationBeValid cop. ([@​ydah])
  • Declare autocorrect as unsafe for RSpec/ReceiveMessages. ([@​bquorning])

2.23.0 (2023-07-30)

  • Add new RSpec/Rails/NegationBeValid cop. ([@​ydah])
  • Fix a false negative for RSpec/ExcessiveDocstringSpacing when finds description with em space. ([@​ydah])
  • Fix a false positive for RSpec/EmptyExampleGroup when example group with examples defined in if branch inside iterator. ([@​ydah])
  • Update the message output of RSpec/ExpectActual to include the word 'value'. ([@​corydiamand])
  • Fix a false negative for RSpec/Pending when it without body. ([@​ydah])
  • Add new RSpec/ReceiveMessages cop. ([@​ydah])
  • Change default.yml path to use **/spec/* instead of spec/*. ([@​ydah])
  • Add AllowedIdentifiers and AllowedPatterns configuration option to RSpec/IndexedLet. ([@​ydah])
  • Fix RSpec/NamedSubject when block has no body. ([@​splattael])
  • Fix RSpec/LetBeforeExamples autocorrect incompatible with RSpec/ScatteredLet autocorrect. ([@​ydah])
  • Update RSpec/Focus to support shared_context and shared_examples ([@​tmaier])

2.22.0 (2023-05-06)

  • Extract factory_bot cops to a separate repository, rubocop-factory_bot. The rubocop-factory_bot repository is a dependency of rubocop-rspec and the factory_bot cops are aliased (RSpec/FactoryBot/Foo == FactoryBot/Foo) until v3.0 is released, so the change will be invisible to users until then. ([@​ydah])

2.21.0 (2023-05-05)

  • Fix a false positive in RSpec/IndexedLet with suffixes after index-like numbers. ([@​pirj])
  • Fix an error for RSpec/Rails/HaveHttpStatus with comparison with strings containing non-numeric characters. ([@​ydah])
  • Fix an error for RSpec/MatchArray when match_array with no argument. ([@​ydah])
  • Add support a_block_changing and changing for RSpec/ChangeByZero. ([@​ydah])
  • Drop Ruby 2.6 support. ([@​ydah])

2.20.0 (2023-04-18)

  • Add new RSpec/IndexedLet cop. ([@​dmitrytsepelev])
  • Add new RSpec/BeEmpty cop. ([@​ydah], [@​bquorning])
  • Add autocorrect support for RSpec/ScatteredSetup. ([@​ydah])
  • Add support be_status style for RSpec/Rails/HttpStatus. ([@​ydah])
  • Add support for shared example groups to RSpec/EmptyLineAfterExampleGroup. ([@​pirj])
  • Add support for RSpec/HaveHttpStatus when using response.code. ([@​ydah])
  • Fix order of expected and actual in correction for RSpec/Rails/MinitestAssertions ([@​mvz])
  • Fix a false positive for RSpec/DescribedClassModuleWrapping when RSpec.describe numblock is nested within a module. ([@​ydah])
  • Fix a false positive for RSpec/FactoryBot/ConsistentParenthesesStyle inside &&, || and :? when omit_parentheses is on ([@​dmitrytsepelev])
  • Fix a false positive for RSpec/PendingWithoutReason when pending/skip has a reason inside an example group. ([@​ydah])
  • Fix a false negative for RSpec/RedundantAround when redundant numblock around. ([@​ydah])
  • Change RSpec/ContainExactly to ignore calls with no arguments, and change RSpec/MatchArray to ignore calls with an empty array literal argument. ([@​ydah], [@​bquorning])
  • Make RSpec/MatchArray and RSpec/ContainExactly pending. ([@​ydah])

2.19.0 (2023-03-06)

  • Fix a false positive for RSpec/ContextWording when context is interpolated string literal or execute string. ([@​ydah])

... (truncated)

Commits
  • 20d9d21 Merge pull request #1688 from rubocop/release
  • ff10f38 Bump version to v2.23.1
  • 7e4e0d9 Merge pull request #1687 from rubocop/receive-messages-has-unsafe-autocorrection
  • 233faf2 Declare autocorrect as unsafe for RSpec/ReceiveMessages
  • 4071f9b Merge pull request #1685 from rubocop/mark-unsafe-for-negation-be-valid
  • 6adeda2 Mark to Safe: false for RSpec/Rails/NegationBeValid cop
  • d66612b Merge pull request #1672 from rubocop/release
  • 1f45049 Bump version to v2.23.0
  • 2b0371a Merge pull request #1674 from tmaier/tmaier-1673-fix-focus
  • 8e68e58 Update RSpec/Focus to support shared_context and shared_examples
  • 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 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] commented 10 months ago

A newer version of rubocop-rspec exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.