mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
Bump rubocop from 1.46.0 to 1.48.1 (#1519)
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.46.0 to 1.48.1. <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.48.1</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>RuboCop 1.48</h2> <h3>New features</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/11628">#11628</a>: Add new <code>Style/DirEmpty</code> cop. (<a href="https://github.com/ydah"><code>@ydah</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/11629">#11629</a>: Add new <code>Style/FileEmpty</code> cop. (<a href="https://github.com/ydah"><code>@ydah</code></a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/11654">#11654</a>: Fix a false positive for <code>Lint/MissingSuper</code> when no <code>super</code> call and when defining some method. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/11661">#11661</a>: Fix an error for <code>Style/Documentation</code> when namespace is a variable. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/11647">#11647</a>: Fix an error for <code>Style/IfWithBooleanLiteralBranches</code> when using <code>()</code> as a condition. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/11646">#11646</a>: Fix an error for <code>Style/NegatedIfElseCondition</code> when using <code>()</code> as a condition. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/11659">#11659</a>: Fix an incorrect autocorrect for <code>Lint/OrAssignmentToConstant</code> when using or-assignment to a constant in method definition. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/11663">#11663</a>: Fix an incorrect autocorrect for <code>Style/BlockDelimiters</code> when multi-line blocks to <code>{</code> and <code>}</code> with arithmetic operation method chain. (<a href="https://github.com/koic"><code>@koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/11638">#11638</a>: Fix a false positive for <code>Lint/UselessAccessModifier</code> when using same access modifier inside and outside the <code>included</code> block. (<a href="https://github.com/ydah"><code>@ydah</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/11164">#11164</a>: Suppress server mode message with <code>-f json</code>. (<a href="https://github.com/jasondoc3"><code>@jasondoc3</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/11643">#11643</a>: Fix incorrect shorthand autocorrections in calls inside parentheses. (<a href="https://github.com/gsamokovarov"><code>@gsamokovarov</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/11650">#11650</a>: <code>Style/AccessorGrouping</code>: Fix detection of Sorbet <code>sig {}</code> blocks. (<a href="https://github.com/issyl0"><code>@issyl0</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/11657">#11657</a>: Use cop name to check if cop inside registry is enabled. Previously, it was able to cause large memory usage during linting. (<a href="https://github.com/fatkodima"><code>@fatkodima</code></a>)</li> </ul> <h3>Changes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/11482">#11482</a>: Avoid comment deletion by <code>Style/IfUnlessModifier</code> when the modifier form expression has long comment. (<a href="https://github.com/nobuyo"><code>@nobuyo</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/11649">#11649</a>: Support <code>MinBranchesCount</code> config for <code>Style/CaseLikeIf</code> cop. (<a href="https://github.com/fatkodima"><code>@fatkodima</code></a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </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.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> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/11628">#11628</a>: Add new <code>Style/DirEmpty</code> cop. ([<a href="https://github.com/ydah"><code>@ydah</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/11629">#11629</a>: Add new <code>Style/FileEmpty</code> cop. ([<a href="https://github.com/ydah"><code>@ydah</code></a>][])</li> </ul> <h3>Bug fixes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/11654">#11654</a>: Fix a false positive for <code>Lint/MissingSuper</code> when no <code>super</code> call and when defining some method. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/11661">#11661</a>: Fix an error for <code>Style/Documentation</code> when namespace is a variable. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/11647">#11647</a>: Fix an error for <code>Style/IfWithBooleanLiteralBranches</code> when using <code>()</code> as a condition. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/11646">#11646</a>: Fix an error for <code>Style/NegatedIfElseCondition</code> when using <code>()</code> as a condition. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/11659">#11659</a>: Fix an incorrect autocorrect for <code>Lint/OrAssignmentToConstant</code> when using or-assignment to a constant in method definition. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/11663">#11663</a>: Fix an incorrect autocorrect for <code>Style/BlockDelimiters</code> when multi-line blocks to <code>{</code> and <code>}</code> with arithmetic operation method chain. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/11638">#11638</a>: Fix a false positive for <code>Lint/UselessAccessModifier</code> when using same access modifier inside and outside the <code>included</code> block. ([<a href="https://github.com/ydah"><code>@ydah</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/11164">#11164</a>: Suppress server mode message with <code>-f json</code>. ([<a href="https://github.com/jasondoc3"><code>@jasondoc3</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/11643">#11643</a>: Fix incorrect shorthand autocorrections in calls inside parentheses. ([<a href="https://github.com/gsamokovarov"><code>@gsamokovarov</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/11650">#11650</a>: <code>Style/AccessorGrouping</code>: Fix detection of Sorbet <code>sig {}</code> blocks. ([<a href="https://github.com/issyl0"><code>@issyl0</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/11657">#11657</a>: Use cop name to check if cop inside registry is enabled. Previously, it was able to cause large memory usage during linting. ([<a href="https://github.com/fatkodima"><code>@fatkodima</code></a>][])</li> </ul> <h3>Changes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/11482">#11482</a>: Avoid comment deletion by <code>Style/IfUnlessModifier</code> when the modifier form expression has long comment. ([<a href="https://github.com/nobuyo"><code>@nobuyo</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/11649">#11649</a>: Support <code>MinBranchesCount</code> config for <code>Style/CaseLikeIf</code> cop. ([<a href="https://github.com/fatkodima"><code>@fatkodima</code></a>][])</li> </ul> <h2>1.47.0 (2023-03-01)</h2> <h3>New features</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/11475">#11475</a>: Add autocorrect for hash in <code>Lint/LiteralInInterpolation</code>. ([<a href="https://github.com/KessaPassa"><code>@KessaPassa</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/11584">#11584</a>: Add <code>Metrics/CollectionLiteralLength</code> cop. ([<a href="https://github.com/sambostock"><code>@sambostock</code></a>][])</li> </ul> <h3>Bug fixes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/11615">#11615</a>: Fix a false negative for <code>Lint/MissingSuper</code> when no <code>super</code> call with <code>Class.new</code> block. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/11615">#11615</a>: Fix a false negative for <code>Lint/MissingSuper</code> when using <code>Class.new</code> without parent class argument. ([<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="675114c1b5"><code>675114c</code></a> Cut 1.48.1</li> <li><a href="a0d896a010"><code>a0d896a</code></a> Update Changelog</li> <li><a href="ed786ab489"><code>ed786ab</code></a> [Fix <a href="https://redirect.github.com/rubocop/rubocop/issues/11658">#11658</a>] Register Object#pry as an offense (<a href="https://redirect.github.com/rubocop/rubocop/issues/11669">#11669</a>)</li> <li><a href="96911a9464"><code>96911a9</code></a> [Doc] Tweak the doc for <code>DisabledByDefault</code> config</li> <li><a href="e79974b846"><code>e79974b</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop/issues/11691">#11691</a> from koic/fix_an_error_for_gemspec_dependency_version</li> <li><a href="a3b8a8d4a7"><code>a3b8a8d</code></a> Fix an error for <code>Gemspec/DependencyVersion</code></li> <li><a href="f0356375b7"><code>f035637</code></a> Fix <code>Lint/Syntax</code> behavior when <code>Enabled: false</code> of <code>Lint</code> department</li> <li><a href="d11e25fa88"><code>d11e25f</code></a> Add Ruby 3.3 context to rspec/support.rb</li> <li><a href="0fc26d81d2"><code>0fc26d8</code></a> [Fix <a href="https://redirect.github.com/rubocop/rubocop/issues/11677">#11677</a>] Fix the severity for <code>Lint/Syntax</code></li> <li><a href="6c3bbff146"><code>6c3bbff</code></a> [Fix <a href="https://redirect.github.com/rubocop/rubocop/issues/11682">#11682</a>] Fix a false positive for <code>Lint/UselessRescue</code></li> <li>Additional commits viewable in <a href="https://github.com/rubocop/rubocop/compare/v1.46.0...v1.48.1">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jamil <jamilbk@users.noreply.github.com>
This commit is contained in:
@@ -4,12 +4,12 @@ GEM
|
||||
ast (2.4.2)
|
||||
json (2.6.3)
|
||||
parallel (1.22.1)
|
||||
parser (3.2.1.0)
|
||||
parser (3.2.1.1)
|
||||
ast (~> 2.4.1)
|
||||
rainbow (3.1.1)
|
||||
regexp_parser (2.7.0)
|
||||
rexml (3.2.5)
|
||||
rubocop (1.46.0)
|
||||
rubocop (1.48.1)
|
||||
json (~> 2.3)
|
||||
parallel (~> 1.10)
|
||||
parser (>= 3.2.0.0)
|
||||
@@ -19,9 +19,9 @@ GEM
|
||||
rubocop-ast (>= 1.26.0, < 2.0)
|
||||
ruby-progressbar (~> 1.7)
|
||||
unicode-display_width (>= 2.4.0, < 3.0)
|
||||
rubocop-ast (1.26.0)
|
||||
rubocop-ast (1.27.0)
|
||||
parser (>= 3.2.1.0)
|
||||
ruby-progressbar (1.11.0)
|
||||
ruby-progressbar (1.13.0)
|
||||
unicode-display_width (2.4.2)
|
||||
|
||||
PLATFORMS
|
||||
|
||||
Reference in New Issue
Block a user