Skip to content

Commit d25acb5

Browse files
Merge #182
182: Update rubocop requirement from ~> 1.14.0 to ~> 1.15.0 r=curquiza a=dependabot[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.15</h2> <h3>New features</h3> <ul> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9734">#9734</a>: Add <code>Style/TopLevelMethodDefinition</code> cop. (<a href="https://github.com/tejasbubane"><code>@​tejasbubane</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9780">#9780</a>: Support summary report for <code>JUnitFormatter</code>. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9798">#9798</a>: Make <code>Layout/ArgumentAlignment</code> aware of kwargs. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9749">#9749</a>: Fix autocorrection for <code>Layout/LineLength</code> to not move the first argument of an unparenthesized <code>send</code> node to the next line, which changes behaviour. (<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9799">#9799</a>: Fix invalid line splitting by <code>Layout/LineLength</code> for <code>send</code> nodes with heredoc arguments. (<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9773">#9773</a>: Fix <code>Style/EmptyLiteral</code> to not register offenses for <code>String.new</code> when <code>Style/FrozenStringLiteral</code> is enabled. (<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9771">#9771</a>: Change <code>AllowDSLWriters</code> to true by default for <code>Style/TrivialAccessors</code>. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9777">#9777</a>: Fix an incorrect auto-correct for <code>Style/RedundantBegin</code> when using multi-line <code>if</code> 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/pull/9791">#9791</a>: Fix a false negative for <code>Layout/IndentationWidth</code> when using <code>ensure</code> in <code>do</code> ... <code>end</code> block. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9766">#9766</a>: Fix a clobbering error for <code>Style/ClassAndModuleChildren</code> cop with compact style. (<a href="https://github.com/tejasbubane"><code>@​tejasbubane</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9767">#9767</a>: Fix <code>Style/ClassAndModuleChildren</code> cop to preserve comments. (<a href="https://github.com/tejasbubane"><code>@​tejasbubane</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9792">#9792</a>: Fix false positive for <code>Lint/Void</code> cop with ranges. (<a href="https://github.com/tejasbubane"><code>@​tejasbubane</code></a>)</li> </ul> <h3>Changes</h3> <ul> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9770">#9770</a>: Update <code>Lint/EmptyBlock</code> to handle procs the same way as lambdas. (<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9776">#9776</a>: Update <code>Style/NilLambda</code> to handle procs as well. (<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9744">#9744</a>: The parallel flag will now be automatically ignored when combined with <code>--cache false</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.15.0 (2021-05-17)</h2> <h3>New features</h3> <ul> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9734">#9734</a>: Add <code>Style/TopLevelMethodDefinition</code> cop. ([<a href="https://github.com/tejasbubane"><code>@​tejasbubane</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9780">#9780</a>: Support summary report for <code>JUnitFormatter</code>. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9798">#9798</a>: Make <code>Layout/ArgumentAlignment</code> aware of kwargs. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> </ul> <h3>Bug fixes</h3> <ul> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9749">#9749</a>: Fix autocorrection for <code>Layout/LineLength</code> to not move the first argument of an unparenthesized <code>send</code> node to the next line, which changes behaviour. ([<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9799">#9799</a>: Fix invalid line splitting by <code>Layout/LineLength</code> for <code>send</code> nodes with heredoc arguments. ([<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9773">#9773</a>: Fix <code>Style/EmptyLiteral</code> to not register offenses for <code>String.new</code> when <code>Style/FrozenStringLiteral</code> is enabled. ([<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9771">#9771</a>: Change <code>AllowDSLWriters</code> to true by default for <code>Style/TrivialAccessors</code>. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9777">#9777</a>: Fix an incorrect auto-correct for <code>Style/RedundantBegin</code> when using multi-line <code>if</code> 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/pull/9791">#9791</a>: Fix a false negative for <code>Layout/IndentationWidth</code> when using <code>ensure</code> in <code>do</code> ... <code>end</code> block. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9766">#9766</a>: Fix a clobbering error for <code>Style/ClassAndModuleChildren</code> cop with compact style. ([<a href="https://github.com/tejasbubane"><code>@​tejasbubane</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9767">#9767</a>: Fix <code>Style/ClassAndModuleChildren</code> cop to preserve comments. ([<a href="https://github.com/tejasbubane"><code>@​tejasbubane</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9792">#9792</a>: Fix false positive for <code>Lint/Void</code> cop with ranges. ([<a href="https://github.com/tejasbubane"><code>@​tejasbubane</code></a>][])</li> </ul> <h3>Changes</h3> <ul> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9770">#9770</a>: Update <code>Lint/EmptyBlock</code> to handle procs the same way as lambdas. ([<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9776">#9776</a>: Update <code>Style/NilLambda</code> to handle procs as well. ([<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9744">#9744</a>: The parallel flag will now be automatically ignored when combined with <code>--cache false</code>. Previously, an error was raised and execution stopped. ([<a href="https://github.com/rrosenblum"><code>@​rrosenblum</code></a>][])</li> </ul> <h2>1.14.0 (2021-05-05)</h2> <h3>New features</h3> <ul> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/7669">#7669</a>: New cop <code>Bundler/GemVersion</code> requires or forbids specifying gem versions. ([<a href="https://github.com/timlkelly"><code>@​timlkelly</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9758">#9758</a>: Support <code>TargetRubyVersion 3.1</code> (experimental). ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9733">#9733</a>: Add cop <code>Layout/SingleLineBlockChain</code>. ([<a href="https://github.com/jonas054"><code>@​jonas054</code></a>][])</li> </ul> <h3>Bug fixes</h3> <ul> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9751">#9751</a>: <code>Style/StringLiteral</code> doesn't autocorrect global variable interpolation. ([<a href="https://github.com/etiennebarrie"><code>@​etiennebarrie</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9731">#9731</a>: Fix two autocorrection issues for <code>Style/NegatedIfElseCondition</code>. ([<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9740">#9740</a>: Fix an incorrect auto-correct for <code>Style/SingleLineMethods</code> when defining setter method. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9757">#9757</a>: Fix a false positive for <code>Lint/NumberConversion</code> when <code>:to_f</code> is one of multiple method arguments. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9761">#9761</a>: Fix <code>Style/ClassAndModuleChildren</code> false negative for <code>compact</code> style when a class/module is partially nested. ([<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9748">#9748</a>: Prevent infinite loops during symlink traversal. ([<a href="https://github.com/Tonkpils"><code>@​Tonkpils</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9762">#9762</a>: Update <code>VariableForce</code> to be able to handle <code>case-match</code> nodes. ([<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9729">#9729</a>: Fix an error for <code>Style/IfUnlessModifier</code> when variable assignment is used in the branch body of if modifier. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9750">#9750</a>: Fix an incorrect auto-correct for <code>Style/SoleNestedConditional</code> when when using nested <code>if</code> within <code>unless foo == bar</code>. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9751">#9751</a>: <code>Style/StringLiteral</code> autocorrects <code>'\\'</code> into <code>&quot;\\&quot;</code>. ([<a href="https://github.com/etiennebarrie"><code>@​etiennebarrie</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9732">#9732</a>: Support deprecated Socket.gethostbyaddr and Socket.gethostbyname. ([<a href="https://github.com/AndreiEres"><code>@​AndreiEres</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9713">#9713</a>: Fix autocorrection for block local variables in <code>Lint/UnusedBlockArgument</code>. ([<a href="https://github.com/tejasbubane"><code>@​tejasbubane</code></a>][])</li> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9746">#9746</a>: Fix a false positive for <code>Lint/UnreachableLoop</code> when using conditional <code>next</code> in a loop. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rubocop/rubocop/commit/9c9b891b3c8cdc18a8146540e33e29252fa26175"><code>9c9b891</code></a> Cut 1.15</li> <li><a href="https://github.com/rubocop/rubocop/commit/b92be6a453dee4b84d0ffd77f900c9fdcf677973"><code>b92be6a</code></a> Update Changelog</li> <li><a href="https://github.com/rubocop/rubocop/commit/eecc7c8b06da8a5c8d5ebb5030512f1ba26a02be"><code>eecc7c8</code></a> Tweak some wording</li> <li><a href="https://github.com/rubocop/rubocop/commit/b3e567cbdbdc14aa0ee0c8227a7bebbd1c43db6b"><code>b3e567c</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9767">#9767</a>] Fix <code>Style/ClassAndModuleChildren</code> cop to preserve comments</li> <li><a href="https://github.com/rubocop/rubocop/commit/dca0471e31410eb03642fafbe0036e720c372181"><code>dca0471</code></a> [Change <a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9744">#9744</a>] Auto disable parallel when combined with cache false</li> <li><a href="https://github.com/rubocop/rubocop/commit/40d09706ea34ca58713a8d6c6b288f18a70c7dfb"><code>40d0970</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9792">#9792</a>] Fix false positive for <code>Lint/Void</code> cop</li> <li><a href="https://github.com/rubocop/rubocop/commit/4f13546f3e4319df140b23deefed2977a1d1c48f"><code>4f13546</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9801">#9801</a> from dvandersluis/issue/9749</li> <li><a href="https://github.com/rubocop/rubocop/commit/fcde5d7e9ce06c460a9fe15358ffbd66a075d48c"><code>fcde5d7</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9800">#9800</a> from dvandersluis/issue/9799</li> <li><a href="https://github.com/rubocop/rubocop/commit/60834d408504c106b250a89ccf657cacec8a3148"><code>60834d4</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9749">#9749</a>] Fix autocorrection for <code>Layout/LineLength</code> to not move the first ...</li> <li><a href="https://github.com/rubocop/rubocop/commit/1d81c00a2750c87cee0e6445fe3a13d72b75bd69"><code>1d81c00</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9799">#9799</a>] Fix invalid line splitting by <code>Layout/LineLength</code> for <code>send</code> node...</li> <li>Additional commits viewable in <a href="https://github.com/rubocop/rubocop/compare/v1.14.0...v1.15.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) </details> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 parents 2792713 + 88800e9 commit d25acb5

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.14.0', require: false
17+
gem 'rubocop', '~> 1.15.0', require: false
1818
end

0 commit comments

Comments
 (0)