starburstgem / starburst

In-app announcements to users in your Rails app
MIT License
257 stars 29 forks source link

Update rubocop requirement from 0.76.0 to 0.82.0 #49

Closed dependabot-preview[bot] closed 4 years ago

dependabot-preview[bot] commented 4 years ago

Updates the requirements on rubocop to permit the latest version.

Release notes

Sourced from rubocop's releases.

RuboCop 0.82

New features

Bug fixes

  • #7871: Fix an auto-correction bug in Lint/BooleanSymbol. (@knu)
  • #7842: Fix a false positive for Lint/RaiseException when raising Exception with explicit namespace. (@koic)
  • #7834: Fix Lint/UriRegexp to register offense with array arguments. (@tejasbubane)
  • #7841: Fix an error for Style/TrailingCommaInBlockArgs when lambda literal (->) has multiple arguments. (@koic)
  • #7842: Fix a false positive for Lint/RaiseException when Exception without cbase specified under the namespace Gem by adding AllowedImplicitNamespaces option. (@koic)
  • Style/IfUnlessModifier does not infinite-loop when autocorrecting long lines which use if/unless modifiers and have multiple statements separated by semicolons. (@alexdowad)
  • rubocop-hq/rubocop-rails#127: Use ConfigLoader.default_configuration for the default config. (@hanachin)

Changes

  • (Breaking) Renamed Layout/Tab cop to Layout/IndentationStyle. (@DracoAter)
  • #7869: (Breaking) Drop support for Ruby 2.3. (@koic)
Changelog

Sourced from rubocop's changelog.

0.82.0 (2020-04-16)

New features

  • #7867: Add support for tabs in indentation. ([@DracoAter][])
  • #7863: Corrector now accepts nodes in addition to ranges. ([@marcandre][])
  • #7862: Corrector now has a wrap method. ([@marcandre][])
  • #7850: Make it possible to enable/disable pending cops. ([@koic][])
  • #7861: Make it to allow Style/CaseEquality when the receiver is a constant. ([@rafaelfranca][])
  • #7851: Add a new Style/ExponentialNotation cop. ([@tdeo][])
  • #7384: Add new Style/DisableCopsWithinSourceCodeDirective cop. ([@egze][])
  • #7826: Add new Layout/SpaceAroundMethodCallOperator cop. ([@saurabhmaurya15][])

Bug fixes

  • #7871: Fix an auto-correction bug in Lint/BooleanSymbol. ([@knu][])
  • #7842: Fix a false positive for Lint/RaiseException when raising Exception with explicit namespace. ([@koic][])
  • #7834: Fix Lint/UriRegexp to register offense with array arguments. ([@tejasbubane][])
  • #7841: Fix an error for Style/TrailingCommaInBlockArgs when lambda literal (->) has multiple arguments. ([@koic][])
  • #7842: Fix a false positive for Lint/RaiseException when Exception without cbase specified under the namespace Gem by adding AllowedImplicitNamespaces option. ([@koic][])
  • Style/IfUnlessModifier does not infinite-loop when autocorrecting long lines which use if/unless modifiers and have multiple statements separated by semicolons. ([@alexdowad][])
  • rubocop-hq/rubocop-rails#127: Use ConfigLoader.default_configuration for the default config. ([@hanachin][])

Changes

  • (Breaking) Renamed Layout/Tab cop to Layout/IndentationStyle. ([@DracoAter][])
  • #7869: (Breaking) Drop support for Ruby 2.3. ([@koic][])

0.81.0 (2020-04-01)

New features

  • #7299: Add new Lint/RaiseException cop. ([@denys281][])
  • #7793: Prefer include? over member? in Style/CollectionMethods. ([@dmolesUC][])
  • #7654: Support with_fixed_indentation option for Layout/ArrayAlignment cop. ([@nikitasakov][])
  • #7783: Support Ruby 2.7's numbered parameter for Style/RedundantSort. ([@koic][])
  • #7795: Make Layout/EmptyLineAfterGuardClause aware of case where and or or is used before keyword that break control (e.g. and return). ([@koic][])
  • #7786: Support Ruby 2.7's pattern match for Layout/ElseAlignment cop. ([@koic][])
  • #7784: Support Ruby 2.7's numbered parameter for Lint/SafeNavigationChain. ([@koic][])
  • #7331: Add forbidden option to Style/ModuleFunction cop. ([@weh][])
  • #7699: Add new Lint/StructNewOverride cop. ([@ybiquitous][])
  • #7637: Add new Style/TrailingCommaInBlockArgs cop. ([@pawptart][])
  • #7809: Add auto-correction for Style/EndBlock cop. ([@tejasbubane][])
  • #7739: Add IgnoreNotImplementedMethods configuration to Lint/UnusedMethodArgument. ([@tejasbubane][])
  • #7740: Add AllowModifiersOnSymbols configuration to Style/AccessModifierDeclarations. ([@tejasbubane][])
  • #7812: Add auto-correction for Lint/BooleanSymbol cop. ([@tejasbubane][])
  • #7823: Add IgnoredMethods configuration in Metrics/AbcSize, Metrics/CyclomaticComplexity, and Metrics/PerceivedComplexity cops. ([@drenmi][])
  • #7816: Support Ruby 2.7's numbered parameter for Style/Lambda. ([@koic][])
  • #7829: Fix an error for Style/OneLineConditional when one of the branches contains next keyword. ([@koic][])
... (truncated)
Commits
  • eb3d358 Cut 0.82.0
  • 960e4ec Fix a build error
  • 532b681 Use ConfigLoader.default_configuration for default (#7632)
  • fc24294 Fix a false positive for Layout/SpaceAroundMethodCallOperator
  • b54bb91 Avoid infinite loop when autocorrecting with Style/IfUnlessModifier
  • 940cec0 Fix the changelog
  • 6b9510d Add support for tabs in indentation (#7867)
  • 85ecd05 Add spec for warning messages when cache location is invalid
  • e22c2e2 Merge pull request #7875 from koic/enable_new_cops_for_rubocop_development
  • 3aac880 Enable NewCops for RuboCop development
  • 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 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 - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)