Skip to content

deps-dev: bump rubocop-rspec from 2.12.1 to 2.13.1

George Koltsov requested to merge dependabot/bundler/rubocop-rspec-2.13.1 into main

Created by: dependabot[bot]

Bumps rubocop-rspec from 2.12.1 to 2.13.1.

Release notes

Sourced from rubocop-rspec's releases.

RuboCop RSpec v2.13.1

Include config/obsoletion.yml in the gemspec. (@​hosamaly)

RuboCop RSpec v2.13.0

  • Fix RSpec/FilePath cop missing mismatched expanded namespace. (@​sl4vr)
  • Add new AllowConsecutiveOneLiners (default true) option for Rspec/EmptyLineAfterHook cop. (@​ngouy)
  • Add autocorrect support for RSpec/EmptyExampleGroup. (@​r7kamura)
  • Fix RSpec/ChangeByZero with compound expressions using & or | operators. (@​BrianHawley)
  • Add RSpec/NoExpectationExample. (@​r7kamura)
  • Add some expectation methods to default configuration. (@​r7kamura)
  • Fix a false positive for RSpec/Capybara/SpecificMatcher. (@​ydah)
  • Fix a false negative for RSpec/Capybara/SpecificMatcher for have_field. (@​ydah)
  • Fix a false positive for RSpec/Capybara/SpecificMatcher when may not have a href by have_link. (@​ydah)
  • Add NegatedMatcher configuration option to RSpec/ChangeByZero. (@​ydah)
  • Add new RSpec/Capybara/SpecificFinders cop. (@​ydah)
  • Add support for numblocks to RSpec/AroundBlock, RSpec/EmptyLineAfterHook, RSpec/ExpectInHook, RSpec/HookArgument, RSpec/HooksBeforeExamples, RSpec/IteratedExpectation, and RSpec/NoExpectationExample. (@​ydah)
  • Fix incorrect documentation URLs when using rubocop --show-docs-url. (@​r7kamura)
  • Add AllowedGroups configuration option to RSpec/NestedGroups. (@​ydah)
  • Deprecate IgnoredPatterns option in favor of the AllowedPatterns options. (@​ydah)
  • Add AllowedPatterns configuration option to RSpec/ContextWording. (@​ydah)
  • Add RSpec/ClassCheck cop. (@​r7kamura)
  • Fix a false positive for RSpec/Capybara/SpecificMatcher when pseudo-classes. (@​ydah)
  • Fix a false negative for RSpec/SubjectStub when the subject is declared with the subject! method and called by name. (@​eikes)
  • Support Array.new(n) on RSpec/FactoryBot/CreateList cop. (@​r7kamura)
Changelog

Sourced from rubocop-rspec's changelog.

2.13.1 (2022-09-12)

  • Include config/obsoletion.yml in the gemspec. ([@​hosamaly][])

2.13.0 (2022-09-12)

  • Fix RSpec/FilePath cop missing mismatched expanded namespace. ([@​sl4vr][])
  • Add new AllowConsecutiveOneLiners (default true) option for Rspec/EmptyLineAfterHook cop. ([@​ngouy][])
  • Add autocorrect support for RSpec/EmptyExampleGroup. ([@​r7kamura][])
  • Fix RSpec/ChangeByZero with compound expressions using & or | operators. ([@​BrianHawley][])
  • Add RSpec/NoExpectationExample. ([@​r7kamura][])
  • Add some expectation methods to default configuration. ([@​r7kamura][])
  • Fix a false positive for RSpec/Capybara/SpecificMatcher. ([@​ydah][])
  • Fix a false negative for RSpec/Capybara/SpecificMatcher for have_field. ([@​ydah][])
  • Fix a false positive for RSpec/Capybara/SpecificMatcher when may not have a href by have_link. ([@​ydah][])
  • Add NegatedMatcher configuration option to RSpec/ChangeByZero. ([@​ydah][])
  • Add new RSpec/Capybara/SpecificFinders cop. ([@​ydah][])
  • Add support for numblocks to RSpec/AroundBlock, RSpec/EmptyLineAfterHook, RSpec/ExpectInHook, RSpec/HookArgument, RSpec/HooksBeforeExamples, RSpec/IteratedExpectation, and RSpec/NoExpectationExample. ([@​ydah][])
  • Fix incorrect documentation URLs when using rubocop --show-docs-url. ([@​r7kamura][])
  • Add AllowedGroups configuration option to RSpec/NestedGroups. ([@​ydah][])
  • Deprecate IgnoredPatterns option in favor of the AllowedPatterns options. ([@​ydah][])
  • Add AllowedPatterns configuration option to RSpec/ContextWording. ([@​ydah][])
  • Add RSpec/ClassCheck cop. ([@​r7kamura][])
  • Fix a false positive for RSpec/Capybara/SpecificMatcher when pseudo-classes. ([@​ydah][])
  • Fix a false negative for RSpec/SubjectStub when the subject is declared with the subject! method and called by name. ([@​eikes][])
  • Support Array.new(n) on RSpec/FactoryBot/CreateList cop. ([@​r7kamura][])
Commits
  • 5627784 Merge pull request #1384 from rubocop/release
  • 4b99a47 Bump version to v2.13.1
  • 6c040b4 Merge pull request #1383 from hosamaly/patch-1
  • 251db0d Include config/obsoletion.yml in the gemspec
  • ce297ae Switch docs version back to master
  • dbc1f77 Merge pull request #1381 from rubocop/release
  • 90c514a Bump version to 2.13.0
  • 0fd509d Merge pull request #1380 from rubocop/ci-config
  • 71a3efb Merge pull request #1373 from r7kamura/feature/array-new
  • 4ba3063 Support Array.new(n) on RSpec/FactoryBot/CreateList cop
  • Additional commits viewable in compare view

Dependabot compatibility score

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)

Merge request reports