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 rubocop from 0.39.0 to 0.49.0 #2626

Closed
wants to merge 2 commits into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 15, 2023

Bumps rubocop from 0.39.0 to 0.49.0.

Release notes

Sourced from rubocop's releases.

RuboCop 1.28 (a.k.a. The 10th Anniversary Edition)

New features

Bug fixes

  • #10528: Fix an infinite loop at autocorrect for Layout/CaseIndentation. (@​ydah)
  • #10537: Fix an incorrect auto-correct for Style/MultilineTernaryOperator when returning a multiline ternary operator expression with break, next, or method call. (@​koic)
  • #10529: Fix autocorrect for Style/SoleNestedConditional causes logical error when using a outer condition of method call by omitting parentheses for method arguments. (@​nobuyo)
  • #10530: Fix a false positive for Style/RedundantRegexpCharacterClass when using regexp character class with a character class containing multiple unicode code-points. (@​koic)
  • #10518: Fix a false positive for Style/DoubleNegation when inside returned conditional clauses with Ruby 2.7's pattern matching. (@​koic)
  • #10510: Fix an error for Style/SingleArgumentDig when using multiple dig in a method chain. (@​koic)
  • #10553: Fix crash with trailing tabs in heredocs for Layout/TrailingWhitespace. (@​dvandersluis)
  • #10488: Fix autocorrection for Layout/MultilineMethodCallIndentation breaks indentation for nesting of method calls. (@​nobuyo)
  • #10543: Fix incorrect code length calculation for few more patterns of hash folding asked. (@​nobuyo)
  • #10541: Fix an incorrect autocorrect for Style/SpecialGlobalVars when global variable as Perl name is used multiple times. (@​koic)
  • #10514: Fix an error for Lint/EmptyConditionalBody when missing second elsif body. (@​koic)
  • #10469: Fix code length calculation when kwargs written in single line. (@​nobuyo)

Changes

  • #10555: Deprecate IgnoredPatterns in favour of AllowedPatterns. (@​dvandersluis)
  • #10356: Add AllowConsecutiveConditionals option to Style/GuardClause and the option is false by default. (@​ydah)
  • #10524: Mark Style/RedundantInitialize as unsafe. (@​koic)
  • #10280: Add AllowComments option to Style/SymbolProc and the option is false by default. (@​ydah)
Changelog

Sourced from rubocop's changelog.

0.49.0 (2017-05-24)

New features

Changes

  • #4262: Add new MinSize configuration to Style/SymbolArray, consistent with the same configuration in Style/WordArray. ([@​scottmatthewman][])
  • #3400: Remove auto-correct support from Lint/Debugger. ([@​ilansh][])
  • #4278: Move all cops dealing with whitespace into a new department called Layout. ([@​jonas054][])
  • #4320: Update Rails/OutputSafety to disallow wrapping raw or html_safe with safe_join. ([@​klesse413][])
  • #4336: Store rubocop_cache in safer directories. ([@​jonas054][])
  • #4361: Use relative path for offense message in Lint/DuplicateMethods. ([@​pocke][])
  • #4385: Include .jb file by default. ([@​pocke][])

Bug fixes

  • #4265: Require a space before first argument of a method call in Style/SpaceBeforeFirstArg cop. ([@​cjlarose][])
  • #4237: Fix false positive in Lint/AmbiguousBlockAssociation cop for lambdas. ([@​smakagon][])
  • #4242: Add Capfile to the list of known Ruby filenames. ([@​bbatsov][])
  • #4240: Handle ||= in Rails/RelativeDateConstant. ([@​bbatsov][])
  • #4241: Prevent Rails/Blank and Rails/Present from breaking when there is no explicit receiver. ([@​rrosenblum][])
  • #4249: Handle multiple assignment in Rails/RelativeDateConstant. ([@​bbatsov][])
  • #4250: Improve a bit the Ruby code detection config. ([@​bbatsov][])
  • #4283: Fix Style/EmptyCaseCondition auto-correct bug - when first when branch includes comma-delimited alternatives. ([@​ilansh][])
  • #4268: Handle end-of-line comments when auto-correcting Style/EmptyLinesAroundAccessModifier. ([@​vergenzt][])
  • #4275: Prevent Style/MethodCallWithArgsParentheses from blowing up on yield. ([@​drenmi][])
  • #3969: Handle multiline method call alignment for arguments to methods. ([@​jonas054][])
  • #4304: Allow enabling whole departments when DisabledByDefault is true. ([@​jonas054][])
  • #4264: Prevent Rails/SaveBang from blowing up when using the assigned variable in a hash. ([@​drenmi][])
  • #4310: Treat paths containing invalid byte sequences as non-matches. ([@​mclark][])
  • #4063: Fix Rails/ReversibleMigration misdetection. ([@​gprado][])
  • #4339: Fix false positive in Security/Eval cop for multiline string literal. ([@​pocke][])
  • #4339: Fix false negative in Security/Eval cop for Binding#eval. ([@​pocke][])
  • #4327: Prevent Layout/SpaceInsidePercentLiteralDelimiters from registering offenses on execute-strings. ([@​drenmi][])
  • #4371: Prevent Style/MethodName from complaining about unary operator definitions. ([@​drenmi][])
  • #4366: Prevent Performance/RedundantMerge from blowing up on double splat arguments. ([@​drenmi][])

... (truncated)

Commits

Dependabot compatibility score

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 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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [rubocop](https://github.com/rubocop/rubocop) from 0.39.0 to 0.49.0.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v0.39.0...v0.49.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 15, 2023
@foglabs
Copy link
Contributor

foglabs commented Oct 28, 2024

not relevant for our deployment, and don't need to reupdate cops to get back to our current rubo config.

@foglabs foglabs closed this Oct 28, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 28, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/bundler/rubocop-0.49.0 branch October 28, 2024 21:24
@foglabs foglabs added the won't fix ✖️ Nothing to change here; explain with comment label Oct 28, 2024
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 won't fix ✖️ Nothing to change here; explain with comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant