Skip to content

dep: 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

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 commands
You can trigger Dependabot actions by commenting on this MR
  • @dependabot-bot rebase will rebase this MR
  • @dependabot-bot recreate will recreate this MR rewriting all the manual changes and resolving conflicts

Allure report

allure-report-publisher generated test report!

rspec: test report for 4fc6e83c

+------------------------------------------------------------------+
|                        behaviors summary                         |
+-------------+--------+--------+---------+-------+-------+--------+
|             | passed | failed | skipped | flaky | total | result |
+-------------+--------+--------+---------+-------+-------+--------+
| services    | 174    | 0      | 0       | 0     | 174   | ✅     |
| tasks       | 9      | 0      | 0       | 0     | 9     | ✅     |
| jobs        | 14     | 0      | 0       | 0     | 14    | ✅     |
| controllers | 25     | 0      | 0       | 0     | 25    | ✅     |
| system      | 10     | 0      | 0       | 0     | 10    | ✅     |
| models      | 4      | 0      | 0       | 0     | 4     | ✅     |
+-------------+--------+--------+---------+-------+-------+--------+
| Total       | 236    | 0      | 0       | 0     | 236   | ✅     |
+-------------+--------+--------+---------+-------+-------+--------+
Edited by George Koltsov

Merge request reports