Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency rubocop-rspec to v2.31.0 - autoclosed #449

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 26, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
rubocop-rspec (changelog) '2.13.2' -> '2.31.0' age adoption passing confidence

Release Notes

rubocop/rubocop-rspec (rubocop-rspec)

v2.31.0: RuboCop RSpec v2.31.0

Compare Source

  • Support AutoCorrect: contextual option for LSP. (@​ydah)

v2.30.0: RuboCop RSpec v2.30.0

Compare Source

v2.29.2

Compare Source

  • Fix beginless and endless range bug for RepeatedIncludeExample cop. ([@​hasghari])
  • Fix a false positive for RSpec/RepeatedSubjectCall when subject is used as argument to function call. ([@​K-S-A])

v2.29.1

Compare Source

  • Fix an error in the default configuration. ([@​ydah])

v2.29.0

Compare Source

  • Fix an autocorrect error for RSpec/ExpectActual. ([@​bquorning])
  • Add new RSpec/UndescriptiveLiteralsDescription cop. ([@​ydah])
  • Add new RSpec/EmptyOutput cop. ([@​bquorning])

v2.28.0

Compare Source

  • Extract RSpec Rails cops to a separate repository, rubocop-rspec_rails. The rubocop-rspec_rails repository is a dependency of rubocop-rspec and the cops related to rspec-rails are aliased (RSpec/Rails/Foo == RSpecRails/Foo) until v3.0 is released, so the change will be invisible to users until then. ([@​ydah])

v2.27.1

Compare Source

  • Fix a false positive for RSpec/RepeatedSubjectCall when subject.method_call. ([@​ydah])
  • Add configuration option OnlyStaticConstants to RSpec/DescribedClass. ([@​ydah])

v2.27.0

Compare Source

  • Add new RSpec/IsExpectedSpecify cop. ([@​ydah])
  • Add new RSpec/RepeatedSubjectCall cop. ([@​drcapulet])
  • Add support for assert_true, assert_false, assert_not_equal, assert_not_nil, *_empty, *_predicate, *_kind_of, *_in_delta, *_match, *_instance_of and *_includes assertions in RSpec/Rails/MinitestAssertions. ([@​ydah], [@​G-Rath])
  • Support asserts with messages in Rspec/BeEmpty. ([@​G-Rath])
  • Fix a false positive for RSpec/ExpectActual when used with rspec-rails routing matchers. ([@​naveg])
  • Add configuration option ResponseMethods to RSpec/Rails/HaveHttpStatus. ([@​ydah])
  • Fix a false negative for RSpec/DescribedClass when class with constant. ([@​ydah])
  • Fix a false positive for RSpec/ExampleWithoutDescription when specify with multi-line block and missing description. ([@​ydah])
  • Fix an incorrect autocorrect for RSpec/ChangeByZero when compound expectations with line break before .by(0). ([@​ydah])

v2.26.1

Compare Source

  • Fix an error for RSpec/SharedExamples when using examples without argument. ([@​ydah])

v2.26.0

Compare Source

  • Add new RSpec/RedundantPredicateMatcher cop. ([@​ydah])
  • Add new RSpec/RemoveConst cop. ([@​swelther])
  • Add support for correcting "it will" (future tense) for RSpec/ExampleWording. ([@​jdufresne])
  • Add support for symbol style for RSpec/SharedExamples. ([@​jessieay])
  • Ensure PendingWithoutReason can detect violations inside shared groups. ([@​robinaugh])

v2.25.0

Compare Source

  • Add support single quoted string and percent string and heredoc for RSpec/Rails/HttpStatus. ([@​ydah])
  • Change to be inline disable for RSpec/SpecFilePathFormat like RSpec/FilePath. ([@​ydah])
  • Fix a false positive for RSpec/MetadataStyle with example groups having multiple string arguments. ([@​franzliedke])

v2.24.1

Compare Source

  • Fix an error when using RSpec/FilePath and revert to enabled by default. If you have already moved to RSpec/SpecFilePathSuffix and RSpec/SpecFilePathFormat, disable RSpec/FilePath explicitly as Enabled: false. The RSpec/FilePath before migration and the RSpec/SpecFilePathSuffix and RSpec/SpecFilePathFormat as the target are available respectively. ([@​ydah])

v2.24.0

Compare Source

  • Split RSpec/FilePath into RSpec/SpecFilePathSuffix and RSpec/SpecFilePathFormat. RSpec/FilePath cop is disabled by default and the two new cops are pending and need to be enabled explicitly. ([@​ydah])
  • Add new RSpec/Eq cop. ([@​ydah])
  • Add RSpec/MetadataStyle and RSpec/EmptyMetadata cops. ([@​r7kamura])
  • Add support RSpec/Rails/HttpStatus when have_http_status with string argument. ([@​ydah])
  • Fix an infinite loop error when RSpec/ExcessiveDocstringSpacing finds a description with non-ASCII leading/trailing whitespace. ([@​bcgraham])
  • Fix an incorrect autocorrect for RSpec/ReceiveMessages when return values declared between stubs. ([@​marocchino])
  • Fix a false positive RSpec/Focus when chained method call and inside define method. ([@​ydah])

v2.23.2

Compare Source

  • Fix an incorrect autocorrect for RSpec/ReceiveMessages when method is only non-word character. ([@​marocchino])
  • Fix a false positive for RSpec/ReceiveMessages when return with splat. ([@​marocchino])

v2.23.1

Compare Source

  • Mark to Safe: false for RSpec/Rails/NegationBeValid cop. ([@​ydah])
  • Declare autocorrect as unsafe for RSpec/ReceiveMessages. ([@​bquorning])

v2.23.0

Compare Source

  • Add new RSpec/Rails/NegationBeValid cop. ([@​ydah])
  • Fix a false negative for RSpec/ExcessiveDocstringSpacing when finds description with em space. ([@​ydah])
  • Fix a false positive for RSpec/EmptyExampleGroup when example group with examples defined in if branch inside iterator. ([@​ydah])
  • Update the message output of RSpec/ExpectActual to include the word 'value'. ([@​corydiamand])
  • Fix a false negative for RSpec/Pending when it without body. ([@​ydah])
  • Add new RSpec/ReceiveMessages cop. ([@​ydah])
  • Change default.yml path to use **/spec/* instead of spec/*. ([@​ydah])
  • Add AllowedIdentifiers and AllowedPatterns configuration option to RSpec/IndexedLet. ([@​ydah])
  • Fix RSpec/NamedSubject when block has no body. ([@​splattael])
  • Fix RSpec/LetBeforeExamples autocorrect incompatible with RSpec/ScatteredLet autocorrect. ([@​ydah])
  • Update RSpec/Focus to support shared_context and shared_examples ([@​tmaier])

v2.22.0

Compare Source

  • Extract factory_bot cops to a separate repository, rubocop-factory_bot. The rubocop-factory_bot repository is a dependency of rubocop-rspec and the factory_bot cops are aliased (RSpec/FactoryBot/Foo == FactoryBot/Foo) until v3.0 is released, so the change will be invisible to users until then. ([@​ydah])

v2.21.0

Compare Source

  • Fix a false positive in RSpec/IndexedLet with suffixes after index-like numbers. ([@​pirj])
  • Fix an error for RSpec/Rails/HaveHttpStatus with comparison with strings containing non-numeric characters. ([@​ydah])
  • Fix an error for RSpec/MatchArray when match_array with no argument. ([@​ydah])
  • Add support a_block_changing and changing for RSpec/ChangeByZero. ([@​ydah])
  • Drop Ruby 2.6 support. ([@​ydah])

v2.20.0

Compare Source

  • Add new RSpec/IndexedLet cop. ([@​dmitrytsepelev])
  • Add new RSpec/BeEmpty cop. ([@​ydah], [@​bquorning])
  • Add autocorrect support for RSpec/ScatteredSetup. ([@​ydah])
  • Add support be_status style for RSpec/Rails/HttpStatus. ([@​ydah])
  • Add support for shared example groups to RSpec/EmptyLineAfterExampleGroup. ([@​pirj])
  • Add support for RSpec/HaveHttpStatus when using response.code. ([@​ydah])
  • Fix order of expected and actual in correction for RSpec/Rails/MinitestAssertions ([@​mvz])
  • Fix a false positive for RSpec/DescribedClassModuleWrapping when RSpec.describe numblock is nested within a module. ([@​ydah])
  • Fix a false positive for RSpec/FactoryBot/ConsistentParenthesesStyle inside &&, || and :? when omit_parentheses is on ([@​dmitrytsepelev])
  • Fix a false positive for RSpec/PendingWithoutReason when pending/skip has a reason inside an example group. ([@​ydah])
  • Fix a false negative for RSpec/RedundantAround when redundant numblock around. ([@​ydah])
  • Change RSpec/ContainExactly to ignore calls with no arguments, and change RSpec/MatchArray to ignore calls with an empty array literal argument. ([@​ydah], [@​bquorning])
  • Make RSpec/MatchArray and RSpec/ContainExactly pending. ([@​ydah])

v2.19.0

Compare Source

  • Fix a false positive for RSpec/ContextWording when context is interpolated string literal or execute string. ([@​ydah])
  • Fix a false positive for RSpec/DescribeMethod when multi-line describe without # and . at the beginning. ([@​ydah], [@​pirj])
  • Fix a false positive for RSpec/VariableName when inside non-spec code. ([@​ydah])
  • Fix a false positive for RSpec/VariableDefinition when inside non-spec code. ([@​ydah])
  • Add new RSpec/PendingBlockInsideExample cop. ([@​ydah])
  • Add RSpec/RedundantAround cop. ([@​r7kamura])
  • Add RSpec/Rails/TravelAround cop. ([@​r7kamura])
  • Add RSpec/ContainExactly and RSpec/MatchArray cops. ([@​faucct])
  • Fix a false positive for RSpec/PendingWithoutReason when not inside example and pending/skip with block. ([@​ydah], [@​pirj])
  • Fix a false positive for RSpec/PendingWithoutReason when skip is passed a block inside example. ([@​ydah], [@​pirj])
  • Rename RSpec/PendingBlockInsideExample cop to RSpec/SkipBlockInsideExample. ([@​pirj])
  • Deprecate send_pattern/block_pattern/numblock_pattern helpers in favour of using node pattern explicitly. ([@​pirj], [@​ydah])
  • Fix an incorrect autocorrect for RSpec/VerifiedDoubleReference when namespaced class. ([@​ydah])

v2.18.1

Compare Source

  • Add rubocop-capybara version constraint to prevent sudden cop enabling when it hits 3.0. ([@​pirj])

v2.18.0

Compare Source

  • Extract Capybara cops to a separate repository, rubocop-capybara. The rubocop-capybara repository is a dependency of rubocop-rspec and the Capybara cops are aliased (RSpec/Capybara/Foo == Capybara/Foo) until v3.0 is released, so the change will be invisible to users until then. ([@​pirj])

v2.17.1

Compare Source

  • Fix a false negative for RSpec/Pending when using skipped in metadata is multiline string. ([@​ydah])
  • Fix a false positive for RSpec/NoExpectationExample when using skipped in metadata is multiline string. ([@​ydah])
  • Fix a false positive for RSpec/ContextMethod when multi-line context with # at the beginning. ([@​ydah])
  • Fix an incorrect autocorrect for RSpec/PredicateMatcher when multiline expect and predicate method with heredoc. ([@​ydah])
  • Fix a false positive for RSpec/PredicateMatcher when include with multiple argument. ([@​ydah])

v2.17.0

Compare Source

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

v2.16.0

Compare Source

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

v2.15.0

Compare Source

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

v2.14.2

Compare Source

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

v2.14.1

Compare Source

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

v2.14.0

Compare Source

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

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate
Copy link
Contributor Author

renovate bot commented Jun 26, 2023

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Gemfile.lock
Fetching gem metadata from https://rubygems.org/.......
Resolving dependencies...

Could not find compatible versions

Because rubocop-rspec >= 2.25.0 depends on rubocop ~> 1.40
  and Gemfile depends on rubocop = 1.36.0,
  rubocop-rspec >= 2.25.0 cannot be used.
So, because Gemfile depends on rubocop-rspec = 2.29.2,
  version solving has failed.

@0crat
Copy link

0crat commented Jun 26, 2023

@renovate/z[bot] this pull request is too small, just 2 lines changed (less than 10), there will be no formal code review, see §53 and §28; in the future, try to make sure your pull requests are not too small; @yegor256/z please review this and merge or reject

@renovate renovate bot changed the title Update dependency rubocop-rspec to v2.22.0 Update dependency rubocop-rspec to v2.23.0 Jul 30, 2023
@renovate renovate bot force-pushed the renovate/rubocop-rspec-2.x branch from 6a5b21f to ad6ac95 Compare July 30, 2023 16:01
@renovate renovate bot force-pushed the renovate/rubocop-rspec-2.x branch from ad6ac95 to b77e8ad Compare August 9, 2023 17:27
@renovate renovate bot changed the title Update dependency rubocop-rspec to v2.23.0 Update dependency rubocop-rspec to v2.23.2 Aug 9, 2023
@renovate renovate bot force-pushed the renovate/rubocop-rspec-2.x branch from b77e8ad to ed4e669 Compare September 23, 2023 16:34
@renovate renovate bot changed the title Update dependency rubocop-rspec to v2.23.2 Update dependency rubocop-rspec to v2.24.0 Sep 23, 2023
@renovate renovate bot force-pushed the renovate/rubocop-rspec-2.x branch from ed4e669 to 7ad6781 Compare October 27, 2023 11:04
@renovate renovate bot changed the title Update dependency rubocop-rspec to v2.24.0 Update dependency rubocop-rspec to v2.25.0 Oct 27, 2023
@renovate renovate bot force-pushed the renovate/rubocop-rspec-2.x branch from 7ad6781 to d9c8f3b Compare January 4, 2024 15:09
@renovate renovate bot changed the title Update dependency rubocop-rspec to v2.25.0 Update dependency rubocop-rspec to v2.26.0 Jan 4, 2024
@renovate renovate bot force-pushed the renovate/rubocop-rspec-2.x branch from d9c8f3b to 6590516 Compare January 5, 2024 15:27
@renovate renovate bot changed the title Update dependency rubocop-rspec to v2.26.0 Update dependency rubocop-rspec to v2.26.1 Jan 5, 2024
@renovate renovate bot force-pushed the renovate/rubocop-rspec-2.x branch from 6590516 to 5569100 Compare March 1, 2024 00:47
@renovate renovate bot changed the title Update dependency rubocop-rspec to v2.26.1 Update dependency rubocop-rspec to v2.27.0 Mar 1, 2024
@renovate renovate bot force-pushed the renovate/rubocop-rspec-2.x branch from 5569100 to 7f3c374 Compare March 3, 2024 22:04
@renovate renovate bot changed the title Update dependency rubocop-rspec to v2.27.0 Update dependency rubocop-rspec to v2.27.1 Mar 3, 2024
@renovate renovate bot force-pushed the renovate/rubocop-rspec-2.x branch 2 times, most recently from 06b78eb to 96de7c2 Compare March 29, 2024 18:46
@renovate renovate bot changed the title Update dependency rubocop-rspec to v2.27.1 Update dependency rubocop-rspec to v2.28.0 Mar 29, 2024
@renovate renovate bot force-pushed the renovate/rubocop-rspec-2.x branch from 96de7c2 to dae3d48 Compare April 5, 2024 00:10
@renovate renovate bot changed the title Update dependency rubocop-rspec to v2.28.0 Update dependency rubocop-rspec to v2.29.1 Apr 5, 2024
@renovate renovate bot force-pushed the renovate/rubocop-rspec-2.x branch from dae3d48 to 8f2e733 Compare May 3, 2024 00:53
@renovate renovate bot changed the title Update dependency rubocop-rspec to v2.29.1 Update dependency rubocop-rspec to v2.29.2 May 3, 2024
@renovate renovate bot force-pushed the renovate/rubocop-rspec-2.x branch from 8f2e733 to 8203413 Compare June 3, 2024 10:39
@renovate renovate bot changed the title Update dependency rubocop-rspec to v2.29.2 Update dependency rubocop-rspec to v2.30.0 Jun 3, 2024
Copy link
Contributor Author

renovate bot commented Jun 3, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Gemfile.lock
Fetching gem metadata from https://rubygems.org/.......
Resolving dependencies...

Could not find compatible versions

Because rubocop-rspec >= 2.25.0 depends on rubocop ~> 1.40
  and Gemfile depends on rubocop = 1.36.0,
  rubocop-rspec >= 2.25.0 cannot be used.
So, because Gemfile depends on rubocop-rspec = 2.31.0,
  version solving has failed.

@renovate renovate bot force-pushed the renovate/rubocop-rspec-2.x branch from 8203413 to a23c3a2 Compare June 7, 2024 07:20
@renovate renovate bot changed the title Update dependency rubocop-rspec to v2.30.0 Update dependency rubocop-rspec to v2.31.0 Jun 7, 2024
@renovate renovate bot changed the title Update dependency rubocop-rspec to v2.31.0 Update dependency rubocop-rspec to v2.31.0 - autoclosed Jul 15, 2024
@renovate renovate bot closed this Jul 15, 2024
@renovate renovate bot deleted the renovate/rubocop-rspec-2.x branch July 15, 2024 05:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant