This plugin provides native MySQL instrumentation for monitoring and metrics collection, including: service health, database connectivity, `InnoDB` locks, replication status, metrics collection, and sending metrics to a MySQL database.
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.61
> ### New features
>
> * [#6457](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6457): Support inner slash correction on `Style/RegexpLiteral`. ([[**r7kamura**](https://github.com/r7kamura)][])
> * [#6475](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6475): Support brace correction on `Style/Lambda`. ([[**r7kamura**](https://github.com/r7kamura)][])
> * [#6469](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6469): Enforce no parentheses style in the `Style/MethodCallWithArgsParentheses` cop. ([[**gsamokovarov**](https://github.com/gsamokovarov)][])
> * New cop `Performance/OpenStruct` checks for `OpenStruct.new` calls. ([[**xlts**](https://github.com/xlts)][])
>
> ### Bug fixes
>
> * [#6433](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6433): Fix Ruby 2.5 `Layout/RescueEnsureAlignment` error on assigned blocks. ([[**gmcgibbon**](https://github.com/gmcgibbon)][])
> * [#6405](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6405): Fix a false positive for `Lint/UselessAssignment` when using a variable in a module name. ([[**itsWill**](https://github.com/itsWill)][])
> * [#5934](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/5934): Handle the combination of `--auto-gen-config` and `--config FILE` correctly. ([[**jonas054**](https://github.com/jonas054)][])
> * [#5970](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/5970): Make running `--auto-gen-config` in a subdirectory work. ([[**jonas054**](https://github.com/jonas054)][])
> * [#6412](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6412): Fix an `unknown keywords` error when using `Psych.safe_load` with Ruby 2.6.0-preview2. ([[**koic**](https://github.com/koic)][])
> * [#6436](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6436): Fix exit status code to be 130 when rubocop is interrupted. ([[**deivid-rodriguez**](https://github.com/deivid-rodriguez)][])
> * [#6443](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6443): Fix an incorrect autocorrect for `Style/BracesAroundHashParameters` when the opening brace is before the first hash element at same line. ([[**koic**](https://github.com/koic)][])
> * [#6445](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6445): Treat `yield` and `super` like regular method calls in `Style/AlignHash`. ([[**mvz**](https://github.com/mvz)][])
> * [#3301](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/3301): Don't suggest or make semantic changes to the code in `Style/InfiniteLoop`. ([[**jonas054**](https://github.com/jonas054)][])
> * [#3586](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/3586): Handle single argument spanning multiple lines in `Style/TrailingCommaInArguments`. ([[**jonas054**](https://github.com/jonas054)][])
> * [#6478](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6478): Fix EmacsComment#encoding to match the `coding` variable. ([[**akihiro17**](https://github.com/akihiro17)][])
> * Don't show "unrecognized parameter" warning for `inherit_mode` parameter to individual cop configurations. ([[**maxh**](https://github.com/maxh)][])
> * [#6449](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6449): Fix a false negative for `Layout/IndentationWidth` when setting `EnforcedStyle: rails` of `Layout/IndentationConsistency` and method definition indented to access modifier in a singleton class. ([[**koic**](https://github.com/koic)][])
> * [#6482](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6482): Fix a false positive for `Lint/FormatParameterMismatch` when using (digit)$ flag. ([[**koic**](https://github.com/koic)][])
> * [#6489](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6489): Fix an error for `Style/UnneededCondition` when `if` condition and `then` branch are the same and it has no `else` branch. ([[**koic**](https://github.com/koic)][])
> * Fix NoMethodError for `Style/FrozenStringLiteral` when a file contains only a shebang. ([[**takaram**](https://github.com/takaram)][])
> * [#6511](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6511): Fix an incorrect auto-correct for `Style/EmptyCaseCondition` when used as an argument of a method. ([[**koic**](https://github.com/koic)][])
> * [#6509](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6509): Fix an incorrect auto-correct for `Style/RaiseArgs` when an exception object is assigned to a local variable. ([[**koic**](https://github.com/koic)][])
> * [#6534](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6534): Fix a false positive for `Lint/UselessAccessModifier` when using `private_class_method`. ([[**dduugg**](https://github.com/dduugg)][])
> * [#6545](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6545): Fix a regression where `Performance/RedundantMerge` raises an error on a sole double splat argument passed to `merge!`. ([[**mmedal**](https://github.com/mmedal)][])
> * [#6360](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6360): Detect bad indentation in `if` nodes even if the first branch is empty. ([[**bquorning**](https://github.com/bquorning)][])
>
> ### Changes
>
> * [#6492](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6492): Auto-correct chunks of comment lines in `Layout/CommentIndentation` to avoid unnecessary iterations for `rubocop -a`. ([[**jonas054**](https://github.com/jonas054)][])
>
> [[**r7kamura**](https://github.com/r7kamura)]: https://github.com/r7kamura
> [[**gsamokovarov**](https://github.com/gsamokovarov)]: https://github.com/gsamokovarov
> [[**xlts**](https://github.com/xlts)]: https://github.com/xlts
> [[**gmcgibbon**](https://github.com/gmcgibbon)]: https://github.com/gmcgibbon
> [[**itsWill**](https://github.com/itsWill)]: https://github.com/itsWill
> [[**jonas054**](https://github.com/jonas054)]: https://github.com/jonas054
> [[**koic**](https://github.com/koic)]: https://github.com/koic
> [[**deivid-rodriguez**](https://github.com/deivid-rodriguez)]: https://github.com/deivid-rodriguez
> [[**mvz**](https://github.com/mvz)]: https://github.com/mvz
> [[**akihiro17**](https://github.com/akihiro17)]: https://github.com/akihiro17
> [[**maxh**](https://github.com/maxh)]: https://github.com/maxh
> [[**takaram**](https://github.com/takaram)]: https://github.com/takaram
> [[**dduugg**](https://github.com/dduugg)]: https://github.com/dduugg
> [[**mmedal**](https://github.com/mmedal)]: https://github.com/mmedal
> ... (truncated)
Changelog
*Sourced from [rubocop's changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md).*
> ## 0.61.0 (2018-12-05)
>
> ### New features
>
> * [#6457](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6457): Support inner slash correction on `Style/RegexpLiteral`. ([[**r7kamura**](https://github.com/r7kamura)][])
> * [#6475](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6475): Support brace correction on `Style/Lambda`. ([[**r7kamura**](https://github.com/r7kamura)][])
> * [#6469](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6469): Enforce no parentheses style in the `Style/MethodCallWithArgsParentheses` cop. ([[**gsamokovarov**](https://github.com/gsamokovarov)][])
> * New cop `Performance/OpenStruct` checks for `OpenStruct.new` calls. ([[**xlts**](https://github.com/xlts)][])
>
> ### Bug fixes
>
> * [#6433](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6433): Fix Ruby 2.5 `Layout/RescueEnsureAlignment` error on assigned blocks. ([[**gmcgibbon**](https://github.com/gmcgibbon)][])
> * [#6405](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6405): Fix a false positive for `Lint/UselessAssignment` when using a variable in a module name. ([[**itsWill**](https://github.com/itsWill)][])
> * [#5934](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/5934): Handle the combination of `--auto-gen-config` and `--config FILE` correctly. ([[**jonas054**](https://github.com/jonas054)][])
> * [#5970](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/5970): Make running `--auto-gen-config` in a subdirectory work. ([[**jonas054**](https://github.com/jonas054)][])
> * [#6412](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6412): Fix an `unknown keywords` error when using `Psych.safe_load` with Ruby 2.6.0-preview2. ([[**koic**](https://github.com/koic)][])
> * [#6436](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6436): Fix exit status code to be 130 when rubocop is interrupted. ([[**deivid-rodriguez**](https://github.com/deivid-rodriguez)][])
> * [#6443](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6443): Fix an incorrect autocorrect for `Style/BracesAroundHashParameters` when the opening brace is before the first hash element at same line. ([[**koic**](https://github.com/koic)][])
> * [#6445](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6445): Treat `yield` and `super` like regular method calls in `Style/AlignHash`. ([[**mvz**](https://github.com/mvz)][])
> * [#3301](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/3301): Don't suggest or make semantic changes to the code in `Style/InfiniteLoop`. ([[**jonas054**](https://github.com/jonas054)][])
> * [#3586](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/3586): Handle single argument spanning multiple lines in `Style/TrailingCommaInArguments`. ([[**jonas054**](https://github.com/jonas054)][])
> * [#6478](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6478): Fix EmacsComment#encoding to match the `coding` variable. ([[**akihiro17**](https://github.com/akihiro17)][])
> * Don't show "unrecognized parameter" warning for `inherit_mode` parameter to individual cop configurations. ([[**maxh**](https://github.com/maxh)][])
> * [#6449](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6449): Fix a false negative for `Layout/IndentationWidth` when setting `EnforcedStyle: rails` of `Layout/IndentationConsistency` and method definition indented to access modifier in a singleton class. ([[**koic**](https://github.com/koic)][])
> * [#6482](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6482): Fix a false positive for `Lint/FormatParameterMismatch` when using (digit)$ flag. ([[**koic**](https://github.com/koic)][])
> * [#6489](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6489): Fix an error for `Style/UnneededCondition` when `if` condition and `then` branch are the same and it has no `else` branch. ([[**koic**](https://github.com/koic)][])
> * Fix NoMethodError for `Style/FrozenStringLiteral` when a file contains only a shebang. ([[**takaram**](https://github.com/takaram)][])
> * [#6511](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6511): Fix an incorrect auto-correct for `Style/EmptyCaseCondition` when used as an argument of a method. ([[**koic**](https://github.com/koic)][])
> * [#6509](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6509): Fix an incorrect auto-correct for `Style/RaiseArgs` when an exception object is assigned to a local variable. ([[**koic**](https://github.com/koic)][])
> * [#6534](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6534): Fix a false positive for `Lint/UselessAccessModifier` when using `private_class_method`. ([[**dduugg**](https://github.com/dduugg)][])
> * [#6545](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6545): Fix a regression where `Performance/RedundantMerge` raises an error on a sole double splat argument passed to `merge!`. ([[**mmedal**](https://github.com/mmedal)][])
> * [#6360](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6360): Detect bad indentation in `if` nodes even if the first branch is empty. ([[**bquorning**](https://github.com/bquorning)][])
>
> ### Changes
>
> * [#6492](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6492): Auto-correct chunks of comment lines in `Layout/CommentIndentation` to avoid unnecessary iterations for `rubocop -a`. ([[**jonas054**](https://github.com/jonas054)][])
>
> ## 0.60.0 (2018-10-26)
>
> ### New features
>
> * [#5980](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/5980): Add `--safe` and `--safe-auto-correct` options. ([[**Darhazer**](https://github.com/Darhazer)][])
> * [#4156](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4156): Add command line option `--auto-gen-only-exclude`. ([[**Ana06**](https://github.com/Ana06)][], [[**jonas054**](https://github.com/jonas054)][])
> * [#6386](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6386): Add `VersionAdded` meta data to config/default.yml when running `rake new_cop`. ([[**koic**](https://github.com/koic)][])
> * [#6395](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6395): Permit to specify TargetRubyVersion 2.6. ([[**koic**](https://github.com/koic)][])
> * [#6392](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6392): Add `Whitelist` config to `Rails/SkipsModelValidations` rule. ([[**DiscoStarslayer**](https://github.com/DiscoStarslayer)][])
>
> ### Bug fixes
>
> * [#6330](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6330): Fix an error for `Rails/ReversibleMigration` when using variable assignment. ([[**koic**](https://github.com/koic)][], [[**scottmatthewman**](https://github.com/scottmatthewman)][])
> ... (truncated)
Commits
- See full diff in [compare view](https://github.com/rubocop-hq/rubocop/commits/v0.61.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 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.
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.61 > ### New features > > * [#6457](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6457): Support inner slash correction on `Style/RegexpLiteral`. ([[**r7kamura**](https://github.com/r7kamura)][]) > * [#6475](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6475): Support brace correction on `Style/Lambda`. ([[**r7kamura**](https://github.com/r7kamura)][]) > * [#6469](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6469): Enforce no parentheses style in the `Style/MethodCallWithArgsParentheses` cop. ([[**gsamokovarov**](https://github.com/gsamokovarov)][]) > * New cop `Performance/OpenStruct` checks for `OpenStruct.new` calls. ([[**xlts**](https://github.com/xlts)][]) > > ### Bug fixes > > * [#6433](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6433): Fix Ruby 2.5 `Layout/RescueEnsureAlignment` error on assigned blocks. ([[**gmcgibbon**](https://github.com/gmcgibbon)][]) > * [#6405](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6405): Fix a false positive for `Lint/UselessAssignment` when using a variable in a module name. ([[**itsWill**](https://github.com/itsWill)][]) > * [#5934](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/5934): Handle the combination of `--auto-gen-config` and `--config FILE` correctly. ([[**jonas054**](https://github.com/jonas054)][]) > * [#5970](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/5970): Make running `--auto-gen-config` in a subdirectory work. ([[**jonas054**](https://github.com/jonas054)][]) > * [#6412](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6412): Fix an `unknown keywords` error when using `Psych.safe_load` with Ruby 2.6.0-preview2. ([[**koic**](https://github.com/koic)][]) > * [#6436](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6436): Fix exit status code to be 130 when rubocop is interrupted. ([[**deivid-rodriguez**](https://github.com/deivid-rodriguez)][]) > * [#6443](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6443): Fix an incorrect autocorrect for `Style/BracesAroundHashParameters` when the opening brace is before the first hash element at same line. ([[**koic**](https://github.com/koic)][]) > * [#6445](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6445): Treat `yield` and `super` like regular method calls in `Style/AlignHash`. ([[**mvz**](https://github.com/mvz)][]) > * [#3301](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/3301): Don't suggest or make semantic changes to the code in `Style/InfiniteLoop`. ([[**jonas054**](https://github.com/jonas054)][]) > * [#3586](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/3586): Handle single argument spanning multiple lines in `Style/TrailingCommaInArguments`. ([[**jonas054**](https://github.com/jonas054)][]) > * [#6478](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6478): Fix EmacsComment#encoding to match the `coding` variable. ([[**akihiro17**](https://github.com/akihiro17)][]) > * Don't show "unrecognized parameter" warning for `inherit_mode` parameter to individual cop configurations. ([[**maxh**](https://github.com/maxh)][]) > * [#6449](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6449): Fix a false negative for `Layout/IndentationWidth` when setting `EnforcedStyle: rails` of `Layout/IndentationConsistency` and method definition indented to access modifier in a singleton class. ([[**koic**](https://github.com/koic)][]) > * [#6482](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6482): Fix a false positive for `Lint/FormatParameterMismatch` when using (digit)$ flag. ([[**koic**](https://github.com/koic)][]) > * [#6489](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6489): Fix an error for `Style/UnneededCondition` when `if` condition and `then` branch are the same and it has no `else` branch. ([[**koic**](https://github.com/koic)][]) > * Fix NoMethodError for `Style/FrozenStringLiteral` when a file contains only a shebang. ([[**takaram**](https://github.com/takaram)][]) > * [#6511](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6511): Fix an incorrect auto-correct for `Style/EmptyCaseCondition` when used as an argument of a method. ([[**koic**](https://github.com/koic)][]) > * [#6509](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6509): Fix an incorrect auto-correct for `Style/RaiseArgs` when an exception object is assigned to a local variable. ([[**koic**](https://github.com/koic)][]) > * [#6534](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6534): Fix a false positive for `Lint/UselessAccessModifier` when using `private_class_method`. ([[**dduugg**](https://github.com/dduugg)][]) > * [#6545](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6545): Fix a regression where `Performance/RedundantMerge` raises an error on a sole double splat argument passed to `merge!`. ([[**mmedal**](https://github.com/mmedal)][]) > * [#6360](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6360): Detect bad indentation in `if` nodes even if the first branch is empty. ([[**bquorning**](https://github.com/bquorning)][]) > > ### Changes > > * [#6492](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6492): Auto-correct chunks of comment lines in `Layout/CommentIndentation` to avoid unnecessary iterations for `rubocop -a`. ([[**jonas054**](https://github.com/jonas054)][]) > > [[**r7kamura**](https://github.com/r7kamura)]: https://github.com/r7kamura > [[**gsamokovarov**](https://github.com/gsamokovarov)]: https://github.com/gsamokovarov > [[**xlts**](https://github.com/xlts)]: https://github.com/xlts > [[**gmcgibbon**](https://github.com/gmcgibbon)]: https://github.com/gmcgibbon > [[**itsWill**](https://github.com/itsWill)]: https://github.com/itsWill > [[**jonas054**](https://github.com/jonas054)]: https://github.com/jonas054 > [[**koic**](https://github.com/koic)]: https://github.com/koic > [[**deivid-rodriguez**](https://github.com/deivid-rodriguez)]: https://github.com/deivid-rodriguez > [[**mvz**](https://github.com/mvz)]: https://github.com/mvz > [[**akihiro17**](https://github.com/akihiro17)]: https://github.com/akihiro17 > [[**maxh**](https://github.com/maxh)]: https://github.com/maxh > [[**takaram**](https://github.com/takaram)]: https://github.com/takaram > [[**dduugg**](https://github.com/dduugg)]: https://github.com/dduugg > [[**mmedal**](https://github.com/mmedal)]: https://github.com/mmedal > ... (truncated)Changelog
*Sourced from [rubocop's changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md).* > ## 0.61.0 (2018-12-05) > > ### New features > > * [#6457](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6457): Support inner slash correction on `Style/RegexpLiteral`. ([[**r7kamura**](https://github.com/r7kamura)][]) > * [#6475](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6475): Support brace correction on `Style/Lambda`. ([[**r7kamura**](https://github.com/r7kamura)][]) > * [#6469](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6469): Enforce no parentheses style in the `Style/MethodCallWithArgsParentheses` cop. ([[**gsamokovarov**](https://github.com/gsamokovarov)][]) > * New cop `Performance/OpenStruct` checks for `OpenStruct.new` calls. ([[**xlts**](https://github.com/xlts)][]) > > ### Bug fixes > > * [#6433](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6433): Fix Ruby 2.5 `Layout/RescueEnsureAlignment` error on assigned blocks. ([[**gmcgibbon**](https://github.com/gmcgibbon)][]) > * [#6405](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6405): Fix a false positive for `Lint/UselessAssignment` when using a variable in a module name. ([[**itsWill**](https://github.com/itsWill)][]) > * [#5934](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/5934): Handle the combination of `--auto-gen-config` and `--config FILE` correctly. ([[**jonas054**](https://github.com/jonas054)][]) > * [#5970](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/5970): Make running `--auto-gen-config` in a subdirectory work. ([[**jonas054**](https://github.com/jonas054)][]) > * [#6412](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6412): Fix an `unknown keywords` error when using `Psych.safe_load` with Ruby 2.6.0-preview2. ([[**koic**](https://github.com/koic)][]) > * [#6436](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6436): Fix exit status code to be 130 when rubocop is interrupted. ([[**deivid-rodriguez**](https://github.com/deivid-rodriguez)][]) > * [#6443](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6443): Fix an incorrect autocorrect for `Style/BracesAroundHashParameters` when the opening brace is before the first hash element at same line. ([[**koic**](https://github.com/koic)][]) > * [#6445](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6445): Treat `yield` and `super` like regular method calls in `Style/AlignHash`. ([[**mvz**](https://github.com/mvz)][]) > * [#3301](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/3301): Don't suggest or make semantic changes to the code in `Style/InfiniteLoop`. ([[**jonas054**](https://github.com/jonas054)][]) > * [#3586](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/3586): Handle single argument spanning multiple lines in `Style/TrailingCommaInArguments`. ([[**jonas054**](https://github.com/jonas054)][]) > * [#6478](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6478): Fix EmacsComment#encoding to match the `coding` variable. ([[**akihiro17**](https://github.com/akihiro17)][]) > * Don't show "unrecognized parameter" warning for `inherit_mode` parameter to individual cop configurations. ([[**maxh**](https://github.com/maxh)][]) > * [#6449](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6449): Fix a false negative for `Layout/IndentationWidth` when setting `EnforcedStyle: rails` of `Layout/IndentationConsistency` and method definition indented to access modifier in a singleton class. ([[**koic**](https://github.com/koic)][]) > * [#6482](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6482): Fix a false positive for `Lint/FormatParameterMismatch` when using (digit)$ flag. ([[**koic**](https://github.com/koic)][]) > * [#6489](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6489): Fix an error for `Style/UnneededCondition` when `if` condition and `then` branch are the same and it has no `else` branch. ([[**koic**](https://github.com/koic)][]) > * Fix NoMethodError for `Style/FrozenStringLiteral` when a file contains only a shebang. ([[**takaram**](https://github.com/takaram)][]) > * [#6511](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6511): Fix an incorrect auto-correct for `Style/EmptyCaseCondition` when used as an argument of a method. ([[**koic**](https://github.com/koic)][]) > * [#6509](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6509): Fix an incorrect auto-correct for `Style/RaiseArgs` when an exception object is assigned to a local variable. ([[**koic**](https://github.com/koic)][]) > * [#6534](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6534): Fix a false positive for `Lint/UselessAccessModifier` when using `private_class_method`. ([[**dduugg**](https://github.com/dduugg)][]) > * [#6545](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6545): Fix a regression where `Performance/RedundantMerge` raises an error on a sole double splat argument passed to `merge!`. ([[**mmedal**](https://github.com/mmedal)][]) > * [#6360](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6360): Detect bad indentation in `if` nodes even if the first branch is empty. ([[**bquorning**](https://github.com/bquorning)][]) > > ### Changes > > * [#6492](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6492): Auto-correct chunks of comment lines in `Layout/CommentIndentation` to avoid unnecessary iterations for `rubocop -a`. ([[**jonas054**](https://github.com/jonas054)][]) > > ## 0.60.0 (2018-10-26) > > ### New features > > * [#5980](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/5980): Add `--safe` and `--safe-auto-correct` options. ([[**Darhazer**](https://github.com/Darhazer)][]) > * [#4156](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4156): Add command line option `--auto-gen-only-exclude`. ([[**Ana06**](https://github.com/Ana06)][], [[**jonas054**](https://github.com/jonas054)][]) > * [#6386](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6386): Add `VersionAdded` meta data to config/default.yml when running `rake new_cop`. ([[**koic**](https://github.com/koic)][]) > * [#6395](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6395): Permit to specify TargetRubyVersion 2.6. ([[**koic**](https://github.com/koic)][]) > * [#6392](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6392): Add `Whitelist` config to `Rails/SkipsModelValidations` rule. ([[**DiscoStarslayer**](https://github.com/DiscoStarslayer)][]) > > ### Bug fixes > > * [#6330](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6330): Fix an error for `Rails/ReversibleMigration` when using variable assignment. ([[**koic**](https://github.com/koic)][], [[**scottmatthewman**](https://github.com/scottmatthewman)][]) > ... (truncated)Commits
- See full diff in [compare view](https://github.com/rubocop-hq/rubocop/commits/v0.61.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 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.