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.10.0 to ~> 2.11.0 #1652

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

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

Release notes

Sourced from rubocop-rspec's releases.

RuboCop RSpec v2.11.0

  • Drop Ruby 2.5 support. (@​ydah)
  • Add new RSpec/ChangeByZero cop. (@​ydah)
  • Improve RSpec/ExpectChange to detect namespaced and top-level constants. (@​M-Yamashita01)
  • Introduce an amendment to Metrics/BlockLength to exclude spec files. (@​luke-hill)
Changelog

Sourced from rubocop-rspec's changelog.

2.11.0 (2022-05-18)

  • Drop Ruby 2.5 support. ([@​ydah][])
  • Add new RSpec/ChangeByZero cop. ([@​ydah][])
  • Improve RSpec/ExpectChange to detect namespaced and top-level constants. ([@​M-Yamashita01][])
  • Introduce an amendment to Metrics/BlockLength to exclude spec files. ([@​luke-hill][])

2.10.0 (2022-04-19)

  • Fix a false positive for RSpec/EmptyExampleGroup when expectations in case statement. ([@​ydah][])
  • Add RSpec/VerifiedDoubleReference cop. ([@​t3h2mas][])
  • Make RSpec/BeNil cop configurable with a be_nil style and a be style. ([@​bquorning][])
  • Fix Capybara/CurrentPathExpectation autocorrect incompatible with Style/TrailingCommaInArguments autocorrect. ([@​ydah][])

2.9.0 (2022-02-28)

2.8.0 (2022-01-24)

  • Fix RSpec/FactoryBot/SyntaxMethods and RSpec/Capybara/FeatureMethods to inspect shared groups. ([@​pirj][])
  • Fix RSpec/LeadingSubject failure in non-spec code. ([@​pirj][])
  • Add bad example to RSpec/SubjectStub cop. ([@​oshiro3][])
  • Replace non-styleguide cops StyleGuide attribute with Reference. ([@​pirj][])
  • Fix RSpec/SubjectStub to disallow stubbing of subjects defined in parent example groups. ([@​pirj][])

2.7.0 (2021-12-26)

2.6.0 (2021-11-08)

  • Fix merging RSpec DSL configuration from third-party gems. ([@​pirj][])
  • Fix RSpec/ExcessiveDocstringSpacing false positive for multi-line indented strings. ([@​G-Rath][])
  • Fix Include configuration for sub-departments. ([@​pirj][])
  • Ignore heredocs in RSpec/ExcessiveDocstringSpacing. ([@​G-Rath][])
  • Stop RSpec/ExampleWording from trying to correct heredocs. ([@​G-Rath][])
  • Add autocorrect support for RSpec/VariableDefinition. ([@​r7kamura][])

2.5.0 (2021-09-21)

  • Declare autocorrect as unsafe for ExpectChange. ([@​francois-ferrandis][])
  • Fix each example for RSpec/HookArgument. ([@​lokhi][])
  • Exclude unrelated Rails directories from RSpec/DescribeClass. ([@​MothOnMars][])
  • Add RSpec/ExcessiveDocstringSpacing cop. ([@​G-Rath][])
  • Add RSpec/SubjectDeclaration cop. ([@​dswij][])
  • Fix excessive whitespace removal in RSpec/EmptyHook autocorrection. ([@​pirj][])
  • Bump RuboCop requirement to v1.19.0. ([@​pirj][])

... (truncated)

Commits
  • 75ad3ef Merge pull request #1275 from rubocop/release
  • f95b10f Bump version to 2.11.0
  • 0488223 Merge pull request #1256 from luke-hill/patch-1
  • 05bccb6 Exclude all spec blocks from Metrics/BlockLength
  • 2f46bf1 Merge pull request #1274 from rubocop/fix-fresh-rubocop-internal-offences
  • 56e3e55 Fix latest internal affairs offences
  • af2fd8a Merge pull request #1042 from M-Yamashita01/feature-work-well-with-nested-class
  • 049ac09 Improve RSpec/ExpectChange
  • eb0add8 Merge pull request #1265 from ydah/add_change_by_zero
  • 7645439 Add new RSpec/ChangeByZero cop
  • 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 will merge this PR once CI passes on it, as requested by @mvz.


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)
mvz commented 2 years ago

@dependabot merge