Closed dependabot-preview[bot] closed 5 years ago
Merging #57 into master will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## master #57 +/- ##
=======================================
Coverage 87.68% 87.68%
=======================================
Files 20 20
Lines 755 755
=======================================
Hits 662 662
Misses 93 93
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update f0c9af5...209e64d. Read the comment docs.
⚠️ Dependabot is rebasing this PR ⚠️
If you make any changes to it yourself then they will take precedence over the rebase.
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.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)][]) > > ### 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)][]) > * [#6573](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6573): Make `Layout/AccessModifierIndentation` work for dynamic module or class definitions. ([[**deivid-rodriguez**](https://github.com/deivid-rodriguez)][]) > * [#6562](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6562): Fix a false positive for `Style/MethodCallWithArgsParentheses` `omit_parentheses` enforced style after safe navigation call. ([[**gsamokovarov**](https://github.com/gsamokovarov)][]) > * [#6570](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6570): Fix a false positive for `Style/MethodCallWithArgsParentheses` `omit_parentheses` enforced style while splatting the result of a method invocation. ([[**gsamokovarov**](https://github.com/gsamokovarov)][]) > * [#6598](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6598): Fix a false positive for `Style/MethodCallWithArgsParentheses` `omit_parentheses` enforced style for calls with regexp slash literals argument. ([[**gsamokovarov**](https://github.com/gsamokovarov)][]) > * [#6598](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6598): Fix a false positive for `Style/MethodCallWithArgsParentheses` `omit_parentheses` enforced style for default argument value calls. ([[**gsamokovarov**](https://github.com/gsamokovarov)][]) > * [#6598](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6598): Fix a false positive for `Style/MethodCallWithArgsParentheses` `omit_parentheses` enforced style for argument calls with braced blocks. ([[**gsamokovarov**](https://github.com/gsamokovarov)][]) > * [#6594](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6594): Fix a false positive for `Rails/OutputSafety` when the receiver is a non-interpolated string literal. ([[**amatsuda**](https://github.com/amatsuda)][]) > * [#6574](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6574): Fix `Style/AccessModifierIndentation` not handling arbitrary blocks. ([[**deivid-rodriguez**](https://github.com/deivid-rodriguez)][]) > * [#6370](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6370): Fix the enforcing style from `extend self` into `module_function` when there are private methods. ([[**Ruffeng**](https://github.com/Ruffeng)][]) > > ### Changes > > * [#595](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/595): Exclude files ignored by `git`. ([[**AlexWayfer**](https://github.com/AlexWayfer)][]) > * [#6429](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6429): Fix autocorrect in Rails/Validation to not wrap hash options with braces in an extra set of braces. ([[**bquorning**](https://github.com/bquorning)][]) > * [#6533](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6533): Improved warning message for unrecognized cop parameters to include Supported parameters. ([[**MagedMilad**](https://github.com/MagedMilad)][]) > > [[**Intrepidd**](https://github.com/Intrepidd)]: https://github.com/Intrepidd > [[**jonas054**](https://github.com/jonas054)]: https://github.com/jonas054 > [[**timon**](https://github.com/timon)]: https://github.com/timon > [[**nadiyaka**](https://github.com/nadiyaka)]: https://github.com/nadiyaka > [[**jonatas**](https://github.com/jonatas)]: https://github.com/jonatas > [[**timmcanty**](https://github.com/timmcanty)]: https://github.com/timmcanty > [[**tom-lord**](https://github.com/tom-lord)]: https://github.com/tom-lord > [[**bayandin**](https://github.com/bayandin)]: https://github.com/bayandin > [[**koic**](https://github.com/koic)]: https://github.com/koic > [[**deivid-rodriguez**](https://github.com/deivid-rodriguez)]: https://github.com/deivid-rodriguez > [[**gsamokovarov**](https://github.com/gsamokovarov)]: https://github.com/gsamokovarov > [[**amatsuda**](https://github.com/amatsuda)]: https://github.com/amatsuda > [[**Ruffeng**](https://github.com/Ruffeng)]: https://github.com/Ruffeng > [[**AlexWayfer**](https://github.com/AlexWayfer)]: https://github.com/AlexWayfer > [[**bquorning**](https://github.com/bquorning)]: https://github.com/bquorning > [[**MagedMilad**](https://github.com/MagedMilad)]: https://github.com/MagedMiladChangelog
*Sourced from [rubocop's changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md).* > ## 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)][]) > > ### 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)][]) > * [#6573](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6573): Make `Layout/AccessModifierIndentation` work for dynamic module or class definitions. ([[**deivid-rodriguez**](https://github.com/deivid-rodriguez)][]) > * [#6562](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6562): Fix a false positive for `Style/MethodCallWithArgsParentheses` `omit_parentheses` enforced style after safe navigation call. ([[**gsamokovarov**](https://github.com/gsamokovarov)][]) > * [#6570](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6570): Fix a false positive for `Style/MethodCallWithArgsParentheses` `omit_parentheses` enforced style while splatting the result of a method invocation. ([[**gsamokovarov**](https://github.com/gsamokovarov)][]) > * [#6598](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6598): Fix a false positive for `Style/MethodCallWithArgsParentheses` `omit_parentheses` enforced style for calls with regexp slash literals argument. ([[**gsamokovarov**](https://github.com/gsamokovarov)][]) > * [#6598](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6598): Fix a false positive for `Style/MethodCallWithArgsParentheses` `omit_parentheses` enforced style for default argument value calls. ([[**gsamokovarov**](https://github.com/gsamokovarov)][]) > * [#6598](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6598): Fix a false positive for `Style/MethodCallWithArgsParentheses` `omit_parentheses` enforced style for argument calls with braced blocks. ([[**gsamokovarov**](https://github.com/gsamokovarov)][]) > * [#6594](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6594): Fix a false positive for `Rails/OutputSafety` when the receiver is a non-interpolated string literal. ([[**amatsuda**](https://github.com/amatsuda)][]) > * [#6574](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6574): Fix `Style/AccessModifierIndentation` not handling arbitrary blocks. ([[**deivid-rodriguez**](https://github.com/deivid-rodriguez)][]) > * [#6370](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6370): Fix the enforcing style from `extend self` into `module_function` when there are private methods. ([[**Ruffeng**](https://github.com/Ruffeng)][]) > > ### Changes > > * [#595](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/595): Exclude files ignored by `git`. ([[**AlexWayfer**](https://github.com/AlexWayfer)][]) > * [#6429](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6429): Fix autocorrect in Rails/Validation to not wrap hash options with braces in an extra set of braces. ([[**bquorning**](https://github.com/bquorning)][]) > * [#6533](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6533): Improved warning message for unrecognized cop parameters to include Supported parameters. ([[**MagedMilad**](https://github.com/MagedMilad)][])Commits
- [`82c314e`](https://github.com/rubocop-hq/rubocop/commit/82c314ee2440b0a4384cacae9f181db75ac58a04) Cut 0.62 - [`247c50a`](https://github.com/rubocop-hq/rubocop/commit/247c50a6e83646af05f4996e17355eb9541bffb6) Fix incorrect changelog entry - [`351bc70`](https://github.com/rubocop-hq/rubocop/commit/351bc70690d3494e551dd1197da85ba72e14ce00) Fix bug extend_self with private methods - [`3a8a552`](https://github.com/rubocop-hq/rubocop/commit/3a8a552bdf76eed4b37ea0dc53d97784695351cc) [Fix #6533] Improve warning message for unrecognized parameters - [`4026fa6`](https://github.com/rubocop-hq/rubocop/commit/4026fa6620dd83d2154ebfb33b0ad92f43f85b58) Specify default EnforcedStyle in `Style/MethodCallWithArgsParentheses` doc - [`78881a9`](https://github.com/rubocop-hq/rubocop/commit/78881a9ab1a826e0546f909a102d850acbfcb7bc) Remove unnecessary Ruby version specification on CI - [`ed20141`](https://github.com/rubocop-hq/rubocop/commit/ed201411ed145ce45fae01bab996de1a4d9f97a3) CI against Ruby 2.6.0 - [`40d81ef`](https://github.com/rubocop-hq/rubocop/commit/40d81efc59d28038a3f64b02f7ff6f324d8667ce) Regenerate RuboCop TODO - [`70ae6ca`](https://github.com/rubocop-hq/rubocop/commit/70ae6ca7978770ea699a2809f57ca2a6bdeec6be) Fix offenses for RSpec/MessageSpies in RuboCop - [`668f18c`](https://github.com/rubocop-hq/rubocop/commit/668f18c25d5736fe6ad7df0e8165d50c5c21dffb) Merge pull request [#6582](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6582) from bquorning/braced-options-in-rails-validation - Additional commits viewable in [compare view](https://github.com/rubocop-hq/rubocop/compare/v0.61.1...v0.62.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
.Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.
You can always request more updates by clicking
Bump now
in your Dependabot dashboard.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.