Skip to content

Commit daf151e

Browse files
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'` | ![age](https://developer.mend.io/api/mc/badges/age/rubygems/rubocop/1.86.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/rubygems/rubocop/1.85.1/1.86.0?slim=true) | --- ### 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 - [#&#8203;15000](https://redirect.github.com/rubocop/rubocop/pull/15000): Display ZJIT usage when running under LSP. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;14961](https://redirect.github.com/rubocop/rubocop/issues/14961): Add `AllowedParentClasses` option to `Style/EmptyClassDefinition`. (\[[@&#8203;hammadkhan](https://redirect.github.com/hammadkhan)]\[]) - [#&#8203;14977](https://redirect.github.com/rubocop/rubocop/issues/14977): Support `AllowedReceivers` for `Style/HashLookupMethod`. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) ##### Bug fixes - [#&#8203;15015](https://redirect.github.com/rubocop/rubocop/pull/15015): Fix `Style/ConcatArrayLiterals` autocorrect deleting code for percent literals with interpolation. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;14897](https://redirect.github.com/rubocop/rubocop/pull/14897): Detect constant reassignment after class/module definition in `Lint/ConstantReassignment`. (\[[@&#8203;ydakuka](https://redirect.github.com/ydakuka)]\[]) - [#&#8203;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. (\[[@&#8203;Darhazer](https://redirect.github.com/Darhazer)]\[]) - [#&#8203;14988](https://redirect.github.com/rubocop/rubocop/pull/14988): Fix false negative in `Style/RedundantParentheses` when redundant parentheses around range literals in block body. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;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. (\[[@&#8203;ydakuka](https://redirect.github.com/ydakuka)]\[]) - [#&#8203;15010](https://redirect.github.com/rubocop/rubocop/issues/15010): Fix a false positive for `Lint/DuplicateMethods` when modules blocks are passed as method arguments. (\[[@&#8203;5hun-s](https://redirect.github.com/5hun-s)]\[]) - [#&#8203;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`). (\[[@&#8203;Darhazer](https://redirect.github.com/Darhazer)]\[]) - [#&#8203;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`. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;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. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;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. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;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. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;14987](https://redirect.github.com/rubocop/rubocop/pull/14987): Complete ERB and Haml autocorrection in a single run. (\[[@&#8203;alpaca-tc](https://redirect.github.com/alpaca-tc)]\[]) - [#&#8203;15039](https://redirect.github.com/rubocop/rubocop/pull/15039): Fix incorrect autocorrect in `Style/IfWithSemicolon` when `return` with value is in the `else` branch. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;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. (\[[@&#8203;ydakuka](https://redirect.github.com/ydakuka)]\[]) - [#&#8203;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. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;15009](https://redirect.github.com/rubocop/rubocop/pull/15009): Fix infinite loop in `Layout/EndAlignment` when `end` is followed by `||` or `&&`. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;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. (\[[@&#8203;dduugg](https://redirect.github.com/dduugg)]\[]) - [#&#8203;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. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;15034](https://redirect.github.com/rubocop/rubocop/issues/15034): Fix incorrect autocorrection in `Style/IfWithSemicolon` when using single-line `unless` / `;` / `end`. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;15015](https://redirect.github.com/rubocop/rubocop/pull/15015): Fix `Style/NonNilCheck` autocorrect for receivers containing spaces. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;15015](https://redirect.github.com/rubocop/rubocop/pull/15015): Fix `Style/RaiseArgs` to allow anonymous keyword forwarding (`raise Ex.new(**)`). (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;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`. (\[[@&#8203;eugeneius](https://redirect.github.com/eugeneius)]\[]) - [#&#8203;15015](https://redirect.github.com/rubocop/rubocop/pull/15015): Fix false negative in `Style/RedundantPercentQ` for `%q` strings with interpolation-like syntax. (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;14984](https://redirect.github.com/rubocop/rubocop/pull/14984): Fix `Style/AndOr` adding unnecessary parentheses around `return` without arguments. (\[[@&#8203;eugeneius](https://redirect.github.com/eugeneius)]\[]) - [#&#8203;14945](https://redirect.github.com/rubocop/rubocop/pull/14945): Support files with multiple modifiers in `Lint/UselessConstantScoping`. (\[[@&#8203;h-lame](https://redirect.github.com/h-lame)]\[]) - [#&#8203;15015](https://redirect.github.com/rubocop/rubocop/pull/15015): Fix `Style/TrailingMethodEndStatement` to detect singleton methods (`def self.foo`). (\[[@&#8203;bbatsov](https://redirect.github.com/bbatsov)]\[]) - [#&#8203;10822](https://redirect.github.com/rubocop/rubocop/issues/10822): Don't store results in cache if there are warnings. (\[[@&#8203;jonas054](https://redirect.github.com/jonas054)]\[]) ##### Changes - [#&#8203;14718](https://redirect.github.com/rubocop/rubocop/pull/14718): Allow setting `MaxFilesInCache` to `false` to entirely disable cache pruning. (\[[@&#8203;byroot](https://redirect.github.com/byroot)]\[]) - [#&#8203;14989](https://redirect.github.com/rubocop/rubocop/pull/14989): Make `Lint/RedundantSafeNavigation` aware of safe navigation in conditional true branch. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;15041](https://redirect.github.com/rubocop/rubocop/issues/15041): Remove `mcp` gem from runtime dependencies. (\[[@&#8203;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

File tree

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ group :development, :test do
99
gem 'rackup', '~> 2.1' # for yard server
1010
gem 'rbs', '~> 3.10.0'
1111
gem 'redcarpet', '~> 3.6.0'
12-
gem 'rubocop', '~> 1.85.0', require: false
12+
gem 'rubocop', '~> 1.86.0', require: false
1313
gem 'steep', '~> 1.10.0'
1414
gem 'webrick', '~> 1.9.1'
1515
gem 'yard', '~> 0.9.20' # for yard server

Gemfile.lock

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ GEM
2121
securerandom (>= 0.3)
2222
tzinfo (~> 2.0, >= 2.0.5)
2323
uri (>= 0.13.1)
24-
addressable (2.8.7)
25-
public_suffix (>= 2.0.2, < 7.0)
24+
addressable (2.8.9)
25+
public_suffix (>= 2.0.2, < 8.0)
2626
ast (2.4.3)
2727
base64 (0.2.0)
2828
bigdecimal (3.3.1)
@@ -47,23 +47,19 @@ GEM
4747
prism (>= 1.3.0)
4848
rdoc (>= 4.0.0)
4949
reline (>= 0.4.2)
50-
json (2.18.1)
51-
json-schema (4.3.1)
52-
addressable (>= 2.8)
50+
json (2.19.3)
5351
language_server-protocol (3.17.0.5)
5452
lint_roller (1.1.0)
5553
listen (3.9.0)
5654
rb-fsevent (~> 0.10, >= 0.10.3)
5755
rb-inotify (~> 0.9, >= 0.9.10)
5856
logger (1.7.0)
59-
mcp (0.8.0)
60-
json-schema (>= 4.1)
6157
minitest (6.0.1)
6258
prism (~> 1.5)
6359
multipart-post (2.4.1)
6460
mutex_m (0.3.0)
6561
parallel (1.27.0)
66-
parser (3.3.10.2)
62+
parser (3.3.11.1)
6763
ast (~> 2.4.1)
6864
racc
6965
pp (0.6.3)
@@ -108,19 +104,18 @@ GEM
108104
diff-lcs (>= 1.2.0, < 2.0)
109105
rspec-support (~> 3.13.0)
110106
rspec-support (3.13.6)
111-
rubocop (1.85.1)
107+
rubocop (1.86.0)
112108
json (~> 2.3)
113109
language_server-protocol (~> 3.17.0.2)
114110
lint_roller (~> 1.1.0)
115-
mcp (~> 0.6)
116111
parallel (~> 1.10)
117112
parser (>= 3.3.0.2)
118113
rainbow (>= 2.2.2, < 4.0)
119114
regexp_parser (>= 2.9.3, < 3.0)
120115
rubocop-ast (>= 1.49.0, < 2.0)
121116
ruby-progressbar (~> 1.7)
122117
unicode-display_width (>= 2.4.0, < 4.0)
123-
rubocop-ast (1.49.0)
118+
rubocop-ast (1.49.1)
124119
parser (>= 3.3.7.2)
125120
prism (~> 1.7)
126121
ruby-progressbar (1.13.0)
@@ -175,7 +170,7 @@ DEPENDENCIES
175170
rbs (~> 3.10.0)
176171
redcarpet (~> 3.6.0)
177172
rspec (~> 3.13.0)
178-
rubocop (~> 1.85.0)
173+
rubocop (~> 1.86.0)
179174
steep (~> 1.10.0)
180175
webmock (~> 3.26.0)
181176
webrick (~> 1.9.1)

0 commit comments

Comments
 (0)