mtsmfm / language_server-ruby

A Ruby Language Server implementation
MIT License
259 stars 10 forks source link

Update rubocop requirement to 0.57.0 #67

Closed dependabot-preview[bot] closed 6 years ago

dependabot-preview[bot] commented 6 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.57 > ### New features > > * [#5881](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5881): Add new `Rails/BulkChangeTable` cop. ([[**wata727**](https://github.com/wata727)][]) > * [#5444](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5444): Add new `Style/AccessModifierDeclarations` cop. ([[**brandonweiss**](https://github.com/brandonweiss)][]) > * [#5803](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5803): Add new `Style/UnneededCondition` cop. ([[**balbesina**](https://github.com/balbesina)][]) > * [#5406](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5406): Add new `Layout/ClosingHeredocIndentation` cop. ([[**siggymcfried**](https://github.com/siggymcfried)][]) > * [#5823](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5823): Add new `slashes` style to `Rails/FilePath` since Ruby accepts forward slashes even on Windows. ([[**sunny**](https://github.com/sunny)][]) > * New cop `Layout/LeadingBlankLines` checks for empty lines at the beginning of a file. ([[**rrosenblum**](https://github.com/rrosenblum)][]) > > ### Bug fixes > > * [#5897](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5897): Fix `Style/SymbolArray` and `Style/WordArray` not working on arrays of size 1. ([[**TikiTDO**](https://github.com/TikiTDO)][]) > * [#5894](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5894): Fix `Rails/AssertNot` to allow it to have failure message. ([[**koic**](https://github.com/koic)][]) > * [#5888](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5888): Do not register an offense for `headers` or `env` keyword arguments in `Rails/HttpPositionalArguments`. ([[**rrosenblum**](https://github.com/rrosenblum)][]) > * Fix the indentation of autocorrected closing squiggly heredocs. ([[**garettarrowood**](https://github.com/garettarrowood)][]) > * [#5908](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5908): Fix `Style/BracesAroundHashParameters` auto-correct going past the end of the file when the closing curly brace is on the last line of a file. ([[**EiNSTeiN-**](https://github.com/EiNSTeiN-)][]) > * Fix a bug where `Style/FrozenStringLiteralComment` would be added to the second line if the first line is empty. ([[**rrosenblum**](https://github.com/rrosenblum)][]) > * [#5914](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5914): Make `Layout/SpaceInsideReferenceBrackets` aware of `no_space` when using nested reference brackets. ([[**koic**](https://github.com/koic)][]) > * [#5799](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5799): Fix false positive in `Style/MixinGrouping` when method named `include` accepts block. ([[**Darhazer**](https://github.com/Darhazer)][]) > > ### Changes > > * [#5937](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/5937): Add new `--fix-layout/-x` command line alias. ([[**scottmatthewman**](https://github.com/scottmatthewman)][]) > * [#5887](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5887): Remove `Lint/SplatKeywordArguments` cop. ([[**koic**](https://github.com/koic)][]) > * [#5761](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5761): Add `httpdate` to accepted `Rails/TimeZone` methods. ([[**cupakromer**](https://github.com/cupakromer)][]) > * [#5899](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5899): Add `xmlschema` to accepted `Rails/TimeZone` methods. ([[**koic**](https://github.com/koic)][]) > * [#5906](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5906): Move REPL command from `rake repl` task to `bin/console` command. ([[**koic**](https://github.com/koic)][]) > * [#5917](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5917): Let `inherit_mode` work for default configuration too. ([[**jonas054**](https://github.com/jonas054)][]) > * [#5929](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5929): Stop including string extensions from `unicode/display_width`. ([[**nroman-stripe**](https://github.com/nroman-stripe)][]) > > [[**wata727**](https://github.com/wata727)]: https://github.com/wata727 > [[**brandonweiss**](https://github.com/brandonweiss)]: https://github.com/brandonweiss > [[**balbesina**](https://github.com/balbesina)]: https://github.com/balbesina > [[**siggymcfried**](https://github.com/siggymcfried)]: https://github.com/siggymcfried > [[**sunny**](https://github.com/sunny)]: https://github.com/sunny > [[**rrosenblum**](https://github.com/rrosenblum)]: https://github.com/rrosenblum > [[**TikiTDO**](https://github.com/TikiTDO)]: https://github.com/TikiTDO > [[**koic**](https://github.com/koic)]: https://github.com/koic > [[**garettarrowood**](https://github.com/garettarrowood)]: https://github.com/garettarrowood > [[**EiNSTeiN-**](https://github.com/EiNSTeiN-)]: https://github.com/EiNSTeiN- > [[**Darhazer**](https://github.com/Darhazer)]: https://github.com/Darhazer > [[**scottmatthewman**](https://github.com/scottmatthewman)]: https://github.com/scottmatthewman > [[**cupakromer**](https://github.com/cupakromer)]: https://github.com/cupakromer > [[**jonas054**](https://github.com/jonas054)]: https://github.com/jonas054 > [[**nroman-stripe**](https://github.com/nroman-stripe)]: https://github.com/nroman-stripe
Changelog *Sourced from [rubocop's changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md).* > ## 0.57.0 (2018-06-06) > > ### New features > > * [#5881](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5881): Add new `Rails/BulkChangeTable` cop. ([[**wata727**](https://github.com/wata727)][]) > * [#5444](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5444): Add new `Style/AccessModifierDeclarations` cop. ([[**brandonweiss**](https://github.com/brandonweiss)][]) > * [#5803](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5803): Add new `Style/UnneededCondition` cop. ([[**balbesina**](https://github.com/balbesina)][]) > * [#5406](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5406): Add new `Layout/ClosingHeredocIndentation` cop. ([[**siggymcfried**](https://github.com/siggymcfried)][]) > * [#5823](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5823): Add new `slashes` style to `Rails/FilePath` since Ruby accepts forward slashes even on Windows. ([[**sunny**](https://github.com/sunny)][]) > * New cop `Layout/LeadingBlankLines` checks for empty lines at the beginning of a file. ([[**rrosenblum**](https://github.com/rrosenblum)][]) > > ### Bug fixes > > * [#5897](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5897): Fix `Style/SymbolArray` and `Style/WordArray` not working on arrays of size 1. ([[**TikiTDO**](https://github.com/TikiTDO)][]) > * [#5894](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5894): Fix `Rails/AssertNot` to allow it to have failure message. ([[**koic**](https://github.com/koic)][]) > * [#5888](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5888): Do not register an offense for `headers` or `env` keyword arguments in `Rails/HttpPositionalArguments`. ([[**rrosenblum**](https://github.com/rrosenblum)][]) > * Fix the indentation of autocorrected closing squiggly heredocs. ([[**garettarrowood**](https://github.com/garettarrowood)][]) > * [#5908](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5908): Fix `Style/BracesAroundHashParameters` auto-correct going past the end of the file when the closing curly brace is on the last line of a file. ([[**EiNSTeiN-**](https://github.com/EiNSTeiN-)][]) > * Fix a bug where `Style/FrozenStringLiteralComment` would be added to the second line if the first line is empty. ([[**rrosenblum**](https://github.com/rrosenblum)][]) > * [#5914](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5914): Make `Layout/SpaceInsideReferenceBrackets` aware of `no_space` when using nested reference brackets. ([[**koic**](https://github.com/koic)][]) > * [#5799](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5799): Fix false positive in `Style/MixinGrouping` when method named `include` accepts block. ([[**Darhazer**](https://github.com/Darhazer)][]) > > ### Changes > > * [#5937](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/5937): Add new `--fix-layout/-x` command line alias. ([[**scottmatthewman**](https://github.com/scottmatthewman)][]) > * [#5887](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5887): Remove `Lint/SplatKeywordArguments` cop. ([[**koic**](https://github.com/koic)][]) > * [#5761](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5761): Add `httpdate` to accepted `Rails/TimeZone` methods. ([[**cupakromer**](https://github.com/cupakromer)][]) > * [#5899](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5899): Add `xmlschema` to accepted `Rails/TimeZone` methods. ([[**koic**](https://github.com/koic)][]) > * [#5906](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5906): Move REPL command from `rake repl` task to `bin/console` command. ([[**koic**](https://github.com/koic)][]) > * [#5917](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5917): Let `inherit_mode` work for default configuration too. ([[**jonas054**](https://github.com/jonas054)][]) > * [#5929](https://github-redirect.dependabot.com/bbatsov/rubocop/pull/5929): Stop including string extensions from `unicode/display_width`. ([[**nroman-stripe**](https://github.com/nroman-stripe)][]) > > ## 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)][]) > ... (truncated)
Commits - See full diff in [compare view](https://github.com/rubocop-hq/rubocop/commits/v0.57.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) - 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 6 years ago

Superseded by #68.