Skip to content
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.

Bump the ruby-dependencies group with 4 updates #58

Merged
merged 2 commits into from
Apr 2, 2024

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps the ruby-dependencies group with 4 updates: rubocop, rubocop-performance, rubocop-rspec and ruby-lsp.

Updates rubocop from 1.61.0 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][])
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

Updates rubocop-performance from 1.20.2 to 1.21.0

Release notes

Sourced from rubocop-performance's releases.

RuboCop Performance 1.21.0

New features

  • #446: Support Prism as a Ruby parser (experimental). (@​koic)

Bug fixes

  • #437: Fix a false positive for Performance/ChainArrayAllocation when using select with block argument after select. (@​koic)
  • #448: Fix a false positive for Performance/RedundantBlockCall when using block.call with block argument. (@​koic)

Changes

Changelog

Sourced from rubocop-performance's changelog.

1.21.0 (2024-03-30)

New features

  • #446: Support Prism as a Ruby parser (experimental). ([@​koic][])

Bug fixes

  • #437: Fix a false positive for Performance/ChainArrayAllocation when using select with block argument after select. ([@​koic][])
  • #448: Fix a false positive for Performance/RedundantBlockCall when using block.call with block argument. ([@​koic][])

Changes

Commits
  • 30f6669 Cut 1.21.0
  • 067c641 Update Changelog
  • 9d28120 Merge pull request #449 from koic/fix_false_positive_for_performance_redundan...
  • 0d98285 [Fix #448] Fix a false positive for Performance/RedundantBlockCall
  • d4d1875 Merge pull request #446 from koic/support_prism
  • 2059d28 Support Prism as a Ruby parser
  • 13aa3d1 Tweak specs for Performance/UnfreezeString
  • 9ba15dd Use RuboCop RSpec 2.27
  • 08ac312 Merge pull request #443 from koic/disalbe_performance_casecmp_by_default
  • 4dc1e5c [Fix #240] Disable Performance/Casecmp cop
  • Additional commits viewable in compare view

Updates rubocop-rspec from 2.27.0 to 2.28.0

Release notes

Sourced from rubocop-rspec's releases.

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

Sourced from rubocop-rspec's changelog.

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])
Commits
  • e6b53cb Merge pull request #1844 from rubocop/release
  • 05b93ad Bump version to v2.28.0
  • 85e6c8f Merge pull request #1842 from rubocop/add-test2
  • f6314a7 Merge pull request #1830 from rubocop/extract-rspec-rails
  • ae19ff1 Extract RSpec Rails cops
  • bf3f3e5 Add test to ensure unsafe cops are properly configured
  • 281a65b Merge pull request #1841 from rubocop/add-test
  • 077100f Add test case for detect redundant SafeAutoCorrect: false config
  • ecd945f Merge pull request #1839 from rubocop/use-registers-no-offense
  • 36d24d8 Use 'registers no offense' instead of 'register no offense'
  • Additional commits viewable in compare view

Updates ruby-lsp from 0.14.3 to 0.15.0

Commits

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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the ruby-dependencies group with 4 updates: [rubocop](https://github.com/rubocop/rubocop), [rubocop-performance](https://github.com/rubocop/rubocop-performance), [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) and [ruby-lsp](https://github.com/Shopify/ruby-lsp).


Updates `rubocop` from 1.61.0 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.61.0...v1.62.1)

Updates `rubocop-performance` from 1.20.2 to 1.21.0
- [Release notes](https://github.com/rubocop/rubocop-performance/releases)
- [Changelog](https://github.com/rubocop/rubocop-performance/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop-performance@v1.20.2...v1.21.0)

Updates `rubocop-rspec` from 2.27.0 to 2.28.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@v2.27.0...v2.28.0)

Updates `ruby-lsp` from 0.14.3 to 0.15.0
- [Release notes](https://github.com/Shopify/ruby-lsp/releases)
- [Commits](Shopify/ruby-lsp@v0.14.3...v0.15.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: ruby-dependencies
- dependency-name: rubocop-performance
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: ruby-dependencies
- dependency-name: rubocop-rspec
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: ruby-dependencies
- dependency-name: ruby-lsp
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: ruby-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from GrantBirki as a code owner April 1, 2024 10:35
@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Apr 1, 2024
Copy link

github-actions bot commented Apr 1, 2024

👋 Thanks for opening a pull request!

If you are new, please check out the trimmed down summary of our deployment process below:

  1. 👀 Observe the CI jobs and tests to ensure they are passing

  2. ✔️ Obtain an approval/review on this pull request

  3. 🚀 Branch deploy your pull request to production

    Comment .deploy on this pull request to trigger a deploy. If anything goes wrong, rollback with .deploy main

  4. 🎉 Merge!

@GrantBirki GrantBirki merged commit a702d77 into main Apr 2, 2024
1 check passed
@GrantBirki GrantBirki deleted the dependabot/bundler/ruby-dependencies-96b8951384 branch April 2, 2024 03:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
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.

1 participant