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 requirements for rubocop-rspec and rubocop #202

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 1, 2024

Updates the requirements on rubocop-rspec and rubocop to permit the latest version.
Updates rubocop-rspec from 1.44.1 to 2.27.0

Release notes

Sourced from rubocop-rspec's releases.

RuboCop RSpec v2.27.0

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

RuboCop RSpec v2.26.1

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

RuboCop RSpec v2.26.0

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

RuboCop RSpec v2.25.0

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

RuboCop RSpec v2.24.1

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

RuboCop RSpec v2.24.0

  • Split RSpec/FilePath into RSpec/SpecFilePathSuffix and RSpec/SpecFilePathFormat. RSpec/FilePath cop is enabled by default, the two new cops are pending and need to be enabled explicitly. (@​ydah)

... (truncated)

Changelog

Sourced from rubocop-rspec's changelog.

2.27.0 (2024-03-01)

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

2.26.1 (2024-01-05)

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

2.26.0 (2024-01-04)

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

2.25.0 (2023-10-27)

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

2.24.1 (2023-09-23)

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

2.24.0 (2023-09-08)

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

2.23.2 (2023-08-09)

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

2.23.1 (2023-08-07)

... (truncated)

Commits
  • 951285d Merge pull request #1819 from rubocop/release
  • c1cc183 Bump version to v2.27
  • ee39111 Merge pull request #1666 from rubocop/feature/1658
  • 18cbdfb Add new RSpec/IsExpectedSpecify cop
  • be3e48f Merge pull request #1816 from rubocop/fix1815
  • 9da6ac7 Merge pull request #1817 from rubocop/fix-rspec-4-on-ci
  • 01ffdb3 CI: Fix the RSpec 4 job
  • 91b1624 Fix an incorrect autocorrect for RSpec/ChangeByZero when compound expectati...
  • b5f1e25 Merge pull request #1805 from rubocop/fix-false-positive-example-without-desc...
  • 20311f5 Fix a false positive for RSpec/ExampleWithoutDescription when specify wit...
  • Additional commits viewable in compare view

Updates rubocop from 0.93.1 to 1.61.0

Release notes

Sourced from rubocop's releases.

RuboCop 1.61

New features

  • #12682: Add --editor-mode CLI option. (@​koic)
  • #12657: Support AutoCorrect: contextual option for LSP. (@​koic)
  • #12273: Make OffenseCountFormatter display autocorrection information. (@​koic)
  • #12679: Publish RuboCop::LSP.enable API to enable LSP mode. (@​koic)
  • #12699: Support searching for .rubocop.yml and rubocop/config.yml in compliance with dot-config. (@​koic)

Bug fixes

  • #12720: Fix a false positive for Style/ArgumentsForwarding when using block arg forwarding to within block with Ruby 3.3.0. (@​koic)
  • #12714: Fix an error for Gemspec/RequiredRubyVersion when required_ruby_version is specified with Gem::Requirement.new and is higher than TargetRubyVersion. (@​koic)
  • #12690: Fix an error for Style/CaseLikeIf when using == with literal and using ternary operator. (@​koic)
  • #12668: Fix an incorrect autocorrect for Lint/EmptyConditionalBody when missing if body with conditional else body. (@​koic)
  • #12683: Fix an incorrect autocorrect for Style/MapCompactWithConditionalBlock when using guard clause with next implicitly nil. (@​koic)
  • #12693: Fix an incorrect autocorrect for Style/ObjectThen when using yield_self without receiver. (@​koic)
  • #12646: Fix --auto-gen-config bug for Layout/SpaceBeforeBlockBraces. (@​jonas054)
  • #12717: Fix regexp for inline disable comments in Style/CommentedKeyword. (@​jonas054)
  • #12695: Fix bug in Include from inherited file in a parent directory. (@​jonas054)
  • #12656: Fix an error for Layout/RedundantLineBreak when using index access call chained on multiline hash literal. (@​koic)
  • #12691: Fix an error for Style/MultilineTernaryOperator when nesting multiline ternary operators. (@​koic)
  • #12707: Fix false negative for Style/RedundantAssignment when using pattern matching. (@​koic)
  • #12674: Fix false negatives for Style/RedundantReturn when using pattern matching. (@​koic)
  • #12673: Fix false negatives for Lint/RedundantSafeNavigation when using safe navigation operator for literal receiver. (@​koic)
  • #12719: Fix false negatives for Style/ArgumentsForwarding when using forwardable block arguments with Ruby 3.2+. (@​koic)
  • #12687: Fix a false positive for Lint/Void when each block with conditional expressions that has multiple statements. (@​koic)
  • #12649: Fix false positives for Style/InverseMethods when using relational comparison operator with safe navigation. (@​koic)
  • #12711: Handle implicit receivers in Style/InvertibleUnlessCondition. (@​sambostock)
  • #12648: Fix numblock regressions in omit_parentheses Style/MethodCallWithArgsParentheses. (@​gsamokovarov)

Changes

RuboCop 1.60.2

Bug fixes

  • #12627: Fix a false positive for Layout/RedundantLineBreak when using index access call chained on multiple lines with backslash. (@​koic)
  • #12626: Fix a false positive for Style/ArgumentsForwarding when naming a block argument &. (@​koic)

... (truncated)

Changelog

Sourced from rubocop's changelog.

1.61.0 (2024-02-29)

New features

  • #12682: Add --editor-mode CLI option. ([@​koic][])
  • #12657: Support AutoCorrect: contextual option for LSP. ([@​koic][])
  • #12273: Make OffenseCountFormatter display autocorrection information. ([@​koic][])
  • #12679: Publish RuboCop::LSP.enable API to enable LSP mode. ([@​koic][])
  • #12699: Support searching for .rubocop.yml and rubocop/config.yml in compliance with dot-config. ([@​koic][])

Bug fixes

  • #12720: Fix a false positive for Style/ArgumentsForwarding when using block arg forwarding to within block with Ruby 3.3.0. ([@​koic][])
  • #12714: Fix an error for Gemspec/RequiredRubyVersion when required_ruby_version is specified with Gem::Requirement.new and is higher than TargetRubyVersion. ([@​koic][])
  • #12690: Fix an error for Style/CaseLikeIf when using == with literal and using ternary operator. ([@​koic][])
  • #12668: Fix an incorrect autocorrect for Lint/EmptyConditionalBody when missing if body with conditional else body. ([@​koic][])
  • #12683: Fix an incorrect autocorrect for Style/MapCompactWithConditionalBlock when using guard clause with next implicitly nil. ([@​koic][])
  • #12693: Fix an incorrect autocorrect for Style/ObjectThen when using yield_self without receiver. ([@​koic][])
  • #12646: Fix --auto-gen-config bug for Layout/SpaceBeforeBlockBraces. ([@​jonas054][])
  • #12717: Fix regexp for inline disable comments in Style/CommentedKeyword. ([@​jonas054][])
  • #12695: Fix bug in Include from inherited file in a parent directory. ([@​jonas054][])
  • #12656: Fix an error for Layout/RedundantLineBreak when using index access call chained on multiline hash literal. ([@​koic][])
  • #12691: Fix an error for Style/MultilineTernaryOperator when nesting multiline ternary operators. ([@​koic][])
  • #12707: Fix false negative for Style/RedundantAssignment when using pattern matching. ([@​koic][])
  • #12674: Fix false negatives for Style/RedundantReturn when using pattern matching. ([@​koic][])
  • #12673: Fix false negatives for Lint/RedundantSafeNavigation when using safe navigation operator for literal receiver. ([@​koic][])
  • #12719: Fix false negatives for Style/ArgumentsForwarding when using forwardable block arguments with Ruby 3.2+. ([@​koic][])
  • #12687: Fix a false positive for Lint/Void when each block with conditional expressions that has multiple statements. ([@​koic][])
  • #12649: Fix false positives for Style/InverseMethods when using relational comparison operator with safe navigation. ([@​koic][])
  • #12711: Handle implicit receivers in Style/InvertibleUnlessCondition. ([@​sambostock][])
  • #12648: Fix numblock regressions in omit_parentheses Style/MethodCallWithArgsParentheses. ([@​gsamokovarov][])

Changes

1.60.2 (2024-01-24)

Bug fixes

  • #12627: Fix a false positive for Layout/RedundantLineBreak when using index access call chained on multiple lines with backslash. ([@​koic][])
  • #12626: Fix a false positive for Style/ArgumentsForwarding when naming a block argument &. ([@​koic][])
  • #12635: Fix a false positive for Style/HashEachMethods when both arguments are unused. ([@​earlopain][])
  • #12636: Fix an error for Style/HashEachMethods when a block with both parameters has no body. ([@​earlopain][])
  • #12638: Fix an Errno::ENOENT error when using server mode. ([@​koic][])
  • #12628: Fix a false positive for Style/ArgumentsForwarding when using block arg forwarding with positional arguments forwarding to within block. ([@​koic][])
  • #12642: Fix false positives for Style/HashEachMethods when using array converter method. ([@​koic][])
  • #12632: Fix an infinite loop error when EnforcedStyle: explicit of Naming/BlockForwarding with Style/ArgumentsForwarding. ([@​koic][])

... (truncated)

Commits
  • 45ba779 Cut 1.61
  • 0882ca9 Update Changelog
  • 87b3b4d Rename variable in InvertibleUnlessCondition
  • f151524 Add InvertibleUnlessCondition implicit receiver example
  • 8acce28 Tweak specs for Security/YAMLLoad
  • b4cc305 Merge pull request #12723 from koic/add_specs_for_style_arguments_forwarding
  • bac7a0b Add specs for Style/ArgumentsForwarding
  • 5da1905 Handle implicit receivers in Style/InvertibleUnlessCondition
  • 18004e9 [Fix #12717] Re-use definition of directive comments from Style/CommentedKeyword
  • 8aae48b Fix a false positive for Style/ArgumentsForwarding
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 1, 2024
@cesarjr cesarjr requested a review from marcosdemelo March 1, 2024 14:25
@dependabot dependabot bot force-pushed the dependabot-bundler-rubocop-rspec-and-rubocop-2.27.0 branch 3 times, most recently from bc8a24e to 98fc9dc Compare March 1, 2024 14:29
@cesarjr
Copy link
Member

cesarjr commented Mar 1, 2024

@dependabot recreate

Updates the requirements on [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) and [rubocop](https://github.com/rubocop/rubocop) to permit the latest version.

Updates `rubocop-rspec` from 1.44.1 to 2.27.0
- [Release notes](https://github.com/rubocop/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop-rspec@v1.44.1...v2.27.0)

Updates `rubocop` from 0.93.1 to 1.61.0
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v0.93.1...v1.61.0)

---
updated-dependencies:
- dependency-name: rubocop-rspec
  dependency-type: direct:development
  update-type: version-update:semver-major
- dependency-name: rubocop
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot-bundler-rubocop-rspec-and-rubocop-2.27.0 branch 7 times, most recently from 361e10f to 1b902d4 Compare March 1, 2024 15:47
Copy link

codeclimate bot commented Mar 1, 2024

Code Climate has analyzed commit b8d7856 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (99% is the threshold).

This pull request will bring the total coverage in the repository to 99.4% (0.0% change).

View more on Code Climate.

Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 1, 2024

Superseded by #206.

@dependabot dependabot bot closed this Apr 1, 2024
@dependabot dependabot bot deleted the dependabot-bundler-rubocop-rspec-and-rubocop-2.27.0 branch April 1, 2024 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant