altmetric / embiggen

A Ruby library to expand shortened URLs
https://rubygems.org/gems/embiggen
MIT License
124 stars 6 forks source link

Bump rubocop from 0.30.0 to 0.48.1 #40

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 2 years ago

Bumps rubocop from 0.30.0 to 0.48.1.

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.48.1 (2017-04-03)

Changes

  • #4219: Add a link to style guide for Style/IndentationConsistency cop. ([@​pocke][])
  • #4168: Removed -n option. ([@​sadovnik][])
  • #4039: Change Style/PercentLiteralDelimiters default configuration to match Style Guide update. ([@​drenmi][])
  • #4235: Improved copy of offense message in Lint/AmbiguousBlockAssociation cop. ([@​smakagon][])

Bug fixes

  • #4171: Prevent Rails/Blank from breaking when RHS of or is a naked falsiness check. ([@​drenmi][])
  • #4189: Make Lint/AmbiguousBlockAssociation aware of lambdas passed as arguments. ([@​drenmi][])
  • #4179: Prevent Rails/Blank from breaking when LHS of or is a naked falsiness check. ([@​rrosenblum][])
  • #4172: Fix false positives in Style/MixinGrouping cop. ([@​drenmi][])
  • #4185: Make Lint/NestedMethodDefinition aware of #*_exec class of methods. ([@​drenmi][])
  • #4197: Fix false positive in Style/RedundantSelf cop with parallel assignment. ([@​drenmi][])
  • #4199: Fix incorrect auto correction in Style/SymbolArray and Style/WordArray cop. ([@​pocke][])
  • #4218: Make Lint/NestedMethodDefinition aware of class shovel scope. ([@​drenmi][])
  • #4198: Make Lint/AmbguousBlockAssociation aware of operator methods. ([@​drenmi][])
  • #4152: Make Style/MethodCallWithArgsParentheses not require parens on setter methods. ([@​drenmi][])
  • #4226: Show in --help output that --stdin takes a file name argument. ([@​jonas054][])
  • #4217: Fix false positive in Rails/FilePath cop with non string argument. ([@​soutaro][])
  • #4106: Make Style/TernaryParentheses unsafe auto-correct detector aware of literals and constants. ([@​drenmi][])
  • #4228: Fix false positive in Lint/AmbiguousBlockAssociation cop. ([@​smakagon][])
  • #4234: Fix false positive in Rails/RelativeDate for lambdas and procs. ([@​smakagon][])

0.48.0 (2017-03-26)

New features

  • #4107: New TargetRailsVersion configuration parameter can be used to specify which version of Rails the inspected code is intended to run on. ([@​maxbeizer][])
  • #4104: Add prefix and postfix styles to Style/NegatedIf. ([@​brandonweiss][])
  • #4083: Add new configuration NumberOfEmptyLines for Style/EmptyLineBetweenDefs. ([@​dorian][])
  • #4045: Add new configuration Strict for Style/NumericLiteral to make the change to this cop in 0.47.0 configurable. ([@​iGEL][])
  • #4005: Add new AllCops/EnabledByDefault option. ([@​betesh][])
  • #3893: Add a new configuration, IncludeActiveSupportAliases, to Performance/DoublStartEndWith. This configuration will check for ActiveSupport's starts_with? and ends_with?. ([@​rrosenblum][])
  • #3889: Add new Style/EmptyLineAfterMagicComment cop. ([@​backus][])
  • #3800: Make Style/EndOfLine configurable with lf, crlf, and native (default) styles. ([@​jonas054][])
  • #3936: Add new Style/MixinGrouping cop. ([@​drenmi][])
  • #4003: Add new Rails/RelativeDateConstant cop. ([@​sinsoku][])
  • #3984: Add new Style/EmptyLinesAroundBeginBody cop. ([@​pocke][])
  • #3995: Add new Style/EmptyLinesAroundExceptionHandlingKeywords cop. ([@​pocke][])
  • #4019: Make configurable Style/MultilineMemoization cop. ([@​pocke][])
  • #4018: Add auto-correct Lint/EmptyEnsure cop. ([@​pocke][])
  • #4028: Add new Style/IndentHeredoc cop. ([@​pocke][])
  • #3931: Add new Lint/AmbiguousBlockAssociation cop. ([@​smakagon][])
  • Add new Style/InverseMethods cop. ([@​rrosenblum][])
  • #4038: Allow default key in the Style/PercentLiteralDelimiters cop config to set all preferred delimiters. ([@​kddeisz][])
  • Add IgnoreMacros option to Style/MethodCallWithArgsParentheses. ([@​drenmi][])

... (truncated)

Commits
  • 33cda49 Cut RuboCop 0.48.1
  • 2dc72ae Improve a bit the code style in Rails/RelativeDateConstant
  • 212f68b [Fix #4196] Handle properly lambdas and procs in Rails/RelativeDateConstant (...
  • 67ca736 [Fix #4181] Improve the message of the Lint/AmbiguousBlockAssociation cop (#4...
  • 6414db1 [Fix #4227] Address an AmbiguousBlockAssociation false positive (#4228)
  • 022e732 [Fix #4039] Change Style/PercentLiteralDelimiters default configuration to ...
  • ef729df Allow visibility scoped node matchers
  • ef9607c [Fix #4106] Make Style/TernaryParentheses unsafe autocorrect detector smarter
  • aa05c64 Fix Rails/FilePath join argument misdetection
  • 47f8671 Declare --stdin with FILE argument for better help text
  • Additional commits viewable in compare view


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 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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/altmetric/embiggen/network/alerts).
dependabot[bot] commented 1 year ago

Superseded by #41.