sensu-plugins / sensu-plugins-elasticsearch

This plugin provides native ElasticSearch instrumentation for monitoring and metrics collection, including: service health and metrics for cluster, node, and more.
http://sensu-plugins.io
MIT License
32 stars 77 forks source link

Update rubocop requirement from ~> 0.51.0 to ~> 0.75.1 #161

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.75.1 > ### Bug fixes > > * [#7391](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7391): Support pacman formatter on Windows. ([@​laurenball][]) > * [#7407](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7407): Make `Style/FormatStringToken` work inside hashes. ([@​buehmann][]) > * [#7389](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7389): Fix an issue where passing a formatter might result in an error depending on what character it started with. ([@​jfhinchcliffe][]) > * [#7397](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7397): Fix extra comments being added to the correction of `Style/SafeNavigation`. ([@​rrosenblum][]) > * [#7378](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/7378): Fix heredoc edge cases in `Layout/EmptyLineAfterGuardClause`. ([@​gsamokovarov][]) > * [#7404](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7404): Fix a false negative for `Layout/IndentAssignment` when multiple assignment with line breaks on each line. ([@​koic][]) > > ### Changes > > * [#7410](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7410): `Style/FormatStringToken` now finds unannotated format sequences in `printf` arguments. ([@​buehmann][]) > * [#6964](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6964): Set default `IgnoreCopDirectives` to `true` for `Metrics/LineLength`. ([@​jdkaplan][]) > > [@​laurenball]: https://github.com/laurenball > [@​buehmann]: https://github.com/buehmann > [@​jfhinchcliffe]: https://github.com/jfhinchcliffe > [@​rrosenblum]: https://github.com/rrosenblum > [@​gsamokovarov]: https://github.com/gsamokovarov > [@​koic]: https://github.com/koic > [@​jdkaplan]: https://github.com/jdkaplan
Changelog *Sourced from [rubocop's changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md).* > ## 0.75.1 (2019-10-14) > > ### Bug fixes > > * [#7391](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7391): Support pacman formatter on Windows. ([@​laurenball][]) > * [#7407](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7407): Make `Style/FormatStringToken` work inside hashes. ([@​buehmann][]) > * [#7389](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7389): Fix an issue where passing a formatter might result in an error depending on what character it started with. ([@​jfhinchcliffe][]) > * [#7397](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7397): Fix extra comments being added to the correction of `Style/SafeNavigation`. ([@​rrosenblum][]) > * [#7378](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/7378): Fix heredoc edge cases in `Layout/EmptyLineAfterGuardClause`. ([@​gsamokovarov][]) > * [#7404](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7404): Fix a false negative for `Layout/IndentAssignment` when multiple assignment with line breaks on each line. ([@​koic][]) > > ### Changes > > * [#7410](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7410): `Style/FormatStringToken` now finds unannotated format sequences in `printf` arguments. ([@​buehmann][]) > * [#6964](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6964): Set default `IgnoreCopDirectives` to `true` for `Metrics/LineLength`. ([@​jdkaplan][]) > > ## 0.75.0 (2019-09-30) > > ### New features > > * [#7274](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7274): Add new `Lint/SendWithMixinArgument` cop. ([@​koic][]) > * [#7272](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/7272): Show warning message if passed string to `Enabled`, `Safe`, `SafeAutocorrect`, and `AutoCorrect` keys in .rubocop.yml. ([@​unasuke][]) > * [#7295](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/7295): Make it possible to set `StyleGuideBaseURL` per department. ([@​koic][]) > * [#7301](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/7301): Add check for calls to `remote_byebug` to `Lint/Debugger` cop. ([@​riley-klingler][]) > * [#7321](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7321): Allow YAML aliases in `.rubocop.yml`. ([@​raymondfallon][]) > * [#7317](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/7317): Add new formatter `pacman`. ([@​crojasaragonez][]) > * [#6075](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6075): Support `IgnoredPatterns` option for `Naming/MethodName` cop. ([@​koic][]) > * [#7335](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/7335): Add todo as an alias to disable. `--disable-uncorrectable` will now disable cops using `rubocop:todo` instead of `rubocop:disable`. ([@​desheikh][]) > > ### Bug fixes > > * [#7391](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7391): Support pacman formatter on Windows. ([@​laurenball][]) > * [#7256](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7256): Fix an error of `Style/RedundantParentheses` on method calls where the first argument begins with a hash literal. ([@​halfwhole][]) > * [#7263](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7263): Make `Layout/SpaceInsideArrayLiteralBrackets` properly handle tab-indented arrays. ([@​buehmann][]) > * [#7252](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7252): Prevent infinite loops by making `Layout/SpaceInsideStringInterpolation` skip over interpolations that start or end with a line break. ([@​buehmann][]) > * [#7262](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7262): `Lint/FormatParameterMismatch` did not recognize named format sequences like `%.2f` where the name appears after some modifiers. ([@​buehmann][]) > * [#7253](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7253): Fix an error for `Lint/NumberConversion` when `#to_i` called without a receiver. ([@​koic][]) > * [#7271](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7271), [#6498](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6498): Fix an interference between `Style/TrailingCommaIn*Literal` and `Layout/Multiline*BraceLayout` for arrays and hashes. ([@​buehmann][]) > * [#7241](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7241): Make `Style/FrozenStringLiteralComment` match only true & false. ([@​tejasbubane][]) > * [#7290](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7290): Handle inner conditional inside `else` in `Style/ConditionalAssignment`. ([@​jonas054][]) > * [#5788](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/5788): Allow block arguments on separate lines if line would be too long in `Layout/MultilineBlockLayout`. ([@​jonas054][]) > * [#7305](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7305): Register `Style/BlockDelimiters` offense when block result is assigned to an attribute. ([@​mvz][]) > * [#4802](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4802): Don't leave any `Lint/UnneededCopEnableDirective` offenses undetected/uncorrected. ([@​jonas054][]) > * [#7326](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7326): Fix a false positive for `Style/AccessModifierDeclarations` when access modifier name is used for hash literal value. ([@​koic][]) > * [#3591](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/3591): Handle modifier `if`/`unless` correctly in `Lint/UselessAssignment`. ([@​jonas054][]) > * [#7161](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7161): Fix `Style/SafeNavigation` cop for preserve comments inside if expression. ([@​tejasbubane][]) > * [#5212](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/5212): Avoid false positive for braces that are needed to preserve semantics in `Style/BracesAroundHashParameters`. ([@​jonas054][]) > * [#7353](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7353): Fix a false positive for `Style/RedundantSelf` when receiver and multiple assigned lvalue have the same name. ([@​koic][]) > * [#7353](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7353): Fix a false positive for `Style/RedundantSelf` when a self receiver is used as a method argument. ([@​koic][]) > * [#7358](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7358): Fix an incorrect autocorrect for `Style/NestedModifier` when parentheses are required in method arguments. ([@​koic][]) > ... (truncated)
Commits - [`ef25ea2`](https://github.com/rubocop-hq/rubocop/commit/ef25ea2016ec15745df013ecccf94896d7183dac) Cut 0.75.1 - [`0d2cca4`](https://github.com/rubocop-hq/rubocop/commit/0d2cca41cdb3fcf9cedb7952d46cb4805d08a4ae) [Fix [#6964](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6964)] Set default `IgnoreCopDirectives` to `true` for `Metrics/LineLength` - [`beb7bd7`](https://github.com/rubocop-hq/rubocop/commit/beb7bd7c26579a5d469362bc25bdbd12f275025e) Merge pull request [#7416](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7416) from koic/fix_false_negative_for_layout_indent_assig... - [`ab9de95`](https://github.com/rubocop-hq/rubocop/commit/ab9de95a1659635ed3149beeb604f7694924590e) Add examples for `Lint/UnusedBlockArgument` - [`256b227`](https://github.com/rubocop-hq/rubocop/commit/256b2274e29ae6419b84e396e0fb87f0939c5b05) Add examples for `Style/Semicolon` - [`f6dfe8d`](https://github.com/rubocop-hq/rubocop/commit/f6dfe8d46502239e237573e47cd2e83c461e1f3d) Add examples for `Lint/UnusedMethodArgument` - [`978d21b`](https://github.com/rubocop-hq/rubocop/commit/978d21b98fb88b64335fb18a6a3995a2f8ce7a47) Merge pull request [#7427](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7427) from koic/bump_rubocop_performance_to_1_5_0 - [`159047a`](https://github.com/rubocop-hq/rubocop/commit/159047a41d6a9e581e44292cffaa5ae57ab4547c) Bump RuboCop Performance to 1.5.0 - [`5e01aed`](https://github.com/rubocop-hq/rubocop/commit/5e01aed9bb1143fd01c1955c96ba03763b385da9) [Fix [#7404](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7404)] Fix a false negative for `Layout/IndentAssignment` - [`13b78a4`](https://github.com/rubocop-hq/rubocop/commit/13b78a489c52f9b15409e56a9de80b6cfdf899ac) Tweak a changelog entry - Additional commits viewable in [compare view](https://github.com/rubocop-hq/rubocop/compare/v0.51.0...v0.75.1)


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 close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor 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) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)
dependabot-preview[bot] commented 5 years ago

Superseded by #162.