resque-scheduler
resque-scheduler copied to clipboard
Update rubocop requirement from ~> 0.40.0 to ~> 0.81.0
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/RaiseExceptioncop. (@denys281)- #7793: Prefer
include?overmember?inStyle/CollectionMethods. (@dmolesUC)- #7654: Support
with_fixed_indentationoption forLayout/ArrayAlignmentcop. (@nikitasakov)- #7783: Support Ruby 2.7's numbered parameter for
Style/RedundantSort. (@koic)- #7795: Make
Layout/EmptyLineAfterGuardClauseaware of case whereandororis used before keyword that break control (e.g.and return). (@koic)- #7786: Support Ruby 2.7's pattern match for
Layout/ElseAlignmentcop. (@koic)- #7784: Support Ruby 2.7's numbered parameter for
Lint/SafeNavigationChain. (@koic)- #7331: Add
forbiddenoption toStyle/ModuleFunctioncop. (@weh)- #7699: Add new
Lint/StructNewOverridecop. (@ybiquitous)- #7637: Add new
Style/TrailingCommaInBlockArgscop. (@pawptart)- #7809: Add auto-correction for
Style/EndBlockcop. ([@tejasbubane][])- #7739: Add
IgnoreNotImplementedMethodsconfiguration toLint/UnusedMethodArgument. ([@tejasbubane][])- #7740: Add
AllowModifiersOnSymbolsconfiguration toStyle/AccessModifierDeclarations. ([@tejasbubane][])- #7812: Add auto-correction for
Lint/BooleanSymbolcop. ([@tejasbubane][])- #7823: Add
IgnoredMethodsconfiguration inMetrics/AbcSize,Metrics/CyclomaticComplexity, andMetrics/PerceivedComplexitycops. ([@drenmi][])- #7816: Support Ruby 2.7's numbered parameter for
Style/Lambda. (@koic)- #7829: Fix an error for
Style/OneLineConditionalwhen one of the branches containsnextkeyword. (@koic)Bug fixes
- #7236: Mark
Style/InverseMethodsauto-correct as incompatible withStyle/SymbolProc. ([@drenmi][])- #7144: Fix
Style/Documentationconstant visibility declaration in namespace. ([@AdrienSldy][])- #7779: Fix a false positive for
Style/MultilineMethodCallIndentationwhen 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/HashTransformValuesandStyle/HashTransformKeys. ([@tejasbubane][])- #7791: Fix an error on auto-correction for
Layout/BlockEndNewlinewhen}of multiline block without processing is not on its own line. (@koic)- #7778: Fix a false positive for
Layout/EndAlignmentwhen a non-whitespace is used before theendkeyword. (@koic)- #7806: Fix an error for
Lint/ErbNewArgumentscop when inspectingActionView::Template::Handlers::ERB.new. (@koic)- #7814: Fix a false positive for
Migrate/DepartmentNamecop when inspecting an unexpected disabled comment format. (@koic)- #7728: Fix an error for
Style/OneLineConditionalwhen one of the branches contains a self keyword. (@koic)- #7825: Fix crash for
Layout/MultilineMethodCallIndentationwith key access to hash. ([@tejasbubane][])- #7831: Fix a false positive for
Style/HashEachMethodswhen receiver is implicit. (@koic)Changes
- #7797: Allow unicode-display_width dependency version 1.7.0. ([
@yuritomanek][])- #7779: Change
AllowCommentsoption ofLint/SuppressedExceptionto true by default. (@koic)- #7320:
Naming/MethodNamenow flagsattr_reader/attr_writer/attr_accessor/attr. (@denys281)- #7813: (Breaking) Remove
Lint/EndInMethodcop. ([@tejasbubane][])
... (truncated)
Changelog
Sourced from rubocop's changelog.
0.81.0 (2020-04-01)
New features
- #7299: Add new
Lint/RaiseExceptioncop. ([@denys281][])- #7793: Prefer
include?overmember?inStyle/CollectionMethods. ([@dmolesUC][])- #7654: Support
with_fixed_indentationoption forLayout/ArrayAlignmentcop. ([@nikitasakov][])- #7783: Support Ruby 2.7's numbered parameter for
Style/RedundantSort. ([@koic][])- #7795: Make
Layout/EmptyLineAfterGuardClauseaware of case whereandororis used before keyword that break control (e.g.and return). ([@koic][])- #7786: Support Ruby 2.7's pattern match for
Layout/ElseAlignmentcop. ([@koic][])- #7784: Support Ruby 2.7's numbered parameter for
Lint/SafeNavigationChain. ([@koic][])- #7331: Add
forbiddenoption toStyle/ModuleFunctioncop. ([@weh][])- #7699: Add new
Lint/StructNewOverridecop. ([@ybiquitous][])- #7637: Add new
Style/TrailingCommaInBlockArgscop. ([@pawptart][])- #7809: Add auto-correction for
Style/EndBlockcop. ([@tejasbubane][])- #7739: Add
IgnoreNotImplementedMethodsconfiguration toLint/UnusedMethodArgument. ([@tejasbubane][])- #7740: Add
AllowModifiersOnSymbolsconfiguration toStyle/AccessModifierDeclarations. ([@tejasbubane][])- #7812: Add auto-correction for
Lint/BooleanSymbolcop. ([@tejasbubane][])- #7823: Add
IgnoredMethodsconfiguration inMetrics/AbcSize,Metrics/CyclomaticComplexity, andMetrics/PerceivedComplexitycops. ([@drenmi][])- #7816: Support Ruby 2.7's numbered parameter for
Style/Lambda. ([@koic][])- #7829: Fix an error for
Style/OneLineConditionalwhen one of the branches containsnextkeyword. ([@koic][])Bug fixes
- #7236: Mark
Style/InverseMethodsauto-correct as incompatible withStyle/SymbolProc. ([@drenmi][])- #7144: Fix
Style/Documentationconstant visibility declaration in namespace. ([@AdrienSldy][])- #7779: Fix a false positive for
Style/MultilineMethodCallIndentationwhen 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/HashTransformValuesandStyle/HashTransformKeys. ([@tejasbubane][])- #7791: Fix an error on auto-correction for
Layout/BlockEndNewlinewhen}of multiline block without processing is not on its own line. ([@koic][])- #7778: Fix a false positive for
Layout/EndAlignmentwhen a non-whitespace is used before theendkeyword. ([@koic][])- #7806: Fix an error for
Lint/ErbNewArgumentscop when inspectingActionView::Template::Handlers::ERB.new. ([@koic][])- #7814: Fix a false positive for
Migrate/DepartmentNamecop when inspecting an unexpected disabled comment format. ([@koic][])- #7728: Fix an error for
Style/OneLineConditionalwhen one of the branches contains a self keyword. ([@koic][])- #7825: Fix crash for
Layout/MultilineMethodCallIndentationwith key access to hash. ([@tejasbubane][])- #7831: Fix a false positive for
Style/HashEachMethodswhen receiver is implicit. ([@koic][])Changes
- #7797: Allow unicode-display_width dependency version 1.7.0. ([
@yuritomanek][])- #7805: Change
AllowCommentsoption ofLint/SuppressedExceptionto true by default. ([@koic][])- #7320:
Naming/MethodNamenow flagsattr_reader/attr_writer/attr_accessor/attr. ([@denys281][])- #7813: (Breaking) Remove
Lint/EndInMethodcop. ([@tejasbubane][])0.80.1 (2020-02-29)
Bug fixes
- #7719: Fix
Style/NestedParenthesizedCallscop for newline. ([@tejasbubane][])- #7709: Fix correction of
Style/RedundantConditionwhen the else branch contains a range. ([@rrosenblum][])
... (truncated)
Commits
34e501eCut 0.8151de04eFix Style/NestedParenthesizedCalls docs (#7822)85f21d9[Fix #7831] Fix a false positive forStyle/HashEachMethods40b8771[Fix #7829] Fix an error forStyle/OneLineConditionalfac6d99Merge pull request #7828 from tejasbubane/fix-782506309e1[Fix #7825] Fix crash forLayout/MultilineMethodCallIndentation5d47450Merge pull request #7729 from koic/fix_an_error_for_style_one_line_conditional95e75caMerge pull request #7816 from koic/support_numblock_type500d0c5Support Ruby 2.7's numbered parameter forStyle/Lambda3405fe6Support IgnoredMethod configuration in method complexity cops- Additional commits viewable in compare view
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill 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.
@dependabot rebase