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 and rubocop-rspec #216

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

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

Updates the requirements on rubocop and rubocop-rspec to permit the latest version.
Updates rubocop from 0.93.1 to 1.64.1

Release notes

Sourced from rubocop's releases.

RuboCop 1.64.1

Bug fixes

  • #12951: Fix an error for Style/Copyright when AutocorrectNotice is missing. (@​koic)
  • #12932: Fix end position of diagnostic for LSP. (@​ksss)
  • #12926: Fix a false positive for Style/SuperArguments when the methods block argument is reassigned before super. (@​earlopain)
  • #12931: Fix false positives for Style/RedundantLineContinuation when line continuations involve break, next, or yield with a return value. (@​koic)
  • #12924: Fix false positives for Style/SendWithLiteralMethodName when public_send argument is a method name that cannot be autocorrected. (@​koic)

RuboCop 1.64

New features

Bug fixes

  • #7189: Fix a false positive for Style/Copyright when using multiline copyright notice. (@​koic)
  • #12914: Fix a false negative for Layout/EmptyComment when using an empty comment next to code after comment line. (@​koic)
  • #12919: Fix false negatives for Style/ArgumentsForwarding when forward target is super. (@​koic)
  • #12923: Fix false negatives for Style/ArgumentsForwarding when forward target is safe navigation method. (@​koic)
  • #12894: Fix false positives for Style/MapIntoArray when using each without receiver with << to build an array. (@​koic)
  • #12876: Fix an error for the lockfile parser if a gemfile exists but a lockfile doesn't. (@​earlopain)
  • #12888: Fix --no-exclude-limit generating a todo with Max config instead of listing everything out with Exclude. (@​earlopain)
  • #12898: Fix an error for TargetRailsVersion when parsing from the lockfile with prerelease rails. (@​earlopain)

Changes

  • #12908: Add rubocop-rspec back to suggested extensions when rspec-rails is in use. (@​pirj)
  • #12884: Align output from cop.documentation_url with --show-docs-url when passing a config as argument. (@​earlopain)
  • #12905: Support ActiveSupportExtensionsEnabled for Style/SymbolProc. (@​koic)
  • #12897: Respect user's intentions with workspace/executeCommand LSP method. (@​koic)

RuboCop 1.63.5

Bug fixes

... (truncated)

Changelog

Sourced from rubocop's changelog.

1.64.1 (2024-05-31)

Bug fixes

  • #12951: Fix an error for Style/Copyright when AutocorrectNotice is missing. ([@​koic][])
  • #12932: Fix end position of diagnostic for LSP. ([@​ksss][])
  • #12926: Fix a false positive for Style/SuperArguments when the methods block argument is reassigned before super. ([@​earlopain][])
  • #12931: Fix false positives for Style/RedundantLineContinuation when line continuations involve break, next, or yield with a return value. ([@​koic][])
  • #12924: Fix false positives for Style/SendWithLiteralMethodName when public_send argument is a method name that cannot be autocorrected. ([@​koic][])

1.64.0 (2024-05-23)

New features

  • #12904: Add new either_consistent SupportedShorthandSyntax to Style/HashSyntax. ([@​pawelma][])
  • #12842: Add new Style/SendWithLiteralMethodName cop. ([@​koic][])
  • #12309: Add new Style/SuperArguments cop. ([@​earlopain][])
  • #12917: Suggest correct formatter name for --format command line option. ([@​koic][])
  • #12242: Support AllowModifiersOnAttrs option for Style/AccessModifierDeclarations. ([@​krororo][])
  • #11585: Support AllowedMethods for Style/DocumentationMethod. ([@​koic][])

Bug fixes

  • #7189: Fix a false positive for Style/Copyright when using multiline copyright notice. ([@​koic][])
  • #12914: Fix a false negative for Layout/EmptyComment when using an empty comment next to code after comment line. ([@​koic][])
  • #12919: Fix false negatives for Style/ArgumentsForwarding when forward target is super. ([@​koic][])
  • #12923: Fix false negatives for Style/ArgumentsForwarding when forward target is safe navigation method. ([@​koic][])
  • #12894: Fix false positives for Style/MapIntoArray when using each without receiver with << to build an array. ([@​koic][])
  • #12876: Fix an error for the lockfile parser if a gemfile exists but a lockfile doesn't. ([@​earlopain][])
  • #12888: Fix --no-exclude-limit generating a todo with Max config instead of listing everything out with Exclude. ([@​earlopain][])
  • #12898: Fix an error for TargetRailsVersion when parsing from the lockfile with prerelease rails. ([@​earlopain][])

Changes

  • #12908: Add rubocop-rspec back to suggested extensions when rspec-rails is in use. ([@​pirj][])
  • #12884: Align output from cop.documentation_url with --show-docs-url when passing a config as argument. ([@​earlopain][])
  • #12905: Support ActiveSupportExtensionsEnabled for Style/SymbolProc. ([@​koic][])
  • #12897: Respect user's intentions with workspace/executeCommand LSP method. ([@​koic][])

1.63.5 (2024-05-09)

Bug fixes

  • #12877: Fix an infinite loop error for Layout/FirstArgumentIndentation when specifying EnforcedStyle: with_fixed_indentation of Layout/ArrayAlignment. ([@​koic][])
  • #12873: Fix an error for Metrics/BlockLength when the CountAsOne config is invalid. ([@​koic][])
  • #12881: Fix incorrect autocorrect when Style/NumericPredicate is used with negations. ([@​fatkodima][])
  • #12882: Fix Layout/CommentIndentation for comment-only pattern matching. ([@​nekketsuuu][])

1.63.4 (2024-04-28)

... (truncated)

Commits

Updates rubocop-rspec from 1.44.1 to 2.29.2

Release notes

Sourced from rubocop-rspec's releases.

RuboCop RSpec v2.29.2

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

RuboCop RSpec v2.29.1

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

RuboCop RSpec v2.29.0

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

RuboCop RSpec v2.28.0

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

RuboCop RSpec v2.27.1

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

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)

... (truncated)

Changelog

Sourced from rubocop-rspec's changelog.

2.29.2 (2024-05-02)

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

2.29.1 (2024-04-05)

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

2.29.0 (2024-04-04)

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

2.28.0 (2024-03-30)

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

2.27.1 (2024-03-03)

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

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)

... (truncated)

Commits

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

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

Updates `rubocop` from 0.93.1 to 1.64.1
- [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.64.1)

Updates `rubocop-rspec` from 1.44.1 to 2.29.2
- [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.29.2)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 1, 2024
Copy link

codeclimate bot commented Jun 1, 2024

Code Climate has analyzed commit 5893f7e 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.

@marcosdemelo
Copy link
Contributor

Vai precisar atualizar manualmente, pois precisar ajustar bastante código.

Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 30, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot-bundler-multi-5ee97aeed7 branch July 30, 2024 18:43
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