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.72.0 #93

Closed dependabot-preview[bot] closed 5 years ago

dependabot-preview[bot] commented 5 years ago

Updates the requirements on rubocop to permit the latest version.

Release notes *Sourced from [rubocop's releases](https://github.com/rubocop-hq/rubocop/releases).* > ## RuboCop 0.72 > ### New features > > * [#7137](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7137): Add new `Gemspec/RubyVersionGlobalsUsage` cop. ([@​malyshkosergey][]) > * [#7150](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/7150): Add `AllowIfModifier` option to `Style/IfInsideElse` cop. ([@​koic][]) > * [#7153](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/7153): Add new cop `Style/FloatDivision` that checks coercion. ([@​tejasbubane][]) > > ### Bug fixes > > * [#7121](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/7121): Fix `Style/TernaryParentheses` cop to allow safe navigation operator without parentheses. ([@​timon][]) > * [#7063](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7063): Fix autocorrect in `Style/TernaryParentheses` cop. ([@​parkerfinch][]) > * [#7106](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7106): Fix an error for `Lint/NumberConversion` when `#to_i` called on a variable on a hash. ([@​koic][]) > * [#7107](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7107): Fix parentheses offence for numeric arguments with an operator in `Style/MethodCallWithArgsParentheses`. ([@​gsamokovarov][]) > * [#7119](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/7119): Fix cache with non UTF-8 offense message. ([@​pocke][]) > * [#7118](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/7118): Fix `Style/WordArray` with `encoding: binary` magic comment and non-ASCII string. ([@​pocke][]) > * [#7159](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7159): Fix an error for `Lint/DuplicatedKey` when using endless range. ([@​koic][]) > * [#7151](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7151): Fix `Style/WordArray` to also consider words containing hyphens. ([@​fwitzke][]) > * [#6893](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6893): Handle implicit rescue correctly in `Naming/RescuedExceptionsVariableName`. ([@​pocke][], [[@​anthony](https://github.com/anthony)-robin][]) > * [#7165](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7165): Fix an auto-correct error for `Style/ConditionalAssignment` when without `else` branch'. ([@​koic][]) > * [#7171](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7171): Fix an error for `Style/SafeNavigation` when using `unless nil?` as a safeguarded'. ([@​koic][]) > * [#7113](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/7113): This PR renames `EnforcedStyle: rails` to `EnabledStyle: outdented_access_modifiers` for `Layout/IndentationConsistency`. ([@​koic][]) > * [#7130](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/7130): Skip autocorrect in `Style/FormatString` if second argument to `String#%` is a variable. ([@​tejasbubane][]) > * [#7171](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7171): Fix an error for `Style/SafeNavigation` when using `unless nil?` as a safeguarded'. ([@​koic][]) > > ### Changes > > * [#5976](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/5976): Remove Rails cops. ([@​koic][]) > * [#5976](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/5976): Remove `rubocop -R/--rails` option. ([@​koic][]) > * [#7113](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/7113): Rename `EnforcedStyle: rails` to `EnabledStyle: indented_internal_methods` for `Layout/IndentationConsistency`. ([@​koic][]) > > [@​malyshkosergey]: https://github.com/malyshkosergey > [@​koic]: https://github.com/koic > [@​tejasbubane]: https://github.com/tejasbubane > [@​timon]: https://github.com/timon > [@​parkerfinch]: https://github.com/parkerfinch > [@​gsamokovarov]: https://github.com/gsamokovarov > [@​pocke]: https://github.com/pocke > [@​fwitzke]: https://github.com/fwitzke > [[@​anthony](https://github.com/anthony)-robin]: https://github.com/anthony-robin
Changelog *Sourced from [rubocop's changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md).* > ## 0.72.0 (2019-06-25) > > ### New features > > * [#7137](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7137): Add new `Gemspec/RubyVersionGlobalsUsage` cop. ([@​malyshkosergey][]) > * [#7150](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/7150): Add `AllowIfModifier` option to `Style/IfInsideElse` cop. ([@​koic][]) > * [#7153](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/7153): Add new cop `Style/FloatDivision` that checks coercion. ([@​tejasbubane][]) > > ### Bug fixes > > * [#7121](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/7121): Fix `Style/TernaryParentheses` cop to allow safe navigation operator without parentheses. ([@​timon][]) > * [#7063](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7063): Fix autocorrect in `Style/TernaryParentheses` cop. ([@​parkerfinch][]) > * [#7106](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7106): Fix an error for `Lint/NumberConversion` when `#to_i` called on a variable on a hash. ([@​koic][]) > * [#7107](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7107): Fix parentheses offence for numeric arguments with an operator in `Style/MethodCallWithArgsParentheses`. ([@​gsamokovarov][]) > * [#7119](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/7119): Fix cache with non UTF-8 offense message. ([@​pocke][]) > * [#7118](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/7118): Fix `Style/WordArray` with `encoding: binary` magic comment and non-ASCII string. ([@​pocke][]) > * [#7159](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7159): Fix an error for `Lint/DuplicatedKey` when using endless range. ([@​koic][]) > * [#7151](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7151): Fix `Style/WordArray` to also consider words containing hyphens. ([@​fwitzke][]) > * [#6893](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6893): Handle implicit rescue correctly in `Naming/RescuedExceptionsVariableName`. ([@​pocke][], [[@​anthony](https://github.com/anthony)-robin][]) > * [#7165](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7165): Fix an auto-correct error for `Style/ConditionalAssignment` when without `else` branch'. ([@​koic][]) > * [#7171](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7171): Fix an error for `Style/SafeNavigation` when using `unless nil?` as a safeguarded'. ([@​koic][]) > * [#7113](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/7113): This PR renames `EnforcedStyle: rails` to `EnabledStyle: outdented_access_modifiers` for `Layout/IndentationConsistency`. ([@​koic][]) > * [#7130](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/7130): Skip autocorrect in `Style/FormatString` if second argument to `String#%` is a variable. ([@​tejasbubane][]) > * [#7171](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7171): Fix an error for `Style/SafeNavigation` when using `unless nil?` as a safeguarded'. ([@​koic][]) > > ### Changes > > * [#5976](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/5976): Remove Rails cops. ([@​koic][]) > * [#5976](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/5976): Remove `rubocop -R/--rails` option. ([@​koic][]) > * [#7113](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/7113): Rename `EnforcedStyle: rails` to `EnabledStyle: indented_internal_methods` for `Layout/IndentationConsistency`. ([@​koic][]) > > ## 0.71.0 (2019-05-30) > > ### New features > > * [#7084](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/7084): Permit to specify TargetRubyVersion 2.7. ([@​koic][]) > * [#7092](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/7092): Node patterns can now use `*`, `+` and `?` for repetitions. ([@​marcandre][]) > > ### Bug fixes > > * [#7066](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7066): Fix `Layout/AlignHash` when mixed Hash styles are used. ([@​rmm5t][]) > * [#7073](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7073): Fix false positive in `Naming/RescuedExceptionsVariableName` cop. ([@​tejasbubane][]) > * [#7090](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/7090): Fix `Layout/EmptyLinesAroundBlockBody` for multi-line method calls. ([@​eugeneius][]) > * [#6936](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6936): Fix `Layout/MultilineMethodArgumentLineBreaks` when bracket hash assignment on multiple lines. ([@​maxh][]) > * Mark `Layout/HeredocArgumentClosingParenthesis` incompatible with `Style/TrailingCommaInArguments`. ([@​maxh][]) > > ### Changes > > * [#5976](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/5976): Warn for Rails Cops. ([@​koic][]) > * [#5976](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/5976): Warn for `rubocop -R/--rails` option. ([@​koic][]) > ... (truncated)
Commits - [`4135413`](https://github.com/rubocop-hq/rubocop/commit/4135413b3f2719bf98d075a1a2e35bbc86717e72) Cut 0.72 - [`445b342`](https://github.com/rubocop-hq/rubocop/commit/445b342b8a733454777a6d8ab552f6a5ed902503) [Fix [#6793](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6793)] Clarify ruby version error - [`ca01b3e`](https://github.com/rubocop-hq/rubocop/commit/ca01b3e18816b5a326d18ef3904128acc2891c52) [Fix [#7171](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7171)] Fix an error for `Style/SafeNavigation` - [`c897642`](https://github.com/rubocop-hq/rubocop/commit/c897642f9214fb7fa02d9040d1e513ae2c685acb) [Fix [#7130](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7130)] Skip autocorrect in `Style/FormatString` if second argument is va... - [`97ff421`](https://github.com/rubocop-hq/rubocop/commit/97ff421266b2b35c3a6605530fa477ea22edb319) [Fix [#7171](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7171)] Fix an error for `Style/SafeNavigation` - [`efe9ab4`](https://github.com/rubocop-hq/rubocop/commit/efe9ab4bd3fde96f57a0e623434cdde86810f004) [Fix [#6893](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6893)] Handle implicit rescue correctly in Naming/RescuedExceptionsVaria... - [`239e2b6`](https://github.com/rubocop-hq/rubocop/commit/239e2b6dde0d5bfeeb65cd53765d6c10e61841e8) Allow safe-navigation in ternary conditions without parenthesis - [`de29e43`](https://github.com/rubocop-hq/rubocop/commit/de29e43b1e7084f6ecae568bb5a30f7ba4a4cd75) Handle URLs in inherit_from - [`7e5c2b2`](https://github.com/rubocop-hq/rubocop/commit/7e5c2b28a1e4048ca13ac9bfc0189d7b213b18a1) Add new cop `Style/FloatDivision` - [`c595654`](https://github.com/rubocop-hq/rubocop/commit/c595654d8fe234c0bceb8f7c114b2a01ef2f1f08) [Fix [#7165](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7165)] Fix an error for `Style/ConditionalAssignment` - Additional commits viewable in [compare view](https://github.com/rubocop-hq/rubocop/compare/v0.51.0...v0.72.0)


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 ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major 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) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.
dependabot-preview[bot] commented 5 years ago

Superseded by #95.