sensu-plugins / sensu-plugins-sensu

This plugin provides monitoring and metrics for Sensu.
http://sensu-plugins.io
MIT License
12 stars 35 forks source link

Update rubocop requirement from ~> 0.51.0 to ~> 0.79.0 #104

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

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)
  • #7595: Make Style/NumericPredicate aware of ignored methods when specifying ignored methods. (@koic)
  • #7607: Fix Style/FrozenStringLiteralComment infinite loop when magic comments are newline-separated. (@pirj)
  • #7602: Ensure proper handling of Ruby 2.7 syntax. (@drenmi)
  • #7620: Fix a false positive for Migration/DepartmentName when a disable comment contains a plain comment. (@koic)
  • #7616: Fix an incorrect autocorrect for Style/MultilineWhenThen for when statement with then is an array or a hash. (@koic)
  • #7628: Fix an incorrect autocorrect for Layout/MultilineBlockLayout removing trailing comma with single argument. (@pawptart)
  • #7627: Fix a false negative for Migration/DepartmentName when there is space around : (e.g. # rubocop : disable). (@koic)

Changes

  • #7287: Style/FrozenStringLiteralComment is now considered unsafe. (@buehmann)
Changelog

Sourced from rubocop's changelog.

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][])
  • #7595: Make Style/NumericPredicate aware of ignored methods when specifying ignored methods. ([@koic][])
  • #7607: Fix Style/FrozenStringLiteralComment infinite loop when magic comments are newline-separated. ([@pirj][])
  • #7602: Ensure proper handling of Ruby 2.7 syntax. ([@drenmi][])
  • #7620: Fix a false positive for Migration/DepartmentName when a disable comment contains a plain comment. ([@koic][])
  • #7616: Fix an incorrect autocorrect for Style/MultilineWhenThen for when statement with then is an array or a hash. ([@koic][])
  • #7628: Fix an incorrect autocorrect for Layout/MultilineBlockLayout removing trailing comma with single argument. ([@pawptart][])
  • #7627: Fix a false negative for Migration/DepartmentName when there is space around : (e.g. # rubocop : disable). ([@koic][])

Changes

  • #7287: Style/FrozenStringLiteralComment is now considered unsafe. ([@buehmann][])

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)

... (truncated)
Commits
  • d5334b9 Cut 0.79
  • 9cfac0a [Fix #7628] Include trailing comma for single arg (#7630)
  • cc43348 [Fix #7627] Fix a false negative for Migration/DepartmentName
  • 3e1bf9d Fix a typo
  • c3235a6 Merge pull request #7622 from koic/fix_an_incorrect_autocorrect_for_multiline...
  • 0ac1450 [Fix #7616] Fix an incorrect autocorrect for Style/MultilineWhenThen
  • 81c93c6 Regenerate RuboCop TODO
  • 0565f7a Split MethodCallWithArgsParentheses
  • b6bda3f Add a spec of beginless range for Ruby 2.7
  • 6d0907b [Fix #7620] Fix a false positive for Migration/DepartmentName
  • 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 #105.