mtsmfm / language_server-ruby

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

Update rubocop requirement to 0.54.0 #63

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/bbatsov/rubocop/releases).* > ## RuboCop 0.54 > ### New features > > * [#5597](https://github.com/bbatsov/rubocop/pull/5597): Add new `Rails/HttpStatus` cop. ([[**anthony**](https://github.com/anthony)-robin][]) > * [#5643](https://github.com/bbatsov/rubocop/pull/5643): Add new `Style/UnpackFirst` cop. ([[**bdewater**](https://github.com/bdewater)][]) > > ### Bug fixes > > * [#5683](https://github.com/bbatsov/rubocop/issues/5683): Fix message for `Naming/UncommunicativeXParamName` cops. ([[**jlfaber**](https://github.com/jlfaber)][]) > * [#5680](https://github.com/bbatsov/rubocop/issues/5680): Fix `Layout/ElseAlignment` for `rescue/else/ensure` inside `do/end` blocks. ([[**YukiJikumaru**](https://github.com/YukiJikumaru)][]) > * [#5642](https://github.com/bbatsov/rubocop/pull/5642): Fix `Style/Documentation` `:nodoc:` for compact-style nested modules/classes. ([[**ojab**](https://github.com/ojab)][]) > * [#5648](https://github.com/bbatsov/rubocop/issues/5648): Suggest valid memoized instance variable for predicate method. ([[**satyap**](https://github.com/satyap)][]) > * [#5670](https://github.com/bbatsov/rubocop/issues/5670): Suggest valid memoized instance variable for bang method. ([[**pocke**](https://github.com/pocke)][]) > * [#5623](https://github.com/bbatsov/rubocop/pull/5623): Fix `Bundler/OrderedGems` when a group includes duplicate gems. ([[**colorbox**](https://github.com/colorbox)][]) > * [#5633](https://github.com/bbatsov/rubocop/pull/5633): Fix broken `--fail-fast`. ([[**mmyoji**](https://github.com/mmyoji)][]) > * [#5630](https://github.com/bbatsov/rubocop/issues/5630): Fix false positive for `Style/FormatStringToken` when using placeholder arguments in `format` method. ([[**koic**](https://github.com/koic)][]) > * [#5651](https://github.com/bbatsov/rubocop/pull/5651): Fix NoMethodError when specified config file that does not exist. ([[**onk**](https://github.com/onk)][]) > * [#5647](https://github.com/bbatsov/rubocop/pull/5647): Fix encoding method of RuboCop::MagicComment::SimpleComment. ([[**htwroclau**](https://github.com/htwroclau)][]) > * [#5619](https://github.com/bbatsov/rubocop/issues/5619): Do not register an offense in `Style/InverseMethods` when comparing constants with `<`, `>`, `<=`, or `>=`. If the code is being used to determine class hierarchy, the correction might not be accurate. ([[**rrosenblum**](https://github.com/rrosenblum)][]) > * [#5641](https://github.com/bbatsov/rubocop/issues/5641): Disable `Style/TrivialAccessors` auto-correction for `def` with `private`. ([[**pocke**](https://github.com/pocke)][]) > * Fix bug where `Style/SafeNavigation` does not auto-correct all chained methods resulting in a `Lint/SafeNavigationChain` offense. ([[**rrosenblum**](https://github.com/rrosenblum)][]) > * [#5436](https://github.com/bbatsov/rubocop/issues/5436): Allow empty kwrest args in `UncommunicativeName` cops. ([[**pocke**](https://github.com/pocke)][]) > * [#5674](https://github.com/bbatsov/rubocop/issues/5674): Fix auto-correction of `Layout/EmptyComment` when the empty comment appears on the same line as code. ([[**rrosenblum**](https://github.com/rrosenblum)][]) > * [#5679](https://github.com/bbatsov/rubocop/pull/5679): Fix a false positive for `Style/EmptyLineAfterGuardClause` when guard clause is before `rescue` or `ensure`. ([[**koic**](https://github.com/koic)][]) > * [#5694](https://github.com/bbatsov/rubocop/issues/5694): Match Rails versions with multiple digits when reading the TargetRailsVersion from the bundler lock files. ([[**roberts1000**](https://github.com/roberts1000)][]) > * [#5700](https://github.com/bbatsov/rubocop/pull/5700): Fix a false positive for `Style/EmptyLineAfterGuardClause` when guard clause is before `else`. ([[**koic**](https://github.com/koic)][]) > * Fix false positive in `Naming/ConstantName` when using conditional assignment. ([[**drenmi**](https://github.com/drenmi)][]) > > ### Changes > > * [#5626](https://github.com/bbatsov/rubocop/pull/5626): Change `Naming/UncommunicativeMethodParamName` add `to` to allowed names in default config. ([[**unused**](https://github.com/unused)][]) > * [#5640](https://github.com/bbatsov/rubocop/issues/5640): Warn about user configuration overriding other user configuration only with `--debug`. ([[**jonas054**](https://github.com/jonas054)][]) > * [#5637](https://github.com/bbatsov/rubocop/issues/5637): Fix error for `Layout/SpaceInsideArrayLiteralBrackets` when contains an array literal as an argument after a heredoc is started. ([[**koic**](https://github.com/koic)][]) > * [#5498](https://github.com/bbatsov/rubocop/issues/5498): Correct IndentHeredoc message for Ruby 2.3 when using `<<~` operator with invalid indentation. ([[**hamada14**](https://github.com/hamada14)][]) > * [#5610](https://github.com/bbatsov/rubocop/issues/5610): Use `gems.locked` or `Gemfile.lock` to determine the best `TargetRubyVersion` when it is not specified in the config. ([[**roberts1000**](https://github.com/roberts1000)][]) > * [#5390](https://github.com/bbatsov/rubocop/issues/5390): Allow exceptions to `Style/InlineComment` for inline comments which enable or disable rubocop cops. ([[**jfelchner**](https://github.com/jfelchner)][]) > * Add progress bar to offenses formatter. ([[**drewpterry**](https://github.com/drewpterry)][]) > * [#5498](https://github.com/bbatsov/rubocop/issues/5498): Correct `IndentHeredoc` message for Ruby 2.3 when using `<<~` operator with invalid indentation. ([[**hamada14**](https://github.com/hamada14)][]) > > [[**anthony**](https://github.com/anthony)-robin]: https://github.com/anthony-robin > [[**bdewater**](https://github.com/bdewater)]: https://github.com/bdewater > [[**jlfaber**](https://github.com/jlfaber)]: https://github.com/jlfaber > [[**YukiJikumaru**](https://github.com/YukiJikumaru)]: https://github.com/YukiJikumaru > [[**ojab**](https://github.com/ojab)]: https://github.com/ojab > [[**satyap**](https://github.com/satyap)]: https://github.com/satyap > [[**pocke**](https://github.com/pocke)]: https://github.com/pocke > [[**colorbox**](https://github.com/colorbox)]: https://github.com/colorbox > [[**mmyoji**](https://github.com/mmyoji)]: https://github.com/mmyoji > [[**koic**](https://github.com/koic)]: https://github.com/koic > [[**onk**](https://github.com/onk)]: https://github.com/onk > ... (truncated)
Changelog *Sourced from rubocop's [changelog](https://github.com/bbatsov/rubocop/blob/master/CHANGELOG.md).* > ## 0.54.0 (2018-03-21) > > ### New features > > * [#5597](https://github.com/bbatsov/rubocop/pull/5597): Add new `Rails/HttpStatus` cop. ([[**anthony**](https://github.com/anthony)-robin][]) > * [#5643](https://github.com/bbatsov/rubocop/pull/5643): Add new `Style/UnpackFirst` cop. ([[**bdewater**](https://github.com/bdewater)][]) > > ### Bug fixes > > * [#5683](https://github.com/bbatsov/rubocop/issues/5683): Fix message for `Naming/UncommunicativeXParamName` cops. ([[**jlfaber**](https://github.com/jlfaber)][]) > * [#5680](https://github.com/bbatsov/rubocop/issues/5680): Fix `Layout/ElseAlignment` for `rescue/else/ensure` inside `do/end` blocks. ([[**YukiJikumaru**](https://github.com/YukiJikumaru)][]) > * [#5642](https://github.com/bbatsov/rubocop/pull/5642): Fix `Style/Documentation` `:nodoc:` for compact-style nested modules/classes. ([[**ojab**](https://github.com/ojab)][]) > * [#5648](https://github.com/bbatsov/rubocop/issues/5648): Suggest valid memoized instance variable for predicate method. ([[**satyap**](https://github.com/satyap)][]) > * [#5670](https://github.com/bbatsov/rubocop/issues/5670): Suggest valid memoized instance variable for bang method. ([[**pocke**](https://github.com/pocke)][]) > * [#5623](https://github.com/bbatsov/rubocop/pull/5623): Fix `Bundler/OrderedGems` when a group includes duplicate gems. ([[**colorbox**](https://github.com/colorbox)][]) > * [#5633](https://github.com/bbatsov/rubocop/pull/5633): Fix broken `--fail-fast`. ([[**mmyoji**](https://github.com/mmyoji)][]) > * [#5630](https://github.com/bbatsov/rubocop/issues/5630): Fix false positive for `Style/FormatStringToken` when using placeholder arguments in `format` method. ([[**koic**](https://github.com/koic)][]) > * [#5651](https://github.com/bbatsov/rubocop/pull/5651): Fix NoMethodError when specified config file that does not exist. ([[**onk**](https://github.com/onk)][]) > * [#5647](https://github.com/bbatsov/rubocop/pull/5647): Fix encoding method of RuboCop::MagicComment::SimpleComment. ([[**htwroclau**](https://github.com/htwroclau)][]) > * [#5619](https://github.com/bbatsov/rubocop/issues/5619): Do not register an offense in `Style/InverseMethods` when comparing constants with `<`, `>`, `<=`, or `>=`. If the code is being used to determine class hierarchy, the correction might not be accurate. ([[**rrosenblum**](https://github.com/rrosenblum)][]) > * [#5641](https://github.com/bbatsov/rubocop/issues/5641): Disable `Style/TrivialAccessors` auto-correction for `def` with `private`. ([[**pocke**](https://github.com/pocke)][]) > * Fix bug where `Style/SafeNavigation` does not auto-correct all chained methods resulting in a `Lint/SafeNavigationChain` offense. ([[**rrosenblum**](https://github.com/rrosenblum)][]) > * [#5436](https://github.com/bbatsov/rubocop/issues/5436): Allow empty kwrest args in `UncommunicativeName` cops. ([[**pocke**](https://github.com/pocke)][]) > * [#5674](https://github.com/bbatsov/rubocop/issues/5674): Fix auto-correction of `Layout/EmptyComment` when the empty comment appears on the same line as code. ([[**rrosenblum**](https://github.com/rrosenblum)][]) > * [#5679](https://github.com/bbatsov/rubocop/pull/5679): Fix a false positive for `Style/EmptyLineAfterGuardClause` when guard clause is before `rescue` or `ensure`. ([[**koic**](https://github.com/koic)][]) > * [#5694](https://github.com/bbatsov/rubocop/issues/5694): Match Rails versions with multiple digits when reading the TargetRailsVersion from the bundler lock files. ([[**roberts1000**](https://github.com/roberts1000)][]) > * [#5700](https://github.com/bbatsov/rubocop/pull/5700): Fix a false positive for `Style/EmptyLineAfterGuardClause` when guard clause is before `else`. ([[**koic**](https://github.com/koic)][]) > * Fix false positive in `Naming/ConstantName` when using conditional assignment. ([[**drenmi**](https://github.com/drenmi)][]) > > ### Changes > > * [#5626](https://github.com/bbatsov/rubocop/pull/5626): Change `Naming/UncommunicativeMethodParamName` add `to` to allowed names in default config. ([[**unused**](https://github.com/unused)][]) > * [#5640](https://github.com/bbatsov/rubocop/issues/5640): Warn about user configuration overriding other user configuration only with `--debug`. ([[**jonas054**](https://github.com/jonas054)][]) > * [#5637](https://github.com/bbatsov/rubocop/issues/5637): Fix error for `Layout/SpaceInsideArrayLiteralBrackets` when contains an array literal as an argument after a heredoc is started. ([[**koic**](https://github.com/koic)][]) > * [#5498](https://github.com/bbatsov/rubocop/issues/5498): Correct IndentHeredoc message for Ruby 2.3 when using `<<~` operator with invalid indentation. ([[**hamada14**](https://github.com/hamada14)][]) > * [#5610](https://github.com/bbatsov/rubocop/issues/5610): Use `gems.locked` or `Gemfile.lock` to determine the best `TargetRubyVersion` when it is not specified in the config. ([[**roberts1000**](https://github.com/roberts1000)][]) > * [#5390](https://github.com/bbatsov/rubocop/issues/5390): Allow exceptions to `Style/InlineComment` for inline comments which enable or disable rubocop cops. ([[**jfelchner**](https://github.com/jfelchner)][]) > * Add progress bar to offenses formatter. ([[**drewpterry**](https://github.com/drewpterry)][]) > * [#5498](https://github.com/bbatsov/rubocop/issues/5498): Correct `IndentHeredoc` message for Ruby 2.3 when using `<<~` operator with invalid indentation. ([[**hamada14**](https://github.com/hamada14)][]) > > ## 0.53.0 (2018-03-05) > > ### New features > > * [#3666](https://github.com/bbatsov/rubocop/issues/3666): Add new `Naming/UncommunicativeBlockParamName` cop. ([[**garettarrowood**](https://github.com/garettarrowood)][]) > * [#3666](https://github.com/bbatsov/rubocop/issues/3666): Add new `Naming/UncommunicativeMethodParamName` cop. ([[**garettarrowood**](https://github.com/garettarrowood)][]) > * [#5356](https://github.com/bbatsov/rubocop/issues/5356): Add new `Lint/UnneededCopEnableDirective` cop. ([[**garettarrowood**](https://github.com/garettarrowood)][]) > * [#5248](https://github.com/bbatsov/rubocop/pull/5248): Add new `Lint/BigDecimalNew` cop. ([[**koic**](https://github.com/koic)][]) > * Add new `Style/TrailingBodyOnClass` cop. ([[**garettarrowood**](https://github.com/garettarrowood)][]) > * Add new `Style/TrailingBodyOnModule` cop. ([[**garettarrowood**](https://github.com/garettarrowood)][]) > ... (truncated)
Commits - See full diff in [compare view](https://github.com/bbatsov/rubocop/commits/v0.54.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 [minor|major] version` with 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 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) Finally, you can contact us by mentioning @dependabot.
dependabot-preview[bot] commented 6 years ago

Superseded by #64.