Updates the requirements on rubocop to permit the latest version.
Release notes
*Sourced from [rubocop's releases](https://github.com/bbatsov/rubocop/releases).*
> ## RuboCop 0.56
> ### New features
>
> * [#5848](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5848): Add new `Performance/InefficientHashSearch` cop. ([[**JacobEvelyn**](https://github.com/JacobEvelyn)][])
> * [#5801](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5801): Add new `Rails/RefuteMethods` cop. ([[**koic**](https://github.com/koic)][])
> * [#5805](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5805): Add new `Rails/AssertNot` cop. ([[**composerinteralia**](https://github.com/composerinteralia)][])
> * [#4136](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/4136): Allow more robust `Layout/ClosingParenthesisIndentation` detection including method chaining. ([[**jfelchner**](https://github.com/jfelchner)][])
> * [#5699](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5699): Add `consistent_relative_to_receiver` style option to `Layout/FirstParameterIndentation`. ([[**jfelchner**](https://github.com/jfelchner)][])
> * [#5821](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5821): Support `AR::Migration#up_only` for `Rails/ReversibleMigration` cop. ([[**koic**](https://github.com/koic)][])
> * [#5800](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5800): Don't show a stracktrace for invalid command-line params. ([[**shanecav84**](https://github.com/shanecav84)][])
> * [#5845](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5845): Add new `Lint/ErbNewArguments` cop. ([[**koic**](https://github.com/koic)][])
> * [#5871](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5871): Add new `Lint/SplatKeywordArguments` cop. ([[**koic**](https://github.com/koic)][])
> * [#4247](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/4247): Remove hard-coded file patterns and use only `Include`, `Exclude` and the new `RubyInterpreters` parameters for file selection. ([[**jonas054**](https://github.com/jonas054)][])
>
> ### Bug fixes
>
> * Fix bug in `Style/EmptyMethod` which concatenated the method name and first argument if no method def parentheses are used. ([[**thomasbrus**](https://github.com/thomasbrus)][])
> * [#5819](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5819): Fix `Rails/SaveBang` when using negated if. ([[**Edouard-chin**](https://github.com/Edouard-chin)][])
> * [#5286](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5286): Fix `Lint/SafeNavigationChain` not detecting chained operators after block. ([[**Darhazer**](https://github.com/Darhazer)][])
> * Fix bug where `Lint/SafeNavigationConsistency` registers multiple offenses for the same method call. ([[**rrosenblum**](https://github.com/rrosenblum)][])
> * [#5713](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5713): Fix `Style/CommentAnnotation` reporting only the first of multiple consecutive offending lines. ([[**svendittmer**](https://github.com/svendittmer)][])
> * [#5791](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5791): Fix exception in `Lint/SafeNavigationConsistency` when there is code around the condition. ([[**rrosenblum**](https://github.com/rrosenblum)][])
> * [#5784](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5784): Fix a false positive for `Rails/HasManyOrHasOneDependent` when using nested `with_options`. ([[**koic**](https://github.com/koic)][])
> * [#4666](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/4666): `--stdin` always treats input as Ruby source irregardless of filename. ([[**PointlessOne**](https://github.com/PointlessOne)][])
> * Fix auto-correction for `Style/MethodCallWithArgsParentheses` adding extra parentheses if the method argument was already parenthesized. ([[**dvandersluis**](https://github.com/dvandersluis)][])
> * [#5668](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5668): Fix an issue where files with unknown extensions, listed in `AllCops/Include` were not inspected when passing the file name as an option. ([[**drenmi**](https://github.com/drenmi)][])
> * [#5809](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5809): Fix exception `Lint/PercentStringArray` and `Lint/PercentSymbolArray` when the inspected file is binary encoded. ([[**akhramov**](https://github.com/akhramov)][])
> * [#5840](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5840): Do not register an offense for methods that `nil` responds to in `Lint/SafeNavigationConsistency`. ([[**rrosenblum**](https://github.com/rrosenblum)][])
> * [#5862](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5862): Fix an incorrect auto-correct for `Lint/LiteralInInterpolation` if contains numbers. ([[**koic**](https://github.com/koic)][])
> * [#5868](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5868): Fix `Rails/CreateTableWithTimestamps` when using hash options. ([[**wata727**](https://github.com/wata727)][])
> * [#5708](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5708): Fix exception in `Lint/UnneededCopEnableDirective` for instruction '# rubocop:enable **all**'. ([[**balbesina**](https://github.com/balbesina)][])
> * Fix auto-correction of `Rails/HttpPositionalArgumnets` to use `session` instead of `header`. ([[**rrosenblum**](https://github.com/rrosenblum)][])
>
> ### Changes
>
> * Split `Style/MethodMissing` into two cops, `Style/MethodMissingSuper` and `Style/MissingRespondToMissing`. ([[**rrosenblum**](https://github.com/rrosenblum)][])
> * [#5757](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5757): Add `AllowInMultilineConditions` option to `Style/ParenthesesAroundCondition` cop. ([[**Darhazer**](https://github.com/Darhazer)][])
> * [#5806](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5806): Fix `Layout/SpaceInsideReferenceBrackets` when assigning a reference bracket to a reference bracket. ([[**joshuapinter**](https://github.com/joshuapinter)][])
> * [#5082](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5082): Allow caching together with `--auto-correct`. ([[**jonas054**](https://github.com/jonas054)][])
> * Add `try!` to the list of whitelisted methods for `Lint/SafeNavigationChain` and `Style/SafeNavigation`. ([[**rrosenblum**](https://github.com/rrosenblum)][])
> * [#5886](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5886): Move `Style/EmptyLineAfterGuardClause` cop to `Layout` department. ([[**koic**](https://github.com/koic)][])
>
> [[**JacobEvelyn**](https://github.com/JacobEvelyn)]: https://github.com/JacobEvelyn
> [[**koic**](https://github.com/koic)]: https://github.com/koic
> [[**composerinteralia**](https://github.com/composerinteralia)]: https://github.com/composerinteralia
> [[**jfelchner**](https://github.com/jfelchner)]: https://github.com/jfelchner
> [[**shanecav84**](https://github.com/shanecav84)]: https://github.com/shanecav84
> [[**jonas054**](https://github.com/jonas054)]: https://github.com/jonas054
> [[**thomasbrus**](https://github.com/thomasbrus)]: https://github.com/thomasbrus
> [[**Edouard-chin**](https://github.com/Edouard-chin)]: https://github.com/Edouard-chin
> ... (truncated)
Changelog
*Sourced from [rubocop's changelog](https://github.com/bbatsov/rubocop/blob/master/CHANGELOG.md).*
> ## 0.56.0 (2018-05-14)
>
> ### New features
>
> * [#5848](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5848): Add new `Performance/InefficientHashSearch` cop. ([[**JacobEvelyn**](https://github.com/JacobEvelyn)][])
> * [#5801](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5801): Add new `Rails/RefuteMethods` cop. ([[**koic**](https://github.com/koic)][])
> * [#5805](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5805): Add new `Rails/AssertNot` cop. ([[**composerinteralia**](https://github.com/composerinteralia)][])
> * [#4136](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/4136): Allow more robust `Layout/ClosingParenthesisIndentation` detection including method chaining. ([[**jfelchner**](https://github.com/jfelchner)][])
> * [#5699](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5699): Add `consistent_relative_to_receiver` style option to `Layout/FirstParameterIndentation`. ([[**jfelchner**](https://github.com/jfelchner)][])
> * [#5821](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5821): Support `AR::Migration#up_only` for `Rails/ReversibleMigration` cop. ([[**koic**](https://github.com/koic)][])
> * [#5800](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5800): Don't show a stracktrace for invalid command-line params. ([[**shanecav84**](https://github.com/shanecav84)][])
> * [#5845](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5845): Add new `Lint/ErbNewArguments` cop. ([[**koic**](https://github.com/koic)][])
> * [#5871](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5871): Add new `Lint/SplatKeywordArguments` cop. ([[**koic**](https://github.com/koic)][])
> * [#4247](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/4247): Remove hard-coded file patterns and use only `Include`, `Exclude` and the new `RubyInterpreters` parameters for file selection. ([[**jonas054**](https://github.com/jonas054)][])
>
> ### Bug fixes
>
> * Fix bug in `Style/EmptyMethod` which concatenated the method name and first argument if no method def parentheses are used. ([[**thomasbrus**](https://github.com/thomasbrus)][])
> * [#5819](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5819): Fix `Rails/SaveBang` when using negated if. ([[**Edouard-chin**](https://github.com/Edouard-chin)][])
> * [#5286](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5286): Fix `Lint/SafeNavigationChain` not detecting chained operators after block. ([[**Darhazer**](https://github.com/Darhazer)][])
> * Fix bug where `Lint/SafeNavigationConsistency` registers multiple offenses for the same method call. ([[**rrosenblum**](https://github.com/rrosenblum)][])
> * [#5713](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5713): Fix `Style/CommentAnnotation` reporting only the first of multiple consecutive offending lines. ([[**svendittmer**](https://github.com/svendittmer)][])
> * [#5791](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5791): Fix exception in `Lint/SafeNavigationConsistency` when there is code around the condition. ([[**rrosenblum**](https://github.com/rrosenblum)][])
> * [#5784](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5784): Fix a false positive for `Rails/HasManyOrHasOneDependent` when using nested `with_options`. ([[**koic**](https://github.com/koic)][])
> * [#4666](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/4666): `--stdin` always treats input as Ruby source irregardless of filename. ([[**PointlessOne**](https://github.com/PointlessOne)][])
> * Fix auto-correction for `Style/MethodCallWithArgsParentheses` adding extra parentheses if the method argument was already parenthesized. ([[**dvandersluis**](https://github.com/dvandersluis)][])
> * [#5668](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5668): Fix an issue where files with unknown extensions, listed in `AllCops/Include` were not inspected when passing the file name as an option. ([[**drenmi**](https://github.com/drenmi)][])
> * [#5809](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5809): Fix exception `Lint/PercentStringArray` and `Lint/PercentSymbolArray` when the inspected file is binary encoded. ([[**akhramov**](https://github.com/akhramov)][])
> * [#5840](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5840): Do not register an offense for methods that `nil` responds to in `Lint/SafeNavigationConsistency`. ([[**rrosenblum**](https://github.com/rrosenblum)][])
> * [#5862](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5862): Fix an incorrect auto-correct for `Lint/LiteralInInterpolation` if contains numbers. ([[**koic**](https://github.com/koic)][])
> * [#5868](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5868): Fix `Rails/CreateTableWithTimestamps` when using hash options. ([[**wata727**](https://github.com/wata727)][])
> * [#5708](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5708): Fix exception in `Lint/UnneededCopEnableDirective` for instruction '# rubocop:enable **all**'. ([[**balbesina**](https://github.com/balbesina)][])
> * Fix auto-correction of `Rails/HttpPositionalArgumnets` to use `session` instead of `header`. ([[**rrosenblum**](https://github.com/rrosenblum)][])
>
> ### Changes
>
> * Split `Style/MethodMissing` into two cops, `Style/MethodMissingSuper` and `Style/MissingRespondToMissing`. ([[**rrosenblum**](https://github.com/rrosenblum)][])
> * [#5757](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5757): Add `AllowInMultilineConditions` option to `Style/ParenthesesAroundCondition` cop. ([[**Darhazer**](https://github.com/Darhazer)][])
> * [#5806](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5806): Fix `Layout/SpaceInsideReferenceBrackets` when assigning a reference bracket to a reference bracket. ([[**joshuapinter**](https://github.com/joshuapinter)][])
> * [#5082](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5082): Allow caching together with `--auto-correct`. ([[**jonas054**](https://github.com/jonas054)][])
> * Add `try!` to the list of whitelisted methods for `Lint/SafeNavigationChain` and `Style/SafeNavigation`. ([[**rrosenblum**](https://github.com/rrosenblum)][])
> * [#5886](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5886): Move `Style/EmptyLineAfterGuardClause` cop to `Layout` department. ([[**koic**](https://github.com/koic)][])
>
> ## 0.55.0 (2018-04-16)
>
> ### New features
>
> * [#5753](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5753): Add new `Performance/UnneededSort` cop. ([[**parkerfinch**](https://github.com/parkerfinch)][])
> * Add new `Lint/SafeNavigationConsistency` cop. ([[**rrosenblum**](https://github.com/rrosenblum)][])
>
> ... (truncated)
Commits
- See full diff in [compare view](https://github.com/bbatsov/rubocop/commits/v0.56.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 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 (this|these) label[s]` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use (this|these) reviewer[s]` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use (this|these) assignee[s]` will set the current assignees as the default for future PRs for this repo and language
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)
- 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/bbatsov/rubocop/releases).* > ## RuboCop 0.56 > ### New features > > * [#5848](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5848): Add new `Performance/InefficientHashSearch` cop. ([[**JacobEvelyn**](https://github.com/JacobEvelyn)][]) > * [#5801](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5801): Add new `Rails/RefuteMethods` cop. ([[**koic**](https://github.com/koic)][]) > * [#5805](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5805): Add new `Rails/AssertNot` cop. ([[**composerinteralia**](https://github.com/composerinteralia)][]) > * [#4136](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/4136): Allow more robust `Layout/ClosingParenthesisIndentation` detection including method chaining. ([[**jfelchner**](https://github.com/jfelchner)][]) > * [#5699](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5699): Add `consistent_relative_to_receiver` style option to `Layout/FirstParameterIndentation`. ([[**jfelchner**](https://github.com/jfelchner)][]) > * [#5821](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5821): Support `AR::Migration#up_only` for `Rails/ReversibleMigration` cop. ([[**koic**](https://github.com/koic)][]) > * [#5800](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5800): Don't show a stracktrace for invalid command-line params. ([[**shanecav84**](https://github.com/shanecav84)][]) > * [#5845](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5845): Add new `Lint/ErbNewArguments` cop. ([[**koic**](https://github.com/koic)][]) > * [#5871](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5871): Add new `Lint/SplatKeywordArguments` cop. ([[**koic**](https://github.com/koic)][]) > * [#4247](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/4247): Remove hard-coded file patterns and use only `Include`, `Exclude` and the new `RubyInterpreters` parameters for file selection. ([[**jonas054**](https://github.com/jonas054)][]) > > ### Bug fixes > > * Fix bug in `Style/EmptyMethod` which concatenated the method name and first argument if no method def parentheses are used. ([[**thomasbrus**](https://github.com/thomasbrus)][]) > * [#5819](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5819): Fix `Rails/SaveBang` when using negated if. ([[**Edouard-chin**](https://github.com/Edouard-chin)][]) > * [#5286](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5286): Fix `Lint/SafeNavigationChain` not detecting chained operators after block. ([[**Darhazer**](https://github.com/Darhazer)][]) > * Fix bug where `Lint/SafeNavigationConsistency` registers multiple offenses for the same method call. ([[**rrosenblum**](https://github.com/rrosenblum)][]) > * [#5713](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5713): Fix `Style/CommentAnnotation` reporting only the first of multiple consecutive offending lines. ([[**svendittmer**](https://github.com/svendittmer)][]) > * [#5791](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5791): Fix exception in `Lint/SafeNavigationConsistency` when there is code around the condition. ([[**rrosenblum**](https://github.com/rrosenblum)][]) > * [#5784](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5784): Fix a false positive for `Rails/HasManyOrHasOneDependent` when using nested `with_options`. ([[**koic**](https://github.com/koic)][]) > * [#4666](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/4666): `--stdin` always treats input as Ruby source irregardless of filename. ([[**PointlessOne**](https://github.com/PointlessOne)][]) > * Fix auto-correction for `Style/MethodCallWithArgsParentheses` adding extra parentheses if the method argument was already parenthesized. ([[**dvandersluis**](https://github.com/dvandersluis)][]) > * [#5668](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5668): Fix an issue where files with unknown extensions, listed in `AllCops/Include` were not inspected when passing the file name as an option. ([[**drenmi**](https://github.com/drenmi)][]) > * [#5809](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5809): Fix exception `Lint/PercentStringArray` and `Lint/PercentSymbolArray` when the inspected file is binary encoded. ([[**akhramov**](https://github.com/akhramov)][]) > * [#5840](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5840): Do not register an offense for methods that `nil` responds to in `Lint/SafeNavigationConsistency`. ([[**rrosenblum**](https://github.com/rrosenblum)][]) > * [#5862](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5862): Fix an incorrect auto-correct for `Lint/LiteralInInterpolation` if contains numbers. ([[**koic**](https://github.com/koic)][]) > * [#5868](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5868): Fix `Rails/CreateTableWithTimestamps` when using hash options. ([[**wata727**](https://github.com/wata727)][]) > * [#5708](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5708): Fix exception in `Lint/UnneededCopEnableDirective` for instruction '# rubocop:enable **all**'. ([[**balbesina**](https://github.com/balbesina)][]) > * Fix auto-correction of `Rails/HttpPositionalArgumnets` to use `session` instead of `header`. ([[**rrosenblum**](https://github.com/rrosenblum)][]) > > ### Changes > > * Split `Style/MethodMissing` into two cops, `Style/MethodMissingSuper` and `Style/MissingRespondToMissing`. ([[**rrosenblum**](https://github.com/rrosenblum)][]) > * [#5757](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5757): Add `AllowInMultilineConditions` option to `Style/ParenthesesAroundCondition` cop. ([[**Darhazer**](https://github.com/Darhazer)][]) > * [#5806](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5806): Fix `Layout/SpaceInsideReferenceBrackets` when assigning a reference bracket to a reference bracket. ([[**joshuapinter**](https://github.com/joshuapinter)][]) > * [#5082](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5082): Allow caching together with `--auto-correct`. ([[**jonas054**](https://github.com/jonas054)][]) > * Add `try!` to the list of whitelisted methods for `Lint/SafeNavigationChain` and `Style/SafeNavigation`. ([[**rrosenblum**](https://github.com/rrosenblum)][]) > * [#5886](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5886): Move `Style/EmptyLineAfterGuardClause` cop to `Layout` department. ([[**koic**](https://github.com/koic)][]) > > [[**JacobEvelyn**](https://github.com/JacobEvelyn)]: https://github.com/JacobEvelyn > [[**koic**](https://github.com/koic)]: https://github.com/koic > [[**composerinteralia**](https://github.com/composerinteralia)]: https://github.com/composerinteralia > [[**jfelchner**](https://github.com/jfelchner)]: https://github.com/jfelchner > [[**shanecav84**](https://github.com/shanecav84)]: https://github.com/shanecav84 > [[**jonas054**](https://github.com/jonas054)]: https://github.com/jonas054 > [[**thomasbrus**](https://github.com/thomasbrus)]: https://github.com/thomasbrus > [[**Edouard-chin**](https://github.com/Edouard-chin)]: https://github.com/Edouard-chin > ... (truncated)Changelog
*Sourced from [rubocop's changelog](https://github.com/bbatsov/rubocop/blob/master/CHANGELOG.md).* > ## 0.56.0 (2018-05-14) > > ### New features > > * [#5848](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5848): Add new `Performance/InefficientHashSearch` cop. ([[**JacobEvelyn**](https://github.com/JacobEvelyn)][]) > * [#5801](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5801): Add new `Rails/RefuteMethods` cop. ([[**koic**](https://github.com/koic)][]) > * [#5805](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5805): Add new `Rails/AssertNot` cop. ([[**composerinteralia**](https://github.com/composerinteralia)][]) > * [#4136](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/4136): Allow more robust `Layout/ClosingParenthesisIndentation` detection including method chaining. ([[**jfelchner**](https://github.com/jfelchner)][]) > * [#5699](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5699): Add `consistent_relative_to_receiver` style option to `Layout/FirstParameterIndentation`. ([[**jfelchner**](https://github.com/jfelchner)][]) > * [#5821](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5821): Support `AR::Migration#up_only` for `Rails/ReversibleMigration` cop. ([[**koic**](https://github.com/koic)][]) > * [#5800](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5800): Don't show a stracktrace for invalid command-line params. ([[**shanecav84**](https://github.com/shanecav84)][]) > * [#5845](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5845): Add new `Lint/ErbNewArguments` cop. ([[**koic**](https://github.com/koic)][]) > * [#5871](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5871): Add new `Lint/SplatKeywordArguments` cop. ([[**koic**](https://github.com/koic)][]) > * [#4247](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/4247): Remove hard-coded file patterns and use only `Include`, `Exclude` and the new `RubyInterpreters` parameters for file selection. ([[**jonas054**](https://github.com/jonas054)][]) > > ### Bug fixes > > * Fix bug in `Style/EmptyMethod` which concatenated the method name and first argument if no method def parentheses are used. ([[**thomasbrus**](https://github.com/thomasbrus)][]) > * [#5819](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5819): Fix `Rails/SaveBang` when using negated if. ([[**Edouard-chin**](https://github.com/Edouard-chin)][]) > * [#5286](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5286): Fix `Lint/SafeNavigationChain` not detecting chained operators after block. ([[**Darhazer**](https://github.com/Darhazer)][]) > * Fix bug where `Lint/SafeNavigationConsistency` registers multiple offenses for the same method call. ([[**rrosenblum**](https://github.com/rrosenblum)][]) > * [#5713](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5713): Fix `Style/CommentAnnotation` reporting only the first of multiple consecutive offending lines. ([[**svendittmer**](https://github.com/svendittmer)][]) > * [#5791](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5791): Fix exception in `Lint/SafeNavigationConsistency` when there is code around the condition. ([[**rrosenblum**](https://github.com/rrosenblum)][]) > * [#5784](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5784): Fix a false positive for `Rails/HasManyOrHasOneDependent` when using nested `with_options`. ([[**koic**](https://github.com/koic)][]) > * [#4666](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/4666): `--stdin` always treats input as Ruby source irregardless of filename. ([[**PointlessOne**](https://github.com/PointlessOne)][]) > * Fix auto-correction for `Style/MethodCallWithArgsParentheses` adding extra parentheses if the method argument was already parenthesized. ([[**dvandersluis**](https://github.com/dvandersluis)][]) > * [#5668](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5668): Fix an issue where files with unknown extensions, listed in `AllCops/Include` were not inspected when passing the file name as an option. ([[**drenmi**](https://github.com/drenmi)][]) > * [#5809](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5809): Fix exception `Lint/PercentStringArray` and `Lint/PercentSymbolArray` when the inspected file is binary encoded. ([[**akhramov**](https://github.com/akhramov)][]) > * [#5840](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5840): Do not register an offense for methods that `nil` responds to in `Lint/SafeNavigationConsistency`. ([[**rrosenblum**](https://github.com/rrosenblum)][]) > * [#5862](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5862): Fix an incorrect auto-correct for `Lint/LiteralInInterpolation` if contains numbers. ([[**koic**](https://github.com/koic)][]) > * [#5868](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5868): Fix `Rails/CreateTableWithTimestamps` when using hash options. ([[**wata727**](https://github.com/wata727)][]) > * [#5708](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5708): Fix exception in `Lint/UnneededCopEnableDirective` for instruction '# rubocop:enable **all**'. ([[**balbesina**](https://github.com/balbesina)][]) > * Fix auto-correction of `Rails/HttpPositionalArgumnets` to use `session` instead of `header`. ([[**rrosenblum**](https://github.com/rrosenblum)][]) > > ### Changes > > * Split `Style/MethodMissing` into two cops, `Style/MethodMissingSuper` and `Style/MissingRespondToMissing`. ([[**rrosenblum**](https://github.com/rrosenblum)][]) > * [#5757](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5757): Add `AllowInMultilineConditions` option to `Style/ParenthesesAroundCondition` cop. ([[**Darhazer**](https://github.com/Darhazer)][]) > * [#5806](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5806): Fix `Layout/SpaceInsideReferenceBrackets` when assigning a reference bracket to a reference bracket. ([[**joshuapinter**](https://github.com/joshuapinter)][]) > * [#5082](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5082): Allow caching together with `--auto-correct`. ([[**jonas054**](https://github.com/jonas054)][]) > * Add `try!` to the list of whitelisted methods for `Lint/SafeNavigationChain` and `Style/SafeNavigation`. ([[**rrosenblum**](https://github.com/rrosenblum)][]) > * [#5886](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5886): Move `Style/EmptyLineAfterGuardClause` cop to `Layout` department. ([[**koic**](https://github.com/koic)][]) > > ## 0.55.0 (2018-04-16) > > ### New features > > * [#5753](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5753): Add new `Performance/UnneededSort` cop. ([[**parkerfinch**](https://github.com/parkerfinch)][]) > * Add new `Lint/SafeNavigationConsistency` cop. ([[**rrosenblum**](https://github.com/rrosenblum)][]) > > ... (truncated)Commits
- See full diff in [compare view](https://github.com/bbatsov/rubocop/commits/v0.56.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 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 (this|these) label[s]` will set the current labels as the default for future PRs for this repo and language - `@dependabot use (this|these) reviewer[s]` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use (this|these) assignee[s]` will set the current assignees as the default for future PRs for this repo and language 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) - 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.