sensu-plugins / sensu-plugin

A framework for writing Sensu plugins & handlers with Ruby.
http://sensuapp.org
MIT License
126 stars 117 forks source link

Update rubocop requirement from ~> 0.49.0 to ~> 0.64.0 #203

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.64 > ### New features > > * [#6704](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6704): Add new `Rails/ReflectionClassName` cop. ([@​Bhacaz][]) > * [#6643](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6643): Support `AllowParenthesesInCamelCaseMethod` option on `Style/MethodCallWithArgsParentheses` `omit_parentheses`. ([@​dazuma][]) > > ### Bug fixes > > * [#6254](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6254): Fix `Layout/RescueEnsureAlignment` for non-local assignments. ([@​marcotc][]) > * [#6648](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6648): Fix auto-correction of `Style/EmptyLiteral` when `Hash.new` is passed as the first argument to `super`. ([@​rrosenblum][]) > * [#6351](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6351): Fix a false positive for `Layout/ClosingParenthesisIndentation` when first argument is multiline. ([@​antonzaytsev][]) > * [#6689](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6689): Support more complex argument patterns on `Rails/Validation` auto-correction. ([@​r7kamura][]) > * [#6668](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6668): Fix autocorrection for `Style/UnneededCondition` when conditional has the `unless` form. ([@​mvz][]) > * [#6382](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6382): Fix `Layout/IndentationWidth` with `Layout/EndAlignment` set to start_of_line. ([@​dischorde][], [@​siegfault][], [@​mhelmetag][]) > * [#6710](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6710): Fix `Naming/MemoizedInstanceVariableName` on method starts with underscore. ([@​pocke][]) > * [#6722](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6722): Fix an error for `Style/OneLineConditional` when `then` branch has no body. ([@​koic][]) > * [#6702](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6702): Fix `TrailingComma` regression where heredoc with commas caused false positives. ([@​abrom][]) > * [#6737](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6737): Fix an incorrect auto-correct for `Rails/LinkToBlank` when `link_to` method arguments are enclosed in parentheses. ([@​koic][]) > * [#6720](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6720): Fix detection of `:native` line ending for `Layout/EndOfLine` on JRuby. ([@​enkessler][]) > > ### Changes > > * [#6597](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6597): `Style/LineEndConcatenation` is now known to be unsafe for auto-correct. ([@​jaredbeck][]) > * [#6725](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6725): Mark `Style/SymbolProc` as unsafe for auto-correct. ([@​drenmi][]) > * [#6708](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6708): Make `Style/CommentedKeyword` allow the `:yields:` RDoc comment. ([@​bquorning][]) > * [#6749](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6749): Make some cops aware of safe navigation operator. ([@​hoshinotsuyoshi][]) > > [@​Bhacaz]: https://github.com/Bhacaz > [@​dazuma]: https://github.com/dazuma > [@​marcotc]: https://github.com/marcotc > [@​rrosenblum]: https://github.com/rrosenblum > [@​antonzaytsev]: https://github.com/antonzaytsev > [@​r7kamura]: https://github.com/r7kamura > [@​mvz]: https://github.com/mvz > [@​dischorde]: https://github.com/dischorde > [@​siegfault]: https://github.com/siegfault > [@​mhelmetag]: https://github.com/mhelmetag > [@​pocke]: https://github.com/pocke > [@​koic]: https://github.com/koic > [@​abrom]: https://github.com/abrom > [@​enkessler]: https://github.com/enkessler > [@​jaredbeck]: https://github.com/jaredbeck > [@​drenmi]: https://github.com/drenmi > [@​bquorning]: https://github.com/bquorning > [@​hoshinotsuyoshi]: https://github.com/hoshinotsuyoshi
Changelog *Sourced from [rubocop's changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md).* > ## 0.64.0 (2019-02-10) > > ### New features > > * [#6704](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6704): Add new `Rails/ReflectionClassName` cop. ([@​Bhacaz][]) > * [#6643](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6643): Support `AllowParenthesesInCamelCaseMethod` option on `Style/MethodCallWithArgsParentheses` `omit_parentheses`. ([@​dazuma][]) > > ### Bug fixes > > * [#6254](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6254): Fix `Layout/RescueEnsureAlignment` for non-local assignments. ([@​marcotc][]) > * [#6648](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6648): Fix auto-correction of `Style/EmptyLiteral` when `Hash.new` is passed as the first argument to `super`. ([@​rrosenblum][]) > * [#6351](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6351): Fix a false positive for `Layout/ClosingParenthesisIndentation` when first argument is multiline. ([@​antonzaytsev][]) > * [#6689](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6689): Support more complex argument patterns on `Rails/Validation` auto-correction. ([@​r7kamura][]) > * [#6668](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6668): Fix autocorrection for `Style/UnneededCondition` when conditional has the `unless` form. ([@​mvz][]) > * [#6382](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6382): Fix `Layout/IndentationWidth` with `Layout/EndAlignment` set to start_of_line. ([@​dischorde][], [@​siegfault][], [@​mhelmetag][]) > * [#6710](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6710): Fix `Naming/MemoizedInstanceVariableName` on method starts with underscore. ([@​pocke][]) > * [#6722](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6722): Fix an error for `Style/OneLineConditional` when `then` branch has no body. ([@​koic][]) > * [#6702](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6702): Fix `TrailingComma` regression where heredoc with commas caused false positives. ([@​abrom][]) > * [#6737](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6737): Fix an incorrect auto-correct for `Rails/LinkToBlank` when `link_to` method arguments are enclosed in parentheses. ([@​koic][]) > * [#6720](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6720): Fix detection of `:native` line ending for `Layout/EndOfLine` on JRuby. ([@​enkessler][]) > > ### Changes > > * [#6597](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6597): `Style/LineEndConcatenation` is now known to be unsafe for auto-correct. ([@​jaredbeck][]) > * [#6725](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6725): Mark `Style/SymbolProc` as unsafe for auto-correct. ([@​drenmi][]) > * [#6708](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6708): Make `Style/CommentedKeyword` allow the `:yields:` RDoc comment. ([@​bquorning][]) > * [#6749](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6749): Make some cops aware of safe navigation operator. ([@​hoshinotsuyoshi][]) > > ## 0.63.1 (2019-01-22) > > ### Bug fixes > > * [#6678](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6678): Fix `Lint/DisjunctiveAssignmentInConstructor` when it finds an empty constructor. ([@​rmm5t][]) > * Do not attempt to auto-correct mass assignment or optional assignment in `Rails/RelativeDateConstant`. ([@​rrosenblum][]) > * Fix auto-correction of `Style/WordArray` and `Style/SymbolArray` when all elements are on separate lines and there is a trailing comment after the closing bracket. ([@​rrosenblum][]) > * Fix an exception that occurs when auto-correcting `Layout/ClosingParenthesesIndentation` when there are no arguments. ([@​rrosenblum][]) > > ## 0.63.0 (2019-01-16) > > ### New features > > * [#6604](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6604): Add auto-correct support to `Rails/LinkToBlank`. ([@​Intrepidd][]) > * [#6660](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6660): Add new `Rails/IgnoredSkipActionFilterOption` cop. ([@​wata727][]) > * [#6363](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6363): Allow `Style/YodaCondition` cop to be configured to enforce yoda conditions. ([@​tejasbubane][]) > * [#6150](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6150): Add support to enforce disabled cops to be executed. ([@​roooodcastro][]) > * [#6596](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6596): Add new `Rails/BelongsTo` cop with auto-correct for Rails >= 5. ([@​petehamilton][]) > > ### Bug fixes > > * [#6627](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6627): Fix handling of hashes in trailing comma. ([@​abrom][]) > ... (truncated)
Commits - [`eb1caef`](https://github.com/rubocop-hq/rubocop/commit/eb1caef0dd0d492f7f5fc192f4caf9289eb4366b) Merge pull request [#6753](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6753) from Drenmi/release/0-64-0 - [`7c6917d`](https://github.com/rubocop-hq/rubocop/commit/7c6917d4a3c1f90cf769dddcba770dcffcf1bb0c) Cut 0.64.0 - [`548bf43`](https://github.com/rubocop-hq/rubocop/commit/548bf43641760a86dff365dc3310893dc0b88835) Merge pull request [#6749](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6749) from hoshinotsuyoshi/aware_safe_navigator_in_some_cops - [`48415e2`](https://github.com/rubocop-hq/rubocop/commit/48415e2f14b2b2515d372265dfa76136edd4c238) Add a test case for modifying RuboCop::Cop::CheckAssignment#extract_rhs - [`0ce168e`](https://github.com/rubocop-hq/rubocop/commit/0ce168ed9cae7eb453e897f1378b78fe6ab2200d) Update CHANGELOG.md - [`fcd785c`](https://github.com/rubocop-hq/rubocop/commit/fcd785c5ff5ffe9bd955f7fb829abf2c55cd2583) Make `Style/TrailingCommaInArguments` aware of safe navigation operator - [`82402bc`](https://github.com/rubocop-hq/rubocop/commit/82402bc2703042a277ce4d94d4e2c47b0087842c) Make `Style/StringMethods` aware of safe navigation operator - [`4f6c20b`](https://github.com/rubocop-hq/rubocop/commit/4f6c20bb077a9c94d3d4ce3ccf6e3612171edf4c) Make `Style/Send` aware of safe navigation operator - [`5fc114c`](https://github.com/rubocop-hq/rubocop/commit/5fc114cf952f2f281fd692c79a179b265f8a4c3f) Make `Style/PreferredHashMethods` aware of safe navigation operator - [`a285622`](https://github.com/rubocop-hq/rubocop/commit/a2856221765cd5d60e621474c13bd39cc51a94c2) Make `Style/NestedParenthesizedCalls` aware of safe navigation operator - Additional commits viewable in [compare view](https://github.com/rubocop-hq/rubocop/compare/v0.49.0...v0.64.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 - `@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 #204.