Skip to content

Commit

Permalink
Update rubocop requirement from 1.36.0 to 1.38.0 (#334)
Browse files Browse the repository at this point in the history
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.38</h2>
<h3>New features</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11110">#11110</a>:
Add new <code>Style/RedundantEach</code> cop. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10255">#10255</a>:
Add simple autocorrect for <code>Style/GuardClause</code>. (<a
href="https://github.com/FnControlOption"><code>@​FnControlOption</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11126">#11126</a>:
Have <code>Lint/RedundantRequireStatement</code> mark <code>set</code>
as a redundant require in Ruby 3.2+. (<a
href="https://github.com/drenmi"><code>@​drenmi</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11001">#11001</a>:
Add option to raise cop errors <code>--raise-cop-error</code>. (<a
href="https://github.com/wildmaples"><code>@​wildmaples</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10987">#10987</a>:
Opt-in cop compatibility in redundant directives. (<a
href="https://github.com/tdeo"><code>@​tdeo</code></a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11125">#11125</a>:
Fix an error for <code>Layout/SpaceInsideHashLiteralBraces</code> when
using method argument that both key and value are hash literals. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11132">#11132</a>:
Fix clobbering error on <code>Lint/EmptyConditionalBody</code>. (<a
href="https://github.com/r7kamura"><code>@​r7kamura</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11117">#11117</a>:
Fix a false positive for <code>Style/BlockDelimiters</code> when
specifying <code>EnforcedStyle: semantic</code> and using a single line
block with {} followed by a safe navigation method call. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11120">#11120</a>:
Fix an incorrect autocorrect for
<code>Lint/RedundantRequireStatement</code> when using redundant
<code>require</code> with modifier form. (<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/11131">#11131</a>:
Check newline in empty reference bracket on
<code>Layout/SpaceInsideReferenceBrackets</code>. (<a
href="https://github.com/r7kamura"><code>@​r7kamura</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11045">#11045</a>:
Update the <code>Style/ModuleFunction</code> documentation to suggest
<code>class &lt;&lt; self</code> as an alternative. (<a
href="https://github.com/rdeckard"><code>@​rdeckard</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11006">#11006</a>:
Allow multiple <code>elsif</code> for
<code>Style/IfWithBooleanLiteralBranches</code>. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11113">#11113</a>:
Report the count of files in the Worst and the Offense Count formatters.
(<a href="https://github.com/hosamaly"><code>@​hosamaly</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.38.0 (2022-11-01)</h2>
<h3>New features</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11110">#11110</a>:
Add new <code>Style/RedundantEach</code> cop. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10255">#10255</a>:
Add simple autocorrect for <code>Style/GuardClause</code>. ([<a
href="https://github.com/FnControlOption"><code>@​FnControlOption</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11126">#11126</a>:
Have <code>Lint/RedundantRequireStatement</code> mark <code>set</code>
as a redundant require in Ruby 3.2+. ([<a
href="https://github.com/drenmi"><code>@​drenmi</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11001">#11001</a>:
Add option to raise cop errors <code>--raise-cop-error</code>. ([<a
href="https://github.com/wildmaples"><code>@​wildmaples</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10987">#10987</a>:
Opt-in cop compatibility in redundant directives. ([<a
href="https://github.com/tdeo"><code>@​tdeo</code></a>][])</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11125">#11125</a>:
Fix an error for <code>Layout/SpaceInsideHashLiteralBraces</code> when
using method argument that both key and value are hash literals. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11132">#11132</a>:
Fix clobbering error on <code>Lint/EmptyConditionalBody</code>. ([<a
href="https://github.com/r7kamura"><code>@​r7kamura</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11117">#11117</a>:
Fix a false positive for <code>Style/BlockDelimiters</code> when
specifying <code>EnforcedStyle: semantic</code> and using a single line
block with {} followed by a safe navigation method call. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11120">#11120</a>:
Fix an incorrect autocorrect for
<code>Lint/RedundantRequireStatement</code> when using redundant
<code>require</code> with modifier form. ([<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/11131">#11131</a>:
Check newline in empty reference bracket on
<code>Layout/SpaceInsideReferenceBrackets</code>. ([<a
href="https://github.com/r7kamura"><code>@​r7kamura</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11045">#11045</a>:
Update the <code>Style/ModuleFunction</code> documentation to suggest
<code>class &lt;&lt; self</code> as an alternative. ([<a
href="https://github.com/rdeckard"><code>@​rdeckard</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11006">#11006</a>:
Allow multiple <code>elsif</code> for
<code>Style/IfWithBooleanLiteralBranches</code>. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11113">#11113</a>:
Report the count of files in the Worst and the Offense Count formatters.
([<a
href="https://github.com/hosamaly"><code>@​hosamaly</code></a>][])</li>
</ul>
<h2>1.37.1 (2022-10-24)</h2>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11102">#11102</a>:
Fix an error for <code>Style/AccessModifierDeclarations</code> when
using access modifier in a block. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11107">#11107</a>:
Fix a false positive for <code>Style/OperatorMethodCall</code> when a
constant receiver uses an operator method. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11104">#11104</a>:
Fix an error for <code>Style/CollectionCompact</code> when using
<code>reject</code> method and receiver is a variable. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11114">#11114</a>:
Fix an error for <code>Style/OperatorMethodCall</code> when using
<code>obj.!</code>. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11088">#11088</a>:
Fix an error when specifying <code>SuggestExtensions: true</code>. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11089">#11089</a>:
Fix an error for <code>Style/RedundantStringEscape</code> when using
character literals (e.g. <code>?a</code>). ([<a
href="https://github.com/ydah"><code>@​ydah</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11098">#11098</a>:
Fix false positive for <code>Style/RedundantStringEscape</code>. ([<a
href="https://github.com/tdeo"><code>@​tdeo</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11095">#11095</a>:
Fix an error for <code>Style/RedundantStringEscape</code> cop when using
<code>?\n</code> string character literal. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
</ul>
<h2>1.37.0 (2022-10-20)</h2>
<h3>New features</h3>
<ul>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11043">#11043</a>:
Add new <code>Lint/DuplicateMagicComment</code> cop. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10409">#10409</a>:
Add <code>--no-exclude-limit</code> CLI option. ([<a
href="https://github.com/r7kamura"><code>@​r7kamura</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10986">#10986</a>:
Add autocorrect for <code>Style/StaticClass</code>. ([<a
href="https://github.com/FnControlOption"><code>@​FnControlOption</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11018">#11018</a>:
Add <code>AllowedMethods</code> and <code>AllowedPatterns</code> for
<code>Lint/NestedMethodDefinition</code>. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/11055">#11055</a>:
Implement <code>Lint/DuplicateMethods</code> for object singleton class.
([<a href="https://github.com/tdeo"><code>@​tdeo</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10997">#10997</a>:
Make <code>rubocop</code> command aware of <code>--server</code> option
from .rubocop and RUBOCOP_OPTS. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11079">#11079</a>:
Add new <code>Style/OperatorMethodCall</code> cop. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10439">#10439</a>:
Add new <code>Style/RedundantStringEscape</code> cop. ([<a
href="https://github.com/owst"><code>@​owst</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/52a56f0be2332d61718597261a15860201d1fc3c"><code>52a56f0</code></a>
Cut 1.38</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/c87ed48b57bd2610b751d586ed142ffaa878280e"><code>c87ed48</code></a>
Update Changelog</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/d9844822d25124741b2757ba872f252e4dd59aed"><code>d984482</code></a>
Set whitespace-line-column to 100 in .dir-locals.el</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/e42355292d601eef4ee752c6c192420bb1d9c285"><code>e423552</code></a>
Fix the CI build</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/360f0439ffc9d20c1b1fca26d353fd5ad5bfff33"><code>360f043</code></a>
Improve Style/IfWithBooleanLiteralBranches's documentation</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/6e910eb0387225df2ae919d421df5a821ae7c72a"><code>6e910eb</code></a>
[Fix <a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11006">#11006</a>]
Allow multiple <code>elsif</code> for
<code>Style/IfWithBooleanLiteralBranches</code></li>
<li><a
href="https://github.com/rubocop/rubocop/commit/c4b2bb18b6f17e2748d9f71fc82b4ad3bf3bc8ab"><code>c4b2bb1</code></a>
Use broken vertical bar as adoc table separator</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/41a8249b3595cc8656b823d50b2abe38206fd09a"><code>41a8249</code></a>
Tweak wording</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/72f8c698ad17f235762ecd265cbb5beb126b2661"><code>72f8c69</code></a>
Update the <code>Style/ModuleFunction</code> documentation to suggest
<code>class &lt;&lt; self</code> as...</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/06cacaeca3e75221001ca3bdd14a25a36f3f5b44"><code>06cacae</code></a>
[Fix <a
href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/11120">#11120</a>]
Fix an incorrect autocorrect for
<code>Lint/RedundantRequireStatement</code></li>
<li>Additional commits viewable in <a
href="https://github.com/rubocop/rubocop/compare/v1.36.0...v1.38.0">compare
view</a></li>
</ul>
</details>
<br />


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: Matt Brictson <matt@mattbrictson.com>
  • Loading branch information
dependabot[bot] and mattbrictson authored Nov 1, 2022
1 parent e35729e commit eead638
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ gem "minitest", "~> 5.11"
gem "minitest-ci", "~> 3.4"
gem "minitest-reporters", "~> 1.3"
gem "rake", "~> 13.0"
gem "rubocop", "1.36.0"
gem "rubocop", "1.38.0"
gem "rubocop-minitest", "0.22.2"
gem "rubocop-packaging", "0.5.2"
gem "rubocop-performance", "1.15.0"
Expand Down
6 changes: 3 additions & 3 deletions test/tomo/plugin/puma/tasks_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def test_check_active_shows_logs_and_dies_if_serivce_is_inactive
[
"systemctl --user is-active puma_test.service",
"systemctl --user status puma_test.service",
"journalctl -q -n 50 --user-unit\=puma_test.service"
"journalctl -q -n 50 --user-unit=puma_test.service"
],
@tester.executed_scripts
)
Expand All @@ -85,7 +85,7 @@ def test_log
@tester.run_task("puma:log", "-f")
end
assert_equal(
"journalctl -q --user-unit\=puma_test.service -f",
"journalctl -q --user-unit=puma_test.service -f",
@tester.executed_script
)
end
Expand All @@ -95,7 +95,7 @@ def test_tail_log
@tester.run_task("puma:tail_log")
end
assert_equal(
"journalctl -q --user-unit\=puma_test.service -f",
"journalctl -q --user-unit=puma_test.service -f",
@tester.executed_script
)
end
Expand Down

0 comments on commit eead638

Please sign in to comment.