sensu-plugins / sensu-plugins-slack

Sensu Slack chat handlers
http://sensu-plugins.io
MIT License
30 stars 54 forks source link

Update rubocop requirement from ~> 0.40.0 to ~> 0.66.0 #79

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.66 > ### New features > > * [#6393](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6393): Add `AllowBracesOnProceduralOneLiners` option to fine-tune `Style/BlockDelimiter`'s semantic mode. ([@​davearonson][]) > * [#6383](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6383): Add `AllowBeforeTrailingComments` option on `Layout/ExtraSpacing` cop. ([@​davearonson][]) > * New cop `Lint/SafeNavigationWithEmpty` checks for `foo&.empty?` in conditionals. ([@​rspeicher][]) > * Add new `Style/ConstantVisibility` cop for enforcing visibility declarations of class and module constants. ([@​drenmi][]) > * [#6378](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6378): Add `Lint/ToJSON` cop to enforce an argument when overriding `#to_json`. ([@​allcentury][]) > * [#6346](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6346): Add auto-correction to `Rails/TimeZone`. ([@​dcluna][]) > * [#6840](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6840): Node patterns now allow unlimited elements after `...`. ([@​marcandre][]) > > ### Bug fixes > > * [#4321](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4321): Fix false offense for `Style/RedundantSelf` when the method is also defined on `Kernel`. ([@​mikegee][]) > * [#6821](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6821): Fix false negative for `Rails/LinkToBlank` when `_blank` is a symbol. ([@​Intrepidd][]) > * [#6699](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6699): Fix infinite loop for `Layout/IndentationWidth` and `Layout/IndentationConsistency` when bad modifier indentation before good method definition. ([@​koic][]) > * [#6777](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6777): Fix a false positive for `Style/TrivialAccessors` when using trivial reader/writer methods at the top level. ([@​koic][]) > * [#6799](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6799): Fix errors for `Style/ConditionalAssignment`, `Style/IdenticalConditionalBranches`, `Lint/ElseLayout`, and `Layout/IndentationWidth` with empty braces. ([@​pocke][]) > * [#6802](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6802): Fix auto-correction for `Style/SymbolArray` with array contains interpolation when `EnforcedStyle` is `brackets`. ([@​pocke][]) > * [#6797](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6797): Fix false negative for Layout/SpaceAroundBlockParameters on block parameter with parens. ([@​pocke][]) > * [#6798](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6798): Fix infinite loop for `Layout/SpaceAroundBlockParameters` with `EnforcedStyleInsidePipes: :space`. ([@​pocke][]) > * [#6803](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6803): Fix error for `Style/NumericLiterals` on a literal that contains spaces. ([@​pocke][]) > * [#6801](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6801): Fix auto-correction for `Style/Lambda` with no-space argument. ([@​pocke][]) > * [#6804](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6804): Fix auto-correction of `Style/NumericLiterals` on numeric literal with exponent. ([@​pocke][]) > * [#6800](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6800): Fix an incorrect auto-correct for `Rails/Validation` when method arguments are enclosed in parentheses. ([@​koic][]) > * [#6808](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6808): Prevent false positive in `Naming/ConstantName` when assigning a frozen range. ([@​drenmi][]) > * Fix the calculation of `Metrics/AbcSize`. Comparison methods and `else` branches add to the comparison count. ([@​rrosenblum][]) > * [#6791](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6791): Allow `Rails/ReflectionClassName` to use symbol argument for `class_name`. ([@​unasuke][]) > * [#5465](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/5465): Fix `Layout/ClassStructure` to allow grouping macros by their visibility. ([@​gprado][]) > * [#6461](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6461): Restrict `Ctrl-C` handling to RuboCop's loop and simplify it to a single phase. ([[@​deivid](https://github.com/deivid)-rodriguez][]) > > ### Changes > > * Add `$stdout`/`$stderr` and `STDOUT`/`STDERR` method calls to `Rails/Output`. ([@​elebow][]) > * [#6688](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6688): Add `iterator?` to deprecated methods and prefer `block_given?` instead. ([@​tejasbubane][]) > * [#6806](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6806): Remove `powerpack` dependency. ([@​dduugg][]) > * [#6810](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6810): Exclude gemspec file by default for `Metrics/BlockLength` cop. ([@​koic][]) > * [#6813](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6813): Allow unicode/display_width dependency version 1.5.0. ([@​tagliala][]) > * Make `Style/RedundantFreeze` aware of methods that will produce frozen objects. ([@​rrosenblum][]) > * [#6675](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6675): Avoid printing deprecation warnings about constants. ([@​elmasantos][]) > * [#6746](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6746): Avoid offense on `$stderr.puts` with no arguments. ([@​luciamo][]) > * Replace md5 with sha1 for FIPS compliance. ([@​dirtyharrycallahan][]) > > [@​davearonson]: https://github.com/davearonson > [@​rspeicher]: https://github.com/rspeicher > [@​drenmi]: https://github.com/drenmi > [@​allcentury]: https://github.com/allcentury > [@​dcluna]: https://github.com/dcluna > [@​marcandre]: https://github.com/marcandre > [@​mikegee]: https://github.com/mikegee > ... (truncated)
Changelog *Sourced from [rubocop's changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md).* > ## 0.66.0 (2019-03-18) > > ### New features > > * [#6393](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6393): Add `AllowBracesOnProceduralOneLiners` option to fine-tune `Style/BlockDelimiter`'s semantic mode. ([@​davearonson][]) > * [#6383](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6383): Add `AllowBeforeTrailingComments` option on `Layout/ExtraSpacing` cop. ([@​davearonson][]) > * New cop `Lint/SafeNavigationWithEmpty` checks for `foo&.empty?` in conditionals. ([@​rspeicher][]) > * Add new `Style/ConstantVisibility` cop for enforcing visibility declarations of class and module constants. ([@​drenmi][]) > * [#6378](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6378): Add `Lint/ToJSON` cop to enforce an argument when overriding `#to_json`. ([@​allcentury][]) > * [#6346](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6346): Add auto-correction to `Rails/TimeZone`. ([@​dcluna][]) > * [#6840](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6840): Node patterns now allow unlimited elements after `...`. ([@​marcandre][]) > > ### Bug fixes > > * [#4321](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/4321): Fix false offense for `Style/RedundantSelf` when the method is also defined on `Kernel`. ([@​mikegee][]) > * [#6821](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6821): Fix false negative for `Rails/LinkToBlank` when `_blank` is a symbol. ([@​Intrepidd][]) > * [#6699](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6699): Fix infinite loop for `Layout/IndentationWidth` and `Layout/IndentationConsistency` when bad modifier indentation before good method definition. ([@​koic][]) > * [#6777](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6777): Fix a false positive for `Style/TrivialAccessors` when using trivial reader/writer methods at the top level. ([@​koic][]) > * [#6799](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6799): Fix errors for `Style/ConditionalAssignment`, `Style/IdenticalConditionalBranches`, `Lint/ElseLayout`, and `Layout/IndentationWidth` with empty braces. ([@​pocke][]) > * [#6802](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6802): Fix auto-correction for `Style/SymbolArray` with array contains interpolation when `EnforcedStyle` is `brackets`. ([@​pocke][]) > * [#6797](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6797): Fix false negative for Layout/SpaceAroundBlockParameters on block parameter with parens. ([@​pocke][]) > * [#6798](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6798): Fix infinite loop for `Layout/SpaceAroundBlockParameters` with `EnforcedStyleInsidePipes: :space`. ([@​pocke][]) > * [#6803](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6803): Fix error for `Style/NumericLiterals` on a literal that contains spaces. ([@​pocke][]) > * [#6801](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6801): Fix auto-correction for `Style/Lambda` with no-space argument. ([@​pocke][]) > * [#6804](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6804): Fix auto-correction of `Style/NumericLiterals` on numeric literal with exponent. ([@​pocke][]) > * [#6800](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6800): Fix an incorrect auto-correct for `Rails/Validation` when method arguments are enclosed in parentheses. ([@​koic][]) > * [#6808](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6808): Prevent false positive in `Naming/ConstantName` when assigning a frozen range. ([@​drenmi][]) > * Fix the calculation of `Metrics/AbcSize`. Comparison methods and `else` branches add to the comparison count. ([@​rrosenblum][]) > * [#6791](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6791): Allow `Rails/ReflectionClassName` to use symbol argument for `class_name`. ([@​unasuke][]) > * [#5465](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/5465): Fix `Layout/ClassStructure` to allow grouping macros by their visibility. ([@​gprado][]) > * [#6461](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6461): Restrict `Ctrl-C` handling to RuboCop's loop and simplify it to a single phase. ([[@​deivid](https://github.com/deivid)-rodriguez][]) > > ### Changes > > * Add `$stdout`/`$stderr` and `STDOUT`/`STDERR` method calls to `Rails/Output`. ([@​elebow][]) > * [#6688](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6688): Add `iterator?` to deprecated methods and prefer `block_given?` instead. ([@​tejasbubane][]) > * [#6806](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6806): Remove `powerpack` dependency. ([@​dduugg][]) > * [#6810](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6810): Exclude gemspec file by default for `Metrics/BlockLength` cop. ([@​koic][]) > * [#6813](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6813): Allow unicode/display_width dependency version 1.5.0. ([@​tagliala][]) > * Make `Style/RedundantFreeze` aware of methods that will produce frozen objects. ([@​rrosenblum][]) > * [#6675](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6675): Avoid printing deprecation warnings about constants. ([@​elmasantos][]) > * [#6746](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6746): Avoid offense on `$stderr.puts` with no arguments. ([@​luciamo][]) > * Replace md5 with sha1 for FIPS compliance. ([@​dirtyharrycallahan][]) > > ## 0.65.0 (2019-02-19) > > ### New features > > * [#6126](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6126): Add an experimental strict mode to `Style/MutableConstant` that will freeze all constants, rather than just literals. ([@​rrosenblum][]) > * Add `IncludedMacros` to `Style/MethodCallWithArgsParentheses` to allow including specific macros when `IgnoreMacros` is true. ([@​maxh][]) > ... (truncated)
Commits - [`2e96953`](https://github.com/rubocop-hq/rubocop/commit/2e96953c10be61f7255ebcbdc73ffccff5b2baef) Cut 0.66 - [`a5041a5`](https://github.com/rubocop-hq/rubocop/commit/a5041a5f74dc833be7ee5be31891da614c6ade92) Tweak a few changelog entries - [`7c82792`](https://github.com/rubocop-hq/rubocop/commit/7c82792200aade37dd75e1c785785fbee853c523) Unlimited terms after ellipsis ([#6843](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6843)) - [`706dc52`](https://github.com/rubocop-hq/rubocop/commit/706dc52622b282d5c17e121bcfc503b4e504fd0a) Insert a newline at EOF of CHANGELOG.md - [`5892ed9`](https://github.com/rubocop-hq/rubocop/commit/5892ed981d7484ea46ed2a15283ffba21a2d3025) [Fix [#6393](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6393)] Add AllowBracesOnProceduralOneLiners option to Style/BlockDelimit... - [`90e4a27`](https://github.com/rubocop-hq/rubocop/commit/90e4a278b430b747fabb2292c37a8c4afbaed689) Add IncludedMacros config option to MethodCallWithArgsParentheses - [`0161216`](https://github.com/rubocop-hq/rubocop/commit/01612164377f7682a07c8d8f1f5724a9433927ec) Make `Style/RedundantFreeze` aware of methods that will produce frozen object... - [`f7566d6`](https://github.com/rubocop-hq/rubocop/commit/f7566d64aba6651221f8b3f2d6859a9afaa0c885) Replace md5 with sha1 for FIPS compliance - [`6ae6a35`](https://github.com/rubocop-hq/rubocop/commit/6ae6a3536ae747ce4208c596123cc1581742fe4a) Fix the changelog - [`6b91f43`](https://github.com/rubocop-hq/rubocop/commit/6b91f432fc75e85aa6431b25da537919020658c4) [Fix [#6383](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6383)] Add AllowBeforeTrailingComments option to Layout/ExtraSpacing cop... - Additional commits viewable in [compare view](https://github.com/rubocop-hq/rubocop/compare/v0.40.0...v0.66.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 #80.