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

Update rubocop requirement from ~> 0.40.0 to ~> 0.81.0 #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Nov 30, 2021

Updates the requirements on rubocop to permit the latest version.

Release notes

Sourced from rubocop's releases.

RuboCop 0.81

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)

Bug fixes

  • #7236: Mark Style/InverseMethods auto-correct as incompatible with Style/SymbolProc. ([@​drenmi][])
  • #7144: Fix Style/Documentation constant visibility declaration in namespace. ([@​AdrienSldy][])
  • #7779: Fix a false positive for Style/MultilineMethodCallIndentation when using Ruby 2.7's numbered parameter. (@​koic)
  • #7733: Fix rubocop-junit-formatter imcompatibility XML for JUnit formatter. (@​koic)
  • #7767: Skip array literals in Style/HashTransformValues and Style/HashTransformKeys. ([@​tejasbubane][])
  • #7791: Fix an error on auto-correction for Layout/BlockEndNewline when } of multiline block without processing is not on its own line. (@​koic)
  • #7778: Fix a false positive for Layout/EndAlignment when a non-whitespace is used before the end keyword. (@​koic)
  • #7806: Fix an error for Lint/ErbNewArguments cop when inspecting ActionView::Template::Handlers::ERB.new. (@​koic)
  • #7814: Fix a false positive for Migrate/DepartmentName cop when inspecting an unexpected disabled comment format. (@​koic)
  • #7728: Fix an error for Style/OneLineConditional when one of the branches contains a self keyword. (@​koic)
  • #7825: Fix crash for Layout/MultilineMethodCallIndentation with key access to hash. ([@​tejasbubane][])
  • #7831: Fix a false positive for Style/HashEachMethods when receiver is implicit. (@​koic)

Changes

... (truncated)

Changelog

Sourced from rubocop's changelog.

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

Bug fixes

  • #7236: Mark Style/InverseMethods auto-correct as incompatible with Style/SymbolProc. ([@​drenmi][])
  • #7144: Fix Style/Documentation constant visibility declaration in namespace. ([@​AdrienSldy][])
  • #7779: Fix a false positive for Style/MultilineMethodCallIndentation when using Ruby 2.7's numbered parameter. ([@​koic][])
  • #7733: Fix rubocop-junit-formatter incompatibility XML for JUnit formatter. ([@​koic][])
  • #7767: Skip array literals in Style/HashTransformValues and Style/HashTransformKeys. ([@​tejasbubane][])
  • #7791: Fix an error on auto-correction for Layout/BlockEndNewline when } of multiline block without processing is not on its own line. ([@​koic][])
  • #7778: Fix a false positive for Layout/EndAlignment when a non-whitespace is used before the end keyword. ([@​koic][])
  • #7806: Fix an error for Lint/ErbNewArguments cop when inspecting ActionView::Template::Handlers::ERB.new. ([@​koic][])
  • #7814: Fix a false positive for Migrate/DepartmentName cop when inspecting an unexpected disabled comment format. ([@​koic][])
  • #7728: Fix an error for Style/OneLineConditional when one of the branches contains a self keyword. ([@​koic][])
  • #7825: Fix crash for Layout/MultilineMethodCallIndentation with key access to hash. ([@​tejasbubane][])
  • #7831: Fix a false positive for Style/HashEachMethods when receiver is implicit. ([@​koic][])

Changes

0.80.1 (2020-02-29)

Bug fixes

... (truncated)

Commits
  • 34e501e Cut 0.81
  • 51de04e Fix Style/NestedParenthesizedCalls docs (#7822)
  • 85f21d9 [Fix #7831] Fix a false positive for Style/HashEachMethods
  • 40b8771 [Fix #7829] Fix an error for Style/OneLineConditional
  • fac6d99 Merge pull request #7828 from tejasbubane/fix-7825
  • 06309e1 [Fix #7825] Fix crash for Layout/MultilineMethodCallIndentation
  • 5d47450 Merge pull request #7729 from koic/fix_an_error_for_style_one_line_conditional
  • 95e75ca Merge pull request #7816 from koic/support_numblock_type
  • 500d0c5 Support Ruby 2.7's numbered parameter for Style/Lambda
  • 3405fe6 Support IgnoredMethod configuration in method complexity cops
  • 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)

Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v0.40.0...v0.81.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Nov 30, 2021
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.

0 participants