tinglesoftware / dependabot-azure-devops

Tools for updating dependencies in Azure DevOps repositories using https://dependabot.com
MIT License
201 stars 66 forks source link

Bump the rubocop group across 1 directory with 3 updates #1387

Closed dependabot[bot] closed 1 month ago

dependabot[bot] commented 1 month ago

Bumps the rubocop group with 3 updates in the /updater directory: rubocop, rubocop-performance and rubocop-rspec.

Updates rubocop from 1.65.1 to 1.66.1

Release notes

Sourced from rubocop's releases.

RuboCop 1.66.1

Bug fixes

  • #13191: Fix an error for Style/IfWithSemicolon when using nested single-line if/;/end in block of if/else branches. (@​koic)
  • #13178: Fix false positive for Style/EmptyLiteral with Hash.new([]). (@​earlopain)
  • #13176: Fix crash in Style/EmptyElse when AllowComments: true and the else clause is missing. (@​vlad-pisanov)
  • #13185: Fix false negatives in Style/MapIntoArray autocorrection when using ensure, def, defs and for. (@​vlad-pisanov)

RuboCop 1.66

New features

  • #13077: Add new global StringLiteralsFrozenByDefault option for correct analysis with RUBYOPT=--enable=frozen-string-literal. (@​earlopain)
  • #13080: Add new DocumentationExtension global option to serve documentation with extensions different than .html. (@​earlopain)
  • #13074: Add new Lint/UselessNumericOperation cop to check for inconsequential numeric operations. ([@​zopolis4][])
  • #13061: Add new Style/RedundantInterpolationUnfreeze cop to check for dup and @+ on interpolated strings in Ruby >= 3.0. (@​earlopain)

Bug fixes

  • #13093: Fix an error for Lint/ImplicitStringConcatenation when implicitly concatenating a string literal with a line break and string interpolation. (@​koic)
  • #13098: Fix an error for Style/IdenticalConditionalBranches when handling empty case branches. (@​koic)
  • #13113: Fix an error for Style/IfWithSemicolon when a nested if with a semicolon is used. (@​koic)
  • #13097: Fix an error for Style/InPatternThen when using alternative pattern matching deeply. (@​koic)
  • #13159: Fix an error for Style/OneLineConditional when using if/then/else/end with multiple expressions in the then body. (@​koic)
  • #13092: Fix an incorrect autocorrect for Layout/EmptyLineBetweenDefs when two method definitions are on the same line separated by a semicolon. (@​koic)
  • #13116: Fix an incorrect autocorrect for Style/IfWithSemicolon when a single-line if/;/end has an argument in the then body expression. (@​koic)
  • #13161: Fix incorrect autocorrect for Style/IfWithSemicolon when using multiple expressions in the else body. (@​koic)
  • #13132: Fix incorrect autocorrect for Style/TrailingBodyOnMethodDefinition when an expression precedes a method definition on the same line with a semicolon. (@​koic)
  • #13164: Fix incorrect autocorrect behavior for Layout/BlockAlignment when EnforcedStyleAlignWith: either (default). (@​koic)
  • #13087: Fix an incorrect autocorrect for Style/MultipleComparison when expression with more comparisons precedes an expression with less comparisons. ([@​fatkodima][])
  • #13172: Fix an error for Layout/EmptyLinesAroundExceptionHandlingKeywords when ensure or else and end are on the same line. (@​koic)
  • #13107: Fix an error for Lint/ImplicitStringConcatenation when there are multiple adjacent string interpolation literals on the same line. (@​koic)
  • #13111: Fix an error for Style/GuardClause when if clause is empty and correction would not fit on single line because of Layout/LineLength. (@​earlopain)
  • #13137: Fix an error for Style/ParallelAssignment when using __FILE__. (@​earlopain)
  • #13143: Fix an error during TargetRubyVersion detection if the gemspec is not valid syntax. (@​earlopain)
  • #13131: Fix false negatives for Lint/Void when using ensure, defs and numblock. (@​vlad-pisanov)
  • #13174: Fix false negatives for Style/MapIntoArray when initializing the destination using Array[], Array([]), or Array.new([]). (@​vlad-pisanov)
  • #13173: Fix false negatives for Style/EmptyLiteral when using Array[], Hash[], Array.new([]) and Hash.new([]). (@​vlad-pisanov)
  • #13126: Fix a false positive for Style/Alias when using multiple alias in def. (@​koic)
  • #13085: Fix a false positive for Style/EmptyElse when a comment-only else is used after elsif and AllowComments: true is set. (@​koic)
  • #13118: Fix a false positive for Style/MapIntoArray when splatting. (@​earlopain)
  • #13105: Fix false positives for Style/ArgumentsForwarding when forwarding kwargs/block arg with non-matching additional args. (@​koic)
  • #13139: Fix false positives for Style/RedundantCondition when using modifier if or unless. (@​koic)
  • #13134: Fix false negative for Lint/Void when using using frozen literals. (@​vlad-pisanov)
  • #13148: Fix incorrect autocorrect for Lint/EmptyConditionalBody when missing elsif body with end on the same line. (@​koic)
  • #13109: Fix an error for the Lockfile parser when it contains incompatible BUNDLED WITH versions. (@​earlopain)
  • #13112: Fix detection of TargetRubyVersion through the gemfile if the gemfile ruby version is below 2.7. (@​earlopain)

... (truncated)

Changelog

Sourced from rubocop's changelog.

1.66.1 (2024-09-04)

Bug fixes

  • #13191: Fix an error for Style/IfWithSemicolon when using nested single-line if/;/end in block of if/else branches. ([@​koic][])
  • #13178: Fix false positive for Style/EmptyLiteral with Hash.new([]). ([@​earlopain][])
  • #13176: Fix crash in Style/EmptyElse when AllowComments: true and the else clause is missing. ([@​vlad-pisanov][])
  • #13185: Fix false negatives in Style/MapIntoArray autocorrection when using ensure, def, defs and for. ([@​vlad-pisanov][])

1.66.0 (2024-08-31)

New features

  • #13077: Add new global StringLiteralsFrozenByDefault option for correct analysis with RUBYOPT=--enable=frozen-string-literal. ([@​earlopain][])
  • #13080: Add new DocumentationExtension global option to serve documentation with extensions different than .html. ([@​earlopain][])
  • #13074: Add new Lint/UselessNumericOperation cop to check for inconsequential numeric operations. ([@​zopolis4][])
  • #13061: Add new Style/RedundantInterpolationUnfreeze cop to check for dup and @+ on interpolated strings in Ruby >= 3.0. ([@​earlopain][])

Bug fixes

  • #13093: Fix an error for Lint/ImplicitStringConcatenation when implicitly concatenating a string literal with a line break and string interpolation. ([@​koic][])
  • #13098: Fix an error for Style/IdenticalConditionalBranches when handling empty case branches. ([@​koic][])
  • #13113: Fix an error for Style/IfWithSemicolon when a nested if with a semicolon is used. ([@​koic][])
  • #13097: Fix an error for Style/InPatternThen when using alternative pattern matching deeply. ([@​koic][])
  • #13159: Fix an error for Style/OneLineConditional when using if/then/else/end with multiple expressions in the then body. ([@​koic][])
  • #13092: Fix an incorrect autocorrect for Layout/EmptyLineBetweenDefs when two method definitions are on the same line separated by a semicolon. ([@​koic][])
  • #13116: Fix an incorrect autocorrect for Style/IfWithSemicolon when a single-line if/;/end has an argument in the then body expression. ([@​koic][])
  • #13161: Fix incorrect autocorrect for Style/IfWithSemicolon when using multiple expressions in the else body. ([@​koic][])
  • #13132: Fix incorrect autocorrect for Style/TrailingBodyOnMethodDefinition when an expression precedes a method definition on the same line with a semicolon. ([@​koic][])
  • #13164: Fix incorrect autocorrect behavior for Layout/BlockAlignment when EnforcedStyleAlignWith: either (default). ([@​koic][])
  • #13087: Fix an incorrect autocorrect for Style/MultipleComparison when expression with more comparisons precedes an expression with less comparisons. ([@​fatkodima][])
  • #13172: Fix an error for Layout/EmptyLinesAroundExceptionHandlingKeywords when ensure or else and end are on the same line. ([@​koic][])
  • #13107: Fix an error for Lint/ImplicitStringConcatenation when there are multiple adjacent string interpolation literals on the same line. ([@​koic][])
  • #13111: Fix an error for Style/GuardClause when if clause is empty and correction would not fit on single line because of Layout/LineLength. ([@​earlopain][])
  • #13137: Fix an error for Style/ParallelAssignment when using __FILE__. ([@​earlopain][])
  • #13143: Fix an error during TargetRubyVersion detection if the gemspec is not valid syntax. ([@​earlopain][])
  • #13131: Fix false negatives for Lint/Void when using ensure, defs and numblock. ([@​vlad-pisanov][])
  • #13174: Fix false negatives for Style/MapIntoArray when initializing the destination using Array[], Array([]), or Array.new([]). ([@​vlad-pisanov][])
  • #13173: Fix false negatives for Style/EmptyLiteral when using Array[], Hash[], Array.new([]) and Hash.new([]). ([@​vlad-pisanov][])
  • #13126: Fix a false positive for Style/Alias when using multiple alias in def. ([@​koic][])
  • #13085: Fix a false positive for Style/EmptyElse when a comment-only else is used after elsif and AllowComments: true is set. ([@​koic][])
  • #13118: Fix a false positive for Style/MapIntoArray when splatting. ([@​earlopain][])
  • #13105: Fix false positives for Style/ArgumentsForwarding when forwarding kwargs/block arg with non-matching additional args. ([@​koic][])
  • #13139: Fix false positives for Style/RedundantCondition when using modifier if or unless. ([@​koic][])
  • #13134: Fix false negative for Lint/Void when using using frozen literals. ([@​vlad-pisanov][])
  • #13148: Fix incorrect autocorrect for Lint/EmptyConditionalBody when missing elsif body with end on the same line. ([@​koic][])
  • #13109: Fix an error for the Lockfile parser when it contains incompatible BUNDLED WITH versions. ([@​earlopain][])
  • #13112: Fix detection of TargetRubyVersion through the gemfile if the gemfile ruby version is below 2.7. ([@​earlopain][])
  • #13155: Fixes an error when the server cache directory has too long path, causing rubocop to fail even with caching disabled. ([@​protocol7][])

... (truncated)

Commits
  • ba8e7be Cut 1.66.1
  • 2900c91 Update Changelog
  • 08bed81 Fix an error for Style/IfWithSemicolon
  • c2ae362 Don't parse YAML twice
  • 5f3481f Use rubocop-ast SimpleForwardable
  • 5e65a39 Merge pull request #13185 from vlad-pisanov/vp_map_into_array_2
  • d18b3c9 Fix false negatives in Style/MapIntoArray autocorrection when using `ensure...
  • 3277118 [Fix #13182] Tweak the doc for Style/RedundantInterpolationUnfreeze
  • 9a38b11 Merge pull request #13179 from Earlopain/node-matcher-directiry-error
  • fd4f4d7 Fix an error for InternalAffairs/NodeMatcherDirective when no second argument
  • Additional commits viewable in compare view


Updates rubocop-performance from 1.21.1 to 1.22.1

Release notes

Sourced from rubocop-performance's releases.

RuboCop Performance 1.22.1

Bug fixes

  • #468: Fix false positives for Performance/BigDecimalWithNumericArgument when using float argument for BigDecimal. (@​koic)

RuboCop Performance 1.22.0

Bug fixes

  • #454: Fix false positives for Performance/BigDecimalWithNumericArgument when using BigDecimal 3.1+. (@​koic)

Changes

Changelog

Sourced from rubocop-performance's changelog.

1.22.1 (2024-09-17)

Bug fixes

  • #468: Fix false positives for Performance/BigDecimalWithNumericArgument when using float argument for BigDecimal. ([@​koic][])

1.22.0 (2024-09-16)

Bug fixes

  • #454: Fix false positives for Performance/BigDecimalWithNumericArgument when using BigDecimal 3.1+. ([@​koic][])

Changes

  • #385: Disable Performance/BlockGivenWithExplicitBlock by default. ([@​earlopain][])
  • #407: Make Performance/DoubleStartEndWith aware of safe navigation. ([@​earlopain][])
Commits
  • 69c5abc Cut 1.22.1
  • 3188974 Update Changelog
  • 100cdfe Merge pull request #469 from koic/fix_false_positives_for_performance_big_dec...
  • 6bb06b2 [Fix #468] Fix false positives for Performance/BigDecimalWithNumericArgument
  • f74a890 Switch back docs version to master
  • bf5f64f Cut 1.22.0
  • d26b441 Update Changelog
  • 7233005 Merge pull request #465 from Earlopain/start-end-safe-navigation
  • 767f2c9 [Fix #407] Make Performance/DoubleStartEndWith aware of safe navigation
  • f28d18d Merge pull request #466 from Earlopain/block-given-disable
  • Additional commits viewable in compare view


Updates rubocop-rspec from 2.29.2 to 3.1.0

Release notes

Sourced from rubocop-rspec's releases.

RuboCop RSpec v3.1.0

  • Add RSpec/StringAsInstanceDoubleConstant to check for and correct strings used as instance_doubles. (@​corsonknowles)
  • Fix false-positive for RSpec/UnspecifiedException when a method is literally named raise_exception. (@​aarestad)
  • Fix false-positive for RSpec/UnspecifiedException when not_to raise_error is used within a block. (@​aarestad, @​G-Rath)

RuboCop RSpec v3.0.5

  • Fix false-negative and error for RSpec/MetadataStyle when non-literal args are used in metadata in EnforceStyle: hash. (@​cbliard)
  • Improve offense message for RSpec/IndexedLet. (@​earlopain)

RuboCop RSpec v3.0.4

  • Fix false-negative for UnspecifiedException when matcher is chained. (@​r7kamura)

RuboCop RSpec v3.0.3

  • Add support for Unicode RIGHT SINGLE QUOTATION MARK in RSpec/ExampleWording. (@​jdufresne)
  • Suppress deprecation warning for RSpec/MultipleExpectations, RSpec/MultipleMemoizedHelpers, and RSpec/NestedGroups cops. (@​koic)

RuboCop RSpec v3.0.2

  • Fix wrong autocorrect for RSpec/ScatteredSetup when hook contains heredoc. (@​earlopain)
  • Fix false negative for RSpec/PredicateMatcher when expectation contains custom failure message. (@​earlopain)
  • Facilitate the 3.0 upgrade flow with proper extracted cop messages. (@​jeppester)

RuboCop RSpec v3.0.1

  • Bump RuboCop requirement to +1.61. (@​ydah)

RuboCop RSpec v3.0.0

  • Remove extracted cops in Capybara, FactoryBot and Rails departments. (@​ydah)
  • Remove RuboCop::RSpec::Language::NodePattern. (@​ydah)
  • Remove RSpec/FilePath cop. (@​ydah)
  • Remove RSpec/Capybara/FeatureMethods cop. If you are using this cop, change it to use RSpec/Dialect. (@​ydah)
  • Add new RSpec/MissingExpectationTargetMethod cop. ([@​krororo])
  • Fix an error for RSpec/ScatteredSetup when one of the hooks is an empty block. (@​earlopain)

These previously pending cops are now enabled by default: RSpec/BeEmpty, RSpec/BeEq, RSpec/BeNil, RSpec/ChangeByZero, RSpec/ClassCheck, RSpec/ContainExactly, RSpec/DuplicatedMetadata, RSpec/EmptyMetadata, RSpec/EmptyOutput, RSpec/Eq, RSpec/ExcessiveDocstringSpacing, RSpec/ExpectInLet, RSpec/IdenticalEqualityAssertion, RSpec/IndexedLet, RSpec/IsExpectedSpecify, RSpec/MatchArray, RSpec/MetadataStyle, RSpec/NoExpectationExample, RSpec/PendingWithoutReason, RSpec/ReceiveMessages, RSpec/RedundantAround, RSpec/RedundantPredicateMatcher, RSpec/RemoveConst, RSpec/RepeatedSubjectCall, RSpec/SkipBlockInsideExample, RSpec/SortMetadata, RSpec/SpecFilePathFormat, RSpec/SpecFilePathSuffix, RSpec/SubjectDeclaration, RSpec/UndescriptiveLiteralsDescription, and RSpec/VerifiedDoubleReference.

... (truncated)

Changelog

Sourced from rubocop-rspec's changelog.

3.1.0 (2024-10-01)

  • Add RSpec/StringAsInstanceDoubleConstant to check for and correct strings used as instance_doubles. ([@​corsonknowles])
  • Fix false-positive for RSpec/UnspecifiedException when a method is literally named raise_exception. ([@​aarestad])
  • Fix false-positive for RSpec/UnspecifiedException when not_to raise_error is used within a block. ([@​aarestad], [@​G-Rath])

3.0.5 (2024-09-07)

  • Fix false-negative and error for RSpec/MetadataStyle when non-literal args are used in metadata in EnforceStyle: hash. ([@​cbliard])
  • Improve offense message for RSpec/IndexedLet. ([@​earlopain])

3.0.4 (2024-08-05)

  • Fix false-negative for UnspecifiedException when matcher is chained. ([@​r7kamura])

3.0.3 (2024-07-12)

  • Add support for Unicode RIGHT SINGLE QUOTATION MARK in RSpec/ExampleWording. ([@​jdufresne])
  • Suppress deprecation warning for RSpec/MultipleExpectations, RSpec/MultipleMemoizedHelpers, and RSpec/NestedGroups cops. ([@​koic])

3.0.2 (2024-07-02)

  • Fix wrong autocorrect for RSpec/ScatteredSetup when hook contains heredoc. ([@​earlopain])
  • Fix false negative for RSpec/PredicateMatcher when expectation contains custom failure message. ([@​earlopain])
  • Facilitate the 3.0 upgrade flow with proper extracted cop messages. ([@​jeppester])

3.0.1 (2024-06-11)

  • Bump RuboCop requirement to +1.61. ([@​ydah])

3.0.0 (2024-06-11)

  • Remove extracted cops in Capybara, FactoryBot and Rails departments. ([@​ydah])
  • Remove RuboCop::RSpec::Language::NodePattern. ([@​ydah])
  • Remove RSpec/FilePath cop. ([@​ydah])
  • Remove RSpec/Capybara/FeatureMethods cop. If you are using this cop, change it to use RSpec/Dialect. ([@​ydah])
  • Add new RSpec/MissingExpectationTargetMethod cop. ([@​krororo])
  • Fix an error for RSpec/ScatteredSetup when one of the hooks is an empty block. ([@​earlopain])

These previously pending cops are now enabled by default: RSpec/BeEmpty, RSpec/BeEq, RSpec/BeNil, RSpec/ChangeByZero, RSpec/ClassCheck, RSpec/ContainExactly, RSpec/DuplicatedMetadata, RSpec/EmptyMetadata, RSpec/EmptyOutput, RSpec/Eq, RSpec/ExcessiveDocstringSpacing, RSpec/ExpectInLet, RSpec/IdenticalEqualityAssertion, RSpec/IndexedLet, RSpec/IsExpectedSpecify, RSpec/MatchArray, RSpec/MetadataStyle, RSpec/NoExpectationExample, RSpec/PendingWithoutReason, RSpec/ReceiveMessages, RSpec/RedundantAround, RSpec/RedundantPredicateMatcher, RSpec/RemoveConst, RSpec/RepeatedSubjectCall, RSpec/SkipBlockInsideExample, RSpec/SortMetadata, RSpec/SpecFilePathFormat, RSpec/SpecFilePathSuffix, RSpec/SubjectDeclaration, RSpec/UndescriptiveLiteralsDescription, and RSpec/VerifiedDoubleReference.

Read more about how to upgrade in https://docs.rubocop.org/rubocop-rspec/upgrade_to_version_3.html

2.31.0 (2024-06-07)

  • Support AutoCorrect: contextual option for LSP. ([@​ydah])

2.30.0 (2024-06-03)

Commits
  • 5e06176 Merge pull request #1963 from rubocop/release
  • 34c042e Bump version to v3.1.0
  • dea7de9 Merge pull request #1957 from corsonknowles/master
  • 324552c Add RSpec/StringAsInstanceDoubleConstant
  • 5959ad6 Merge pull request #1962 from G-Rath/add-spec
  • 1f48c7b test: showcase RSpec/UnspecifiedException block/chain confusion is fixed
  • 79e0bf7 Merge pull request #1960 from aarestad/unspecified-exception-fix
  • a59315f fix false positive on UnspecifiedException cop when function is named raise_e...
  • cf0ac65 Merge pull request #1958 from rubocop/cop-config-order
  • 5b91d18 Merge pull request #1959 from rubocop/fix-RedundantSourceRange-offenses
  • 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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
dependabot[bot] commented 1 month ago

Looks like these dependencies are updatable in another way, so this is no longer needed.