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.60.2 to 1.62.1 #2916

Merged
merged 1 commit into from
Mar 13, 2024

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps rubocop from 1.60.2 to 1.62.1.

Release notes

Sourced from rubocop's releases.

RuboCop 1.62.1

Bug fixes

  • #12761: Fix a false positive for Style/HashEachMethods when the key block argument of Enumerable#each method is unused after chunk. (@​koic)
  • #12768: Fix a false positive for Style/NilComparison without receiver and EnforcedStyle: comparison. (@​earlopain)
  • #12752: Fix an error for Gemspec/RequiredRubyVersion when the file is empty. (@​earlopain)
  • #12770: Fix an error for Lint/RedundantWithIndex when the method has no receiver. (@​earlopain)
  • #12775: Fix an error for Lint/UselessTimes when no block is present. (@​earlopain)
  • #12772: Fix an error for Style/ClassVars when calling class_variable_set without arguments. (@​earlopain)
  • #12773: Fix an error for Style/For with EnforcedStyle: for when no receiver. (@​earlopain)
  • #12765: Fix an error for Layout/MultilineMethodCallIndentation with safe navigation and assignment method. (@​earlopain)
  • #12703: Fix an error for Lint/MixedCaseRange with invalid byte sequence in UTF-8. (@​earlopain)
  • #12755: Fix an exception for RedundantCurrentDirectoryInPath in case of require_relative without arguments. (@​viralpraxis)
  • #12710: Fix a false negative for Layout/EmptyLineAfterMagicComment when the file is comments only. (@​earlopain)
  • #12758: Fix false positives for Layout/RedundantLineBreak when using && or || after a backslash newline. (@​koic)
  • #12763: Fix an infinite loop for Style/MultilineMethodSignature when there is a newline directly after the def keyword. (@​earlopain)
  • #12774: Fix an infinite loop for Style/RaiseArgs with EnforcedStyle: compact when passing more than 2 arguments to raise. (@​earlopain)
  • #12663: Fix Lint/Syntax getting disabled by rubocop:disable Lint/Syntax. (@​earlopain)
  • #12756: Only parse target Ruby from gemspec if array elements are strings. (@​davidrunger)

Changes

RuboCop 1.62

Note: This is the first RuboCop release that features (experimental) support for using Prism instead of the parser gem. Check out the docs for more details.

See also this article for additional context.

New features

Bug fixes

  • #12746: Fix a false positive for Lint/ToEnumArguments when enumerator is created for another method in no arguments method definition. (@​koic)
  • #12726: Fix a false positive for Style/RedundantLineContinuation when using line concatenation and calling a method with keyword arguments without parentheses. (@​koic)
  • #12738: Fix an error for Style/Encoding when magic encoding with mixed case present. (@​koic)
  • #12732: Fix error determining target Ruby when gemspec required_ruby_version is read from another file. (@​davidrunger)
  • #12736: Fix invalid autocorrect in Layout/SpaceInsideHashLiteralBraces. ([@​bquorning][])
  • #12667: Don't load excluded configuration. ([@​jonas054][])

... (truncated)

Changelog

Sourced from rubocop's changelog.

1.62.1 (2024-03-11)

Bug fixes

  • #12761: Fix a false positive for Style/HashEachMethods when the key block argument of Enumerable#each method is unused after chunk. ([@​koic][])
  • #12768: Fix a false positive for Style/NilComparison without receiver and EnforcedStyle: comparison. ([@​earlopain][])
  • #12752: Fix an error for Gemspec/RequiredRubyVersion when the file is empty. ([@​earlopain][])
  • #12770: Fix an error for Lint/RedundantWithIndex when the method has no receiver. ([@​earlopain][])
  • #12775: Fix an error for Lint/UselessTimes when no block is present. ([@​earlopain][])
  • #12772: Fix an error for Style/ClassVars when calling class_variable_set without arguments. ([@​earlopain][])
  • #12773: Fix an error for Style/For with EnforcedStyle: for when no receiver. ([@​earlopain][])
  • #12765: Fix an error for Layout/MultilineMethodCallIndentation with safe navigation and assignment method. ([@​earlopain][])
  • #12703: Fix an error for Lint/MixedCaseRange with invalid byte sequence in UTF-8. ([@​earlopain][])
  • #12755: Fix an exception for RedundantCurrentDirectoryInPath in case of require_relative without arguments. ([@​viralpraxis][])
  • #12710: Fix a false negative for Layout/EmptyLineAfterMagicComment when the file is comments only. ([@​earlopain][])
  • #12758: Fix false positives for Layout/RedundantLineBreak when using && or || after a backslash newline. ([@​koic][])
  • #12763: Fix an infinite loop for Style/MultilineMethodSignature when there is a newline directly after the def keyword. ([@​earlopain][])
  • #12774: Fix an infinite loop for Style/RaiseArgs with EnforcedStyle: compact when passing more than 2 arguments to raise. ([@​earlopain][])
  • #12663: Fix Lint/Syntax getting disabled by rubocop:disable Lint/Syntax. ([@​earlopain][])
  • #12756: Only parse target Ruby from gemspec if array elements are strings. ([@​davidrunger][])

Changes

1.62.0 (2024-03-06)

New features

  • #12600: Support Prism as a Ruby parser (experimental). ([@​koic][])
  • #12725: Support TargetRubyVersion 3.4 (experimental). ([@​koic][])

Bug fixes

  • #12746: Fix a false positive for Lint/ToEnumArguments when enumerator is created for another method in no arguments method definition. ([@​koic][])
  • #12726: Fix a false positive for Style/RedundantLineContinuation when using line concatenation and calling a method with keyword arguments without parentheses. ([@​koic][])
  • #12738: Fix an error for Style/Encoding when magic encoding with mixed case present. ([@​koic][])
  • #12732: Fix error determining target Ruby when gemspec required_ruby_version is read from another file. ([@​davidrunger][])
  • #12736: Fix invalid autocorrect in Layout/SpaceInsideHashLiteralBraces. ([@​bquorning][])
  • #12667: Don't load excluded configuration. ([@​jonas054][])

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

... (truncated)

Commits
  • ed9b69e Cut 1.62.1
  • a99fe78 Update Changelog
  • eceedb7 Fix an error for Lint/UselessTimes when no block is present
  • 8d2ef48 Fix an infinite loop for Style/RaiseArgs with EnforcedStyle: compact when...
  • bb0dd97 Merge pull request #12771 from Earlopain/node-matcher-directive-followup
  • 9b39a55 Merge pull request #12773 from Earlopain/fix-error-for-style-for
  • 409c5a0 Merge pull request #12772 from Earlopain/fix-error-for-style-class-vars
  • 54dbee1 Fix an error for Style/For with EnforcedStyle: for when no receiver
  • 94c17b8 Fix an error for Style/ClassVars when calling class_variable_set without ...
  • 5ee786d Merge pull request #12770 from Earlopain/fix-an-error-for-lint-redundant-with...
  • 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.60.2 to 1.62.1.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.60.2...v1.62.1)

---
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 added the dependencies Pull requests that update a dependency file label Mar 11, 2024
@stefannibrasil stefannibrasil merged commit 6cb3d7e into main Mar 13, 2024
8 checks passed
@stefannibrasil stefannibrasil deleted the dependabot/bundler/rubocop-1.62.1 branch March 13, 2024 02:47
keshavbiswa pushed a commit to keshavbiswa/faker that referenced this pull request Mar 17, 2024
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.60.2 to 1.62.1.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.60.2...v1.62.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
stefannibrasil pushed a commit that referenced this pull request Mar 19, 2024
* update Faker::Australia to Faker::Locations::Australia

* Bump minitest from 5.21.1 to 5.21.2 (#2894)

Bumps [minitest](https://github.com/minitest/minitest) from 5.21.1 to 5.21.2.
- [Changelog](https://github.com/minitest/minitest/blob/master/History.rdoc)
- [Commits](minitest/minitest@v5.21.1...v5.21.2)

---
updated-dependencies:
- dependency-name: minitest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump rubocop from 1.59.0 to 1.60.2 (#2896)

Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.59.0 to 1.60.2.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.59.0...v1.60.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Add Kenya to supported countries (#2871)

* Add Kenya to supported countries

* Add tests for locale

* clan up pull request

* Add landline telephone numbers and cell phone formats

* Bump minitest from 5.21.2 to 5.22.2 (#2902)

Bumps [minitest](https://github.com/minitest/minitest) from 5.21.2 to 5.22.2.
- [Changelog](https://github.com/minitest/minitest/blob/master/History.rdoc)
- [Commits](minitest/minitest@v5.21.2...v5.22.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump test-unit from 3.6.1 to 3.6.2 (#2906)

Bumps [test-unit](https://github.com/test-unit/test-unit) from 3.6.1 to 3.6.2.
- [Release notes](https://github.com/test-unit/test-unit/releases)
- [Commits](test-unit/test-unit@3.6.1...3.6.2)

---
updated-dependencies:
- dependency-name: test-unit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Refactor `Faker::IDNumber` to `Faker::IdNumber` to be more consistent with other generator's naming convention. (#2858)

* Deprecate IDNumber to IdNumber per issue#2787

* wip

* Add a Faker::Deprecator module

Co-authored-by: Thiago Araujo <thd.araujo@gmail.com>

* Add more specs and improve warning message

---------

Co-authored-by: jamal.mohamed <jamal.mohamed@covermymeds.com>
Co-authored-by: Stefanni Brasil <stefannibrasil@gmail.com>
Co-authored-by: Thiago Araujo <thd.araujo@gmail.com>

* Fix/Deprecate FmaBrotherhood Generator (#2856)

* Favor 'The Room' instead of 'Room'

This commit will rename instances of room to the_room including the
locales.  Originally the `room.md` had a typo that referenced ::Room and
not ::TheRoom which is also fixed here.

Ref:
  - #2787

Co-authored-by: Jamal-A-Mohamed <jamalashur@gmail.com>
Co-authored-by: Salvador <salvador.tena@scientist.com>

* Fix/Deprecate FmaBrotherhood Generator

This commit fixes the naming discrpencies with the FmaBrotherhood (now
FullmetalAlchemistBrotherhood) class and its filename.  This adds
deprecation warnings for the old FmaBrotherhood class and also makes the
new FullmetalAlchemistBrotherhood class.

Fix:
  - #2853

* Refactor deprecation for `FmaBrotherhood`

This commit will refactor the changes from `FmaBrotherhood` to
`FullmetalAlchemistBrotherhood` and use `Faker::Deprecator`.

---------

Co-authored-by: Jamal-A-Mohamed <jamalashur@gmail.com>
Co-authored-by: Salvador <salvador.tena@scientist.com>
Co-authored-by: Stefanni Brasil <stefannibrasil@gmail.com>

* Bump i18n from 1.14.1 to 1.14.4 (#2913)

Bumps [i18n](https://github.com/ruby-i18n/i18n) from 1.14.1 to 1.14.4.
- [Release notes](https://github.com/ruby-i18n/i18n/releases)
- [Changelog](https://github.com/ruby-i18n/i18n/blob/master/CHANGELOG.md)
- [Commits](ruby-i18n/i18n@v1.14.1...v1.14.4)

---
updated-dependencies:
- dependency-name: i18n
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Remove duplicates in doc file (#2914)

* Bump rubocop from 1.60.2 to 1.62.1 (#2916)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump yard from 0.9.34 to 0.9.36 (#2909)

Bumps [yard](https://github.com/lsegal/yard) from 0.9.34 to 0.9.36.
- [Release notes](https://github.com/lsegal/yard/releases)
- [Changelog](https://github.com/lsegal/yard/blob/main/CHANGELOG.md)
- [Commits](lsegal/yard@v0.9.34...v0.9.36)

---
updated-dependencies:
- dependency-name: yard
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Deprecated Faker::Australia

* Added Docs for Australia

* Updated Readme to include Locations

* Updated locales path for australia

* updated test to differentiate deprecated methods

* Removed whitespaces from australia.yml

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andrew Nduati <nduatiandrew@gmail.com>
Co-authored-by: Jamal-A-Mohamed <37128483+Jamal-A-Mohamed@users.noreply.github.com>
Co-authored-by: jamal.mohamed <jamal.mohamed@covermymeds.com>
Co-authored-by: Stefanni Brasil <stefannibrasil@gmail.com>
Co-authored-by: Thiago Araujo <thd.araujo@gmail.com>
Co-authored-by: Kirk Wang <kirk.wang@scientist.com>
Co-authored-by: Jamal-A-Mohamed <jamalashur@gmail.com>
Co-authored-by: Salvador <salvador.tena@scientist.com>
Co-authored-by: Michael Marusyk <31774981+mmarusyk@users.noreply.github.com>
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