sensu-plugins / sensu-plugins-http

This plugin provides native HTTP instrumentation for monitoring and metrics collection, including: response code, JSON response, HTTP last modified, SSL expiry, and metrics via `curl`.
http://sensu-plugins.io
MIT License
30 stars 97 forks source link

Update rubocop requirement from ~> 0.51.0 to ~> 0.60.0 #108

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.60 > ### New features > > * [#5980](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/5980): Add `--safe` and `--safe-auto-correct` options. ([[**Darhazer**](https://github.com/Darhazer)][]) > * [#4156](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4156): Add command line option `--auto-gen-only-exclude`. ([[**Ana06**](https://github.com/Ana06)][], [[**jonas054**](https://github.com/jonas054)][]) > * [#6386](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6386): Add `VersionAdded` meta data to config/default.yml when running `rake new_cop`. ([[**koic**](https://github.com/koic)][]) > * [#6395](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6395): Permit to specify TargetRubyVersion 2.6. ([[**koic**](https://github.com/koic)][]) > * [#6392](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6392): Add `Whitelist` config to `Rails/SkipsModelValidations` rule. ([[**DiscoStarslayer**](https://github.com/DiscoStarslayer)][]) > > ### Bug fixes > > * [#6330](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6330): Fix an error for `Rails/ReversibleMigration` when using variable assignment. ([[**koic**](https://github.com/koic)][], [[**scottmatthewman**](https://github.com/scottmatthewman)][]) > * [#6331](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6331): Fix a false positive for `Style/RedundantFreeze` and a false negative for `Style/MutableConstant` when assigning a regexp object to a constant. ([[**koic**](https://github.com/koic)][]) > * [#6334](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6334): Fix a false negative for `Style/RedundantFreeze` when assigning a range object to a constant. ([[**koic**](https://github.com/koic)][]) > * [#5538](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/5538): Fix false negatives in modifier cops when line length cop is disabled. ([[**drenmi**](https://github.com/drenmi)][]) > * [#6340](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6340): Fix an error for `Rails/ReversibleMigration` when block argument is empty. ([[**koic**](https://github.com/koic)][]) > * [#6274](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6274): Fix "[Corrected]" message being displayed even when nothing has been corrected. ([[**jekuta**](https://github.com/jekuta)][]) > * [#6380](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6380): Allow use of a hyphen-separated frozen string literal in Emacs style magic comment. ([[**y-yagi**](https://github.com/y-yagi)][]) > * Fix and improve `LineLength` cop for tab-indented code. ([[**AlexWayfer**](https://github.com/AlexWayfer)][]) > > ### Changes > > * [#3727](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/3727): Enforce single spaces for `key` option in `Layout/AlignHash` cop. ([[**albaer**](https://github.com/albaer)][]) > * [#6321](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6321): Fix run of RuboCop when cache directory is not writable. ([[**Kevinrob**](https://github.com/Kevinrob)][]) > > [[**Darhazer**](https://github.com/Darhazer)]: https://github.com/Darhazer > [[**Ana06**](https://github.com/Ana06)]: https://github.com/Ana06 > [[**jonas054**](https://github.com/jonas054)]: https://github.com/jonas054 > [[**koic**](https://github.com/koic)]: https://github.com/koic > [[**DiscoStarslayer**](https://github.com/DiscoStarslayer)]: https://github.com/DiscoStarslayer > [[**scottmatthewman**](https://github.com/scottmatthewman)]: https://github.com/scottmatthewman > [[**drenmi**](https://github.com/drenmi)]: https://github.com/drenmi > [[**jekuta**](https://github.com/jekuta)]: https://github.com/jekuta > [[**y-yagi**](https://github.com/y-yagi)]: https://github.com/y-yagi > [[**AlexWayfer**](https://github.com/AlexWayfer)]: https://github.com/AlexWayfer > [[**albaer**](https://github.com/albaer)]: https://github.com/albaer > [[**Kevinrob**](https://github.com/Kevinrob)]: https://github.com/Kevinrob
Changelog *Sourced from [rubocop's changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md).* > ## 0.60.0 (2018-10-26) > > ### New features > > * [#5980](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/5980): Add `--safe` and `--safe-auto-correct` options. ([[**Darhazer**](https://github.com/Darhazer)][]) > * [#4156](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4156): Add command line option `--auto-gen-only-exclude`. ([[**Ana06**](https://github.com/Ana06)][], [[**jonas054**](https://github.com/jonas054)][]) > * [#6386](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6386): Add `VersionAdded` meta data to config/default.yml when running `rake new_cop`. ([[**koic**](https://github.com/koic)][]) > * [#6395](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6395): Permit to specify TargetRubyVersion 2.6. ([[**koic**](https://github.com/koic)][]) > * [#6392](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6392): Add `Whitelist` config to `Rails/SkipsModelValidations` rule. ([[**DiscoStarslayer**](https://github.com/DiscoStarslayer)][]) > > ### Bug fixes > > * [#6330](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6330): Fix an error for `Rails/ReversibleMigration` when using variable assignment. ([[**koic**](https://github.com/koic)][], [[**scottmatthewman**](https://github.com/scottmatthewman)][]) > * [#6331](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6331): Fix a false positive for `Style/RedundantFreeze` and a false negative for `Style/MutableConstant` when assigning a regexp object to a constant. ([[**koic**](https://github.com/koic)][]) > * [#6334](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6334): Fix a false negative for `Style/RedundantFreeze` when assigning a range object to a constant. ([[**koic**](https://github.com/koic)][]) > * [#5538](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/5538): Fix false negatives in modifier cops when line length cop is disabled. ([[**drenmi**](https://github.com/drenmi)][]) > * [#6340](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6340): Fix an error for `Rails/ReversibleMigration` when block argument is empty. ([[**koic**](https://github.com/koic)][]) > * [#6274](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6274): Fix "[Corrected]" message being displayed even when nothing has been corrected. ([[**jekuta**](https://github.com/jekuta)][]) > * [#6380](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6380): Allow use of a hyphen-separated frozen string literal in Emacs style magic comment. ([[**y-yagi**](https://github.com/y-yagi)][]) > * Fix and improve `LineLength` cop for tab-indented code. ([[**AlexWayfer**](https://github.com/AlexWayfer)][]) > > ### Changes > > * [#3727](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/3727): Enforce single spaces for `key` option in `Layout/AlignHash` cop. ([[**albaer**](https://github.com/albaer)][]) > * [#6321](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6321): Fix run of RuboCop when cache directory is not writable. ([[**Kevinrob**](https://github.com/Kevinrob)][]) > > ## 0.59.2 (2018-09-24) > ### New features > > * Update `Style/MethodCallWithoutArgsParentheses` to highlight the closing parentheses in additition to the opening parentheses. ([[**rrosenblum**](https://github.com/rrosenblum)][]) > > ### Bug fixes > > * [#6266](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6266): Fix a false positive for `Rails/HasManyOrHasOneDependent` when using associations of Active Resource. ([[**tejasbubane**](https://github.com/tejasbubane)][], [[**koic**](https://github.com/koic)][]) > * [#6296](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6296): Fix an auto-correct error for `Style/For` when setting `EnforcedStyle: each` and `for` dose not have `do` or semicolon. ([[**autopp**](https://github.com/autopp)][]) > * [#6300](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6300): Fix a false positive for `Layout/EmptyLineAfterGuardClause` when guard clause including heredoc. ([[**koic**](https://github.com/koic)][]) > * [#6287](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6287): Fix `AllowURI` option for `Metrics/LineLength` cop with disabled `Layut/Tab` cop. ([[**AlexWayfer**](https://github.com/AlexWayfer)][]) > * [#5338](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/5338): Move checking of class- and module defining blocks from `Metrics/BlockLength` into the respective length cops. ([[**drenmi**](https://github.com/drenmi)][]) > * [#2841](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/2841): Fix `Style/ZeroLengthPredicate` false positives when inspecting `Tempfile`, `StringIO`, and `File::Stat` objects. ([[**drenmi**](https://github.com/drenmi)][]) > * [#6305](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6305): Fix infinite loop for `Layout/EmptyLinesAroundAccessModifier` and `Layout/EmptyLinesAroundAccessModifier` when specifying a superclass that breaks the line. ([[**koic**](https://github.com/koic)][]) > * [#6007](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6007): Fix false positive in `Style/IfUnlessModifier` when using named capture. ([[**drenmi**](https://github.com/drenmi)][]) > * [#6311](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6311): Prevent `Style/Semicolon` from breaking on single line if-then-else in assignment. ([[**drenmi**](https://github.com/drenmi)][]) > * [#6315](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6315): Fix an error for `Rails/HasManyOrHasOneDependent` when an Active Record model does not have any relations. ([[**koic**](https://github.com/koic)][]) > * [#6316](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6316): Fix an auto-correct error for `Style/For` when setting `EnforcedStyle: each` with range provided to the `for` loop without a `do` keyword or semicolon and without enclosing parenthesis. ([[**lukasz-wojcik**](https://github.com/lukasz-wojcik)][]) > * [#6326](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6326): Fix an alignment source for `Layout/RescueEnsureAlignment` when using inline access modifier. ([[**andrew-aladev**](https://github.com/andrew-aladev)][]) > > ### Changes > > * [#6286](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6286): Allow exclusion of certain methods for `Metrics/MethodLength`. ([[**akanoi**](https://github.com/akanoi)][]) > > ... (truncated)
Commits - See full diff in [compare view](https://github.com/rubocop-hq/rubocop/commits/v0.60.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.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

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 cancel merge` will cancel a previously requested merge - `@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 #118.