foundation / inky-rb

MIT License
173 stars 33 forks source link

Bump rubocop from 0.59.2 to 0.63.0 #85

Closed dependabot-preview[bot] closed 5 years ago

dependabot-preview[bot] commented 5 years ago

Bumps rubocop from 0.59.2 to 0.63.0.

Release notes *Sourced from [rubocop's releases](https://github.com/rubocop-hq/rubocop/releases).* > ## RuboCop 0.63 > ### New features > > * [#6604](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6604): Add auto-correct support to `Rails/LinkToBlank`. ([[**Intrepidd**](https://github.com/Intrepidd)][]) > * [#6660](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6660): Add new `Rails/IgnoredSkipActionFilterOption` cop. ([[**wata727**](https://github.com/wata727)][]) > * [#6363](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6363): Allow `Style/YodaCondition` cop to be configured to enforce yoda conditions. ([[**tejasbubane**](https://github.com/tejasbubane)][]) > * [#6150](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6150): Add support to enforce disabled cops to be executed. ([[**roooodcastro**](https://github.com/roooodcastro)][]) > * [#6596](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6596): Add new `Rails/BelongsTo` cop with auto-correct for Rails >= 5. ([[**petehamilton**](https://github.com/petehamilton)][]) > > ### Bug fixes > > * [#6627](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6627): Fix handling of hashes in trailing comma. ([[**abrom**](https://github.com/abrom)][]) > * [#6623](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6623): Fix heredoc detection in trailing comma. ([[**palkan**](https://github.com/palkan)][]) > * [#6100](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6100): Fix a false positive in `Naming/ConstantName` cop when rhs is a conditional expression. ([[**tatsuyafw**](https://github.com/tatsuyafw)][]) > * [#6526](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6526): Fix a wrong line highlight in `Lint/ShadowedException` cop. ([[**tatsuyafw**](https://github.com/tatsuyafw)][]) > * [#6617](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6617): Prevent traversal error on infinite ranges. ([[**drenmi**](https://github.com/drenmi)][]) > * [#6625](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6625): Revert the "auto-exclusion of files ignored by git" feature. ([[**bbatsov**](https://github.com/bbatsov)][]) > * [#4460](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4460): Fix the determination of unsafe auto-correct in `Style/TernaryParentheses`. ([[**jonas054**](https://github.com/jonas054)][]) > * [#6651](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6651): Fix auto-correct issue in `Style/RegexpLiteral` cop when there is string interpolation. ([[**roooodcastro**](https://github.com/roooodcastro)][]) > * [#6670](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6670): Fix a false positive for `Style/SafeNavigation` when a method call safeguarded with a negative check for the object. ([[**koic**](https://github.com/koic)][]) > * [#6633](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6633): Fix `Lint/SafeNavigation` complaining about use of `to_d`. ([[**tejasbubane**](https://github.com/tejasbubane)][]) > * [#6575](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6575): Fix `Naming/PredicateName` suggesting invalid rename. ([[**tejasbubane**](https://github.com/tejasbubane)][]) > * [#6673](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6673): Fix `Style/DocumentationMethod` cop to recognize documentation comments for `def` inline with `module_function`. ([[**tejasbubane**](https://github.com/tejasbubane)][]) > > ### Changes > > * [#6607](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6607): Improve CLI usage message for --stdin option. ([[**jaredbeck**](https://github.com/jaredbeck)][]) > * [#6641](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6641): Specify `Performance/RangeInclude` as unsafe because `Range#include?` and `Range#cover?` are not equivalent. ([[**koic**](https://github.com/koic)][]) > * [#6636](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6636): Move `FlipFlop` cop from `Style` to `Lint` department because flip-flop is deprecated since Ruby 2.6.0. ([[**koic**](https://github.com/koic)][]) > * [#6661](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6661): Abandon making frozen string literals default for Ruby 3.0. ([[**koic**](https://github.com/koic)][]) > > [[**Intrepidd**](https://github.com/Intrepidd)]: https://github.com/Intrepidd > [[**wata727**](https://github.com/wata727)]: https://github.com/wata727 > [[**tejasbubane**](https://github.com/tejasbubane)]: https://github.com/tejasbubane > [[**roooodcastro**](https://github.com/roooodcastro)]: https://github.com/roooodcastro > [[**petehamilton**](https://github.com/petehamilton)]: https://github.com/petehamilton > [[**abrom**](https://github.com/abrom)]: https://github.com/abrom > [[**palkan**](https://github.com/palkan)]: https://github.com/palkan > [[**tatsuyafw**](https://github.com/tatsuyafw)]: https://github.com/tatsuyafw > [[**drenmi**](https://github.com/drenmi)]: https://github.com/drenmi > [[**bbatsov**](https://github.com/bbatsov)]: https://github.com/bbatsov > [[**jonas054**](https://github.com/jonas054)]: https://github.com/jonas054 > [[**koic**](https://github.com/koic)]: https://github.com/koic > [[**jaredbeck**](https://github.com/jaredbeck)]: https://github.com/jaredbeck > > ## RuboCop 0.62 > ### New features > > * [#6580](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6580): New cop `Rails/LinkToBlank` checks for `link_to` calls with `target: '_blank'` and no `rel: 'noopener'`. ([[**Intrepidd**](https://github.com/Intrepidd)][]) > > ... (truncated)
Changelog *Sourced from [rubocop's changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md).* > ## 0.63.0 (2019-01-16) > > ### New features > > * [#6604](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6604): Add auto-correct support to `Rails/LinkToBlank`. ([[**Intrepidd**](https://github.com/Intrepidd)][]) > * [#6660](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6660): Add new `Rails/IgnoredSkipActionFilterOption` cop. ([[**wata727**](https://github.com/wata727)][]) > * [#6363](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6363): Allow `Style/YodaCondition` cop to be configured to enforce yoda conditions. ([[**tejasbubane**](https://github.com/tejasbubane)][]) > * [#6150](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6150): Add support to enforce disabled cops to be executed. ([[**roooodcastro**](https://github.com/roooodcastro)][]) > * [#6596](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6596): Add new `Rails/BelongsTo` cop with auto-correct for Rails >= 5. ([[**petehamilton**](https://github.com/petehamilton)][]) > > ### Bug fixes > > * [#6627](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6627): Fix handling of hashes in trailing comma. ([[**abrom**](https://github.com/abrom)][]) > * [#6623](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6623): Fix heredoc detection in trailing comma. ([[**palkan**](https://github.com/palkan)][]) > * [#6100](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6100): Fix a false positive in `Naming/ConstantName` cop when rhs is a conditional expression. ([[**tatsuyafw**](https://github.com/tatsuyafw)][]) > * [#6526](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6526): Fix a wrong line highlight in `Lint/ShadowedException` cop. ([[**tatsuyafw**](https://github.com/tatsuyafw)][]) > * [#6617](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6617): Prevent traversal error on infinite ranges. ([[**drenmi**](https://github.com/drenmi)][]) > * [#6625](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6625): Revert the "auto-exclusion of files ignored by git" feature. ([[**bbatsov**](https://github.com/bbatsov)][]) > * [#4460](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4460): Fix the determination of unsafe auto-correct in `Style/TernaryParentheses`. ([[**jonas054**](https://github.com/jonas054)][]) > * [#6651](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6651): Fix auto-correct issue in `Style/RegexpLiteral` cop when there is string interpolation. ([[**roooodcastro**](https://github.com/roooodcastro)][]) > * [#6670](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6670): Fix a false positive for `Style/SafeNavigation` when a method call safeguarded with a negative check for the object. ([[**koic**](https://github.com/koic)][]) > * [#6633](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6633): Fix `Lint/SafeNavigation` complaining about use of `to_d`. ([[**tejasbubane**](https://github.com/tejasbubane)][]) > * [#6575](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6575): Fix `Naming/PredicateName` suggesting invalid rename. ([[**tejasbubane**](https://github.com/tejasbubane)][]) > * [#6673](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6673): Fix `Style/DocumentationMethod` cop to recognize documentation comments for `def` inline with `module_function`. ([[**tejasbubane**](https://github.com/tejasbubane)][]) > > ### Changes > > * [#6607](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6607): Improve CLI usage message for --stdin option. ([[**jaredbeck**](https://github.com/jaredbeck)][]) > * [#6641](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6641): Specify `Performance/RangeInclude` as unsafe because `Range#include?` and `Range#cover?` are not equivalent. ([[**koic**](https://github.com/koic)][]) > * [#6636](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6636): Move `FlipFlop` cop from `Style` to `Lint` department because flip-flop is deprecated since Ruby 2.6.0. ([[**koic**](https://github.com/koic)][]) > * [#6661](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6661): Abandon making frozen string literals default for Ruby 3.0. ([[**koic**](https://github.com/koic)][]) > > ## 0.62.0 (2019-01-01) > > ### New features > > * [#6580](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6580): New cop `Rails/LinkToBlank` checks for `link_to` calls with `target: '_blank'` and no `rel: 'noopener'`. ([[**Intrepidd**](https://github.com/Intrepidd)][]) > * [#6586](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6586): New cop `Style/DisjunctiveAssignmentInConstructor` checks constructors for disjunctive assignments that should be plain assignments. ([[**jaredbeck**](https://github.com/jaredbeck)][]) > > ### Bug fixes > > * [#6560](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6560): Consider file count, not offense count, for `--exclude-limit` in combination with `--auto-gen-only-exclude`. ([[**jonas054**](https://github.com/jonas054)][]) > * [#4229](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4229): Fix unexpected Style/HashSyntax consistency offence. ([[**timon**](https://github.com/timon)][]) > * [#6500](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6500): Add offense to use `in_time_zone` instead of deprecated `to_time_in_current_zone`. ([[**nadiyaka**](https://github.com/nadiyaka)][]) > * [#6577](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6577): Prevent Rails/Blank cop from adding offense when define the blank method. ([[**jonatas**](https://github.com/jonatas)][]) > * [#6554](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6554): Prevent Layout/RescueEnsureAlignment cop from breaking on block assignment when assignment is on a separate line. ([[**timmcanty**](https://github.com/timmcanty)][]) > * [#6343](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6343): Optimise `--auto-gen-config` when `Metrics/LineLength` cop is disabled. ([[**tom-lord**](https://github.com/tom-lord)][]) > * [#6389](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6389): Fix false negative for `Style/TrailingCommaInHashLiteral`/`Style/TrailingCommaInArrayLiteral` when there is a comment in the last line. ([[**bayandin**](https://github.com/bayandin)][]) > * [#6566](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6566): Fix false positive for `Layout/EmptyLinesAroundAccessModifier` when at the end of specifying a superclass is missing blank line. ([[**koic**](https://github.com/koic)][]) > * [#6571](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6571): Fix a false positive for `Layout/TrailingCommaInArguments` when a line break before a method call and `EnforcedStyleForMultiline` is set to `consistent_comma`. ([[**koic**](https://github.com/koic)][]) > ... (truncated)
Commits - [`457cd4f`](https://github.com/rubocop-hq/rubocop/commit/457cd4f0db4088a0f85413af9a5b66b06d6a94bf) Cut 0.63 - [`c95b534`](https://github.com/rubocop-hq/rubocop/commit/c95b534e52771bcce4831497d87bf0341b2d90ab) [Fix [#6673](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6673)] Fix `Style/DocumentationMethod` for inline `module_function` - [`e2f1153`](https://github.com/rubocop-hq/rubocop/commit/e2f11532f090fae9830463482bf1920504f4c064) [Fix [#6575](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6575)] Fix `Naming/PredicateName` cop suggesting invalid rename - [`bc0cc8e`](https://github.com/rubocop-hq/rubocop/commit/bc0cc8eea524925aabc2760ec0e88335338c72a8) [Fix [#6633](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6633)] Fix `Lint/SafeNavigation` complaining about use of `to_d` - [`052b45a`](https://github.com/rubocop-hq/rubocop/commit/052b45ae1ad1aeb654c2d33d0d0f84309b6a5e70) [Fix [#6627](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6627)] Fixes regression in heredoc identification for Style/TrailingComm... - [`fc08639`](https://github.com/rubocop-hq/rubocop/commit/fc08639ea132e0f9816cd1d0c8eebafcda9c8656) [Fix [#6670](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6670)] Fix a false positive for `Style/SafeNavigation` - [`ad65d4f`](https://github.com/rubocop-hq/rubocop/commit/ad65d4fe0f68a8324ac76b0c38aefcdbadc7753b) Merge pull request [#6584](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6584) from roooodcastro/add-ignore-disable-comments - [`d054c0f`](https://github.com/rubocop-hq/rubocop/commit/d054c0f53c9dbea8b5170b5f90858b2a49929d30) Merge branch 'master' into add-ignore-disable-comments - [`7abc4ba`](https://github.com/rubocop-hq/rubocop/commit/7abc4badefca71f5fd9cb3f9b0e8e0f78801a51e) Fix a typo in CHANGELOG.md - [`1984570`](https://github.com/rubocop-hq/rubocop/commit/19845704d148918eb9d7e8d00e1892fc7111854d) In Rails >= 5, use optional: true, not required: false - Additional commits viewable in [compare view](https://github.com/rubocop-hq/rubocop/compare/v0.59.2...v0.63.0)


Dependabot compatibility score

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.
dependabot-preview[bot] commented 5 years ago

Superseded by #87.