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

Bump rubocop from 1.62.1 to 1.63.0 #630

Merged
merged 3 commits into from May 6, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 8, 2024

Bumps rubocop from 1.62.1 to 1.63.0.

Release notes

Sourced from rubocop's releases.

RuboCop 1.63

New features

Bug fixes

  • #12769: Fix a false positive for Lint/RedundantWithIndex when calling with_index with receiver and a block. (@​koic)
  • #12547: Added a comment recommending upgrading to the latest version of Rubocop in the error text when an Infinite loop detected error occurs. (@​Hiroto-Iizuka)
  • #12782: Fix an error for Style/Alias with EnforcedStyle: prefer_alias when calling alias_method with fewer than 2 arguments. (@​earlopain)
  • #12781: Fix an error for Style/ExactRegexpMatch when calling match without a receiver. (@​earlopain)
  • #12780: Fix an error for Style/RedundantEach when using reverse_each.each without a block. (@​earlopain)
  • #12731: Treat &. the same way as . for setter methods in Lint/AssignmentInCondition. (@​jonas054)
  • #12793: Fix false positives for Style/RedundantLineContinuation when using line continuation with modifier. (@​koic)
  • #12807: Fix false positives for Naming/BlockForwarding when using explicit block forwarding in block method and others. (@​koic)
  • #12796: Fix false positives for Style/EvalWithLocation when using eval with a line number from a method call or a variable. (@​koic)
  • #12794: Fix false positives for Style/RedundantArgument when when single-quoted strings for cntrl character. (@​koic)
  • #12797: Fix false positives for Style/RedundantLineContinuation when using line continuations with && or || operator in assignment. (@​koic)
  • #12793: Fix false positives for Style/RedundantLineContinuation when multi-line continuations with operators. (@​koic)
  • #12801: Fix incorrect autocorrect for Style/CollectionCompact when using delete_if. (@​koic)
  • #12789: Make Style/RedundantPercentQ safe on multiline strings. (@​boardfish)
  • #12802: Return global offenses for Naming/FileName and Naming/InclusiveLanguage for empty files. (@​earlopain)
  • #12804: Return global offenses for Style/Copyright when the file is empty. (@​earlopain)

Changes

Changelog

Sourced from rubocop's changelog.

1.63.0 (2024-04-08)

New features

Bug fixes

  • #12769: Fix a false positive for Lint/RedundantWithIndex when calling with_index with receiver and a block. ([@​koic][])
  • #12547: Added a comment recommending upgrading to the latest version of Rubocop in the error text when an Infinite loop detected error occurs. ([@​Hiroto-Iizuka][])
  • #12782: Fix an error for Style/Alias with EnforcedStyle: prefer_alias when calling alias_method with fewer than 2 arguments. ([@​earlopain][])
  • #12781: Fix an error for Style/ExactRegexpMatch when calling match without a receiver. ([@​earlopain][])
  • #12780: Fix an error for Style/RedundantEach when using reverse_each.each without a block. ([@​earlopain][])
  • #12731: Treat &. the same way as . for setter methods in Lint/AssignmentInCondition. ([@​jonas054][])
  • #12793: Fix false positives for Style/RedundantLineContinuation when using line continuation with modifier. ([@​koic][])
  • #12807: Fix false positives for Naming/BlockForwarding when using explicit block forwarding in block method and others. ([@​koic][])
  • #12796: Fix false positives for Style/EvalWithLocation when using eval with a line number from a method call or a variable. ([@​koic][])
  • #12794: Fix false positives for Style/RedundantArgument when when single-quoted strings for cntrl character. ([@​koic][])
  • #12797: Fix false positives for Style/RedundantLineContinuation when using line continuations with && or || operator in assignment. ([@​koic][])
  • #12793: Fix false positives for Style/RedundantLineContinuation when multi-line continuations with operators. ([@​koic][])
  • #12801: Fix incorrect autocorrect for Style/CollectionCompact when using delete_if. ([@​koic][])
  • #12789: Make Style/RedundantPercentQ safe on multiline strings. ([@​boardfish][])
  • #12802: Return global offenses for Naming/FileName and Naming/InclusiveLanguage for empty files. ([@​earlopain][])
  • #12804: Return global offenses for Style/Copyright when the file is empty. ([@​earlopain][])

Changes

Commits
  • 55df9e2 Cut 1.63
  • 752d351 Update Changelog
  • e73274b [Fix #11878] Add new Style/MapIntoArray cop
  • ebcc72a Fix rubocop#12547 : fix text
  • 7d42542 Fix rubocop#12547 : drop the quotes around the URL
  • d00285c Fix rubocop#12547 : add a changelog
  • efc9bd2 Fix rubocop#12547 : fix rspec
  • de82525 Fix rubocop#12547 : Added comment with suggestion to bring Rubocop up to the ...
  • c1f28f2 Run tests with Prism 0.25+
  • f0e475a Merge pull request #12816 from artur-intech/master
  • 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 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)

Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.62.1 to 1.63.0.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.62.1...v1.63.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from a team as a code owner April 8, 2024 15:40
@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Apr 8, 2024
github-actions bot and others added 2 commits April 8, 2024 15:41
This automated commit dumps the contents of the full RuboCop config.
[dependabot skip]
While preferring `.map { ... }` vs `a = []; b.each { a << ... }` makes
sense, this cop has lots of gotchas, so we'll probably have to evaluate
it's false positive rate to determine if we should enable it or not.
@github-actions github-actions bot added the config change Changes the Rubocop config by enabling, disabling, or reconfiguring one or many cops label Apr 9, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 10, 2024

A newer version of rubocop exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

@sambostock sambostock merged commit f7941a7 into main May 6, 2024
24 checks passed
@sambostock sambostock deleted the dependabot/bundler/rubocop-1.63.0 branch May 6, 2024 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
config change Changes the Rubocop config by enabling, disabling, or reconfiguring one or many cops dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant