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.0 #172

Merged
merged 3 commits into from
Mar 8, 2024

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps rubocop from 1.60.2 to 1.62.0.

Release notes

Sourced from rubocop's releases.

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)

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)

... (truncated)

Changelog

Sourced from rubocop's changelog.

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

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

... (truncated)

Commits
  • 92785dd Cut 1.62
  • 2d882c3 Update Changelog
  • c0582a4 [Fix #12746] Fix a false positive for Lint/ToEnumArguments
  • dea3b76 Bump rubocop-rspec from ~> 2.27.0 to ~> 2.27.1
  • 5026393 Call .value to get gemspec required_ruby_version only if str_type?
  • 07cad75 [Fix #12740] Tweak annotation pattern for expect_offense
  • 859f6fd Fix missing assertions in RuboCop::TargetRuby specs
  • 6674cc8 [Fix #12738] Fix an error for Style/Encoding
  • 1a73d64 Refactor TargetFinder
  • 664ba3d [Fix #12667] Avoid loading excluded configuration
  • 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.0.
- [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.0)

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

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

codecov bot commented Mar 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (6bc507c) to head (230fe2e).

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #172   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           11        11           
  Lines          268       268           
  Branches        65        65           
=========================================
  Hits           268       268           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@davidrunger davidrunger merged commit 9a158d2 into master Mar 8, 2024
3 checks passed
@davidrunger davidrunger deleted the dependabot/bundler/rubocop-1.62.0 branch March 8, 2024 08:41
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