Skip to content

Update requirements for rubocop-performance, rubocop and rubocop-rspec#242

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot-bundler-multi-c5f1ac1484
Open

Update requirements for rubocop-performance, rubocop and rubocop-rspec#242
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot-bundler-multi-c5f1ac1484

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 1, 2025

Updates the requirements on rubocop-performance, rubocop and rubocop-rspec to permit the latest version.
Updates rubocop-performance from 1.10.2 to 1.25.0

Release notes

Sourced from rubocop-performance's releases.

RuboCop Performance v1.25.0

New features

  • #496: Support it block parameter in Performance cops. (@​koic)

Bug fixes

  • #494: Fix Performance/FixedSize false positive when count is called with a numblock. (@​dvandersluis)
  • #492: Fix false positives for Performance/StringIdentifierArgument when using interpolated string argument. (@​koic)

Changes

  • #482: Change Performance/CollectionLiteralInLoop to not register offenses for Array#include? that are optimized directly in Ruby. (@​earlopain)

RuboCop Performance 1.24.0

New features

  • #490: Pluginfy RuboCop Performance. (@​koic)
  • #462: Add new Performance/ZipWithoutBlock cop that checks patterns like .map { |id| [id] } or .map { [_1] } and can replace them with .zip. (@​corsonknowles)

Bug fixes

RuboCop Performance 1.23.1

Bug fixes

  • #478: Fix Performance/RedundantStringChars cop error in case of implicit receiver. (@​viralpraxis)
  • #480: Fix Performance/Squeeze cop error on frozen AST string node value. (@​viralpraxis)

RuboCop Performance 1.23.0

New features

RuboCop Performance 1.22.1

Bug fixes

... (truncated)

Changelog

Sourced from rubocop-performance's changelog.

1.25.0 (2025-04-01)

New features

  • #496: Support it block parameter in Performance cops. ([@​koic][])

Bug fixes

  • #494: Fix Performance/FixedSize false positive when count is called with a numblock. ([@​dvandersluis][])
  • #492: Fix false positives for Performance/StringIdentifierArgument when using interpolated string argument. ([@​koic][])

Changes

  • #482: Change Performance/CollectionLiteralInLoop to not register offenses for Array#include? that are optimized directly in Ruby. ([@​earlopain][])

1.24.0 (2025-02-16)

New features

  • #490: Pluginfy RuboCop Performance. ([@​koic][])
  • #462: Add new Performance/ZipWithoutBlock cop that checks patterns like .map { |id| [id] } or .map { [_1] } and can replace them with .zip. ([@​corsonknowles][])

Bug fixes

  • #484: Fix Performance/CaseWhenSplat cop error on when node without body. ([@​viralpraxis][])

1.23.1 (2025-01-04)

Bug fixes

  • #478: Fix Performance/RedundantStringChars cop error in case of implicit receiver. ([@​viralpraxis][])
  • #480: Fix Performance/Squeeze cop error on frozen AST string node value. ([@​viralpraxis][])

1.23.0 (2024-11-14)

New features

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

... (truncated)

Commits
  • 1a7fa7c Cut 1.25.0
  • 9bbcc52 Update Changelog
  • 9e5a10a Merge pull request #496 from koic/support_itblock_in_performance_cops
  • cee374c Support it block parameter in Performance cops
  • 300b997 Merge pull request #494 from dvandersluis/fixed-size-blocks
  • d339b99 Fix Performance/FixedSize false positive when count is called with a `num...
  • b6a39f4 Merge pull request #493 from koic/fix_false_positives_for_performance_string_...
  • 8c368f6 [Fix #492] Fix false positives for Performance/StringIdentifierArgument
  • d842831 Automate the process of GitHub release creation
  • eb68f96 Merge pull request #488 from Earlopain/collection-literal-ruby34
  • Additional commits viewable in compare view

Updates rubocop from 0.93.1 to 1.75.1

Release notes

Sourced from rubocop's releases.

RuboCop v1.75.1

Changes

  • #14038: Rename EnforcedStyle: allow_named_parameter to EnforcedStyle: only_numbered_parameters in Style/ItBlockParameter. (@​koic)

RuboCop v1.75.0

New features

Bug fixes

  • #14022: Fix an error for Style/HashFetchChain when no arguments are given to fetch. (@​koic)
  • #14028: Fix false negative for Layout/MultilineMethodParameterLineBreaks when class method definitions are used. (@​vlad-pisanov)
  • #14027: Fix false negative for Layout/LineLength when autocorrecting class method definitions. (@​vlad-pisanov)
  • #8099: Fix infinite loop between Layout/SpaceAroundOperators and Layout/HashAlignment with EnforcedHashRocketStyle being an array containing table. (@​dvandersluis)
  • #14021: Fix handling of long heredoc lines with SplitStrings enabled. (@​mauro-oto)
  • #13968: Fix InternalAffairs/RedundantDescribedClassAsSubject cop error on missing describe. (@​viralpraxis)
  • #14036: Fix false negative for Lint/ShadowingOuterLocalVariable when block local variable is used inside a condition. (@​lovro-bikic)
  • #13990: Fix a false positive for Lint/UselessAssignment when a variable is reassigned in a different branch. ([@​eugeneius][])
  • #14012: Fix incorrect autocorrections for Style/SoleNestedConditional. (@​lovro-bikic)
  • #14020: Fix comment autocorrection for Style/IfInsideElse. (@​lovro-bikic)

Changes

... (truncated)

Changelog

Sourced from rubocop's changelog.

1.75.1 (2025-03-26)

Changes

  • #14038: Rename EnforcedStyle: allow_named_parameter to EnforcedStyle: only_numbered_parameters in Style/ItBlockParameter. ([@​koic][])

1.75.0 (2025-03-26)

New features

Bug fixes

  • #14022: Fix an error for Style/HashFetchChain when no arguments are given to fetch. ([@​koic][])
  • #14028: Fix false negative for Layout/MultilineMethodParameterLineBreaks when class method definitions are used. ([@​vlad-pisanov][])
  • #14027: Fix false negative for Layout/LineLength when autocorrecting class method definitions. ([@​vlad-pisanov][])
  • #8099: Fix infinite loop between Layout/SpaceAroundOperators and Layout/HashAlignment with EnforcedHashRocketStyle being an array containing table. ([@​dvandersluis][])
  • #14021: Fix handling of long heredoc lines with SplitStrings enabled. ([@​mauro-oto][])
  • #13968: Fix InternalAffairs/RedundantDescribedClassAsSubject cop error on missing describe. ([@​viralpraxis][])
  • #14036: Fix false negative for Lint/ShadowingOuterLocalVariable when block local variable is used inside a condition. ([@​lovro-bikic][])
  • #13990: Fix a false positive for Lint/UselessAssignment when a variable is reassigned in a different branch. ([@​eugeneius][])
  • #14012: Fix incorrect autocorrections for Style/SoleNestedConditional. ([@​lovro-bikic][])
  • #14020: Fix comment autocorrection for Style/IfInsideElse. ([@​lovro-bikic][])

Changes

  • #12358: Add does as a forbidden prefix to Naming/PredicateName. ([@​dvandersluis][])
  • #13621: Add ForbiddenIdentifiers and ForbiddenPatterns config options to Naming/MethodName cop. ([@​tejasbubane][])
  • #13986: Add support for Array#intersection to Style/ArrayIntersect. ([@​dvandersluis][])
  • #14006: Allow cop renames to trigger warnings instead of fatal errors. ([@​dvandersluis][])
  • #13617: Use the prism translation layer to analyze Ruby 3.4+ by default. ([@​earlopain][])
  • #14024: Change Style/RedundantParentheses to offend parentheses for chained && expressions. ([@​lovro-bikic][])
  • #14029: Add AllowConsecutiveConditionals setting to Style/Next to allow consecutive conditional statements. ([@​vlad-pisanov][])
  • #14016: Update Style/RedundantFormat to register offenses when the only argument to format or sprintf is a constant. ([@​dvandersluis][])

1.74.0 (2025-03-13)

New features

... (truncated)

Commits
  • 3872dce Cut 1.75.1
  • b0999f3 Update Changelog
  • 3ed6feb Rename allow_named_parameter to only_numbered_parameters in `Style/ItBloc...
  • 784abb2 Merge pull request #14039 from lovro-bikic/adjust-raise-args-docs
  • 246dee9 Update Style/RaiseArgs docs
  • cf5e382 Reset the docs version
  • 9c2bc8e Cut 1.75
  • 95ed987 Update Changelog
  • f969e0d Fix handling of long heredoc lines with SplitStrings enabled
  • 91fafeb Fix comment autocorrection for Style/IfInsideElse
  • Additional commits viewable in compare view

Updates rubocop-rspec from 1.44.1 to 3.5.0

Release notes

Sourced from rubocop-rspec's releases.

RuboCop RSpec v3.5.0

  • Don't let RSpec/PredicateMatcher replace respond_to? with two arguments with the RSpec respond_to matcher. (@​bquorning)
  • Fix RSpec/PredicateMatcher support for eql and equal matchers. (@​bquorning)
  • Pluginfy RuboCop RSpec. (@​koic)

RuboCop RSpec v3.4.0

  • Fix RSpec/SortMetadata cop to limit sorting to trailing metadata arguments. (@​cbliard)
  • Replace RSpec/StringAsInstanceDoubleConstant with RSpec/VerifiedDoubleReference configured to only support constant class references. (@​corsonknowles)
  • Fix RSpec/EmptyExampleGroup cop false positive when a simple conditional is used inside an iterator. (@​lovro-bikic)

RuboCop RSpec v3.3.0

  • Deprecate top_level_group? method from TopLevelGroup mixin as all of its callers were intentionally removed from Rubocop/RSpec. (@​corsonknowles)
  • Fix false positive for RSpec/EmptyMetadata for splat kwargs. (@​pirj)

RuboCop RSpec v3.2.0

  • Fix RSpec/VoidExpect to only operate inside an example block. (@​corsonknowles)
  • Change RSpec/ContextWording cop to always report an offense when both Prefixes and AllowedPatterns are empty. (@​ydah)
  • Add support for and and or compound matchers to RSpec/ChangeByZero cop. (@​ydah)

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

... (truncated)

Changelog

Sourced from rubocop-rspec's changelog.

3.5.0 (2025-02-16)

  • Don't let RSpec/PredicateMatcher replace respond_to? with two arguments with the RSpec respond_to matcher. ([@​bquorning])
  • Fix RSpec/PredicateMatcher support for eql and equal matchers. ([@​bquorning])
  • Pluginfy RuboCop RSpec. ([@​koic])

3.4.0 (2025-01-20)

  • Fix RSpec/SortMetadata cop to limit sorting to trailing metadata arguments. ([@​cbliard])
  • Replace RSpec/StringAsInstanceDoubleConstant with RSpec/VerifiedDoubleReference configured to only support constant class references. ([@​corsonknowles])
  • Fix RSpec/EmptyExampleGroup cop false positive when a simple conditional is used inside an iterator. ([@​lovro-bikic])

3.3.0 (2024-12-12)

  • Deprecate top_level_group? method from TopLevelGroup mixin as all of its callers were intentionally removed from Rubocop/RSpec. ([@​corsonknowles])
  • Fix false positive for RSpec/EmptyMetadata for splat kwargs. ([@​pirj])

3.2.0 (2024-10-26)

  • Fix RSpec/VoidExpect to only operate inside an example block. ([@​corsonknowles])
  • Change RSpec/ContextWording cop to always report an offense when both Prefixes and AllowedPatterns are empty. ([@​ydah])
  • Add support for and and or compound matchers to RSpec/ChangeByZero cop. ([@​ydah])

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)

... (truncated)

Commits
  • 4b14015 Merge pull request #2043 from rubocop/release
  • 6dafd48 Release v3.5.0
  • 664e15f Enable pending cops
  • dac4256 Merge pull request #2025 from rubocop/use-node-groups
  • 876b415 Use node groups in node patterns to replace unions of types
  • 17640ad Merge pull request #2042 from koic/pluginfy_with_lint_roller
  • 5f09fdf Pluginfy RuboCop RSpec
  • d29fd64 Merge pull request #2039 from rubocop/fewer-inline-disabled-cops
  • 2edbf15 Loosen Metrics/MethodLength to 15
  • c8b14c1 Remove unnecessary RuboCop disables
  • 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 show <dependency name> 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code labels Apr 1, 2025
Updates the requirements on [rubocop-performance](https://github.com/rubocop/rubocop-performance), [rubocop](https://github.com/rubocop/rubocop) and [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) to permit the latest version.

Updates `rubocop-performance` from 1.10.2 to 1.25.0
- [Release notes](https://github.com/rubocop/rubocop-performance/releases)
- [Changelog](https://github.com/rubocop/rubocop-performance/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop-performance@v1.10.2...v1.25.0)

Updates `rubocop` from 0.93.1 to 1.75.1
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v0.93.1...v1.75.1)

Updates `rubocop-rspec` from 1.44.1 to 3.5.0
- [Release notes](https://github.com/rubocop/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop-rspec@v1.44.1...v3.5.0)

---
updated-dependencies:
- dependency-name: rubocop-performance
  dependency-type: direct:development
  update-type: version-update:semver-minor
- dependency-name: rubocop
  dependency-type: direct:development
  update-type: version-update:semver-major
- dependency-name: rubocop-rspec
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot-bundler-multi-c5f1ac1484 branch from 9940d57 to dd3973a Compare April 24, 2025 12:09
@qlty-cloud-legacy
Copy link

Code Climate has analyzed commit dd3973a and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (99% is the threshold).

This pull request will bring the total coverage in the repository to 99.5% (0.0% change).

View more on Code Climate.

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 ruby Pull requests that update ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants