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 rubocop-gems group with 4 updates #802

Merged
merged 1 commit into from
Sep 9, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 9, 2023

Bumps the rubocop-gems group with 4 updates: rubocop, rubocop-rails, rubocop-rspec and erb_lint.

Updates rubocop from 1.51.0 to 1.56.2

Release notes

Sourced from rubocop's releases.

RuboCop 1.56.1

Bug fixes

  • #12136: Fix a false negative for Layout/LeadingCommentSpace when using #+ or #- as they are not RDoc comments. (@​koic)
  • #12113: Fix a false positive for Bundler/DuplicatedGroup when groups are duplicated but source, git, platforms, or path values are different. (@​koic)
  • #12134: Fix a false positive for Style/MethodCallWithArgsParentheses when parentheses are used in one-line in pattern matching. (@​koic)
  • #12111: Fix an error for Bundler/DuplicatedGroup group declaration has keyword option. (@​koic)
  • #12109: Fix an error for Style/ArgumentsForwarding cop when forwarding kwargs/block arg and an additional arg. (@​ydah)
  • #12117: Fix a false positive for Style/ArgumentsForwarding cop when not always forwarding block. (@​owst)
  • #12115: Fix an error for Style/Lambda when using numbered parameter with a multiline -> call. (@​koic)
  • #12124: Fix false positives for Style/RedundantParentheses when parentheses in super or yield call with multiline style argument. (@​koic)
  • #12120: Fix false positives for Style/SymbolArray when %i array containing unescaped [, ], (, or ). (@​koic)
  • #12133: Fix Style/RedundantSelfAssignmentBranch to handle heredocs. (@​r7kamura)
  • #12105: Fix target ruby Gem::Requirement matcher and version parsing to support multiple version constraints. (@​ItsEcholot)

RuboCop 1.56

New features

Bug fixes

  • #12106: Fix a false negative for Style/RedundantReturn when returning value with guard clause and return is used. (@​koic)
  • #12095: Fix a false positive for Style/Alias when EncforcedStyle: prefer_alias and using alias with interpolated symbol argument. (@​koic)
  • #12098: Fix a false positive for Style/ClassEqualityComparison when comparing interpolated string class name for equality. (@​koic)
  • #12102: Fix an error for Style/LambdaCall when using nested lambda call x.().(). (@​koic)
  • #12099: Fix an incorrect autocorrect for Style/Alias when EncforcedStyle: prefer_alias_method and using alias with interpolated symbol argument. (@​koic)
  • #12085: Fix an error for Lint/SuppressedException when AllowNil: true is set and endless method definition is used. (@​koic)
  • #12087: Fix false positives for Style/ArgumentsForwarding with additional args/kwargs in def/send nodes. (@​owst)
  • #12071: Fix Style/SymbolArray false positives when using square brackets or interpolation in a symbol literal in a percent style array. (@​jasondoc3)
  • #12061: Support regex in StringLiteralsInInterpolation. (@​jonas054)
  • #12091: With --fail-level A ignore non-correctable offenses at :info severity. (@​naveg)

Changes

  • #12094: Add base64 gem to runtime dependency to suppress Ruby 3.3's warning. (@​koic)

... (truncated)

Changelog

Sourced from rubocop's changelog.

1.56.2 (2023-08-29)

Bug fixes

  • #12138: Fix a false positive for Layout/LineContinuationLeadingSpace when a backslash is part of a multiline string literal. ([@​ymap][])
  • #12155: Fix false positive for Layout/RedundantLineBreak when using a modified singleton method definition. ([@​koic][])
  • #12143: Fix a false positive for Lint/ToEnumArguments when using anonymous keyword arguments forwarding. ([@​koic][])
  • #12148: Fix an incorrect autocorrect for Lint/NonAtomicFileOperation when using FileUtils.remove_dir, FileUtils.remove_entry, or FileUtils.remove_entry_secure. ([@​koic][])
  • #12141: Fix false positive for Style/ArgumentsForwarding when method def includes additional kwargs. ([@​owst][])
  • #12154: Fix incorrect diagnosticProvider value of LSP. ([@​koic][])

1.56.1 (2023-08-21)

Bug fixes

  • #12136: Fix a false negative for Layout/LeadingCommentSpace when using #+ or #- as they are not RDoc comments. ([@​koic][])
  • #12113: Fix a false positive for Bundler/DuplicatedGroup when groups are duplicated but source, git, platforms, or path values are different. ([@​koic][])
  • #12134: Fix a false positive for Style/MethodCallWithArgsParentheses when parentheses are used in one-line in pattern matching. ([@​koic][])
  • #12111: Fix an error for Bundler/DuplicatedGroup group declaration has keyword option. ([@​koic][])
  • #12109: Fix an error for Style/ArgumentsForwarding cop when forwarding kwargs/block arg and an additional arg. ([@​ydah][])
  • #12117: Fix a false positive for Style/ArgumentsForwarding cop when not always forwarding block. ([@​owst][])
  • #12115: Fix an error for Style/Lambda when using numbered parameter with a multiline -> call. ([@​koic][])
  • #12124: Fix false positives for Style/RedundantParentheses when parentheses in super or yield call with multiline style argument. ([@​koic][])
  • #12120: Fix false positives for Style/SymbolArray when %i array containing unescaped [, ], (, or ). ([@​koic][])
  • #12133: Fix Style/RedundantSelfAssignmentBranch to handle heredocs. ([@​r7kamura][])
  • #12105: Fix target ruby Gem::Requirement matcher and version parsing to support multiple version constraints. ([@​ItsEcholot][])

1.56.0 (2023-08-09)

New features

  • #12074: Add new Bundler/DuplicatedGroup cop. ([@​OwlKing][])
  • #12078: Make LSP server support rubocop.formatAutocorrectsAll execute command. ([@​koic][])

Bug fixes

  • #12106: Fix a false negative for Style/RedundantReturn when returning value with guard clause and return is used. ([@​koic][])
  • #12095: Fix a false positive for Style/Alias when EncforcedStyle: prefer_alias and using alias with interpolated symbol argument. ([@​koic][])
  • #12098: Fix a false positive for Style/ClassEqualityComparison when comparing interpolated string class name for equality. ([@​koic][])
  • #12102: Fix an error for Style/LambdaCall when using nested lambda call x.().(). ([@​koic][])
  • #12099: Fix an incorrect autocorrect for Style/Alias when EncforcedStyle: prefer_alias_method and using alias with interpolated symbol argument. ([@​koic][])
  • #12085: Fix an error for Lint/SuppressedException when AllowNil: true is set and endless method definition is used. ([@​koic][])
  • #12087: Fix false positives for Style/ArgumentsForwarding with additional args/kwargs in def/send nodes. ([@​owst][])
  • #12071: Fix Style/SymbolArray false positives when using square brackets or interpolation in a symbol literal in a percent style array. ([@​jasondoc3][])
  • #12061: Support regex in StringLiteralsInInterpolation. ([@​jonas054][])
  • #12091: With --fail-level A ignore non-correctable offenses at :info severity. ([@​naveg][])

Changes

  • #12094: Add base64 gem to runtime dependency to suppress Ruby 3.3's warning. ([@​koic][])

... (truncated)

Commits
  • b85e080 Cut 1.56.2
  • 7a35bde Update Changelog
  • 2774426 Merge pull request #12161 from ymap/fix_duplicate_word_typos
  • 2d741ee Fix duplicate word typos
  • c4cb471 [Fix #12154] Fix incorrect diagnosticProvider value of LSP
  • 6ac9ece [Docs] Add Emacs (LSP Mode) to the LSP doc
  • 0e1d4da Merge pull request #12155 from koic/fix_a_false_positive_for_layout_redundant...
  • 4f46bc4 Merge pull request #12157 from kyoshidajp/update_doc_create_a_new_cop
  • 8829d33 Update document in create a new cop
  • 90cd056 Fix a false positive for Layout/RedundantLineBreak
  • Additional commits viewable in compare view

Updates rubocop-rails from 2.19.1 to 2.20.2

Release notes

Sourced from rubocop-rails's releases.

RuboCop Rails 2.20.2

Bug fixes

  • #1028: Fix an error for Rails/UniqueValidationWithoutIndex when the presence: true option is used alone for the validates method. (@​koic)

RuboCop Rails 2.20.1

Bug fixes

  • #1021: Fix an error for Rails/UniqueValidationWithoutIndex. (@​ydah)

RuboCop Rails 2.20.0

New features

Bug fixes

  • #1005: Flag break in with_lock for Rails/TransactionExitStatement. (@​splattael)
  • #997: Fix to Allow NotNullColumn to work with method calls and variables. (@​fidalgo)
  • #989: Fix Rails/FilePath to detect offenses from complex string interpolation. (@​r7kamura)
  • #1010: Fix Rails/ThreeStateBooleanColumn for dynamic tables/columns. (@​fatkodima)
  • #1008: Fix UniqueValidationWithoutIndex to not detect offenses when a validation specifies uniqueness: false. (@​samrjenkins)

Changes

  • #1011: Add *_create_active_storage_variant_records.active_storage.rb to Rails/CreateTableWithTimestamps exclude file list. (@​tka5)
  • #995: Check for or method in Rails/FindEach cop. (@​masato-bkn)
  • #1019: Change db migration file pattern so that it supports multiple db. (@​r7kamura)
  • #986: (Breaking) Drop Ruby 2.6 support. (@​koic)
  • #992: Exclude app/assets/**/* by default. (@​r7kamura)
  • #1014: Make Lint/RedundantSafeNavigation aware of presence and present? methods. (@​koic)
  • #1007: Support flash.now for Rails/I18nLocaleTexts. (@​fatkodima)
Changelog

Sourced from rubocop-rails's changelog.

2.20.2 (2023-06-20)

Bug fixes

  • #1028: Fix an error for Rails/UniqueValidationWithoutIndex when the presence: true option is used alone for the validates method. ([@​koic][])

2.20.1 (2023-06-19)

Bug fixes

  • #1021: Fix an error for Rails/UniqueValidationWithoutIndex. ([@​ydah][])

2.20.0 (2023-06-18)

New features

Bug fixes

  • #1005: Flag break in with_lock for Rails/TransactionExitStatement. ([@​splattael][])
  • #997: Fix to Allow NotNullColumn to work with method calls and variables. ([@​fidalgo][])
  • #989: Fix Rails/FilePath to detect offenses from complex string interpolation. ([@​r7kamura][])
  • #1010: Fix Rails/ThreeStateBooleanColumn for dynamic tables/columns. ([@​fatkodima][])
  • #1008: Fix UniqueValidationWithoutIndex to not detect offenses when a validation specifies uniqueness: false. ([@​samrjenkins][])

Changes

  • #1011: Add *_create_active_storage_variant_records.active_storage.rb to Rails/CreateTableWithTimestamps exclude file list. ([@​tka5][])
  • #995: Check for or method in Rails/FindEach cop. ([@​masato-bkn][])
  • #1019: Change db migration file pattern so that it supports multiple db. ([@​r7kamura][])
  • #986: (Breaking) Drop Ruby 2.6 support. ([@​koic][])
  • #992: Exclude app/assets/**/* by default. ([@​r7kamura][])
  • #1014: Make Lint/RedundantSafeNavigation aware of presence and present? methods. ([@​koic][])
  • #1007: Support flash.now for Rails/I18nLocaleTexts. ([@​fatkodima][])
Commits
  • 1e29b29 Cut 2.20.2
  • 3cb9749 Update Changelog
  • 5167b41 Merge pull request #1028 from koic/fix_an_error_for_rails_unique_validation_w...
  • cf8f9bf Suppress a new Lint/MixedCaseRange offense
  • 26dce91 Fix an error for Rails/UniqueValidationWithoutIndex
  • 169427d Switch back docs version to master
  • 95a95c9 Cut 2.20.1
  • 3291d77 Update Changelog
  • 05ad15b Merge pull request #1021 from ydah/fix_an_error_for_rails_unique_validation_w...
  • cdaef41 Fix an error for Rails/UniqueValidationWithoutIndex
  • Additional commits viewable in compare view

Updates rubocop-rspec from 2.22.0 to 2.24.0

Release notes

Sourced from rubocop-rspec's releases.

RuboCop RSpec v2.24.0

  • Split RSpec/FilePath into RSpec/SpecFilePathSuffix and RSpec/SpecFilePathFormat. RSpec/FilePath cop is enabled by default, the two new cops are pending and need to be enabled explicitly. (@​ydah)
  • Add new RSpec/Eq cop. (@​ydah)
  • Add RSpec/MetadataStyle and RSpec/EmptyMetadata cops. (@​r7kamura)
  • Add support RSpec/Rails/HttpStatus when have_http_status with string argument. (@​ydah)
  • Fix an infinite loop error when RSpec/ExcessiveDocstringSpacing finds a description with non-ASCII leading/trailing whitespace. (@​bcgraham)
  • Fix an incorrect autocorrect for RSpec/ReceiveMessages when return values declared between stubs. (@​marocchino)
  • Fix a false positive RSpec/Focus when chained method call and inside define method. (@​ydah)

RuboCop RSpec v2.23.2

  • Fix an incorrect autocorrect for RSpec/ReceiveMessages when method is only non-word character. (@​marocchino)
  • Fix a false positive for RSpec/ReceiveMessages when return with splat. (@​marocchino)

RuboCop RSpec v2.23.1

  • Mark to Safe: false for RSpec/Rails/NegationBeValid cop. (@​ydah)
  • Declare autocorrect as unsafe for RSpec/ReceiveMessages. (@​bquorning)

RuboCop RSpec v2.23.0

  • Add new RSpec/Rails/NegationBeValid cop. (@​ydah)
  • Fix a false negative for RSpec/ExcessiveDocstringSpacing when finds description with em space. (@​ydah)
  • Fix a false positive for RSpec/EmptyExampleGroup when example group with examples defined in if branch inside iterator. (@​ydah)
  • Update the message output of RSpec/ExpectActual to include the word 'value'. (@​corydiamand)
  • Fix a false negative for RSpec/Pending when it without body. (@​ydah)
  • Add new RSpec/ReceiveMessages cop. (@​ydah)
  • Change default.yml path to use **/spec/* instead of spec/*. (@​ydah)
  • Add AllowedIdentifiers and AllowedPatterns configuration option to RSpec/IndexedLet. (@​ydah)
  • Fix RSpec/NamedSubject when block has no body. (@​splattael)
  • Fix RSpec/LetBeforeExamples autocorrect incompatible with RSpec/ScatteredLet autocorrect. (@​ydah)
  • Update RSpec/Focus to support shared_context and shared_examples (@​tmaier)
Changelog

Sourced from rubocop-rspec's changelog.

2.24.0 (2023-09-08)

  • Split RSpec/FilePath into RSpec/SpecFilePathSuffix and RSpec/SpecFilePathFormat. RSpec/FilePath cop is enabled by default, the two new cops are pending and need to be enabled explicitly. ([@​ydah])
  • Add new RSpec/Eq cop. ([@​ydah])
  • Add RSpec/MetadataStyle and RSpec/EmptyMetadata cops. ([@​r7kamura])
  • Add support RSpec/Rails/HttpStatus when have_http_status with string argument. ([@​ydah])
  • Fix an infinite loop error when RSpec/ExcessiveDocstringSpacing finds a description with non-ASCII leading/trailing whitespace. ([@​bcgraham])
  • Fix an incorrect autocorrect for RSpec/ReceiveMessages when return values declared between stubs. ([@​marocchino])
  • Fix a false positive RSpec/Focus when chained method call and inside define method. ([@​ydah])

2.23.2 (2023-08-09)

  • Fix an incorrect autocorrect for RSpec/ReceiveMessages when method is only non-word character. ([@​marocchino])
  • Fix a false positive for RSpec/ReceiveMessages when return with splat. ([@​marocchino])

2.23.1 (2023-08-07)

  • Mark to Safe: false for RSpec/Rails/NegationBeValid cop. ([@​ydah])
  • Declare autocorrect as unsafe for RSpec/ReceiveMessages. ([@​bquorning])

2.23.0 (2023-07-30)

  • Add new RSpec/Rails/NegationBeValid cop. ([@​ydah])
  • Fix a false negative for RSpec/ExcessiveDocstringSpacing when finds description with em space. ([@​ydah])
  • Fix a false positive for RSpec/EmptyExampleGroup when example group with examples defined in if branch inside iterator. ([@​ydah])
  • Update the message output of RSpec/ExpectActual to include the word 'value'. ([@​corydiamand])
  • Fix a false negative for RSpec/Pending when it without body. ([@​ydah])
  • Add new RSpec/ReceiveMessages cop. ([@​ydah])
  • Change default.yml path to use **/spec/* instead of spec/*. ([@​ydah])
  • Add AllowedIdentifiers and AllowedPatterns configuration option to RSpec/IndexedLet. ([@​ydah])
  • Fix RSpec/NamedSubject when block has no body. ([@​splattael])
  • Fix RSpec/LetBeforeExamples autocorrect incompatible with RSpec/ScatteredLet autocorrect. ([@​ydah])
  • Update RSpec/Focus to support shared_context and shared_examples ([@​tmaier])
Commits
  • 7488573 Merge pull request #1708 from rubocop/release
  • 9d219df Bump version to v2.24.0
  • 97269bc Merge pull request #1497 from r7kamura/feature/metadata-style
  • 54d7b8e Add RSpec/MetadataStyle and RSpec/EmptyMetadata cops
  • 9fc5ca4 Merge pull request #1707 from rubocop/dependabot/github_actions/actions/check...
  • abb6c80 Bump actions/checkout from 3 to 4
  • 041b1e6 Merge pull request #1706 from rubocop/clarify-eq-cop-documentation
  • 60c0644 Docs: Avoid confusion with be_truthy, etc.
  • 86a1f33 Merge pull request #1704 from rubocop/fix/398
  • b4c93e5 Fix a false positive RSpec/Focus when chained method call and inside define...
  • Additional commits viewable in compare view

Updates erb_lint from 0.4.0 to 0.5.0

Release notes

Sourced from erb_lint's releases.

0.5.0

What's Changed

New Contributors

Full Changelog: Shopify/erb_lint@v0.4.0...v0.5.0

Commits
  • e450ab9 v0.5.0
  • 5d18947 Don't repeat global excludes in linter config (#325)
  • 38a143d Bump activesupport from 7.0.4.3 to 7.0.7.2 (#329)
  • 9e53328 Fix section anchors in README (#327)
  • aacc562 Merge pull request #323 from Shopify/dev-ruby-version
  • 31a51d1 Bump development Ruby version
  • b8b1b86 Merge pull request #321 from mikoto2000/add-junit-reporter
  • 6f06dc1 Merge pull request #285 from mvz/clarify-string-list
  • 9ef15e2 Updated failure tag's text content in junit reporter.
  • b0f68a9 Make HardCodedString linter ignore × (#284)
  • 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

@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Sep 9, 2023
@javierjulio javierjulio self-assigned this Sep 9, 2023
@javierjulio javierjulio self-requested a review September 9, 2023 02:36
Bumps the rubocop-gems group with 4 updates: [rubocop](https://github.com/rubocop/rubocop), [rubocop-rails](https://github.com/rubocop/rubocop-rails), [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) and [erb_lint](https://github.com/Shopify/erb-lint).


Updates `rubocop` from 1.51.0 to 1.56.2
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.51.0...v1.56.2)

Updates `rubocop-rails` from 2.19.1 to 2.20.2
- [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.19.1...v2.20.2)

Updates `rubocop-rspec` from 2.22.0 to 2.24.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@v2.22.0...v2.24.0)

Updates `erb_lint` from 0.4.0 to 0.5.0
- [Release notes](https://github.com/Shopify/erb-lint/releases)
- [Commits](Shopify/erb_lint@v0.4.0...v0.5.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: rubocop-gems
- dependency-name: rubocop-rails
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: rubocop-gems
- dependency-name: rubocop-rspec
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: rubocop-gems
- dependency-name: erb_lint
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: rubocop-gems
...

Signed-off-by: dependabot[bot] <[email protected]>
@javierjulio javierjulio force-pushed the dependabot/bundler/rubocop-gems-b9ca15aa1b branch from d68ede5 to 0c1258d Compare September 9, 2023 02:37
@javierjulio javierjulio merged commit 1115f53 into main Sep 9, 2023
1 check passed
@javierjulio javierjulio deleted the dependabot/bundler/rubocop-gems-b9ca15aa1b branch September 9, 2023 02:39
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.

1 participant