Skip to content

Commit a903bbe

Browse files
Merge #281
281: Update rubocop requirement from ~> 1.23.0 to ~> 1.24.1 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.24.1</h2> <h3>Bug fixes</h3> <ul> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10313">#10313</a>: Fix autocorrect <code>Style/MapToHash</code> with multiline code. (<a href="https://github.com/tejasbubane"><code>`@​tejasbubane</code></a>)</li>` <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10251">#10251</a>: Fix an incorrect autocorrect for <code>Gemspec/RequireMFA</code> when .gemspec file contains <code>metadata</code> keys assignments. (<a href="https://github.com/fatkodima"><code>`@​fatkodima</code></a>)</li>` <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10329">#10329</a>: Fix a false positive for <code>Lint/ParenthesesAsGroupedExpression</code> and an incorrect autocorrect for the cop with <code>Style/TernaryParentheses</code> when using ternary expression as a first argument. (<a href="https://github.com/koic"><code>`@​koic</code></a>)</li>` <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10317">#10317</a>: Fix a false positive for <code>Style/MethodCallWithArgsParentheses</code> when using hash value omission. (<a href="https://github.com/koic"><code>`@​koic</code></a>)</li>` <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10333">#10333</a>: Fix an incorrect autocorrect for <code>Naming/BlockForwarding</code> using explicit block forwarding without method definition parentheses. (<a href="https://github.com/koic"><code>`@​koic</code></a>)</li>` <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10321">#10321</a>: Make <code>Style/MethodDefParentheses</code> aware of Ruby 3.1's anonymous block forwarding. (<a href="https://github.com/koic"><code>`@​koic</code></a>)</li>` <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10320">#10320</a>: Fix an incorrect autocorrect for <code>Style/FileWrite</code> when using heredoc argument. (<a href="https://github.com/koic"><code>`@​koic</code></a>)</li>` <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10319">#10319</a>: Require rubocop-ast 1.15.1 to fix a false positive for <code>Style/CombinableLoop</code> when the same method with different arguments and safe navigation. (<a href="https://github.com/koic"><code>`@​koic</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.24.1 (2021-12-31)</h2> <h3>Bug fixes</h3> <ul> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10313">#10313</a>: Fix autocorrect <code>Style/MapToHash</code> with multiline code. ([<a href="https://github.com/tejasbubane"><code>`@​tejasbubane</code></a>][])</li>` <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10251">#10251</a>: Fix an incorrect autocorrect for <code>Gemspec/RequireMFA</code> when .gemspec file contains <code>metadata</code> keys assignments. ([<a href="https://github.com/fatkodima"><code>`@​fatkodima</code></a>][])</li>` <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10329">#10329</a>: Fix a false positive for <code>Lint/ParenthesesAsGroupedExpression</code> and an incorrect autocorrect for the cop with <code>Style/TernaryParentheses</code> when using ternary expression as a first argument. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>` <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10317">#10317</a>: Fix a false positive for <code>Style/MethodCallWithArgsParentheses</code> when using hash value omission. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>` <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10333">#10333</a>: Fix an incorrect autocorrect for <code>Naming/BlockForwarding</code> using explicit block forwarding without method definition parentheses. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>` <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10321">#10321</a>: Make <code>Style/MethodDefParentheses</code> aware of Ruby 3.1's anonymous block forwarding. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>` <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10320">#10320</a>: Fix an incorrect autocorrect for <code>Style/FileWrite</code> when using heredoc argument. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>` <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10319">#10319</a>: Require rubocop-ast 1.15.1 to fix a false positive for <code>Style/CombinableLoop</code> when the same method with different arguments and safe navigation. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>` </ul> <h2>1.24.0 (2021-12-23)</h2> <h3>New features</h3> <ul> <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10279">#10279</a>: Support Ruby 3.1's anonymous block forwarding syntax. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>` <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10295">#10295</a>: Support Ruby 3.1's hash value omission syntax for <code>Layout/HashAlignment</code>. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>` <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10303">#10303</a>: Add <code>AllowedNumbers</code> option to <code>Style/NumericLiterals</code>. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>` <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10290">#10290</a>: Add new <code>Naming/BlockForwarding</code> cop. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>` <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10289">#10289</a>: Add <code>EnforcedShorthandSyntax</code> option to <code>Style/HashSyntax</code> cop to support Ruby 3.1's hash value omission syntax by default. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>` <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10257">#10257</a>: Add new <code>Style/MapToHash</code> cop. ([<a href="https://github.com/dvandersluis"><code>`@​dvandersluis</code></a>][])</li>` <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10261">#10261</a>: Add new <code>Style/FileRead</code> cop. ([<a href="https://github.com/leoarnold"><code>`@​leoarnold</code></a>][])</li>` <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10291">#10291</a>: Support Ruby 3.1's hash value omission syntax for <code>Layout/SpaceAfterColon</code>. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>` <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10260">#10260</a>: Add new <code>Style/FileWrite</code> cop. ([<a href="https://github.com/leoarnold"><code>`@​leoarnold</code></a>][])</li>` <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10307">#10307</a>: Support Ruby 2.7's numbered parameter for <code>Metrics/BlockLength</code>, <code>Metrics/ClassLength</code>, <code>Metrics/MethodLength</code>, and <code>Metrics/ModuleLength</code> cops. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>` <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/7671">#7671</a>: Add cli option <code>--show-docs-url</code> to print out documentation url for given cops. ([<a href="https://github.com/HeroProtagonist"><code>`@​HeroProtagonist</code></a>][])</li>` <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10308">#10308</a>: Make <code>Style/CollectionCompact</code> aware of block pass argument. ([<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/10285">#10285</a>: Fix an incorrect autocorrect for <code>Style/SoleNestedConditional</code> when using nested <code>if</code> within <code>if 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/10309">#10309</a>: Fix a false positive for <code>Bundler/DuplicatedGem</code> when a gem conditionally duplicated within multi-statement bodies. ([<a href="https://github.com/fatkodima"><code>`@​fatkodima</code></a>][])</li>` <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10300">#10300</a>: Fix an incorrect autocorrect for <code>Layout/DotPosition</code> and <code>Style/RedundantSelf</code> when auto-correction conflicts. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>` <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10284">#10284</a>: Fix an incorrect autocorrect for <code>Style/RedundantRegexpCharacterClass</code> when regexp containing an unescaped <code>#</code>. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>` <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10265">#10265</a>: Fix <code>Style/IfInsideElse</code> to be able to handle <code>if-then</code> nested inside an <code>else</code> without clobbering. ([<a href="https://github.com/dvandersluis"><code>`@​dvandersluis</code></a>][])</li>` <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10297">#10297</a>: Fix a false positive for <code>Lint/DeprecatedOpenSSLConstant</code> when building digest using an algorithm string and nested digest constants. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>` <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10282">#10282</a>: Fix an incorrect autocorrect for <code>Style/EmptyCaseCondition</code> when using <code>when ... then</code> in <code>case</code> in a method call. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>` <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10273">#10273</a>: Fix a false positive for <code>InternalAffairs/UndefinedConfig</code> to suppress a false wrong namespace warning. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>` <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10305">#10305</a>: Fix an incorrect autocorrect for <code>Style/HashConversion</code> when using <code>Hash[a || b]</code>. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>` <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10264">#10264</a>: Fix the following incorrect auto-correct for <code>Style/MethodCallWithArgsParentheses</code> with <code>Layout/SpaceBeforeFirstArg</code>. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>` <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10276">#10276</a>: Fix an incorrect autocorrect for <code>Style/RedundantInterpolation</code> when using a method call without parentheses in string interpolation. ([<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/10253">#10253</a>: Deprecate <code>RuboCop::Cop::EnforceSuperclass</code> module. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>` <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10248">#10248</a>: Make <code>Lint/DeprecatedClassMethods</code> aware of <code>ENV.freeze</code>. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>` <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10269">#10269</a>: Mark <code>Lint/IncompatibleIoSelectWithFiberScheduler</code> as unsafe auto-correction. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>` <li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/8586">#8586</a>: Add configuration parameter <code>AllowForAlignment</code> in <code>Layout/CommentIndentation</code>. ([<a href="https://github.com/jonas054"><code>`@​jonas054</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/0c0bee18073201396f679848954235d10b9f8355"><code>0c0bee1</code></a> Cut 1.24.1</li> <li><a href="https://github.com/rubocop/rubocop/commit/b864ea33a5fe174ea6b0ee304bb866bb9ade319f"><code>b864ea3</code></a> Update Changelog</li> <li><a href="https://github.com/rubocop/rubocop/commit/ced2bbd8c615bd84cd745ccd61804f82941b349a"><code>ced2bbd</code></a> Fix an incorrect autocorrect for <code>Naming/BlockForwarding</code></li> <li><a href="https://github.com/rubocop/rubocop/commit/dc4ce59368528b322f519351e9af9fd79e80d74c"><code>dc4ce59</code></a> Remove dead SemVer compatibility badge</li> <li><a href="https://github.com/rubocop/rubocop/commit/41234cb7b28d99132f5ec1f80f1862036ff50969"><code>41234cb</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10329">#10329</a>] Fix a false positive for <code>Lint/ParenthesesAsGroupedExpression</code></li> <li><a href="https://github.com/rubocop/rubocop/commit/5290c6e7554f878fa7910695f2d66d48249524fc"><code>5290c6e</code></a> Fix an incorrect autocorrect for <code>Gemspec/RequireMFA</code> when .gemspec file cont...</li> <li><a href="https://github.com/rubocop/rubocop/commit/6821569eeff14926a776850aaf74273eef6d923b"><code>6821569</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10321">#10321</a>] Make <code>Style/MethodDefParentheses</code> aware of anonymous block forwa...</li> <li><a href="https://github.com/rubocop/rubocop/commit/883bf10e1827e4f61e4c117cb07eb80aab4f73e5"><code>883bf10</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10317">#10317</a>] Fix a false positive for <code>Style/MethodCallWithArgsParentheses</code></li> <li><a href="https://github.com/rubocop/rubocop/commit/8ce1e7c983ced3dc632419f46d19fe5e980a5f4d"><code>8ce1e7c</code></a> Use <code>call</code> instead of <code>{send csend}</code> for <code>def_node_matcher</code></li> <li><a href="https://github.com/rubocop/rubocop/commit/3ffa2bc41867b995f5b9001472620b464365481a"><code>3ffa2bc</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10326">#10326</a> from koic/use_cimg_instead_of_deprecated_circleci_i...</li> <li>Additional commits viewable in <a href="https://github.com/rubocop/rubocop/compare/v1.23.0...v1.24.1">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 9290118 + 019b030 commit a903bbe

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

0 commit comments

Comments
 (0)