gocardless / statesman

A statesmanlike state machine library.
https://gocardless.com/blog/statesman/
MIT License
1.78k stars 163 forks source link

Update rubocop requirement to ~> 0.57.1 #322

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.1 > ### Bug fixes > > * [#5963](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5963): Allow Performance/ReverseEach to apply to any receiver. ([[**dvandersluis**](https://github.com/dvandersluis)][]) > * [#5917](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5917): Fix erroneous warning for `inherit_mode` directive. ([[**jonas054**](https://github.com/jonas054)][]) > * [#5380](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/5380): Fix false negative in `Layout/IndentationWidth` when an access modifier section has an invalid indentation body. ([[**tatsuyafw**](https://github.com/tatsuyafw)][]) > * [#5909](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/5909): Even when a module has no public methods, `Layout/IndentationConsistency` should still register an offense for private methods. ([[**jaredbeck**](https://github.com/jaredbeck)][]) > * [#5958](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/5958): Handle empty method body in `Rails/BulkChangeTable`. ([[**wata727**](https://github.com/wata727)][]) > * [#5954](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5954): Make `Style/UnneededCondition` cop accepts a case of condition and `if_branch` are same when using `elsif` branch. ([[**koic**](https://github.com/koic)][]) > > [[**dvandersluis**](https://github.com/dvandersluis)]: https://github.com/dvandersluis > [[**jonas054**](https://github.com/jonas054)]: https://github.com/jonas054 > [[**tatsuyafw**](https://github.com/tatsuyafw)]: https://github.com/tatsuyafw > [[**jaredbeck**](https://github.com/jaredbeck)]: https://github.com/jaredbeck > [[**wata727**](https://github.com/wata727)]: https://github.com/wata727 > [[**koic**](https://github.com/koic)]: https://github.com/koic
Changelog *Sourced from [rubocop's changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md).* > ## 0.57.1 (2018-06-07) > > ### Bug fixes > > * [#5963](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5963): Allow Performance/ReverseEach to apply to any receiver. ([[**dvandersluis**](https://github.com/dvandersluis)][]) > * [#5917](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5917): Fix erroneous warning for `inherit_mode` directive. ([[**jonas054**](https://github.com/jonas054)][]) > * [#5380](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/5380): Fix false negative in `Layout/IndentationWidth` when an access modifier section has an invalid indentation body. ([[**tatsuyafw**](https://github.com/tatsuyafw)][]) > * [#5909](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/5909): Even when a module has no public methods, `Layout/IndentationConsistency` should still register an offense for private methods. ([[**jaredbeck**](https://github.com/jaredbeck)][]) > * [#5958](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/5958): Handle empty method body in `Rails/BulkChangeTable`. ([[**wata727**](https://github.com/wata727)][]) > * [#5954](https://github-redirect.dependabot.com/bbatsov/rubocop/issues/5954): Make `Style/UnneededCondition` cop accepts a case of condition and `if_branch` are same when using `elsif` branch. ([[**koic**](https://github.com/koic)][]) > > ## 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)][]) > ... (truncated)
Commits - See full diff in [compare view](https://github.com/rubocop-hq/rubocop/commits/v0.57.1)


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot 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.