sul-dlss / libsys-webforms

Rails applications for various Symphony reporting & updating tools.
1 stars 2 forks source link

Bump rubocop from 1.51.0 to 1.56.1 #1197

Open dependabot[bot] opened 11 months ago

dependabot[bot] commented 11 months ago

Bumps rubocop from 1.51.0 to 1.56.1.

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

1.55.1 (2023-07-31)

Bug fixes

  • #12068: Fix a false positive for Style/ReturnNilInPredicateMethodDefinition when the last method argument in method definition is nil. ([@​koic][])
  • #12082: Fix an error for Lint/UselessAssignment when a variable is assigned and unreferenced in for with multiple variables. ([@​koic][])
  • #12079: Fix an error for Style/MixinGrouping when mixin method has no arguments. ([@​koic][])
  • #11637: Correct Rubocop for private_class_method method documentation. ([@​bigzed][])
  • #12070: Fix false positive in Style/ArgumentsForwarding when receiver forwards args/kwargs. ([@​owst][])

... (truncated)

Commits
  • 24e7411 Cut 1.56.1
  • a3c111b Update Changelog
  • 53433c4 Fix a false negative for Layout/LeadingCommentSpace
  • ce93abd [Fix #12134] Fix a false positive for Style/MethodCallWithArgsParentheses
  • 6815290 Merge pull request #12133 from r7kamura/style-redundant-self-assignment-branc...
  • 75580b3 Fix Style/RedundantSelfAssignmentBranch to handle heredocs
  • dd29994 Use squiggly heredoc
  • 23dc4de Merge pull request #12127 from ItsEcholot/bugfix/required_ruby_version_gem_re...
  • 252af0d [Fix #12105] Adjust target ruby gem requirement matcher and version parsing t...
  • 2cb9dea Merge pull request #12121 from chulkilee/fix-warning
  • Additional commits viewable in compare view


Dependabot compatibility score

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 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.