Safecast / safecastapi

The app that powers api.safecast.org
44 stars 25 forks source link

Bump rubocop-rspec from 2.4.0 to 2.15.0 #971

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps rubocop-rspec from 2.4.0 to 2.15.0.

Release notes

Sourced from rubocop-rspec's releases.

RuboCop RSpec v2.15.0

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

... (truncated)

Changelog

Sourced from rubocop-rspec's changelog.

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])
  • Add RSpec/FactoryBot/ConsistentParenthesesStyle cop. ([@​Liberatys])
  • Add RSpec/Rails/InferredSpecType cop. ([@​r7kamura])
  • Add new RSpec/Capybara/SpecificActions cop. ([@​ydah])
  • Update config/default.yml removing deprecated option to make the config correctable by users. ([@​ignaciovillaverde])
  • Do not attempt to auto-correct example groups with include_examples in RSpec/LetBeforeExamples. ([@​pirj])
  • Add new RSpec/SortMetadata cop. ([@​leoarnold])
  • Add support for subject! method to RSpec/SubjectDeclaration. ([@​ydah])

2.13.2 (2022-09-23)

  • Fix an error for RSpec/Capybara/SpecificFinders with no parentheses. ([@​ydah])
  • Fix a false positive for RSpec/NoExpectationExample with pending using skip or pending inside an example. ([@​ydah])
  • Exclude have_text and have_content that raise ArgumentError with RSpec/Capybara/VisibilityMatcher where :visible is an invalid option. ([@​ydah])
  • Fix a false negative for RSpec/Capybara/VisibilityMatcher with negative matchers. ([@​ydah])

2.13.1 (2022-09-12)

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

2.13.0 (2022-09-12)

... (truncated)

Commits
  • cd6b33b Merge pull request #1466 from rubocop/release
  • 254ec94 Bump version to 2.15.0
  • 5e7f0fd Merge pull request #1377 from smcgivern/expose-default-rspec-language-context
  • 81c9faa Expose 'with default RSpec/Language config' to consumers
  • 98e9994 Merge pull request #1463 from rubocop/revert-1461-improvement_rspec_factory_b...
  • c24b3e3 Revert "Add RESTRICT_ON_SEND for `RSpec/FactoryBot/ConsistentParenthesesSty...
  • b18433b Merge pull request #1461 from ydah/improvement_rspec_factory_bot_consistent_p...
  • 6e50e06 Merge pull request #1459 from rubocop/make-runners-and-hook-scopes-non-config...
  • 70120b6 Add RESTRICT_ON_SEND for RSpec/FactoryBot/ConsistentParenthesesStyle
  • 744918d Make hook scopes and runners non-configurable
  • 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)
eitoball commented 2 years ago

@dependabot rebase