sensu-plugins / sensu-plugins-mailer

This plugin is an email handler for Sensu.
http://sensu-plugins.io
MIT License
17 stars 37 forks source link

Update rubocop requirement from ~> 0.40.0 to ~> 0.80.0 #106

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.80

New features

  • #7693: NodePattern: Add ` for descendant search. (@marcandre)
  • #7577: Add AllowGemfileRubyComment configuration on Layout/LeadingCommentSpace. (@cetinajero)
  • #7663: Add new Style/HashTransformKeys and Style/HashTransformValues cops. (@djudd, @eugeneius)
  • #7619: Support autocorrect of legacy cop names for Migration/DepartmentName. (@koic)
  • #7659: Layout/LineLength autocorrect now breaks up long lines with blocks. (@maxh)
  • #7677: Add a cop for Hash#each_key and Hash#each_value. (@jemmaissroff)
  • Add BracesRequiredMethods parameter to Style/BlockDelimiters to require braces for specific methods such as Sorbet's sig. (@maxh)
  • #7686: Add new JUnitFormatter formatter based on rubocop-junit-formatter gem. (@koic)
  • #7715: Add Steepfile to default Include list. (@ybiquitous)

Bug fixes

  • #7644: Fix patterns with named wildcards in unions. (@marcandre)
  • #7639: Fix logical operator edge case in omit_parentheses style of Style/MethodCallWithArgsParentheses. (@gsamokovarov)
  • #7661: Fix to return correct info from multi-line regexp. (@Tietew)
  • #7655: Fix an error when processing a regexp with a line break at the start of capture parenthesis. (@koic)
  • #7647: Fix an undefined method on_numblock error when using Ruby 2.7's numbered parameters. (@hanachin)
  • #7675: Fix a false negative for Layout/SpaceBeforeFirstArg when a vertical argument positions are aligned. (@koic)
  • #7688: Fix a bug in Style/MethodCallWithArgsParentheses that made --auto-gen-config crash. (@buehmann)
  • #7203: Fix an infinite loop error for Style/TernaryParentheses with Style/RedundantParentheses when using EnforcedStyle: require_parentheses_when_complex. (@koic)
  • #7708: Make it possible to use EOL rubocop:disable comments on comment lines. (@jonas054)
  • #7712: Fix an incorrect autocorrect for Style/OrAssignment when using elsif branch. (@koic)

Changes

  • #7636: Remove console from Lint/Debugger to prevent false positives. (@gsamokovarov)
  • #7641: (Breaking) Remove Style/BracesAroundHashParameters cop. (@pocke)
  • Add the method name to highlight area of Layout/EmptyLineBetweenDefs to help provide more context. (@rrosenblum)
  • #7652: Allow pp to allowed names of Naming/MethodParameterName cop in default config. ([@masarakki][])
  • #7309: Mark Lint/UselessSetterCall an "not safe" and improve documentation. (@jonas054)
  • #7723: Enable Migration/DepartmentName cop by default. (@koic)
... (truncated)
Changelog

Sourced from rubocop's changelog.

0.80.0 (2020-02-18)

New features

  • #7693: NodePattern: Add ` for descendant search. ([@marcandre][])
  • #7577: Add AllowGemfileRubyComment configuration on Layout/LeadingCommentSpace. ([@cetinajero][])
  • #7663: Add new Style/HashTransformKeys and Style/HashTransformValues cops. ([@djudd][], [@eugeneius][])
  • #7619: Support autocorrect of legacy cop names for Migration/DepartmentName. ([@koic][])
  • #7659: Layout/LineLength autocorrect now breaks up long lines with blocks. ([@maxh][])
  • #7677: Add a cop for Hash#each_key and Hash#each_value. ([@jemmaissroff][])
  • Add BracesRequiredMethods parameter to Style/BlockDelimiters to require braces for specific methods such as Sorbet's sig. ([@maxh][])
  • #7686: Add new JUnitFormatter formatter based on rubocop-junit-formatter gem. ([@koic][])
  • #7715: Add Steepfile to default Include list. ([@ybiquitous][])

Bug fixes

  • #7644: Fix patterns with named wildcards in unions. ([@marcandre][])
  • #7639: Fix logical operator edge case in omit_parentheses style of Style/MethodCallWithArgsParentheses. ([@gsamokovarov][])
  • #7661: Fix to return correct info from multi-line regexp. ([@Tietew][])
  • #7655: Fix an error when processing a regexp with a line break at the start of capture parenthesis. ([@koic][])
  • #7647: Fix an undefined method on_numblock error when using Ruby 2.7's numbered parameters. ([@hanachin][])
  • #7675: Fix a false negative for Layout/SpaceBeforeFirstArg when a vertical argument positions are aligned. ([@koic][])
  • #7688: Fix a bug in Style/MethodCallWithArgsParentheses that made --auto-gen-config crash. ([@buehmann][])
  • #7203: Fix an infinite loop error for Style/TernaryParentheses with Style/RedundantParentheses when using EnforcedStyle: require_parentheses_when_complex. ([@koic][])
  • #7708: Make it possible to use EOL rubocop:disable comments on comment lines. ([@jonas054][])
  • #7712: Fix an incorrect autocorrect for Style/OrAssignment when using elsif branch. ([@koic][])

Changes

  • #7636: Remove console from Lint/Debugger to prevent false positives. ([@gsamokovarov][])
  • #7641: (Breaking) Remove Style/BracesAroundHashParameters cop. ([@pocke][])
  • Add the method name to highlight area of Layout/EmptyLineBetweenDefs to help provide more context. ([@rrosenblum][])
  • #7652: Allow pp to allowed names of Naming/MethodParameterName cop in default config. ([@masarakki][])
  • #7309: Mark Lint/UselessSetterCall an "not safe" and improve documentation. ([@jonas054][])
  • #7723: Enable Migration/DepartmentName cop by default. ([@koic][])

0.79.0 (2020-01-06)

New features

Bug fixes

  • #7193: Prevent Style/PercentLiteralDelimiters from changing %i literals that contain escaped delimiters. ([@buehmann][])
  • #7590: Fix an error for Layout/SpaceBeforeBlockBraces when using with EnforcedStyle: line_count_based of Style/BlockDelimiters cop. ([@koic][])
  • #7569: Make Style/YodaCondition accept __FILE__ == $0. ([@koic][])
  • #7576: Fix an error for Gemspec/OrderedDependencies when using a local variable in an argument of dependent gem. ([@koic][])
... (truncated)
Commits
  • d4d479c Cut 0.80
  • 5400c1e [Fix #7712] Fix an incorrect autocorrect for Style/OrAssignment
  • 75f5b98 Enable Migration/DepartmentName cop by default
  • dc1e2e9 Merge pull request #7721 from jonas054/7708_rubocopdisable_comment_in_comment
  • 4412bed [Fix #7708] Support EOL disable comments on comment lines
  • 1e905b1 Merge pull request #7718 from koic/fix_an_infinite_loop_error_for_redundant_p...
  • 78d3283 [Fix #7716] Fix an infinite loop error for Style/TernaryParentheses
  • f857af5 Merge pull request #7715 from ybiquitous/add-steepfile
  • b93a266 Add Steepfile to default Include list
  • 2ec092a Fix a build error
  • 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) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)
dependabot-preview[bot] commented 4 years ago

Superseded by #107.