sensu-plugins / sensu-plugins-memcached

This plugin provides native memcached instrumentation for monitoring and metrics collection, including: service health and metrics via the memcached stats command.
http://sensu-plugins.io
MIT License
2 stars 9 forks source link

Update rubocop requirement from ~> 0.40.0 to ~> 0.50.0 #9

Open dependabot-preview[bot] opened 6 years ago

dependabot-preview[bot] commented 6 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.50 > ### New features > > * [#4464](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4464): Add `EnforcedStyleForEmptyBraces` parameter to `Layout/SpaceBeforeBlockBraces` cop. ([[**palkan**](https://github.com/palkan)][]) > * [#4453](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4453): New cop `Style/RedundantConditional` checks for conditionals that return true/false. ([[**petehamilton**](https://github.com/petehamilton)][]) > * [#4448](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4448): Add new `TapFormatter`. ([[**cyberdelia**](https://github.com/cyberdelia)][]) > * Add new `Style/HeredocDelimiters` cop. ([[**drenmi**](https://github.com/drenmi)][]) > * [#4153](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/4153): New cop `Lint/ReturnInVoidContext` checks for the use of a return with a value in a context where it will be ignored. ([[**harold-s**](https://github.com/harold-s)][]) > * Add auto-correct support to `Lint/ScriptPermission`. ([[**rrosenblum**](https://github.com/rrosenblum)][]) > * [#4514](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4514): Add configuration options to `Style/YodaCondition` to support checking all comparison operators or equality operators only. ([[**smakagon**](https://github.com/smakagon)][]) > * Add new `Lint/BooleanSymbol` cop. ([[**droptheplot**](https://github.com/droptheplot)][]) > * Make `Rails/PluralizationGrammar` use singular methods for `-1` / `-1.0`. ([[**promisedlandt**](https://github.com/promisedlandt)][]) > * [#4541](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4541): Add new `Rails/HasManyOrHasOneDependent` cop. ([[**oboxodo**](https://github.com/oboxodo)][]) > * Add new `Style/Dir` cop. ([[**drenmi**](https://github.com/drenmi)][]) > * Add new `Style/HeredocDelimiterCase` cop. ([[**drenmi**](https://github.com/drenmi)][]) > * [#2943](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/2943): Add new `Lint/RescueWithoutErrorClass` cop. ([[**drenmi**](https://github.com/drenmi)][]) > * [#4568](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4568): Fix autocorrection for `Style/TrailingUnderscoreVariable`. ([[**smakagon**](https://github.com/smakagon)][]) > * [#4586](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4586): Add new `Performance/UnfreezeString` cop. ([[**pocke**](https://github.com/pocke)][]) > * [#2976](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/2976): Add `Whitelist` configuration option to `Style/NestedParenthesizedCalls` cop. ([[**drenmi**](https://github.com/drenmi)][]) > * [#3965](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/3965): Add new `Style/DoublePipeEquals` cop. ([[**donjar**](https://github.com/donjar)][]) > * Make `rake new_cop` create parent directories if they do not already exist. ([[**highb**](https://github.com/highb)][]) > * [#4368](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/4368): Make `Performance/HashEachMethod` inspect send nodes with any receiver. ([[**gohdaniel15**](https://github.com/gohdaniel15)][]) > * [#4508](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/4508): Add new `Style/ReturnNil` cop. ([[**donjar**](https://github.com/donjar)][]) > * [#4629](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/4629): Add Metrics/MethodLength cop for `define_method`. ([[**jekuta**](https://github.com/jekuta)][]) > * [#4702](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4702): Add new `Lint/UriEscapeUnescape` cop. ([[**koic**](https://github.com/koic)][]) > * [#4696](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4696): Add new `Performance/UriDefaultParser` cop. ([[**koic**](https://github.com/koic)][]) > * [#4694](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4694): Add new `Lint/UriRegexp` cop. ([[**koic**](https://github.com/koic)][]) > * Add new `Style/MinMax` cop. ([[**drenmi**](https://github.com/drenmi)][]) > * [#4720](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4720): Add new `Bundler/InsecureProtocolSource` cop. ([[**koic**](https://github.com/koic)][]) > * [#4708](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4708): Add new `Lint/RedundantWithIndex` cop`. ([[**koic**](https://github.com/koic)][]) > > ### Bug fixes > > * [#4709](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4709): Use cached remote config on network failure. ([[**kristjan**](https://github.com/kristjan)][]) > * [#4688](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4688): Accept yoda condition which isn't commutative. ([[**fujimura**](https://github.com/fujimura)][]) > * [#4676](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/4676): Make `Style/RedundantConditional` cop work with elsif. ([[**akhramov**](https://github.com/akhramov)][]) > * [#4656](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/4656): Modify `Style/ConditionalAssignment` autocorrection to work with unbracketed arrays. ([[**akhramov**](https://github.com/akhramov)][]) > * [#4615](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4615): Don't consider `<=>` a comparison method. ([[**iGEL**](https://github.com/iGEL)][]) > * [#4664](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4664): Fix typos in Rails/HttpPositionalArguments. ([[**JoeCohen**](https://github.com/JoeCohen)][]) > * [#4618](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4618): Fix `Lint/FormatParameterMismatch` false positive if format string includes `%%5B` (CGI encoded left bracket). ([[**barthez**](https://github.com/barthez)][]) > * [#4604](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4604): Fix `Style/LambdaCall` to autocorrect `obj.call` to `obj.`. ([[**iGEL**](https://github.com/iGEL)][]) > * [#4443](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4443): Prevent `Style/YodaCondition` from breaking `not LITERAL`. ([[**pocke**](https://github.com/pocke)][]) > * [#4434](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/4434): Prevent bad auto-correct in `Style/Alias` for non-literal arguments. ([[**drenmi**](https://github.com/drenmi)][]) > * [#4451](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/4451): Make `Style/AndOr` cop aware of comparison methods. ([[**drenmi**](https://github.com/drenmi)][]) > * [#4457](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4457): Fix false negative in `Lint/Void` with initialize and setter methods. ([[**pocke**](https://github.com/pocke)][]) > * [#4418](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/4418): Register an offense in `Style/ConditionalAssignment` when the assignment line is the longest line, and it does not exceed the max line length. ([[**rrosenblum**](https://github.com/rrosenblum)][]) > * [#4491](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/4491): Prevent bad auto-correct in `Style/EmptyElse` for nested `if`. ([[**pocke**](https://github.com/pocke)][]) > * [#4485](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4485): Handle 304 status for remote config files. ([[**daniloisr**](https://github.com/daniloisr)][]) > * [#4529](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/4529): Make `Lint/UnreachableCode` aware of `if` and `case`. ([[**pocke**](https://github.com/pocke)][]) > * [#4469](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/4469): Include permissions in file cache. ([[**pocke**](https://github.com/pocke)][]) > ... (truncated)
Changelog *Sourced from [rubocop's changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md).* > ## 0.50.0 (2017-09-14) > > ### New features > > * [#4464](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4464): Add `EnforcedStyleForEmptyBraces` parameter to `Layout/SpaceBeforeBlockBraces` cop. ([[**palkan**](https://github.com/palkan)][]) > * [#4453](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4453): New cop `Style/RedundantConditional` checks for conditionals that return true/false. ([[**petehamilton**](https://github.com/petehamilton)][]) > * [#4448](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4448): Add new `TapFormatter`. ([[**cyberdelia**](https://github.com/cyberdelia)][]) > * [#4467](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4467): Add new `Style/HeredocDelimiters` cop(Note: This cop was renamed to `Naming/HeredocDelimiterNaming`). ([[**drenmi**](https://github.com/drenmi)][]) > * [#4153](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4153): New cop `Lint/ReturnInVoidContext` checks for the use of a return with a value in a context where it will be ignored. ([[**harold-s**](https://github.com/harold-s)][]) > * [#4506](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4506): Add auto-correct support to `Lint/ScriptPermission`. ([[**rrosenblum**](https://github.com/rrosenblum)][]) > * [#4514](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4514): Add configuration options to `Style/YodaCondition` to support checking all comparison operators or equality operators only. ([[**smakagon**](https://github.com/smakagon)][]) > * [#4515](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4515): Add new `Lint/BooleanSymbol` cop. ([[**droptheplot**](https://github.com/droptheplot)][]) > * [#4535](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4535): Make `Rails/PluralizationGrammar` use singular methods for `-1` / `-1.0`. ([[**promisedlandt**](https://github.com/promisedlandt)][]) > * [#4541](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4541): Add new `Rails/HasManyOrHasOneDependent` cop. ([[**oboxodo**](https://github.com/oboxodo)][]) > * [#4552](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4552): Add new `Style/Dir` cop. ([[**drenmi**](https://github.com/drenmi)][]) > * [#4548](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4548): Add new `Style/HeredocDelimiterCase` cop(Note: This cop is renamed to `Naming/HeredocDelimiterCase`). ([[**drenmi**](https://github.com/drenmi)][]) > * [#2943](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/2943): Add new `Lint/RescueWithoutErrorClass` cop. ([[**drenmi**](https://github.com/drenmi)][]) > * [#4568](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4568): Fix autocorrection for `Style/TrailingUnderscoreVariable`. ([[**smakagon**](https://github.com/smakagon)][]) > * [#4586](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4586): Add new `Performance/UnfreezeString` cop. ([[**pocke**](https://github.com/pocke)][]) > * [#2976](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/2976): Add `Whitelist` configuration option to `Style/NestedParenthesizedCalls` cop. ([[**drenmi**](https://github.com/drenmi)][]) > * [#3965](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/3965): Add new `Style/OrAssignment` cop. ([[**donjar**](https://github.com/donjar)][]) > * [#4655](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4655): Make `rake new_cop` create parent directories if they do not already exist. ([[**highb**](https://github.com/highb)][]) > * [#4368](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4368): Make `Performance/HashEachMethod` inspect send nodes with any receiver. ([[**gohdaniel15**](https://github.com/gohdaniel15)][]) > * [#4508](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4508): Add new `Style/ReturnNil` cop. ([[**donjar**](https://github.com/donjar)][]) > * [#4629](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4629): Add Metrics/MethodLength cop for `define_method`. ([[**jekuta**](https://github.com/jekuta)][]) > * [#4702](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4702): Add new `Lint/UriEscapeUnescape` cop. ([[**koic**](https://github.com/koic)][]) > * [#4696](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4696): Add new `Performance/UriDefaultParser` cop. ([[**koic**](https://github.com/koic)][]) > * [#4694](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4694): Add new `Lint/UriRegexp` cop. ([[**koic**](https://github.com/koic)][]) > * [#4711](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4711): Add new `Style/MinMax` cop. ([[**drenmi**](https://github.com/drenmi)][]) > * [#4720](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4720): Add new `Bundler/InsecureProtocolSource` cop. ([[**koic**](https://github.com/koic)][]) > * [#4708](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4708): Add new `Lint/RedundantWithIndex` cop. ([[**koic**](https://github.com/koic)][]) > * [#4480](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4480): Add new `Lint/InterpolationCheck` cop. ([[**GauthamGoli**](https://github.com/GauthamGoli)][]) > * [#4628](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4628): Add new `Lint/NestedPercentLiteral` cop. ([[**asherkach**](https://github.com/asherkach)][]) > > ### Bug fixes > > * [#4709](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4709): Use cached remote config on network failure. ([[**kristjan**](https://github.com/kristjan)][]) > * [#4688](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4688): Accept yoda condition which isn't commutative. ([[**fujimura**](https://github.com/fujimura)][]) > * [#4676](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4676): Make `Style/RedundantConditional` cop work with elsif. ([[**akhramov**](https://github.com/akhramov)][]) > * [#4656](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4656): Modify `Style/ConditionalAssignment` autocorrection to work with unbracketed arrays. ([[**akhramov**](https://github.com/akhramov)][]) > * [#4615](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4615): Don't consider `<=>` a comparison method. ([[**iGEL**](https://github.com/iGEL)][]) > * [#4664](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4664): Fix typos in Rails/HttpPositionalArguments. ([[**JoeCohen**](https://github.com/JoeCohen)][]) > * [#4618](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4618): Fix `Lint/FormatParameterMismatch` false positive if format string includes `%%5B` (CGI encoded left bracket). ([[**barthez**](https://github.com/barthez)][]) > * [#4604](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4604): Fix `Style/LambdaCall` to autocorrect `obj.call` to `obj.`. ([[**iGEL**](https://github.com/iGEL)][]) > * [#4443](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4443): Prevent `Style/YodaCondition` from breaking `not LITERAL`. ([[**pocke**](https://github.com/pocke)][]) > * [#4434](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4434): Prevent bad auto-correct in `Style/Alias` for non-literal arguments. ([[**drenmi**](https://github.com/drenmi)][]) > * [#4451](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4451): Make `Style/AndOr` cop aware of comparison methods. ([[**drenmi**](https://github.com/drenmi)][]) > * [#4457](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4457): Fix false negative in `Lint/Void` with initialize and setter methods. ([[**pocke**](https://github.com/pocke)][]) > * [#4418](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4418): Register an offense in `Style/ConditionalAssignment` when the assignment line is the longest line, and it does not exceed the max line length. ([[**rrosenblum**](https://github.com/rrosenblum)][]) > * [#4491](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4491): Prevent bad auto-correct in `Style/EmptyElse` for nested `if`. ([[**pocke**](https://github.com/pocke)][]) > ... (truncated)
Commits - See full diff in [compare view](https://github.com/rubocop-hq/rubocop/commits/v0.50.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.