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.16.0 to ~> 2.17.0 #1695

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

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

Release notes

Sourced from rubocop-rspec's releases.

RuboCop RSpec v2.17.0

  • Fix a false positive for RSpec/PendingWithoutReason when pending/skip is argument of methods. (@​ydah)
  • Add new RSpec/Capybara/MatchStyle cop. (@​ydah)
  • Add new RSpec/Rails/MinitestAssertions cop. (@​ydah)
  • Fix a false positive for RSpec/PendingWithoutReason when not inside example. (@​ydah)
  • Fix a false negative for RSpec/PredicateMatcher when using include and respond_to. (@​ydah)
  • Fix a false positive for RSpec/StubbedMock when stubbed message expectation with a block and block parameter. (@​ydah)
Changelog

Sourced from rubocop-rspec's changelog.

2.17.0 (2023-01-13)

  • Fix a false positive for RSpec/PendingWithoutReason when pending/skip is argument of methods. ([@​ydah])
  • Add new RSpec/Capybara/MatchStyle cop. ([@​ydah])
  • Add new RSpec/Rails/MinitestAssertions cop. ([@​ydah])
  • Fix a false positive for RSpec/PendingWithoutReason when not inside example. ([@​ydah])
  • Fix a false negative for RSpec/PredicateMatcher when using include and respond_to. ([@​ydah])
  • Fix a false positive for RSpec/StubbedMock when stubbed message expectation with a block and block parameter. ([@​ydah])

2.16.0 (2022-12-13)

  • Add new RSpec/FactoryBot/FactoryNameStyle cop. ([@​ydah])
  • Improved processing speed for RSpec/Be, RSpec/ExpectActual, RSpec/ImplicitExpect, RSpec/MessageSpies, RSpec/PredicateMatcher and RSpec/Rails/HaveHttpStatus. ([@​ydah])
  • Fix wrong autocorrection in n_times style on RSpec/FactoryBot/CreateList. ([@​r7kamura])
  • Fix a false positive for RSpec/FactoryBot/ConsistentParenthesesStyle when using generate with multiple arguments. ([@​ydah])
  • Mark RSpec/BeEq as Safe: false ([@​r7kamura])
  • Add RSpec/DuplicatedMetadata cop. ([@​r7kamura])
  • Mark RSpec/BeEql as Safe: false. ([@​r7kamura])
  • Add RSpec/PendingWithoutReason cop. ([@​r7kamura])

2.15.0 (2022-11-03)

  • Fix a false positive for RSpec/RepeatedDescription when different its block expectations are used. ([@​ydah])
  • Add named_only style to RSpec/NamedSubject. ([@​kuahyeow])
  • Fix RSpec/FactoryBot/ConsistentParenthesesStyle to ignore calls without the first positional argument. ([@​pirj])
  • Fix RSpec/FactoryBot/ConsistentParenthesesStyle to ignore calls inside a Hash or an Array. ([@​pirj])
  • Fix RSpec/NestedGroups to correctly use AllowedGroups config. ([@​samrjenkins])
  • Remove Runners and HookScopes RSpec DSL elements from configuration. ([@​pirj])
  • Add with default RSpec/Language config helper to lib (under rubocop/rspec/shared_contexts/default_rspec_language_config_context), to allow use for downstream cops based on RuboCop::Cop::RSpec::Base. ([@​smcgivern])

2.14.2 (2022-10-25)

  • Fix an incorrect autocorrect for FactoryBot/ConsistentParenthesesStyle with omit_parentheses option when method name and first argument are not on same line. ([@​ydah])
  • Fix autocorrection loop in RSpec/ExampleWording for insufficient example wording. ([@​pirj])
  • Fix RSpec/SortMetadata not to reorder arguments of include_/it_behaves_like. ([@​pirj])
  • Fix a false positive for RSpec/NoExpectationExample when allowed pattern methods with arguments. ([@​ydah])
  • Change RSpec/FilePath so that it only checks suffix when path is under spec/routing or type is defined as routing. ([@​r7kamura])

2.14.1 (2022-10-24)

  • Fix an error for RSpec/Rails/InferredSpecType with redundant type before other Hash metadata. ([@​ydah])

2.14.0 (2022-10-23)

  • Add require_implicit style to RSpec/ImplicitSubject. ([@​r7kamura])
  • Fix a false positive for RSpec/Capybara/SpecificMatcher when have_css("a") without attribute. ([@​ydah])
  • Update RSpec/ExampleWording cop to raise error for insufficient descriptions. ([@​akrox58])
  • Add new RSpec/Capybara/NegationMatcher cop. ([@​ydah])
  • Add AllowedPatterns configuration option to RSpec/NoExpectationExample. ([@​ydah])
  • Improve RSpec/NoExpectationExample cop to ignore examples skipped or pending via metadata. ([@​pirj])

... (truncated)

Commits
  • 1de57a6 Merge pull request #1551 from rubocop/release
  • 43703ef Bump version to v2.17.0
  • 7795cbd Merge pull request #1544 from ydah/use_concurrency_only_pull_request
  • 72679bb Merge pull request #1546 from ydah/fix/1518
  • d87efcf Merge pull request #1548 from ydah/add-test-case
  • f3660dd change example to resemble real usages
  • 895730f Add a test case for RSpec/ContextMethod when context without . or # at ...
  • 1b99171 Fix a false positive for RSpec/StubbedMock when stubbed message expectation...
  • 306ff21 Change concurrency only in Pull Request events
  • a1ece2c Merge pull request #1543 from ydah/remove_unnecessary_escapes
  • 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)