Scalingo / documentation

Scalingo Documentation Center
https://doc.scalingo.com
9 stars 73 forks source link

chore(deps-dev): bump rubocop from 1.64.1 to 1.65.1 #2776

Closed dependabot[bot] closed 2 months ago

dependabot[bot] commented 2 months ago

Bumps rubocop from 1.64.1 to 1.65.1.

Release notes

Sourced from rubocop's releases.

RuboCop 1.65.1

New features

  • #13068: Add config validation to Naming/PredicateName to check that all ForbiddenPrefixes are being checked. (@​maxjacobson)

Bug fixes

  • #13051: Fix an error for Lint/FloatComparison when comparing with rational literal. (@​koic)
  • #13065: Fix an error for Lint/UselessAssignment when same name variables are assigned using chained assignment. (@​koic)
  • #13062: Fix an error for Style/InvertibleUnlessCondition when using empty parenthesis as condition. (@​earlopain)
  • #11438: Explicitly load fileutils before calculating before_us. (@​r7kamura)
  • #13044: Fix false negatives for Lint/ImplicitStringConcatenation when using adjacent string interpolation literals on the same line. (@​koic)
  • #13083: Fix a false positive for Style/GlobalStdStream when using namespaced constants like Foo::STDOUT. (@​earlopain)
  • #13081: Fix a false positive for Style/ZeroLengthPredicate when using safe navigation and non-zero comparison. (@​fatkodima)
  • #13041: Fix false positives for Lint/UselessAssignment when pattern match variable is assigned and used in a block. (@​koic)
  • #13076: Fix an incorrect autocorrect for Naming/RescuedExceptionsVariableName when using hash value omission. (@​koic)

RuboCop 1.65

New features

Bug fixes

  • #12954: Fix a false negative for Style/ArgumentsForwarding when arguments forwarding in yield. (@​koic)
  • #13033: Fix a false positive for Layout/SpaceAroundOperators when using multiple spaces between an operator and a tailing comment. (@​koic)
  • #12885: Fix a false positive for Lint/ToEnumArguments when enumerator is created for another method. (@​koic)
  • #13018: Fix a false positive for Style/MethodCallWithArgsParentheses when EnforcedStyle: omit_parentheses is set and parenthesized method call is used before constant resolution. (@​koic)
  • #12986: Fix a false positive for Style/RedundantBegin when endless method definition with rescue. (@​koic)
  • #12985: Fix an error for Style/RedundantRegexpCharacterClass when using regexp_parser gem 2.3.1 or older. (@​koic)
  • #13010: Fix an error for Style/SuperArguments when the hash argument is or-assigned. (@​koic)
  • #13023: Fix an error for Style/SymbolProc when using lambda -> with one argument and multiline do...end block. (@​koic)
  • #12989: Fix an error for the inherit_gem config when the Gemfile contains an uninstalled git gem. (@​earlopain)
  • #12975: Fix an error for the inherit_gem config when running RuboCop without bundler and no Gemfile exists. (@​earlopain)
  • #12997: Fix an error for Lint/UnmodifiedReduceAccumulator when the block is empty. (@​earlopain)
  • #12979: Fix false negatives for Lint/Void when void expression with guard clause is not on last line. (@​koic)
  • #12716: Fix false negatives for Lint/Void when using parenthesized void operators. (@​koic)
  • #12471: Fix false negatives for Style/ZeroLengthPredicate when using safe navigation operator. (@​koic)
  • #12960: Fix false positives for Lint/NestedMethodDefinition when definition of method on variable. (@​koic)
  • #13012: Fix false positives for Style/HashExcept when using reject and calling include? method with bang. (@​koic)
  • #12983: Fix false positives for Style/SendWithLiteralMethodName using send with writer method name. (@​koic)
  • #12957: Fix false positives for Style/SuperArguments when calling super in a block. (@​koic)

Changes

... (truncated)

Changelog

Sourced from rubocop's changelog.

1.65.1 (2024-08-01)

New features

  • #13068: Add config validation to Naming/PredicateName to check that all ForbiddenPrefixes are being checked. ([@​maxjacobson][])

Bug fixes

  • #13051: Fix an error for Lint/FloatComparison when comparing with rational literal. ([@​koic][])
  • #13065: Fix an error for Lint/UselessAssignment when same name variables are assigned using chained assignment. ([@​koic][])
  • #13062: Fix an error for Style/InvertibleUnlessCondition when using empty parenthesis as condition. ([@​earlopain][])
  • #11438: Explicitly load fileutils before calculating before_us. ([@​r7kamura][])
  • #13044: Fix false negatives for Lint/ImplicitStringConcatenation when using adjacent string interpolation literals on the same line. ([@​koic][])
  • #13083: Fix a false positive for Style/GlobalStdStream when using namespaced constants like Foo::STDOUT. ([@​earlopain][])
  • #13081: Fix a false positive for Style/ZeroLengthPredicate when using safe navigation and non-zero comparison. ([@​fatkodima][])
  • #13041: Fix false positives for Lint/UselessAssignment when pattern match variable is assigned and used in a block. ([@​koic][])
  • #13076: Fix an incorrect autocorrect for Naming/RescuedExceptionsVariableName when using hash value omission. ([@​koic][])

1.65.0 (2024-07-10)

New features

Bug fixes

  • #12954: Fix a false negative for Style/ArgumentsForwarding when arguments forwarding in yield. ([@​koic][])
  • #13033: Fix a false positive for Layout/SpaceAroundOperators when using multiple spaces between an operator and a tailing comment. ([@​koic][])
  • #12885: Fix a false positive for Lint/ToEnumArguments when enumerator is created for another method. ([@​koic][])
  • #13018: Fix a false positive for Style/MethodCallWithArgsParentheses when EnforcedStyle: omit_parentheses is set and parenthesized method call is used before constant resolution. ([@​koic][])
  • #12986: Fix a false positive for Style/RedundantBegin when endless method definition with rescue. ([@​koic][])
  • #12985: Fix an error for Style/RedundantRegexpCharacterClass when using regexp_parser gem 2.3.1 or older. ([@​koic][])
  • #13010: Fix an error for Style/SuperArguments when the hash argument is or-assigned. ([@​koic][])
  • #13023: Fix an error for Style/SymbolProc when using lambda -> with one argument and multiline do...end block. ([@​koic][])
  • #12989: Fix an error for the inherit_gem config when the Gemfile contains an uninstalled git gem. ([@​earlopain][])
  • #12975: Fix an error for the inherit_gem config when running RuboCop without bundler and no Gemfile exists. ([@​earlopain][])
  • #12997: Fix an error for Lint/UnmodifiedReduceAccumulator when the block is empty. ([@​earlopain][])
  • #12979: Fix false negatives for Lint/Void when void expression with guard clause is not on last line. ([@​koic][])
  • #12716: Fix false negatives for Lint/Void when using parenthesized void operators. ([@​koic][])
  • #12471: Fix false negatives for Style/ZeroLengthPredicate when using safe navigation operator. ([@​koic][])
  • #12960: Fix false positives for Lint/NestedMethodDefinition when definition of method on variable. ([@​koic][])
  • #13012: Fix false positives for Style/HashExcept when using reject and calling include? method with bang. ([@​koic][])
  • #12983: Fix false positives for Style/SendWithLiteralMethodName using send with writer method name. ([@​koic][])
  • #12957: Fix false positives for Style/SuperArguments when calling super in a block. ([@​koic][])

Changes

  • #12970: Add CountModifierForms option to Metrics/BlockNesting and set it to false by default. ([@​koic][])
  • #13032: Display warning messages for deprecated APIs. ([@​koic][])
  • #13031: Enable YJIT by default in server mode. ([@​koic][])

... (truncated)

Commits
  • b073d7a Cut 1.65.1
  • 8c4c144 Update Changelog
  • 19b3d9d Merge pull request #13083 from Earlopain/false-positive-global-std-stream
  • 761b917 Fix false positive for Style/GlobalStdStream for namespaced constants
  • 58eeb7a Clarify docs in Naming/PredicateName
  • 2443641 Add a validate_config for Naming/PredicateName
  • 68bd9da Merge pull request #13079 from koic/fix_incorrect_autocorrect_for_naming_resc...
  • 748a568 Merge pull request #13081 from fatkodima/zero_length_predicate-false-positive
  • 70d8e88 Fix a false positive for Style/ZeroLengthPredicate when using safe navigati...
  • ea309c2 [Fix #13076] Fix an incorrect autocorrect for `Naming/RescuedExceptionsVariab...
  • 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 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)