sensu-plugins / sensu-plugins-aws

This plugin provides native AWS instrumentation for monitoring and metrics collection, including: health and metrics for various AWS services, such as EC2, RDS, ELB, and more, as well as handlers for EC2, SES, and SNS.
http://sensu-plugins.io
MIT License
81 stars 143 forks source link

Update rubocop requirement from ~> 0.51.0 to ~> 0.78.0 #372

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

New features

Bug fixes

  • #7530: Typo in Style/TrivialAccessors's AllowedMethods. (@​movermeyer)
  • #7532: Fix an error for Style/TrailingCommaInArguments when using an anonymous function with multiple line arguments with EnforcedStyleForMultiline: consistent_comma. (@​koic)
  • #7534: Fix an incorrect autocorrect for Style/BlockDelimiters cop and Layout/SpaceBeforeBlockBraces cop with EnforcedStyle: no_space when using multiline braces. (@​koic)
  • #7231: Fix the exit code to be 2 rather when 0 when the config file contains an unknown cop. (@​jethroo)
  • #7513: Fix abrupt error on autocorrecting with --disable-uncorrectable. (@​tejasbubane)
  • #7537: Fix a false positive for Layout/SpaceAroundOperators when using a Rational literal with / (e.g. 2/3r). (@​koic)
  • #7029: Make Style/Attr not flag offense for custom attr method. (@​tejasbubane)
  • #7574: Fix a corner case that made Style/GuardClause crash. (@​buehmann)

Changes

  • #7514: Expose correctable status on offense and in formatters. (@​tyler-ball)
  • #7542: (Breaking) Move LineLength cop from Metrics department to Layout department. (@​koic)
Changelog

Sourced from rubocop's changelog.

0.78.0 (2019-12-18)

New features

  • #7528: Add new Lint/NonDeterministicRequireOrder cop. ([@​mangara][])
  • #7559: Add EnforcedStyleForExponentOperator parameter to Layout/SpaceAroundOperators cop. ([@​khiav223577][])

Bug fixes

  • #7530: Typo in Style/TrivialAccessors's AllowedMethods. ([@​movermeyer][])
  • #7532: Fix an error for Style/TrailingCommaInArguments when using an anonymous function with multiple line arguments with EnforcedStyleForMultiline: consistent_comma. ([@​koic][])
  • #7534: Fix an incorrect autocorrect for Style/BlockDelimiters cop and Layout/SpaceBeforeBlockBraces cop with EnforcedStyle: no_space when using multiline braces. ([@​koic][])
  • #7231: Fix the exit code to be 2 rather when 0 when the config file contains an unknown cop. ([@​jethroo][])
  • #7513: Fix abrupt error on autocorrecting with --disable-uncorrectable. ([@​tejasbubane][])
  • #7537: Fix a false positive for Layout/SpaceAroundOperators when using a Rational literal with / (e.g. 2/3r). ([@​koic][])
  • #7029: Make Style/Attr not flag offense for custom attr method. ([@​tejasbubane][])
  • #7574: Fix a corner case that made Style/GuardClause crash. ([@​buehmann][])

Changes

  • #7514: Expose correctable status on offense and in formatters. ([@​tyler-ball][])
  • #7542: (Breaking) Move LineLength cop from Metrics department to Layout department. ([@​koic][])

0.77.0 (2019-11-27)

Bug fixes

  • #7493: Fix Style/RedundantReturn to inspect conditional constructs that are preceded by other statements. ([@​buehmann][])
  • #7509: Fix Layout/SpaceInsideArrayLiteralBrackets to correct empty lines. ([@​ayacai115][])
  • #7517: Style/SpaceAroundKeyword allows :: after super. ([@​ozydingo][])
  • #7515: Fix a false negative for Style/RedundantParentheses when calling a method with safe navigation operator. ([@​koic][])
  • #7477: Fix line length autocorrect for semicolons in string literals. ([@​maxh][])
  • #7522: Fix a false-positive edge case (n % 2 == 2) for Style/EvenOdd. ([@​buehmann][])
  • #7506: Make Style/IfUnlessModifier respect all settings in Metrics/LineLength. ([@​jonas054][])

Changes

  • #7077: (Breaking) Further standardisation of cop names. ([@​scottmatthewman][])
  • #7469: (Breaking) Replace usages of the terms Whitelist and Blacklist with better alternatives. ([@​koic][])
  • #7502: Remove SafeMode module. ([@​koic][])

0.76.0 (2019-10-28)

Bug fixes

  • #7439: Make Style/FormatStringToken ignore percent escapes (%%). ([@​buehmann][])
  • #7438: Fix assignment edge-cases in Layout/MultilineAssignmentLayout. ([@​gsamokovarov][])
  • #7449: Make Style/IfUnlessModifier respect rubocop:disable comments for Metrics/LineLength. ([@​jonas054][])
  • #7442: Fix an incorrect autocorrect for Style/SafeNavigation when an object check followed by a method call with a comment at EOL. ([@​koic][])
  • #7434: Fix an incorrect autocorrect for Style/MultilineWhenThen when the body of when branch starts with then. ([@​koic][])
... (truncated)
Commits
  • 7aa3766 Cut 0.78
  • d2d8c66 Merge pull request #7575 from buehmann/guard-empty-begin/7574
  • acea172 Fix an oversight in specs
  • b88ff75 [Fix #7574] Fix corner case in Style/GuardClause
  • dff7052 Replace "can not" with "cannot"
  • cc7e221 Add new Lint/NonDeterministicRequireOrder cop (#7528)
  • 7276872 Support EnforcedStyleForExponentOperator for SpaceAroundOperators cop
  • d54e15c Add the Style Guide URL for Gemspec/RubyVersionGlobalsUsage
  • e6a51be Tweak a changelog entry
  • affae92 Fix the changelog
  • 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 #373.