Skip to content

Commit 447a017

Browse files
Merge #165
165: Update rubocop requirement from ~> 1.12.0 to ~> 1.13.0 r=curquiza a=dependabot-preview[bot] Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/rubocop/rubocop/releases">rubocop's releases</a>.</em></p> <blockquote> <h2>RuboCop 1.13</h2> <h3>New features</h3> <ul> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/7977">#7977</a>: Add <code>Layout/RedundantLineBreak</code> cop. (<a href="https://github.com/jonas054"><code>@jonas054</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9691">#9691</a>: Add configuration parameter <code>InspectBlocks</code> to <code>Layout/RedundantLineBreak</code>. (<a href="https://github.com/jonas054"><code>@jonas054</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9684">#9684</a>: Support <code>IgnoredMethods</code> option for <code>Lint/AmbguousBlockAssociation</code>. (<a href="https://github.com/gprado"><code>@gprado</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9358">#9358</a>: Support <code>restrictive_version_specificiers</code> option in <code>Bundler/GemComment</code> cop. (<a href="https://github.com/RobinDaugherty"><code>@RobinDaugherty</code></a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/5576">#5576</a>: Fix problem with inherited <code>Include</code> parameters. (<a href="https://github.com/jonas054"><code>@jonas054</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9690">#9690</a>: Fix an incorrect auto-correct for <code>Style/IfUnlessModifier</code> when using a method with heredoc argument. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9681">#9681</a>: Fix an incorrect auto-correct for <code>Style/RedundantBegin</code> when using modifier <code>if</code> single statement in <code>begin</code> block. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9698">#9698</a>: Fix an error for <code>Style/StructInheritance</code> when extending instance of <code>Struct</code> without <code>do</code> ... <code>end</code> and class body is empty and single line definition. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9700">#9700</a>: Avoid warning about Ruby version mismatch. (<a href="https://github.com/marcandre"><code>@marcandre</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9636">#9636</a>: Resolve symlinks when excluding directories. (<a href="https://github.com/ob-stripe"><code>@ob-stripe</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9707">#9707</a>: Fix false positive for <code>Style/MethodCallWithArgsParentheses</code> with <code>omit_parentheses</code> style on an endless <code>defs</code> node. (<a href="https://github.com/dvandersluis"><code>@dvandersluis</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9689">#9689</a>: Treat parens around array items the same for children and deeper descendants. (<a href="https://github.com/dvandersluis"><code>@dvandersluis</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9676">#9676</a>: Fix an error for <code>Style/StringChars</code> when using <code>split</code> without parentheses. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9712">#9712</a>: Fix an incorrect auto-correct for <code>Style/HashConversion</code> when <code>Hash[]</code> as a method argument without parentheses. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9704">#9704</a>: Fix an incorrect auto-correct for <code>Style/SingleLineMethods</code> when single line method call without parentheses. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9683">#9683</a>: Fix an incorrect auto-correct for <code>Style/HashConversion</code> when using <code>zip</code> method without argument in <code>Hash[]</code>. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9715">#9715</a>: Fix an incorrect auto-correct for <code>EnforcedStyle: require_parentheses</code> of <code>Style/MethodCallWithArgsParentheses</code> with <code>Style/RescueModifier</code>. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> </ul> <h3>Changes</h3> <ul> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/7544">#7544</a>: Add --no-parallel (-P/--parallel can not be combined with --auto-correct). (<a href="https://github.com/kwerle"><code>@kwerle</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9648">#9648</a>: Drop support for Ruby 2.4. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9647">#9647</a>: The parallel flag will now be automatically ignored when combined with <code>--auto-correct</code>, <code>--auto-gen-config</code>, or <code>-F/--fail-fast</code>. Previously, an error was raised and execution stopped. (<a href="https://github.com/rrosenblum"><code>@rrosenblum</code></a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md">rubocop's changelog</a>.</em></p> <blockquote> <h2>1.13.0 (2021-04-20)</h2> <h3>New features</h3> <ul> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/7977">#7977</a>: Add <code>Layout/RedundantLineBreak</code> cop. ([<a href="https://github.com/jonas054"><code>@jonas054</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9691">#9691</a>: Add configuration parameter <code>InspectBlocks</code> to <code>Layout/RedundantLineBreak</code>. ([<a href="https://github.com/jonas054"><code>@jonas054</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9684">#9684</a>: Support <code>IgnoredMethods</code> option for <code>Lint/AmbguousBlockAssociation</code>. ([<a href="https://github.com/gprado"><code>@gprado</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9358">#9358</a>: Support <code>restrictive_version_specificiers</code> option in <code>Bundler/GemComment</code> cop. ([<a href="https://github.com/RobinDaugherty"><code>@RobinDaugherty</code></a>][])</li> </ul> <h3>Bug fixes</h3> <ul> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/5576">#5576</a>: Fix problem with inherited <code>Include</code> parameters. ([<a href="https://github.com/jonas054"><code>@jonas054</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9690">#9690</a>: Fix an incorrect auto-correct for <code>Style/IfUnlessModifier</code> when using a method with heredoc argument. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9681">#9681</a>: Fix an incorrect auto-correct for <code>Style/RedundantBegin</code> when using modifier <code>if</code> single statement in <code>begin</code> block. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9698">#9698</a>: Fix an error for <code>Style/StructInheritance</code> when extending instance of <code>Struct</code> without <code>do</code> ... <code>end</code> and class body is empty and single line definition. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9700">#9700</a>: Avoid warning about Ruby version mismatch. ([<a href="https://github.com/marcandre"><code>@marcandre</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9636">#9636</a>: Resolve symlinks when excluding directories. ([<a href="https://github.com/ob-stripe"><code>@ob-stripe</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9707">#9707</a>: Fix false positive for <code>Style/MethodCallWithArgsParentheses</code> with <code>omit_parentheses</code> style on an endless <code>defs</code> node. ([<a href="https://github.com/dvandersluis"><code>@dvandersluis</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9689">#9689</a>: Treat parens around array items the same for children and deeper descendants. ([<a href="https://github.com/dvandersluis"><code>@dvandersluis</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9676">#9676</a>: Fix an error for <code>Style/StringChars</code> when using <code>split</code> without parentheses. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9712">#9712</a>: Fix an incorrect auto-correct for <code>Style/HashConversion</code> when <code>Hash[]</code> as a method argument without parentheses. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9704">#9704</a>: Fix an incorrect auto-correct for <code>Style/SingleLineMethods</code> when single line method call without parentheses. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9683">#9683</a>: Fix an incorrect auto-correct for <code>Style/HashConversion</code> when using <code>zip</code> method without argument in <code>Hash[]</code>. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9715">#9715</a>: Fix an incorrect auto-correct for <code>EnforcedStyle: require_parentheses</code> of <code>Style/MethodCallWithArgsParentheses</code> with <code>Style/RescueModifier</code>. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> </ul> <h3>Changes</h3> <ul> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/7544">#7544</a>: Add --no-parallel (-P/--parallel can not be combined with --auto-correct). ([<a href="https://github.com/kwerle"><code>@kwerle</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9648">#9648</a>: Drop support for Ruby 2.4. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9647">#9647</a>: The parallel flag will now be automatically ignored when combined with <code>--auto-correct</code>, <code>--auto-gen-config</code>, or <code>-F/--fail-fast</code>. Previously, an error was raised and execution stopped. ([<a href="https://github.com/rrosenblum"><code>@rrosenblum</code></a>][])</li> </ul> <h2>1.12.1 (2021-04-04)</h2> <h3>Bug fixes</h3> <ul> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9649">#9649</a>: Fix when highlights contain multibyte characters. ([<a href="https://github.com/osyo-manga"><code>@osyo-manga</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9646">#9646</a>: Fix an incorrect auto-correct for <code>EnforcedStyle: require_parentheses</code> of <code>Style/MethodCallWithArgsParentheses</code> with <code>EnforcedStyle: conditionals</code> of <code>Style/AndOr</code>. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9608">#9608</a>: Fix a false positive for <code>Layout/EmptyLineAfterGuardClause</code> when using guard clause is after <code>rubocop:enable</code> comment. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9637">#9637</a>: Allow parentheses for forwarded args in <code>Style/MethodCallWithArgsParentheses</code>'s <code>omit_parentheses</code> style to avoid endless range ambiguity. ([<a href="https://github.com/gsamokovarov"><code>@gsamokovarov</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9641">#9641</a>: Fix <code>Layout/MultilineMethodCallIndentation</code> triggering on method calls that look like operators. ([<a href="https://github.com/dvandersluis"><code>@dvandersluis</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9638">#9638</a>: Fix an error for <code>Layout/LineLength</code> when over limit at right hand side of multiple assignment. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9639">#9639</a>: Fix <code>Style/RedundantBegin</code> removing comments on assignment statement correction. ([<a href="https://github.com/marcotc"><code>@marcotc</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9671">#9671</a>: Fix an incorrect auto-correct for <code>Lint/AmbiguousOperator</code> with <code>Style/MethodCallWithArgsParentheses</code>. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9645">#9645</a>: Fix an incorrect auto-correct for <code>Style/SingleLineMethods</code> when using single line class method definition. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9644">#9644</a>: Fix an error and an incorrect auto-correct for <code>Style/MultilineMethodSignature</code> when line break after opening parenthesis. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9672">#9672</a>: Fix an incorrect auto-correct for <code>Style/HashConversion</code> when using multi-argument <code>Hash[]</code> as a method argument. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> </ul> <h2>1.12.0 (2021-03-24)</h2> <h3>New features</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rubocop/rubocop/commit/76bc0a0e026b13fccdc7b6bccfd6d082d24a7b52"><code>76bc0a0</code></a> Cut 1.13</li> <li><a href="https://github.com/rubocop/rubocop/commit/be91a13553e86d2b861bfc7bb7403c35dbbe5057"><code>be91a13</code></a> Update Changelog</li> <li><a href="https://github.com/rubocop/rubocop/commit/ad11b07b531cbfd71f694a029854aa36d6c6696a"><code>ad11b07</code></a> Tweak a changelog entry</li> <li><a href="https://github.com/rubocop/rubocop/commit/cd3db1247c060e183b34012797641d2d9ed99443"><code>cd3db12</code></a> Fix an incorrect auto-correct for <code>Style/MethodCallWithArgsParentheses</code></li> <li><a href="https://github.com/rubocop/rubocop/commit/bc6f98bed0c8130d4ec1258501b948f3331ccd4a"><code>bc6f98b</code></a> Add --no-parallel command-line option (<a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9640">#9640</a>)</li> <li><a href="https://github.com/rubocop/rubocop/commit/fe934c2f006043cd1657d80fd81100ffdff758b4"><code>fe934c2</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9636">#9636</a>] Resolve symlinks when excluding directories</li> <li><a href="https://github.com/rubocop/rubocop/commit/9c3684719cc0ad92ca70afdc06d0fbfeb483fb90"><code>9c36847</code></a> Fix an incorrect auto-correct for <code>Style/HashConversion</code></li> <li><a href="https://github.com/rubocop/rubocop/commit/c53803beda41dd6a4d9db10a9e2824eb31266449"><code>c53803b</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9689">#9689</a>] Treat parens around array items the same for children and deeper ...</li> <li><a href="https://github.com/rubocop/rubocop/commit/613623993622b178371dfa274d7b7a468463187a"><code>6136239</code></a> Fix typos</li> <li><a href="https://github.com/rubocop/rubocop/commit/bd27fcb0840ef3a6ae5975ab708c015d29f21fa1"><code>bd27fcb</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/5576">#5576</a>] Treat relativity of Include parameters correctly</li> <li>Additional commits viewable in <a href="https://github.com/rubocop/rubocop/compare/v1.12.0...v1.13.0">compare view</a></li> </ul> </details> <br /> You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor 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) - 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) </details> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2 parents 0b18a51 + 8153e7c commit 447a017

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ group :development, :test do
1414
end
1515

1616
group :development do
17-
gem 'rubocop', '~> 1.12.0', require: false
17+
gem 'rubocop', '~> 1.13.0', require: false
1818
end

0 commit comments

Comments
 (0)