troessner / reek

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

Update rubocop-rspec requirement from ~> 2.9.0 to ~> 2.10.0 #1648

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.10.0

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

Sourced from rubocop-rspec's changelog.

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][])
  • Fix false positive in RSpec/IteratedExpectation when there is single, non-expectation statement in the block body. ([@​Darhazer][])

2.4.0 (2021-06-09)

  • Update RSpec/FilePath to check suffix when given a non-constant top-level node (e.g. features). ([@​topalovic][])
  • Add missing documentation for single_statement_only style of RSpec/ImplicitSubject cop. ([@​tejasbubane][])
  • Fix an exception in DescribedClass when accessing a constant on a variable in a spec that is nested in a namespace. ([@​rrosenblum][])

... (truncated)

Commits
  • 4dc8bcc Merge pull request #1260 from rubocop/release
  • dcda511 Bump version to 2.10.0
  • 5e62066 Merge pull request #1257 from rubocop/configure-rspec-examplelength-cop-inter...
  • a123509 Count heredocs as one line in ExampleLength
  • 1f2503b Merge pull request #1253 from ydah/fix-capybara-current-path-expectation-auto...
  • eaeadbb [Fix #1237] Fix Capybara/CurrentPathExpectation autocorrect incompatible wi...
  • d0de0b7 Merge pull request #1251 from rubocop/configurable-be-nil
  • 7949379 Make RSpec/BeNil cop configurable
  • b56d287 Merge pull request #1246 from t3h2mas/verified_doubles_class_reference
  • 1ec40e3 Add VerifiedDoubleReference 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 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)