Skip to content

Commit

Permalink
Merge #302
Browse files Browse the repository at this point in the history
302: Update rubocop requirement from ~> 1.25.0 to ~> 1.26.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.26</h2>
<h3>New features</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10419">#10419</a>: Add new <code>Style/NestedFileDirname</code> cop. (<a href="https://github.com/koic"><code>`@​koic</code></a>)</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10433">#10433</a>: Support <code>TargetRubyVersion 3.2</code> (experimental). (<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/pull/10406">#10406</a>: Fix a false positive for <code>Lint/InheritException</code> when inheriting a standard lib exception class that is not a subclass of <code>StandardError</code>. (<a href="https://github.com/koic"><code>`@​koic</code></a>)</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10421">#10421</a>: Make <code>Style/DefWithParentheses</code> aware of endless method definition. (<a href="https://github.com/koic"><code>`@​koic</code></a>)</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10401">#10401</a>: Fix a false positive for <code>Style/HashSyntax</code> when local variable hash key and hash value are the same. (<a href="https://github.com/koic"><code>`@​koic</code></a>)</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10424">#10424</a>: Fix a false positive for <code>Security/YamlLoad</code> when using Ruby 3.1+ (Psych 4). (<a href="https://github.com/koic"><code>`@​koic</code></a>)</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10446">#10446</a>: Lint/RedundantDirGlobSort unset SafeAutoCorrect. (<a href="https://github.com/friendlyantz"><code>`@​friendlyantz</code></a>)</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10403">#10403</a>: Fix an error for <code>Style/StringConcatenation</code> when string concatenation with multiline heredoc text. (<a href="https://github.com/koic"><code>`@​koic</code></a>)</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10432">#10432</a>: Fix an error when using regexp with non-encoding option. (<a href="https://github.com/koic"><code>`@​koic</code></a>)</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10415">#10415</a>: Fix an error for <code>Lint/UselessTimes</code> when using <code>1.times</code> with method chain. (<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/10408">#10408</a>: Mark <code>Lint/InheritException</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/pull/10407">#10407</a>: Change <code>EnforcedStyle</code> from <code>runtime_error</code> to <code>standard_error</code> for <code>Lint/InheritException</code>. (<a href="https://github.com/koic"><code>`@​koic</code></a>)</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10414">#10414</a>: Update auto-gen-config's auto-correction comments to be more clear. (<a href="https://github.com/maxjacobson"><code>`@​maxjacobson</code></a>)</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10427">#10427</a>: Mark <code>Style/For</code> as unsafe auto-correction. (<a href="https://github.com/issyl0"><code>`@​issyl0</code></a>)</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10410">#10410</a>: Improve help string for <code>--fail-level</code> CLI option. (<a href="https://github.com/tejasbubane"><code>`@​tejasbubane</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.26.0 (2022-03-09)</h2>
<h3>New features</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10419">#10419</a>: Add new <code>Style/NestedFileDirname</code> cop. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10433">#10433</a>: Support <code>TargetRubyVersion 3.2</code> (experimental). ([<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/pull/10406">#10406</a>: Fix a false positive for <code>Lint/InheritException</code> when inheriting a standard lib exception class that is not a subclass of <code>StandardError</code>. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10421">#10421</a>: Make <code>Style/DefWithParentheses</code> aware of endless method definition. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10401">#10401</a>: Fix a false positive for <code>Style/HashSyntax</code> when local variable hash key and hash value are the same. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10424">#10424</a>: Fix a false positive for <code>Security/YamlLoad</code> when using Ruby 3.1+ (Psych 4). ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10446">#10446</a>: Lint/RedundantDirGlobSort unset SafeAutoCorrect. ([<a href="https://github.com/friendlyantz"><code>`@​friendlyantz</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10403">#10403</a>: Fix an error for <code>Style/StringConcatenation</code> when string concatenation with multiline heredoc text. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10432">#10432</a>: Fix an error when using regexp with non-encoding option. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10415">#10415</a>: Fix an error for <code>Lint/UselessTimes</code> when using <code>1.times</code> with method chain. ([<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/10408">#10408</a>: Mark <code>Lint/InheritException</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/pull/10407">#10407</a>: Change <code>EnforcedStyle</code> from <code>runtime_error</code> to <code>standard_error</code> for <code>Lint/InheritException</code>. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10414">#10414</a>: Update auto-gen-config's auto-correction comments to be more clear. ([<a href="https://github.com/maxjacobson"><code>`@​maxjacobson</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10427">#10427</a>: Mark <code>Style/For</code> as unsafe auto-correction. ([<a href="https://github.com/issyl0"><code>`@​issyl0</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10410">#10410</a>: Improve help string for <code>--fail-level</code> CLI option. ([<a href="https://github.com/tejasbubane"><code>`@​tejasbubane</code></a>][])</li>`
</ul>
<h2>1.25.1 (2022-02-03)</h2>
<h3>Bug fixes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10359">#10359</a>: Fix a false positive and negative for <code>Style/HashSyntax</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/issues/10387">#10387</a>: Fix an error for <code>Style/RedundantBegin</code> when assigning nested <code>begin</code> blocks. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10366">#10366</a>: Fix a false positive for <code>Style/MethodCallWithArgsParentheses</code> when setting <code>EnforcedStyle: omit_parentheses</code> and using hash value omission with modifier from. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10376">#10376</a>: Fix an error for <code>Layout/RescueEnsureAlignment</code> when using <code>.()</code> call with block. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10364">#10364</a>: Fix an infinite loop error for <code>Layout/HashAlignment</code> when <code>EnforcedStyle: with_fixed_indentation</code> is specified for <code>Layout/ArgumentAlignment</code>. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10371">#10371</a>: Fix a false negative for <code>Style/HashSyntax</code> when <code>Hash[foo: foo]</code> or <code>{foo: foo}</code> is followed by a next expression. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10394">#10394</a>: Fix an error for <code>Style/SwapValues</code> when assigning receiver object at <code>def</code>. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10379">#10379</a>: Fix an error for <code>Layout/EmptyLinesAroundExceptionHandlingKeywords</code> when <code>rescue</code> and <code>end</code> are on the same line. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
</ul>
<h2>1.25.0 (2022-01-18)</h2>
<h3>New features</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10351">#10351</a>: Support <code>EnforcedShorthandSyntax: either</code> option for <code>Style/HashSyntax</code>. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10339">#10339</a>: Support auto-correction for <code>EnforcedStyle: explicit</code> of <code>Naming/BlockForwarding</code>. ([<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/pull/10344">#10344</a>: Fix a false positive for <code>Style/CollectionCompact</code> when without receiver for bad methods. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10353">#10353</a>: Use <code>:ambiguous_regexp</code> to detect ambiguous Regexp in Ruby 3. ([<a href="https://github.com/danieldiekmeier"><code>`@​danieldiekmeier</code></a>][],` [<a href="https://github.com/joergschiller"><code>`@​joergschiller</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/e1e4637a1f769333fd173dc0d55b5dfbb23e6afa"><code>e1e4637</code></a> Cut 1.26</li>
<li><a href="https://github.com/rubocop/rubocop/commit/ff8527038832278d0304283a1d51307d185641da"><code>ff85270</code></a> Update Changelog</li>
<li><a href="https://github.com/rubocop/rubocop/commit/857e682146249b7793a75855b4a3d7153da96230"><code>857e682</code></a> Mark Lint/RedundantDirGlobSort's autocorrection as unsafe (<a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10446">#10446</a>)</li>
<li><a href="https://github.com/rubocop/rubocop/commit/c95a26dc00500fe92e56330ce10898ea36c9b020"><code>c95a26d</code></a> Add new <code>Style/NestedFileDirname</code> cop</li>
<li><a href="https://github.com/rubocop/rubocop/commit/bfc6bfbeca51600b02db20bc964dbd2abec6508f"><code>bfc6bfb</code></a> Add logic to ensure badge information (Department/Name) is in CamelCase (<a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10271">#10271</a>)</li>
<li><a href="https://github.com/rubocop/rubocop/commit/c59c09087a15effd86524799cb786193ee77b879"><code>c59c090</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10445">#10445</a> from cbliard/patch-2</li>
<li><a href="https://github.com/rubocop/rubocop/commit/47ec9de73bbba9bbf92e8e06de0e0837661f8054"><code>47ec9de</code></a> Indicate what MFA means in Gemspec/RequireMFA cop documentation</li>
<li><a href="https://github.com/rubocop/rubocop/commit/fed5c291071d857b59a5dc794b61d169ae075475"><code>fed5c29</code></a> Tweak the doc for <code>Layout/CaseIndentation</code></li>
<li><a href="https://github.com/rubocop/rubocop/commit/105f94c935bd9a5bff177ca0acba9bc0e04b325c"><code>105f94c</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10444">#10444</a> from ydah/fix-doc-formatting</li>
<li><a href="https://github.com/rubocop/rubocop/commit/e9ebf751f0c348cd1a52342bb19f743ef94ffc2a"><code>e9ebf75</code></a> Fix doc formatting written in unescaped file path</li>
<li>Additional commits viewable in <a href="https://github.com/rubocop/rubocop/compare/v1.25.0...v1.26.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>
  • Loading branch information
meili-bors[bot] and dependabot[bot] committed Mar 14, 2022
2 parents c513718 + b23562d commit 02fa4c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ group :development, :test do
end

group :development do
gem 'rubocop', '~> 1.25.0', require: false
gem 'rubocop', '~> 1.26.0', require: false
end

0 comments on commit 02fa4c8

Please sign in to comment.