Commit daf151e
authored
Update dependency rubocop to '~> 1.86.0' (#774)
This PR contains the following updates:
| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [rubocop](https://rubocop.org/)
([source](https://redirect.github.com/rubocop/rubocop),
[changelog](https://redirect.github.com/rubocop/rubocop/releases/tag/v1.85.1))
| `'~> 1.85.0'` → `'~> 1.86.0'` |

|

|
---
### Release Notes
<details>
<summary>rubocop/rubocop (rubocop)</summary>
###
[`v1.86.0`](https://redirect.github.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1860-2026-03-23)
[Compare
Source](https://redirect.github.com/rubocop/rubocop/compare/v1.85.1...v1.86.0)
##### New features
-
[#​15000](https://redirect.github.com/rubocop/rubocop/pull/15000):
Display ZJIT usage when running under LSP.
(\[[@​koic](https://redirect.github.com/koic)]\[])
-
[#​14961](https://redirect.github.com/rubocop/rubocop/issues/14961):
Add `AllowedParentClasses` option to `Style/EmptyClassDefinition`.
(\[[@​hammadkhan](https://redirect.github.com/hammadkhan)]\[])
-
[#​14977](https://redirect.github.com/rubocop/rubocop/issues/14977):
Support `AllowedReceivers` for `Style/HashLookupMethod`.
(\[[@​koic](https://redirect.github.com/koic)]\[])
##### Bug fixes
-
[#​15015](https://redirect.github.com/rubocop/rubocop/pull/15015):
Fix `Style/ConcatArrayLiterals` autocorrect deleting code for percent
literals with interpolation.
(\[[@​bbatsov](https://redirect.github.com/bbatsov)]\[])
-
[#​14897](https://redirect.github.com/rubocop/rubocop/pull/14897):
Detect constant reassignment after class/module definition in
`Lint/ConstantReassignment`.
(\[[@​ydakuka](https://redirect.github.com/ydakuka)]\[])
-
[#​11829](https://redirect.github.com/rubocop/rubocop/issues/11829):
Fix false negatives for `Lint/DuplicateMethods` when duplicate methods
are defined in anonymous classes and modules not assigned to a constant.
(\[[@​Darhazer](https://redirect.github.com/Darhazer)]\[])
-
[#​14988](https://redirect.github.com/rubocop/rubocop/pull/14988):
Fix false negative in `Style/RedundantParentheses` when redundant
parentheses around range literals in block body.
(\[[@​koic](https://redirect.github.com/koic)]\[])
-
[#​14916](https://redirect.github.com/rubocop/rubocop/issues/14916):
Fix false positive for `Layout/MultilineMethodCallIndentation` when
method chain is inside a hash pair value passed to a multiline chained
method call.
(\[[@​ydakuka](https://redirect.github.com/ydakuka)]\[])
-
[#​15010](https://redirect.github.com/rubocop/rubocop/issues/15010):
Fix a false positive for `Lint/DuplicateMethods` when modules blocks are
passed as method arguments.
(\[[@​5hun-s](https://redirect.github.com/5hun-s)]\[])
-
[#​15028](https://redirect.github.com/rubocop/rubocop/issues/15028):
Fix a false positive for `Lint/DuplicateMethods` when the same method is
defined in different anonymous module blocks passed to a no-receiver
call (e.g. `stub_const`).
(\[[@​Darhazer](https://redirect.github.com/Darhazer)]\[])
-
[#​15021](https://redirect.github.com/rubocop/rubocop/issues/15021):
Fix false positives in `Layout/EmptyLineAfterGuardClause` when using a
guard clause followed by a multi-line guard clause with `raise`, `fail`,
`return`, `break`, or `next`.
(\[[@​koic](https://redirect.github.com/koic)]\[])
-
[#​15001](https://redirect.github.com/rubocop/rubocop/issues/15001):
Fix false positives in `Layout/RedundantLineBreak` when setting
`InspectBlocks: true` and using `rescue` or `ensure` in the block.
(\[[@​koic](https://redirect.github.com/koic)]\[])
-
[#​14997](https://redirect.github.com/rubocop/rubocop/issues/14997):
Fix false positives in `Style/FileOpen` when assigning `File.open` to an
instance variable, class variable, global variable, or constant.
(\[[@​koic](https://redirect.github.com/koic)]\[])
-
[#​15019](https://redirect.github.com/rubocop/rubocop/pull/15019):
Fix false positives in `Lint/DuplicateMethods` when the same method is
defined in anonymous module blocks passed to different receivers.
(\[[@​koic](https://redirect.github.com/koic)]\[])
-
[#​14987](https://redirect.github.com/rubocop/rubocop/pull/14987):
Complete ERB and Haml autocorrection in a single run.
(\[[@​alpaca-tc](https://redirect.github.com/alpaca-tc)]\[])
-
[#​15039](https://redirect.github.com/rubocop/rubocop/pull/15039):
Fix incorrect autocorrect in `Style/IfWithSemicolon` when `return` with
value is in the `else` branch.
(\[[@​koic](https://redirect.github.com/koic)]\[])
-
[#​14930](https://redirect.github.com/rubocop/rubocop/pull/14930):
Fix incorrect autocorrection for `Style/IfUnlessModifier` when multiple
`if`/`unless` modifier forms are on the same line inside a collection.
(\[[@​ydakuka](https://redirect.github.com/ydakuka)]\[])
-
[#​14985](https://redirect.github.com/rubocop/rubocop/issues/14985):
Fix incorrect autocorrection in `Lint/SafeNavigationChain` when chaining
a method call after safe navigation in the if branch of a ternary.
(\[[@​koic](https://redirect.github.com/koic)]\[])
-
[#​15009](https://redirect.github.com/rubocop/rubocop/pull/15009):
Fix infinite loop in `Layout/EndAlignment` when `end` is followed by
`||` or `&&`. (\[[@​koic](https://redirect.github.com/koic)]\[])
-
[#​14981](https://redirect.github.com/rubocop/rubocop/issues/14981):
Fix spurious warning "does not support `Safe`/`SafeAutoCorrect`
parameter" when those parameters are set for cops that don't have them
in their default configuration.
(\[[@​dduugg](https://redirect.github.com/dduugg)]\[])
-
[#​15043](https://redirect.github.com/rubocop/rubocop/issues/15043):
Fix an error for `Lint/UselessDefaultValueArgument` when `fetch` without
a receiver is inside a `fetch` block.
(\[[@​koic](https://redirect.github.com/koic)]\[])
-
[#​15034](https://redirect.github.com/rubocop/rubocop/issues/15034):
Fix incorrect autocorrection in `Style/IfWithSemicolon` when using
single-line `unless` / `;` / `end`.
(\[[@​koic](https://redirect.github.com/koic)]\[])
-
[#​15015](https://redirect.github.com/rubocop/rubocop/pull/15015):
Fix `Style/NonNilCheck` autocorrect for receivers containing spaces.
(\[[@​bbatsov](https://redirect.github.com/bbatsov)]\[])
-
[#​15015](https://redirect.github.com/rubocop/rubocop/pull/15015):
Fix `Style/RaiseArgs` to allow anonymous keyword forwarding (`raise
Ex.new(**)`).
(\[[@​bbatsov](https://redirect.github.com/bbatsov)]\[])
-
[#​14890](https://redirect.github.com/rubocop/rubocop/pull/14890):
Fix a false positive for `Lint/RedundantCopDisableDirective` when a
`rubocop:disable` comment is used to suppress `Lint/EmptyWhen`,
`Lint/EmptyConditionalBody`, `Lint/EmptyInPattern`, or
`Style/SymbolProc`.
(\[[@​eugeneius](https://redirect.github.com/eugeneius)]\[])
-
[#​15015](https://redirect.github.com/rubocop/rubocop/pull/15015):
Fix false negative in `Style/RedundantPercentQ` for `%q` strings with
interpolation-like syntax.
(\[[@​bbatsov](https://redirect.github.com/bbatsov)]\[])
-
[#​14984](https://redirect.github.com/rubocop/rubocop/pull/14984):
Fix `Style/AndOr` adding unnecessary parentheses around `return` without
arguments.
(\[[@​eugeneius](https://redirect.github.com/eugeneius)]\[])
-
[#​14945](https://redirect.github.com/rubocop/rubocop/pull/14945):
Support files with multiple modifiers in `Lint/UselessConstantScoping`.
(\[[@​h-lame](https://redirect.github.com/h-lame)]\[])
-
[#​15015](https://redirect.github.com/rubocop/rubocop/pull/15015):
Fix `Style/TrailingMethodEndStatement` to detect singleton methods (`def
self.foo`).
(\[[@​bbatsov](https://redirect.github.com/bbatsov)]\[])
-
[#​10822](https://redirect.github.com/rubocop/rubocop/issues/10822):
Don't store results in cache if there are warnings.
(\[[@​jonas054](https://redirect.github.com/jonas054)]\[])
##### Changes
-
[#​14718](https://redirect.github.com/rubocop/rubocop/pull/14718):
Allow setting `MaxFilesInCache` to `false` to entirely disable cache
pruning. (\[[@​byroot](https://redirect.github.com/byroot)]\[])
-
[#​14989](https://redirect.github.com/rubocop/rubocop/pull/14989):
Make `Lint/RedundantSafeNavigation` aware of safe navigation in
conditional true branch.
(\[[@​koic](https://redirect.github.com/koic)]\[])
-
[#​15041](https://redirect.github.com/rubocop/rubocop/issues/15041):
Remove `mcp` gem from runtime dependencies.
(\[[@​koic](https://redirect.github.com/koic)]\[])
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/line/line-bot-sdk-ruby).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xMDAuMCIsInVwZGF0ZWRJblZlciI6IjQzLjEwMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImRlcGVuZGVuY3kgdXBncmFkZSJdfQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>1 parent 2afe325 commit daf151e
2 files changed
Lines changed: 8 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
| 24 | + | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | | - | |
52 | | - | |
| 50 | + | |
53 | 51 | | |
54 | 52 | | |
55 | 53 | | |
56 | 54 | | |
57 | 55 | | |
58 | 56 | | |
59 | | - | |
60 | | - | |
61 | 57 | | |
62 | 58 | | |
63 | 59 | | |
64 | 60 | | |
65 | 61 | | |
66 | | - | |
| 62 | + | |
67 | 63 | | |
68 | 64 | | |
69 | 65 | | |
| |||
108 | 104 | | |
109 | 105 | | |
110 | 106 | | |
111 | | - | |
| 107 | + | |
112 | 108 | | |
113 | 109 | | |
114 | 110 | | |
115 | | - | |
116 | 111 | | |
117 | 112 | | |
118 | 113 | | |
119 | 114 | | |
120 | 115 | | |
121 | 116 | | |
122 | 117 | | |
123 | | - | |
| 118 | + | |
124 | 119 | | |
125 | 120 | | |
126 | 121 | | |
| |||
175 | 170 | | |
176 | 171 | | |
177 | 172 | | |
178 | | - | |
| 173 | + | |
179 | 174 | | |
180 | 175 | | |
181 | 176 | | |
| |||
0 commit comments