sensu-plugins / sensu-plugins-disk-checks

This plugin provides native disk instrumentation for monitoring and metrics collection, including: health, usage, and various metrics.
http://sensu-plugins.io
MIT License
27 stars 63 forks source link

Update rubocop requirement from ~> 0.51.0 to ~> 0.69.0 #121

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.69 > ### New features > > * Add support for subclassing using `Class.new` to `Lint/InheritException`. ([@​houli][]) > * [#6779](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6779): Add new cop `Style/NegativeUnless` that checks for unless with negative condition. ([@​tejasbubane][]) > > ### Bug fixes > > * [#6900](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6900): Fix `Rails/TimeZone` autocorrect `Time.current` to `Time.zone.now`. ([@​vfonic][]) > * [#6900](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6900): Fix `Rails/TimeZone` to prefer `Time.zone.#{method}` over other acceptable corrections. ([@​vfonic][]) > * [#7007](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/7007): Fix `Style/BlockDelimiters` with `braces_for_chaining` style false positive, when chaining using safe navigation. ([@​Darhazer][]) > * [#6880](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6880): Fix `.rubocop` file parsing. ([@​hoshinotsuyoshi][]) > * [#5782](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/5782): Do not autocorrect `Lint/UnifiedInteger` if `TargetRubyVersion < 2.4`. ([@​lavoiesl][]) > * [#6387](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6387): Prevent `Lint/NumberConversion` from reporting error with `Time`/`DateTime`. ([@​tejasbubane][]) > * [#6980](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6980): Fix `Style/StringHashKeys` to allow string as keys for hash arguments to gsub methods. ([@​tejasbubane][]) > * [#6969](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6969): Fix a false positive with block methods in `Style/InverseMethods`. ([@​dduugg][]) > * [#6729](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6729): Handle array spread for `change_column_default` in `Rails/ReversibleMigration` cop. ([@​tejasbubane][]) > * [#7033](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7033): Fix an error for `Layout/EmptyLineAfterGuardClause` when guard clause is a ternary operator. ([@​koic][]) > > ### Changes > > * [#6945](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6945): Drop support for Ruby 2.2. ([@​koic][]) > * [#6945](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6945): Set default `EnforcedStyle` to `squiggly` option for `Layout/IndentHeredoc` and `auto_detection` option is removed. ([@​koic][]) > * [#6945](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6945): Set default `EnforcedStyle` to `always` option for `Style/FrozenStringLiteralComment` and `when_needed` option is removed. ([@​koic][]) > * [#7027](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/7027): Allow unicode/display_width dependency version 1.6.0. ([@​tagliala][]) > > [@​houli]: https://github.com/houli > [@​tejasbubane]: https://github.com/tejasbubane > [@​vfonic]: https://github.com/vfonic > [@​Darhazer]: https://github.com/Darhazer > [@​hoshinotsuyoshi]: https://github.com/hoshinotsuyoshi > [@​lavoiesl]: https://github.com/lavoiesl > [@​dduugg]: https://github.com/dduugg > [@​koic]: https://github.com/koic > [@​tagliala]: https://github.com/tagliala
Changelog *Sourced from [rubocop's changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md).* > ## 0.69.0 (2019-05-13) > > ### New features > > * Add support for subclassing using `Class.new` to `Lint/InheritException`. ([@​houli][]) > * [#6779](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6779): Add new cop `Style/NegativeUnless` that checks for unless with negative condition. ([@​tejasbubane][]) > * [#6649](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6649): Layout/AlignHash supports list of options. ([@​stoivo][]) > > > ### Bug fixes > > * [#6900](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6900): Fix `Rails/TimeZone` autocorrect `Time.current` to `Time.zone.now`. ([@​vfonic][]) > * [#6900](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6900): Fix `Rails/TimeZone` to prefer `Time.zone.#{method}` over other acceptable corrections. ([@​vfonic][]) > * [#7007](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/7007): Fix `Style/BlockDelimiters` with `braces_for_chaining` style false positive, when chaining using safe navigation. ([@​Darhazer][]) > * [#6880](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6880): Fix `.rubocop` file parsing. ([@​hoshinotsuyoshi][]) > * [#5782](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/5782): Do not autocorrect `Lint/UnifiedInteger` if `TargetRubyVersion < 2.4`. ([@​lavoiesl][]) > * [#6387](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6387): Prevent `Lint/NumberConversion` from reporting error with `Time`/`DateTime`. ([@​tejasbubane][]) > * [#6980](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6980): Fix `Style/StringHashKeys` to allow string as keys for hash arguments to gsub methods. ([@​tejasbubane][]) > * [#6969](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6969): Fix a false positive with block methods in `Style/InverseMethods`. ([@​dduugg][]) > * [#6729](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6729): Handle array spread for `change_column_default` in `Rails/ReversibleMigration` cop. ([@​tejasbubane][]) > * [#7033](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7033): Fix an error for `Layout/EmptyLineAfterGuardClause` when guard clause is a ternary operator. ([@​koic][]) > > ### Changes > > * [#6945](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6945): Drop support for Ruby 2.2. ([@​koic][]) > * [#6945](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6945): Set default `EnforcedStyle` to `squiggly` option for `Layout/IndentHeredoc` and `auto_detection` option is removed. ([@​koic][]) > * [#6945](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6945): Set default `EnforcedStyle` to `always` option for `Style/FrozenStringLiteralComment` and `when_needed` option is removed. ([@​koic][]) > * [#7027](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/7027): Allow unicode/display_width dependency version 1.6.0. ([@​tagliala][]) > > ## 0.68.1 (2019-04-30) > > ### Bug fixes > > * [#6993](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6993): Allowing for empty if blocks, preventing `Style/SafeNavigation` from crashing. ([@​RicardoTrindade][]) > * [#6995](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6995): Fix an incorrect auto-correct for `Style/RedundantParentheses` when enclosed in parentheses at `while-post` or `until-post`. ([@​koic][]) > * [#6996](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6996): Fix a false positive for `Style/RedundantFreeze` when freezing the result of `String#*`. ([@​bquorning][]) > * [#6998](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6998): Fix autocorrect of `Naming/RescuedExceptionsVariableName` to also rename all references to the variable. ([@​Darhazer][]) > * [#6992](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6992): Fix unknown default configuration for `Layout/IndentFirstParameter` cop. ([@​drenmi][]) > * [#6972](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6972): Fix a false positive for `Style/MixinUsage` when using inside block and `if` condition is after `include`. ([@​koic][]) > * [#6738](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6738): Prevent auto-correct conflict of `Style/Next` and `Style/SafeNavigation`. ([@​hoshinotsuyoshi][]) > * [#6847](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6847): Fix `Style/BlockDelimiters` to properly check if the node is chained when `braces_for_chaining` is set. ([@​att14][]) > > ### Bug fixes > > * Replace `Time.zone.current` with `Time.zone.today` on `Rails::Date` cop message. ([@​vfonic][]) > > ## 0.68.0 (2019-04-29) > > ### New features > > ... (truncated)
Commits - [`c2047b7`](https://github.com/rubocop-hq/rubocop/commit/c2047b71a68d079533ebe9b3766a5ed80b7f8a42) Cut 0.69 - [`7dc3402`](https://github.com/rubocop-hq/rubocop/commit/7dc34029d159f773c145e68d2e83644c56125116) Tweak some wording - [`0d33fb1`](https://github.com/rubocop-hq/rubocop/commit/0d33fb106d802ece77ee22d88ab562418841f276) [Fix [#6779](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6779)] Add new cop `Style/NegatedUnless` - [`1fb484a`](https://github.com/rubocop-hq/rubocop/commit/1fb484a74a4835da66e43983ab7ccc6f8947dd24) Update "migrate_performance_cops.md" - [`e02e5bb`](https://github.com/rubocop-hq/rubocop/commit/e02e5bb9004d9289ae8c3dedd6f7cdfb4171ceb8) [Fix [#7033](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7033)] Fix an error for `Layout/EmptyLineAfterGuardClause` - [`c68c4e7`](https://github.com/rubocop-hq/rubocop/commit/c68c4e7a7d38ea8c17290e36dbddaf1f2b93aadd) Relax the stalebot config - [`3b267cb`](https://github.com/rubocop-hq/rubocop/commit/3b267cb772639b937643ea500aa7ed187a54fe9c) [Fix [#6729](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6729)] Handle array spread for `change_column_default` in `Rails/Reversi... - [`03c1580`](https://github.com/rubocop-hq/rubocop/commit/03c1580c0277747e882a540fd4f8fb217166826a) Fix `Rails/LinkToBlank` dectection to allow `rel: 'noreferer`Fix - [`4555fe3`](https://github.com/rubocop-hq/rubocop/commit/4555fe38ee5154444e67de72d18ea93f73523f16) Merge pull request [#7016](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7016) from dduugg/handle-jumps-in-inverse-methods - [`6406543`](https://github.com/rubocop-hq/rubocop/commit/64065437ae6f5b544022b41b179080719dcfd95d) [Fix [#6969](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6969)] Fix a false positive with block methods in `Style/InverseMethods` - Additional commits viewable in [compare view](https://github.com/rubocop-hq/rubocop/compare/v0.51.0...v0.69.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 #122.