Skip to content

Bump rubocop from 1.24.1 to 1.25.0

George Koltsov requested to merge dependabot-bundler-rubocop-1.25.0 into master

Bumps rubocop from 1.24.1 to 1.25.0.

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

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


Dependabot commands
You can trigger Dependabot actions by commenting on this MR
  • @dependabot-bot rebase will rebase this MR
  • @dependabot-bot recreate will recreate this MR rewriting all the manual changes and resolving conflicts

Merge request reports

Loading