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 rubocop requirement from ~> 1.24.0 to ~> 1.25.1 #635

Merged
merged 1 commit into from
Feb 15, 2022

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 14, 2022

Updates the requirements on rubocop to permit the latest version.

Release notes

Sourced from rubocop's releases.

RuboCop 1.25.1

Bug fixes

  • #10359: Fix a false positive and negative for Style/HashSyntax when using hash value omission. (@​koic)
  • #10387: Fix an error for Style/RedundantBegin when assigning nested begin blocks. (@​koic)
  • #10366: Fix a false positive for Style/MethodCallWithArgsParentheses when setting EnforcedStyle: omit_parentheses and using hash value omission with modifier from. (@​koic)
  • #10376: Fix an error for Layout/RescueEnsureAlignment when using .() call with block. (@​koic)
  • #10364: Fix an infinite loop error for Layout/HashAlignment when EnforcedStyle: with_fixed_indentation is specified for Layout/ArgumentAlignment. (@​koic)
  • #10371: Fix a false negative for Style/HashSyntax when Hash[foo: foo] or {foo: foo} is followed by a next expression. (@​koic)
  • #10394: Fix an error for Style/SwapValues when assigning receiver object at def. (@​koic)
  • #10379: Fix an error for Layout/EmptyLinesAroundExceptionHandlingKeywords when rescue and end are on the same line. (@​koic)
Changelog

Sourced from rubocop's changelog.

1.25.1 (2022-02-03)

Bug fixes

  • #10359: Fix a false positive and negative for Style/HashSyntax when using hash value omission. ([@​koic][])
  • #10387: Fix an error for Style/RedundantBegin when assigning nested begin blocks. ([@​koic][])
  • #10366: Fix a false positive for Style/MethodCallWithArgsParentheses when setting EnforcedStyle: omit_parentheses and using hash value omission with modifier from. ([@​koic][])
  • #10376: Fix an error for Layout/RescueEnsureAlignment when using .() call with block. ([@​koic][])
  • #10364: Fix an infinite loop error for Layout/HashAlignment when EnforcedStyle: with_fixed_indentation is specified for Layout/ArgumentAlignment. ([@​koic][])
  • #10371: Fix a false negative for Style/HashSyntax when Hash[foo: foo] or {foo: foo} is followed by a next expression. ([@​koic][])
  • #10394: Fix an error for Style/SwapValues when assigning receiver object at def. ([@​koic][])
  • #10379: Fix an error for Layout/EmptyLinesAroundExceptionHandlingKeywords when rescue and end are on the same line. ([@​koic][])

1.25.0 (2022-01-18)

New features

  • #10351: Support EnforcedShorthandSyntax: either option for Style/HashSyntax. ([@​koic][])
  • #10339: Support auto-correction for EnforcedStyle: explicit of Naming/BlockForwarding. ([@​koic][])

Bug fixes

  • #10344: Fix a false positive for Style/CollectionCompact when without receiver for bad methods. ([@​koic][])
  • #10353: Use :ambiguous_regexp to detect ambiguous Regexp in Ruby 3. ([@​danieldiekmeier][], [@​joergschiller][])
  • #10336: Fix a false positive for Style/TernaryParentheses when using in keyword pattern matching as a ternary condition. ([@​koic][])
  • #10317: Fix a false positive for Style/MethodCallWithArgsParentheses when using hash value omission. ([@​koic][])
  • #8032: Improve ArgumentAlignment detection and correction for keyword arguments. ([@​mvz][])
  • #10331: Fix cop generator for nested departments. ([@​fatkodima][])
  • #10357: Fix a false positive for Style/HashSyntax when omitting the value. ([@​berkos][])
  • #10335: Fix a false positive for Naming/BlockForwarding when using multiple proc arguments. ([@​koic][])
  • #10350: Fix a false negative for Lint/IncompatibleIoSelectWithFiberScheduler when using IO.select with the first argument only. ([@​koic][])
  • #10358: Fix Style/Sample crash on beginless and endless range shuffle indexes. ([@​gsamokovarov][])
  • #10354: Fix Gemspec/RequiredRubyVersion version matcher when Gem::Requirement.new is used and initialised with multiple requirements. ([@​nickpellant][])

Changes

1.24.1 (2021-12-31)

Bug fixes

  • #10313: Fix autocorrect Style/MapToHash with multiline code. ([@​tejasbubane][])
  • #10251: Fix an incorrect autocorrect for Gemspec/RequireMFA when .gemspec file contains metadata keys assignments. ([@​fatkodima][])
  • #10329: Fix a false positive for Lint/ParenthesesAsGroupedExpression and an incorrect autocorrect for the cop with Style/TernaryParentheses when using ternary expression as a first argument. ([@​koic][])
  • #10317: Fix a false positive for Style/MethodCallWithArgsParentheses when using hash value omission. ([@​koic][])
  • #10333: Fix an incorrect autocorrect for Naming/BlockForwarding using explicit block forwarding without method definition parentheses. ([@​koic][])
  • #10321: Make Style/MethodDefParentheses aware of Ruby 3.1's anonymous block forwarding. ([@​koic][])
  • #10320: Fix an incorrect autocorrect for Style/FileWrite when using heredoc argument. ([@​koic][])
  • #10319: Require rubocop-ast 1.15.1 to fix a false positive for Style/CombinableLoop when the same method with different arguments and safe navigation. ([@​koic][])

... (truncated)

Commits
  • f096012 Cut 1.25.1
  • 3fe51a3 Update Changelog
  • ab1e5b7 Address complexity rubocop issues
  • 2ca25cd Update auto-gen-config's comment re auto-correct
  • 38b8c78 [Fix #10364] Fix an infinite loop error for Style/HashAlignment
  • 7e09781 [Fix #10394] Fix an error for Style/SwapValues
  • 0bbc02e Merge pull request #10391 from koic/fix_an_error_for_style_redundant_begin
  • a482741 [Fix #10387] Fix an error for Style/RedundantBegin
  • ca6de59 Start linting our YAML files
  • b3bfd9f Merge pull request #10389 from rubocop/upgrade-rubocop-rspec
  • Additional commits viewable in compare view

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

Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.24.0...v1.25.1)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from a team as a code owner February 14, 2022 21:06
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 14, 2022
@sathish-progress sathish-progress merged commit fda38e2 into main Feb 15, 2022
@sathish-progress sathish-progress deleted the dependabot/bundler/rubocop-tw-1.25.1 branch February 15, 2022 13:25
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