Skip to content

Commit 55f014d

Browse files
Merge #433
433: Update rubocop requirement from ~> 1.48.0 to ~> 1.49.0 r=brunoocasali 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.49</h2> <h3>New features</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/11122">#11122</a>: Add new <code>Style/RedundantLineContinuation</code> cop. (<a href="https://github.com/ydah"><code>`@​ydah</code></a>)</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/issues/11696">#11696</a>: Add new <code>Style/DataInheritance</code> cop. (<a href="https://github.com/ktopolski"><code>`@​ktopolski</code></a>)</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/pull/11746">#11746</a>: Make <code>Layout/EndAlignment</code> aware of pattern matching. (<a href="https://github.com/koic"><code>`@​koic</code></a>)</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/pull/11750">#11750</a>: Make <code>Metrics/BlockNesting</code> aware of numbered parameter. (<a href="https://github.com/koic"><code>`@​koic</code></a>)</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/issues/11699">#11699</a>: Make <code>Style/ClassEqualityComparison</code> aware of <code>Class#to_s</code> and <code>Class#inspect</code> for class equality comparison. (<a href="https://github.com/koic"><code>`@​koic</code></a>)</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/pull/11737">#11737</a>: Make <code>Style/MapToHash</code> and <code>Style/MapToSet</code> aware of numbered parameters. (<a href="https://github.com/koic"><code>`@​koic</code></a>)</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/issues/11732">#11732</a>: Make <code>Style/MapToHash</code> and <code>Style/MapToSet</code> aware of symbol proc. (<a href="https://github.com/koic"><code>`@​koic</code></a>)</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/pull/11703">#11703</a>: Make <code>Naming/InclusiveLanguage</code> support autocorrection when there is only one suggestion. (<a href="https://github.com/koic"><code>`@​koic</code></a>)</li>` </ul> <h3>Bug fixes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/11730">#11730</a>: Fix an error for <code>Layout/HashAlignment</code> when using anonymous keyword rest arguments. (<a href="https://github.com/koic"><code>`@​koic</code></a>)</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/issues/11704">#11704</a>: Fix a false positive for <code>Lint/UselessMethodDefinition</code> when method definition with non access modifier containing only <code>super</code> call. (<a href="https://github.com/koic"><code>`@​koic</code></a>)</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/issues/11723">#11723</a>: Fix a false positive for <code>Style/IfUnlessModifier</code> when using one-line pattern matching as a <code>if</code> condition. (<a href="https://github.com/koic"><code>`@​koic</code></a>)</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/issues/11725">#11725</a>: Fix an error when insufficient permissions to server cache dir are granted. (<a href="https://github.com/koic"><code>`@​koic</code></a>)</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/issues/11715">#11715</a>: Ensure default configuration loads. (<a href="https://github.com/koic"><code>`@​koic</code></a>)</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/pull/11742">#11742</a>: Fix error handling in bundler standalone mode. (<a href="https://github.com/composerinteralia"><code>`@​composerinteralia</code></a>)</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/pull/11712">#11712</a>: Fix a crash in <code>Lint/EmptyConditionalBody</code>. (<a href="https://github.com/gsamokovarov"><code>`@​gsamokovarov</code></a>)</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/issues/11641">#11641</a>: Fix a false negative for <code>Layout/ExtraSpacing</code> when there are many comments with extra spaces. (<a href="https://github.com/nobuyo"><code>`@​nobuyo</code></a>)</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/pull/11740">#11740</a>: Fix a false positive for <code>Lint/NestedMethodDefinition</code> when nested definition inside <code>*_eval</code> and <code>*_exec</code> method call with a numblock. (<a href="https://github.com/ydah"><code>`@​ydah</code></a>)</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/issues/11685">#11685</a>: Fix incorrect directive comment insertion when percent array violates <code>Layout/LineLength</code> cop. (<a href="https://github.com/nobuyo"><code>`@​nobuyo</code></a>)</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/issues/11706">#11706</a>: Fix infinite loop when <code>--disable-uncorrectable</code> option and there is a multi-line percent array violates <code>Layout/LineLength</code>. (<a href="https://github.com/nobuyo"><code>`@​nobuyo</code></a>)</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/issues/11697">#11697</a>: Fix <code>Lint/Syntax</code> behavior when <code>--only</code> is not given the cop name. (<a href="https://github.com/koic"><code>`@​koic</code></a>)</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/pull/11709">#11709</a>: Fix value omission false positive in <code>Style/MethodCallWithArgsParentheses</code>. (<a href="https://github.com/gsamokovarov"><code>`@​gsamokovarov</code></a>)</li>` </ul> <h3>Changes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/11739">#11739</a>: Make <code>Style/RedundantParentheses</code> aware of redundant method argument parentheses. (<a href="https://github.com/koic"><code>`@​koic</code></a>)</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/issues/10766">#10766</a>: Use the path given by <code>--cache-root</code> to be the parent for <code>rubocop_cache</code> dir like other ways to specify it. (<a href="https://github.com/nobuyo"><code>`@​nobuyo</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.49.0 (2023-04-03)</h2> <h3>New features</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/11122">#11122</a>: Add new <code>Style/RedundantLineContinuation</code> cop. ([<a href="https://github.com/ydah"><code>`@​ydah</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/issues/11696">#11696</a>: Add new <code>Style/DataInheritance</code> cop. ([<a href="https://github.com/ktopolski"><code>`@​ktopolski</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/pull/11746">#11746</a>: Make <code>Layout/EndAlignment</code> aware of pattern matching. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/pull/11750">#11750</a>: Make <code>Metrics/BlockNesting</code> aware of numbered parameter. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/issues/11699">#11699</a>: Make <code>Style/ClassEqualityComparison</code> aware of <code>Class#to_s</code> and <code>Class#inspect</code> for class equality comparison. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/pull/11737">#11737</a>: Make <code>Style/MapToHash</code> and <code>Style/MapToSet</code> aware of numbered parameters. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/issues/11732">#11732</a>: Make <code>Style/MapToHash</code> and <code>Style/MapToSet</code> aware of symbol proc. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/pull/11703">#11703</a>: Make <code>Naming/InclusiveLanguage</code> support autocorrection when there is only one suggestion. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>` </ul> <h3>Bug fixes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/11730">#11730</a>: Fix an error for <code>Layout/HashAlignment</code> when using anonymous keyword rest arguments. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/issues/11704">#11704</a>: Fix a false positive for <code>Lint/UselessMethodDefinition</code> when method definition with non access modifier containing only <code>super</code> call. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/issues/11723">#11723</a>: Fix a false positive for <code>Style/IfUnlessModifier</code> when using one-line pattern matching as a <code>if</code> condition. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/issues/11725">#11725</a>: Fix an error when insufficient permissions to server cache dir are granted. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/issues/11715">#11715</a>: Ensure default configuration loads. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/pull/11742">#11742</a>: Fix error handling in bundler standalone mode. ([<a href="https://github.com/composerinteralia"><code>`@​composerinteralia</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/pull/11712">#11712</a>: Fix a crash in <code>Lint/EmptyConditionalBody</code>. ([<a href="https://github.com/gsamokovarov"><code>`@​gsamokovarov</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/issues/11641">#11641</a>: Fix a false negative for <code>Layout/ExtraSpacing</code> when there are many comments with extra spaces. ([<a href="https://github.com/nobuyo"><code>`@​nobuyo</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/pull/11740">#11740</a>: Fix a false positive for <code>Lint/NestedMethodDefinition</code> when nested definition inside <code>*_eval</code> and <code>*_exec</code> method call with a numblock. ([<a href="https://github.com/ydah"><code>`@​ydah</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/issues/11685">#11685</a>: Fix incorrect directive comment insertion when percent array violates <code>Layout/LineLength</code> cop. ([<a href="https://github.com/nobuyo"><code>`@​nobuyo</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/issues/11706">#11706</a>: Fix infinite loop when <code>--disable-uncorrectable</code> option and there is a multi-line percent array violates <code>Layout/LineLength</code>. ([<a href="https://github.com/nobuyo"><code>`@​nobuyo</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/issues/11697">#11697</a>: Fix <code>Lint/Syntax</code> behavior when <code>--only</code> is not given the cop name. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/pull/11709">#11709</a>: Fix value omission false positive in <code>Style/MethodCallWithArgsParentheses</code>. ([<a href="https://github.com/gsamokovarov"><code>`@​gsamokovarov</code></a>][])</li>` </ul> <h3>Changes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/11739">#11739</a>: Make <code>Style/RedundantParentheses</code> aware of redundant method argument parentheses. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/issues/10766">#10766</a>: Use the path given by <code>--cache-root</code> to be the parent for <code>rubocop_cache</code> dir like other ways to specify it. ([<a href="https://github.com/nobuyo"><code>`@​nobuyo</code></a>][])</li>` </ul> <h2>1.48.1 (2023-03-13)</h2> <h3>Bug fixes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/11673">#11673</a>: Fix incorrect <code>Style/HashSyntax</code> autocorrection for assignment methods. ([<a href="https://github.com/gsamokovarov"><code>`@​gsamokovarov</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/issues/11682">#11682</a>: Fix a false positive for <code>Lint/UselessRescue</code> when using <code>Thread#raise</code> in <code>rescue</code> clause. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/issues/11672">#11672</a>: Fix an error for <code>Layout/BlockEndNewline</code> when multiline block <code>}</code> is not on its own line and it is used as multiple arguments. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/pull/11675">#11675</a>: <code>Style/AccessorGrouping</code>: Fix sibling detection for methods with type sigs. ([<a href="https://github.com/issyl0"><code>`@​issyl0</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/issues/11658">#11658</a>: Fix <code>Lint/Debugger</code> should not allow pry. ([<a href="https://github.com/ThHareau"><code>`@​ThHareau</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/pull/11689">#11689</a>: Fix <code>Lint/Syntax</code> behavior when <code>Enabled: false</code> of <code>Lint</code> department. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/issues/11677">#11677</a>: Fix the severity for <code>Lint/Syntax</code>. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/pull/11691">#11691</a>: Fix an error for <code>Gemspec/DependencyVersion</code> when method called on gem name argument for <code>add_dependency</code>. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>` </ul> <h2>1.48.0 (2023-03-06)</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/e534bd174f6cbb7cff461a39f15f6b2a7d4ebe2f"><code>e534bd1</code></a> Cut 1.49</li> <li><a href="https://github.com/rubocop/rubocop/commit/e72b491a4d74d794a5413c4365c557a8b6689c5d"><code>e72b491</code></a> Update Changelog</li> <li><a href="https://github.com/rubocop/rubocop/commit/bf33f2f00ec391bfe85c297776d2c922194f695a"><code>bf33f2f</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop/issues/11728">#11728</a> from ktopolski/add_new_data_inheritance_cop</li> <li><a href="https://github.com/rubocop/rubocop/commit/8c53464fa6e62d928c725b2155c7ce7a9bf80234"><code>8c53464</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop/issues/11750">#11750</a> from koic/make_metrics_block_nesting_aware_of_numbe...</li> <li><a href="https://github.com/rubocop/rubocop/commit/bc42301be69c4047c3f55e44c8d0356ad345756e"><code>bc42301</code></a> [Fix <a href="https://redirect.github.com/rubocop/rubocop/issues/11696">#11696</a>] Add new <code>Style/DataInheritance</code> cop</li> <li><a href="https://github.com/rubocop/rubocop/commit/97a6d52e0552b746d1a63ac567258f5f7c38ec60"><code>97a6d52</code></a> Make <code>Metrics/BlockNesting</code> aware of numbered parameter</li> <li><a href="https://github.com/rubocop/rubocop/commit/6cb734362edb69beb870fb877e7338f66b503763"><code>6cb7343</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop/issues/11748">#11748</a> from nobuyo/cache-root-behavior</li> <li><a href="https://github.com/rubocop/rubocop/commit/a822fee372fdc4f39eb0094590cdcdd3b663a45e"><code>a822fee</code></a> [Fix <a href="https://redirect.github.com/rubocop/rubocop/issues/10766">#10766</a>] Use the path given by <code>--cache-root</code> to be the parent for `ruboc...</li> <li><a href="https://github.com/rubocop/rubocop/commit/a67797526601eeee530216521a18cba4055cd9ac"><code>a677975</code></a> [Fix <a href="https://redirect.github.com/rubocop/rubocop/issues/11122">#11122</a>] Add new <code>Style/RedundantLineContinuation</code> cop</li> <li><a href="https://github.com/rubocop/rubocop/commit/ff383c6b0cdaacd7e9f1f9a539d0891cd920641e"><code>ff383c6</code></a> Make <code>Layout/EndAlignment</code> aware of pattern matching</li> <li>Additional commits viewable in <a href="https://github.com/rubocop/rubocop/compare/v1.48.0...v1.49.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 40c6a1f + d436dab commit 55f014d

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
@@ -17,5 +17,5 @@ group :development, :test do
1717
end
1818

1919
group :development do
20-
gem 'rubocop', '~> 1.48.0', require: false
20+
gem 'rubocop', '~> 1.49.0', require: false
2121
end

0 commit comments

Comments
 (0)