Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump the dev-dependencies group across 1 directory with 3 updates #293

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 20, 2025

Bumps the dev-dependencies group with 2 updates in the / directory: rubocop and rubocop-rails.

Updates rubocop from 1.68.0 to 1.70.0

Release notes

Sourced from rubocop's releases.

RuboCop 1.70

New features

  • #13474: Add new Style/ItAssignment cop to detect local assignments to it inside blocks. ([@​dvandersluis][])
  • #11013: Add new Lint/SharedMutableDefault cop to alert on mutable Hash defaults. ([@​corsonknowles][])
  • #13612: Create new cop Lint/ConstantReassignment. ([@​lovro-bikic][])
  • #13628: Make LSP server support quick fix code action. ([@​koic][])
  • #13607: Support passing the target ruby version through an environment variable. ([@​elliottt][])
  • #13628: Add support for Ruby LSP as a built-in add-on. ([@​koic][])
  • #13284: Add new target_gem_version API to change behavior of a cop at runtime depending on which gem version is present. ([@​earlopain][])

Bug fixes

  • #13589: Fix Lint/NonAtomicFileOperation to detect offenses with fully qualified constants. ([@​viralpraxis][])
  • #13630: Fix CLI --format option to accept fully qualified formatter class names. ([@​viralpraxis][])
  • #13624: Don't show warnings from Lint/Syntax when a syntax error occurs. ([@​earlopain][])
  • #13605: Fix RuboCop::Cop::Util.to_string_literal to work correctly with frozen strings. ([@​viralpraxis][])
  • #12393: Fix false negatives for Lint/Void inside of non-modifier conditionals. ([@​GabeIsman][])
  • #13623: Fix false negatives for Style/MultipleComparison when setting AllowMethodComparison: false and comparing with simple method calls. ([@​koic][])
  • #13644: Fix a false positive for Layout/EmptyLinesAroundAccessModifier when an access modifier and an expression are on the same line. ([@​koic][])
  • #13645: Fix a false positive for Style/MethodCallWithArgsParentheses when setting EnforcedStyle: omit_parentheses and last argument is an endless range. ([@​earlopain][])
  • #13614: Fix false positives for Style/RaiseArgs with anonymous splat and triple dot forwarding. ([@​earlopain][])
  • #13591: Fix false positives for Lint/NestedMethodDefinition when defining a method on a constant or a method call. ([@​koic][])
  • #13594: Fix false positives for Style/MultipleComparison when using multiple safe navigation method calls. ([@​koic][])
  • #13654: Fix false positives for Style/RedundantInitialize when empty initialize method has arguments. ([@​marocchino][])
  • #13608: Fix crash when running rubocop -d on a config with a remote inherit_from that causes a duplicate setting warning. ([@​dvandersluis][])
  • #12430: Fix false negatives in Style/RedundantLineContinuation with multiple line continuations. ([@​dvandersluis][])
  • #13638: Fix false positive for Naming/BlockForwarding when method just returns the block argument. ([@​mvz][])
  • #13599: Fix incorrect autocorrect for Layout/HashAlignment when there is a multiline positional argument and Layout/ArgumentAlignment is configured with EnforcedStyle: with_fixed_indentation. ([@​dvandersluis][])
  • #13586: Fix regression in Layout/SpaceAroundOperators when different comparison operators were aligned with each other. ([@​dvandersluis][])
  • #13603: Fix Lint/LiteralInInterpolation cop error on invalid string literal. ([@​viralpraxis][])
  • #13582: Fix Lint/NonAtomicFileOperation cop error on non-constant receiver. ([@​viralpraxis][])
  • #13598: Fix Lint/Void cop error on if without body. ([@​viralpraxis][])
  • #13634: Fix Style/ClassAndModuleChildren cop error on compact enforced style and unindented body. ([@​viralpraxis][])
  • #13642: Fix Style/FloatDivision cop error if #to_f has implicit receiver. ([@​viralpraxis][])
  • #13517: Fixes Style/HashExcept to recognize safe navigation when ActiveSupportExtensionsEnabled config is enabled. ([@​lovro-bikic][])
  • #13585: Fix Style/HashSyntax cop error on implicit call method. ([@​viralpraxis][])
  • #13632: Fix Style/MissingElse cop error if Style/EmptyElse's EnforcedStyle is not both and if expression contains elsif. ([@​viralpraxis][])
  • #13659: Fix Style/MissingElse cop error if Style/EmptyElse's EnforcedStyle is not both and if expression contains multiple elsif. ([@​viralpraxis][])
  • #13596: Fix Style/RedundantCondition cop error on parentheses and modifier if in else. ([@​viralpraxis][])
  • #13616: Fix incorrect autocorrect for Style/RedundantRegexpArgument when the regex contains a single quote. ([@​mrzasa][])
  • #13619: Fix Style/YodaExpression cop error in case of suffix form of operator. ([@​viralpraxis][])
  • #13578: Update Layout/LineContinuationSpacing to ignore continuations inside a regexp or xstr. ([@​dvandersluis][])
  • #13601: Update Style/SuperArguments to handle super with a block or with a chained method with a block. ([@​dvandersluis][])
  • #13568: Fix NoMethodError in ConfigValidator when a Cop's config is not a Hash and raise ValidationError instead. ([@​amomchilov][])

Changes

... (truncated)

Changelog

Sourced from rubocop's changelog.

1.70.0 (2025-01-10)

New features

  • #13474: Add new Style/ItAssignment cop to detect local assignments to it inside blocks. ([@​dvandersluis][])
  • #11013: Add new Lint/SharedMutableDefault cop to alert on mutable Hash defaults. ([@​corsonknowles][])
  • #13612: Create new cop Lint/ConstantReassignment. ([@​lovro-bikic][])
  • #13628: Make LSP server support quick fix code action. ([@​koic][])
  • #13607: Support passing the target ruby version through an environment variable. ([@​elliottt][])
  • #13628: Add support for Ruby LSP as a built-in add-on. ([@​koic][])
  • #13284: Add new target_gem_version API to change behavior of a cop at runtime depending on which gem version is present. ([@​earlopain][])

Bug fixes

  • #13589: Fix Lint/NonAtomicFileOperation to detect offenses with fully qualified constants. ([@​viralpraxis][])
  • #13630: Fix CLI --format option to accept fully qualified formatter class names. ([@​viralpraxis][])
  • #13624: Don't show warnings from Lint/Syntax when a syntax error occurs. ([@​earlopain][])
  • #13605: Fix RuboCop::Cop::Util.to_string_literal to work correctly with frozen strings. ([@​viralpraxis][])
  • #12393: Fix false negatives for Lint/Void inside of non-modifier conditionals. ([@​GabeIsman][])
  • #13623: Fix false negatives for Style/MultipleComparison when setting AllowMethodComparison: false and comparing with simple method calls. ([@​koic][])
  • #13644: Fix a false positive for Layout/EmptyLinesAroundAccessModifier when an access modifier and an expression are on the same line. ([@​koic][])
  • #13645: Fix a false positive for Style/MethodCallWithArgsParentheses when setting EnforcedStyle: omit_parentheses and last argument is an endless range. ([@​earlopain][])
  • #13614: Fix false positives for Style/RaiseArgs with anonymous splat and triple dot forwarding. ([@​earlopain][])
  • #13591: Fix false positives for Lint/NestedMethodDefinition when defining a method on a constant or a method call. ([@​koic][])
  • #13594: Fix false positives for Style/MultipleComparison when using multiple safe navigation method calls. ([@​koic][])
  • #13654: Fix false positives for Style/RedundantInitialize when empty initialize method has arguments. ([@​marocchino][])
  • #13608: Fix crash when running rubocop -d on a config with a remote inherit_from that causes a duplicate setting warning. ([@​dvandersluis][])
  • #12430: Fix false negatives in Style/RedundantLineContinuation with multiple line continuations. ([@​dvandersluis][])
  • #13638: Fix false positive for Naming/BlockForwarding when method just returns the block argument. ([@​mvz][])
  • #13599: Fix incorrect autocorrect for Layout/HashAlignment when there is a multiline positional argument and Layout/ArgumentAlignment is configured with EnforcedStyle: with_fixed_indentation. ([@​dvandersluis][])
  • #13586: Fix regression in Layout/SpaceAroundOperators when different comparison operators were aligned with each other. ([@​dvandersluis][])
  • #13603: Fix Lint/LiteralInInterpolation cop error on invalid string literal. ([@​viralpraxis][])
  • #13582: Fix Lint/NonAtomicFileOperation cop error on non-constant receiver. ([@​viralpraxis][])
  • #13598: Fix Lint/Void cop error on if without body. ([@​viralpraxis][])
  • #13634: Fix Style/ClassAndModuleChildren cop error on compact enforced style and unindented body. ([@​viralpraxis][])
  • #13642: Fix Style/FloatDivision cop error if #to_f has implicit receiver. ([@​viralpraxis][])
  • #13517: Fixes Style/HashExcept to recognize safe navigation when ActiveSupportExtensionsEnabled config is enabled. ([@​lovro-bikic][])
  • #13585: Fix Style/HashSyntax cop error on implicit call method. ([@​viralpraxis][])
  • #13632: Fix Style/MissingElse cop error if Style/EmptyElse's EnforcedStyle is not both and if expression contains elsif. ([@​viralpraxis][])
  • #13659: Fix Style/MissingElse cop error if Style/EmptyElse's EnforcedStyle is not both and if expression contains multiple elsif. ([@​viralpraxis][])
  • #13596: Fix Style/RedundantCondition cop error on parentheses and modifier if in else. ([@​viralpraxis][])
  • #13616: Fix incorrect autocorrect for Style/RedundantRegexpArgument when the regex contains a single quote. ([@​mrzasa][])
  • #13619: Fix Style/YodaExpression cop error in case of suffix form of operator. ([@​viralpraxis][])
  • #13578: Update Layout/LineContinuationSpacing to ignore continuations inside a regexp or xstr. ([@​dvandersluis][])
  • #13601: Update Style/SuperArguments to handle super with a block or with a chained method with a block. ([@​dvandersluis][])
  • #13568: Fix NoMethodError in ConfigValidator when a Cop's config is not a Hash and raise ValidationError instead. ([@​amomchilov][])

Changes

... (truncated)

Commits
  • e2f2d5c Cut 1.70
  • 3994f94 Update Changelog
  • 3123800 Dont show parser warnings in Lint/Syntax
  • 9eaedd0 Add Lint/ConstantReassignment cop
  • 4981738 Fix to recognize safe navigation when config is enabled
  • 6f066b8 Fix build errors related to the RubyLSP add-on specs
  • 45cd66a [Fix #13601] Update Style/SuperArguments to handle super with a block or ...
  • 2bfe0f7 Update Style/SuperArguments to handle super with a block or with a chaine...
  • 5d2be60 Update Style/SuperArguments to handle super with a block
  • e3bcc67 Add range formatting method to the formatter add-on
  • Additional commits viewable in compare view

Updates rubocop-rails from 2.27.0 to 2.29.0

Release notes

Sourced from rubocop-rails's releases.

RuboCop Rails 2.29.0

New features

Bug fixes

  • #1409: Fix an error for Rails/ReversibleMigration when calling drop_table without any arguments. (@​earlopain)
  • #1397: Fix an incorrect autocorrect for Rails/TimeZone when Time.new has a string argument. (@​mterada1228)
  • #1406: Fix autocorrection for Rails/IndexBy and Rails/IndexWith when map { ... }.to_h is enclosed in another block. (@​franzliedke, @​eugeneius)
  • #1404: Update Rails/IndexBy and Rails/IndexWith to support numbered block parameters. (@​eugeneius)
  • #1405: Fix autocorrection for Rails/IndexWith when the value is a hash literal without braces. (@​koic, @​eugeneius)
  • #1414: Fix Rails/HttpPositionalArguments cop false positives with arguments forwarding. (@​viralpraxis)

Changes

  • #1410: Make registered cops aware of AllCops: MigratedSchemaVersion. (@​koic)

RuboCop Rails 2.28.0

New features

  • #1383: Introduce AllCops: MigratedSchemaVersion config. (@​koic)

Bug fixes

  • #1390: Fix an incorrect autocorrect for Rails/SelectMap when select has no receiver and method chains are used. (@​masato-bkn)
  • #1382: Fix false negatives for Rails/RedundantActiveRecordAllMethod when using all method in block. (@​masato-bkn)
  • #1397: Fix Rails/FilePath cop error on join method with implicit receiver. (@​viralpraxis)
  • #1398: Fix Rails/FilePath cop error in case of extra operations in Rails.root interpolation. (@​viralpraxis)
  • #1392: Fix Rails/FilePath cop error with rescued Rails.root. (@​viralpraxis)

Changes

  • #1388: Modify Rails/Pluck to ignore map/collect when used inside blocks to prevent potential N+1 queries. (@​masato-bkn)
Changelog

Sourced from rubocop-rails's changelog.

2.29.0 (2025-01-18)

New features

Bug fixes

  • #1409: Fix an error for Rails/ReversibleMigration when calling drop_table without any arguments. ([@​earlopain][])
  • #1397: Fix an incorrect autocorrect for Rails/TimeZone when Time.new has a string argument. ([@​mterada1228][])
  • #1406: Fix autocorrection for Rails/IndexBy and Rails/IndexWith when map { ... }.to_h is enclosed in another block. ([@​franzliedke][], [@​eugeneius][])
  • #1404: Update Rails/IndexBy and Rails/IndexWith to support numbered block parameters. ([@​eugeneius][])
  • #1405: Fix autocorrection for Rails/IndexWith when the value is a hash literal without braces. ([@​koic][], [@​eugeneius][])
  • #1414: Fix Rails/HttpPositionalArguments cop false positives with arguments forwarding. ([@​viralpraxis][])

Changes

  • #1410: Make registered cops aware of AllCops: MigratedSchemaVersion. ([@​koic][])

2.28.0 (2024-12-25)

New features

  • #1383: Introduce AllCops: MigratedSchemaVersion config. ([@​koic][])

Bug fixes

  • #1390: Fix an incorrect autocorrect for Rails/SelectMap when select has no receiver and method chains are used. ([@​masato-bkn][])
  • #1382: Fix false negatives for Rails/RedundantActiveRecordAllMethod when using all method in block. ([@​masato-bkn][])
  • #1397: Fix Rails/FilePath cop error on join method with implicit receiver. ([@​viralpraxis][])
  • #1398: Fix Rails/FilePath cop error in case of extra operations in Rails.root interpolation. ([@​viralpraxis][])
  • #1392: Fix Rails/FilePath cop error with rescued Rails.root. ([@​viralpraxis][])

Changes

  • #1388: Modify Rails/Pluck to ignore map/collect when used inside blocks to prevent potential N+1 queries. ([@​masato-bkn][])
Commits
  • 983f264 Cut 2.29.0
  • 72a9281 Update Changelog
  • 047dee3 Merge pull request #1414 from viralpraxis/fix-rails-http-positional-arguments...
  • 1c4c37e Merge pull request #1412 from koic/add_new_rails_strong_parameters_expect_cop
  • ffdcd44 Merge pull request #1411 from koic/make_registered_cops_aware_of_all_cops_mig...
  • d47284e Fix Rails/HttpPositionalArguments cop false positives with arguments forwar...
  • 2d6daa3 Add new Rails/StrongParametersExpect cop
  • 4e4b1e6 Add missing Include paths for Rails/MultipleRoutePaths
  • 4214608 [Fix #1410] Make registered cops aware of AllCops: MigratedSchemaVersion
  • b1fbd49 Merge pull request #1407 from koic/add_new_rails_multiple_route_paths_cop
  • Additional commits viewable in compare view

Updates standard from 1.42.1 to 1.44.0

Changelog

Sourced from standard's changelog.

1.44.0

1.43.0

Commits
  • ab2ee33 🍤 v1.44.0
  • b4daefb Merge pull request #689 from standardrb/updates-2025-01-14
  • c695a30 Updates and configures Rubocop 1.70
  • 92b86d4 Merge pull request #688 from standardrb/update-ruby-3.4
  • 3c1df47 Removes deprecation warnings while testing.
  • 63ecb63 Adds Ruby 3.4 to the list of tested rubies
  • 21ee520 📚 v1.69.0
  • b0e6915 Merge pull request #686 from standardrb/updates-2024-12-10
  • cd9325c Updates rubocop and standard-perf
  • cafe4f8 Merge pull request #684 from edwardloveall/el-nova
  • 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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> 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 <dependency name> 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 <dependency name> 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 <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the dev-dependencies group with 2 updates in the / directory: [rubocop](https://github.com/rubocop/rubocop) and [rubocop-rails](https://github.com/rubocop/rubocop-rails).


Updates `rubocop` from 1.68.0 to 1.70.0
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.68.0...v1.70.0)

Updates `rubocop-rails` from 2.27.0 to 2.29.0
- [Release notes](https://github.com/rubocop/rubocop-rails/releases)
- [Changelog](https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop-rails@v2.27.0...v2.29.0)

Updates `standard` from 1.42.1 to 1.44.0
- [Release notes](https://github.com/standardrb/standard/releases)
- [Changelog](https://github.com/standardrb/standard/blob/main/CHANGELOG.md)
- [Commits](standardrb/standard@v1.42.1...v1.44.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: rubocop-rails
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: standard
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Jan 20, 2025
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