Skip to content

Update rubocop requirement from ~> 1.24.1 to ~> 1.25.0#290

Merged
meili-bors[bot] merged 1 commit intomainfrom
dependabot/bundler/rubocop-tw-1.25.0
Jan 27, 2022
Merged

Update rubocop requirement from ~> 1.24.1 to ~> 1.25.0#290
meili-bors[bot] merged 1 commit intomainfrom
dependabot/bundler/rubocop-tw-1.25.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Jan 19, 2022

Updates the requirements on rubocop to permit the latest version.

Release notes

Sourced from rubocop's releases.

RuboCop 1.25

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

Changelog

Sourced from rubocop's changelog.

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

1.24.0 (2021-12-23)

New features

  • #10279: Support Ruby 3.1's anonymous block forwarding syntax. ([@​koic][])
  • #10295: Support Ruby 3.1's hash value omission syntax for Layout/HashAlignment. ([@​koic][])
  • #10303: Add AllowedNumbers option to Style/NumericLiterals. ([@​koic][])
  • #10290: Add new Naming/BlockForwarding cop. ([@​koic][])
  • #10289: Add EnforcedShorthandSyntax option to Style/HashSyntax cop to support Ruby 3.1's hash value omission syntax by default. ([@​koic][])
  • #10257: Add new Style/MapToHash cop. ([@​dvandersluis][])
  • #10261: Add new Style/FileRead cop. ([@​leoarnold][])
  • #10291: Support Ruby 3.1's hash value omission syntax for Layout/SpaceAfterColon. ([@​koic][])

... (truncated)

Commits
  • 8bf5b55 Cut 1.25.0
  • 9317933 Update Changelog
  • 4987fce Fix cop generator for nested departments
  • db920cd [Doc] Tweak example desc for Style/IfWithBooleanLiteralBranches
  • 92a35ce Merge pull request #10357 from berkos/hash-syntax/change-ommit-value
  • 017c0b6 Fix Style/HashSyntax: Omit the hash value cases
  • db591c6 Merge pull request #10358 from gsamokovarov/style-sample-endless-range
  • dc00d5a Fix Style/Sample crash on {begin,end}less range shuffle indexes
  • 3591a52 Fix Gemspec/RequiredRubyVersion version matcher
  • 37c97ac Merge pull request #10355 from koic/ci_against_ruby_3_1_on_windows
  • Additional commits viewable in compare view

You can trigger a rebase of this PR 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)

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file skip-changelog The PR will not appear in the release changelogs labels Jan 19, 2022
brunoocasali
brunoocasali previously approved these changes Jan 19, 2022
@brunoocasali
Copy link
Copy Markdown
Member

@dependabot rebase

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.1...v1.25.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/bundler/rubocop-tw-1.25.0 branch from c91ad72 to 51bed55 Compare January 27, 2022 19:10
@brunoocasali brunoocasali self-requested a review January 27, 2022 19:11
@brunoocasali
Copy link
Copy Markdown
Member

bors merge

@meili-bors
Copy link
Copy Markdown
Contributor

meili-bors Bot commented Jan 27, 2022

@meili-bors meili-bors Bot merged commit 719901d into main Jan 27, 2022
@meili-bors meili-bors Bot deleted the dependabot/bundler/rubocop-tw-1.25.0 branch January 27, 2022 19:12
meili-bors Bot added a commit that referenced this pull request Feb 1, 2022
296: Update version for the next release (v0.18.1) r=brunoocasali a=brunoocasali

Release a new version with the following changes:

- #292 
- #290 
- #295 

Co-authored-by: Bruno Casali <brunoocasali@gmail.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 skip-changelog The PR will not appear in the release changelogs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant