sensu-plugins / sensu-plugins-cpu-checks

This plugin provides native CPU instrumentation for monitoring and metrics collection, including: CPU usage and metrics for user, nice, system, idle, iowait, irq, softirq, steal, and guest.
http://sensu-plugins.io
MIT License
13 stars 34 forks source link

Update rubocop requirement from ~> 0.51.0 to ~> 0.57.2 #42

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.57.2 > ### Bug fixes > > * [#5968](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5968): Prevent `Layout/ClosingHeredocIndentation` from raising an error on `<<` heredocs. ([[**dvandersluis**](https://github.com/dvandersluis)][]) > * [#5965](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5965): Prevent `Layout/ClosingHeredocIndentation` from raising an error on heredocs containing only a newline. ([[**drenmi**](https://github.com/drenmi)][]) > * Prevent a crash in `Layout/IndentationConsistency` cop triggered by an empty expression string interpolation. ([[**alexander-lazarov**](https://github.com/alexander-lazarov)][]) > * [#5951](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5951): Prevent `Style/MethodCallWithArgsParentheses` from raising an error in certain cases. ([[**drenmi**](https://github.com/drenmi)][]) > > [[**dvandersluis**](https://github.com/dvandersluis)]: https://github.com/dvandersluis > [[**drenmi**](https://github.com/drenmi)]: https://github.com/drenmi > [[**alexander-lazarov**](https://github.com/alexander-lazarov)]: https://github.com/alexander-lazarov
Changelog *Sourced from [rubocop's changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md).* > ## 0.57.2 (2018-06-12) > > ### Bug fixes > > * [#5968](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/5968): Prevent `Layout/ClosingHeredocIndentation` from raising an error on `<<` heredocs. ([[**dvandersluis**](https://github.com/dvandersluis)][]) > * [#5965](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/5965): Prevent `Layout/ClosingHeredocIndentation` from raising an error on heredocs containing only a newline. ([[**drenmi**](https://github.com/drenmi)][]) > * Prevent a crash in `Layout/IndentationConsistency` cop triggered by an empty expression string interpolation. ([[**alexander-lazarov**](https://github.com/alexander-lazarov)][]) > * [#5951](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/5951): Prevent `Style/MethodCallWithArgsParentheses` from raising an error in certain cases. ([[**drenmi**](https://github.com/drenmi)][]) > > ## 0.57.1 (2018-06-07) > > ### Bug fixes > > * [#5963](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/5963): Allow Performance/ReverseEach to apply to any receiver. ([[**dvandersluis**](https://github.com/dvandersluis)][]) > * [#5917](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/5917): Fix erroneous warning for `inherit_mode` directive. ([[**jonas054**](https://github.com/jonas054)][]) > * [#5380](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/5380): Fix false negative in `Layout/IndentationWidth` when an access modifier section has an invalid indentation body. ([[**tatsuyafw**](https://github.com/tatsuyafw)][]) > * [#5909](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/5909): Even when a module has no public methods, `Layout/IndentationConsistency` should still register an offense for private methods. ([[**jaredbeck**](https://github.com/jaredbeck)][]) > * [#5958](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/5958): Handle empty method body in `Rails/BulkChangeTable`. ([[**wata727**](https://github.com/wata727)][]) > * [#5954](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/5954): Make `Style/UnneededCondition` cop accepts a case of condition and `if_branch` are same when using `elsif` branch. ([[**koic**](https://github.com/koic)][]) > > ## 0.57.0 (2018-06-06) > > ### New features > > * [#5881](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/5881): Add new `Rails/BulkChangeTable` cop. ([[**wata727**](https://github.com/wata727)][]) > * [#5444](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/5444): Add new `Style/AccessModifierDeclarations` cop. ([[**brandonweiss**](https://github.com/brandonweiss)][]) > * [#5803](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/5803): Add new `Style/UnneededCondition` cop. ([[**balbesina**](https://github.com/balbesina)][]) > * [#5406](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/5406): Add new `Layout/ClosingHeredocIndentation` cop. ([[**siggymcfried**](https://github.com/siggymcfried)][]) > * [#5823](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/5823): Add new `slashes` style to `Rails/FilePath` since Ruby accepts forward slashes even on Windows. ([[**sunny**](https://github.com/sunny)][]) > * New cop `Layout/LeadingBlankLines` checks for empty lines at the beginning of a file. ([[**rrosenblum**](https://github.com/rrosenblum)][]) > > ### Bug fixes > > * [#5897](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/5897): Fix `Style/SymbolArray` and `Style/WordArray` not working on arrays of size 1. ([[**TikiTDO**](https://github.com/TikiTDO)][]) > * [#5894](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/5894): Fix `Rails/AssertNot` to allow it to have failure message. ([[**koic**](https://github.com/koic)][]) > * [#5888](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/5888): Do not register an offense for `headers` or `env` keyword arguments in `Rails/HttpPositionalArguments`. ([[**rrosenblum**](https://github.com/rrosenblum)][]) > * Fix the indentation of autocorrected closing squiggly heredocs. ([[**garettarrowood**](https://github.com/garettarrowood)][]) > * [#5908](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/5908): Fix `Style/BracesAroundHashParameters` auto-correct going past the end of the file when the closing curly brace is on the last line of a file. ([[**EiNSTeiN-**](https://github.com/EiNSTeiN-)][]) > * Fix a bug where `Style/FrozenStringLiteralComment` would be added to the second line if the first line is empty. ([[**rrosenblum**](https://github.com/rrosenblum)][]) > * [#5914](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/5914): Make `Layout/SpaceInsideReferenceBrackets` aware of `no_space` when using nested reference brackets. ([[**koic**](https://github.com/koic)][]) > * [#5799](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/5799): Fix false positive in `Style/MixinGrouping` when method named `include` accepts block. ([[**Darhazer**](https://github.com/Darhazer)][]) > > ### Changes > > * [#5937](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/5937): Add new `--fix-layout/-x` command line alias. ([[**scottmatthewman**](https://github.com/scottmatthewman)][]) > * [#5887](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/5887): Remove `Lint/SplatKeywordArguments` cop. ([[**koic**](https://github.com/koic)][]) > * [#5761](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/5761): Add `httpdate` to accepted `Rails/TimeZone` methods. ([[**cupakromer**](https://github.com/cupakromer)][]) > * [#5899](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/5899): Add `xmlschema` to accepted `Rails/TimeZone` methods. ([[**koic**](https://github.com/koic)][]) > * [#5906](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/5906): Move REPL command from `rake repl` task to `bin/console` command. ([[**koic**](https://github.com/koic)][]) > * [#5917](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/5917): Let `inherit_mode` work for default configuration too. ([[**jonas054**](https://github.com/jonas054)][]) > ... (truncated)
Commits - See full diff in [compare view](https://github.com/rubocop-hq/rubocop/commits/v0.57.2)


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 #48.