Skip to content

Commit 4b317df

Browse files
Update dependency rubocop to '~> 1.81.0' (#673)
> [!NOTE] > Mend has cancelled [the proposed renaming](https://redirect.github.com/renovatebot/renovate/discussions/37842) of the Renovate GitHub app being renamed to `mend[bot]`. > > This notice will be removed on 2025-10-07. <hr> This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [rubocop](https://rubocop.org/) ([source](https://redirect.github.com/rubocop/rubocop), [changelog](https://redirect.github.com/rubocop/rubocop/releases/tag/v1.81.1)) | `'~> 1.80.0'` -> `'~> 1.81.0'` | [![age](https://developer.mend.io/api/mc/badges/age/rubygems/rubocop/1.81.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/rubygems/rubocop/1.80.2/1.81.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>rubocop/rubocop (rubocop)</summary> ### [`v1.81.0`](https://redirect.github.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1810-2025-09-25) [Compare Source](https://redirect.github.com/rubocop/rubocop/compare/v1.80.2...v1.81.0) ##### New features - [#&#8203;14512](https://redirect.github.com/rubocop/rubocop/pull/14512): Add `Style/ArrayIntersectWithSingleElement` cop. (\[[@&#8203;r7kamura](https://redirect.github.com/r7kamura)]\[]) - [#&#8203;10971](https://redirect.github.com/rubocop/rubocop/issues/10971): Support `EnforcedStyleForMultiline: diff_comma` in `Style/TrailingCommaInArguments`. (\[[@&#8203;akouryy](https://redirect.github.com/akouryy)]\[]) ##### Bug fixes - [#&#8203;14560](https://redirect.github.com/rubocop/rubocop/pull/14560): Fix an error for `Style/NilComparison` cop when using the `var.==(nil)` and `var.===(nil)` syntax. (\[[@&#8203;viralpraxis](https://redirect.github.com/viralpraxis)]\[]) - [#&#8203;14535](https://redirect.github.com/rubocop/rubocop/issues/14535): Fix autocorrect for `Style/ExplicitBlockArgument` when there are two methods that share the same implementation. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[]) - [#&#8203;14527](https://redirect.github.com/rubocop/rubocop/pull/14527): Fix false negatives for `Style/NumberedParameters` and `Style/ItBlockParameter` when using multiline method chain with `EnforcedStyle: allow_single_line`. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;14522](https://redirect.github.com/rubocop/rubocop/issues/14522): Fix false negatives for `Layout/MultilineOperationIndentation` when using indented code on LHS of equality operator in modifier method definition. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;14496](https://redirect.github.com/rubocop/rubocop/issues/14496): Fix false negatives for `Layout/EmptyLineBetweenDefs` for `AllowAdjacentOneLineDefs: false` and `DefLikeMacros` that take no block. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[]) - [#&#8203;14553](https://redirect.github.com/rubocop/rubocop/issues/14553): Fix false positives when `EnforcedStyle: allowed_in_returns` and `!!` appears across multiple lines in return position. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;14557](https://redirect.github.com/rubocop/rubocop/issues/14557): Fix false positives for `Style/RedundantParentheses` when parentheses are used around a one-line `rescue` expression as a condition. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;14525](https://redirect.github.com/rubocop/rubocop/pull/14525): Fix false positives for `Style/RedundantRegexpEscape` when an escaped variable sigil follows `#` (e.g., `/#\@&#8203;foo/`, `/#\@&#8203;@&#8203;bar/`, `/#\$baz/`). (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;14529](https://redirect.github.com/rubocop/rubocop/issues/14529): Fix false negative in `Layout/RescueEnsureAlignment` with a block whose send node is split over multiple lines. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[]) - [#&#8203;14528](https://redirect.github.com/rubocop/rubocop/issues/14528): Fix `Style/RedundantFormat` when the format string has a variable width that isn't given as a literal value. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[]) - [#&#8203;14541](https://redirect.github.com/rubocop/rubocop/issues/14541): Fix gemspec parsing error when `ParserEngine: parser_prism` is configured in a base config file. (\[[@&#8203;sudoremo](https://redirect.github.com/sudoremo)]\[]) - [#&#8203;14544](https://redirect.github.com/rubocop/rubocop/issues/14544): Fix an incorrect autocorrect for `Lint/Void` when using a return value in assignment method definition. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;14543](https://redirect.github.com/rubocop/rubocop/issues/14543): Fix an incorrect autocorrect for `Style/RedundantRegexpArgument` when using escaped single quote character. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;14540](https://redirect.github.com/rubocop/rubocop/issues/14540): Fix an incorrect autocorrect for `Style/UnlessElse` when using `unless` with `then`. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;14507](https://redirect.github.com/rubocop/rubocop/pull/14507): Fix the built-in Ruby LSP add-on not restarting when config files (`.rubocop.yml`, `.rubocop_todo.yml`) change. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[]) - [#&#8203;14514](https://redirect.github.com/rubocop/rubocop/pull/14514): Fix the built-in Ruby LSP add-on not respecting `.rubocop` config file. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[]) - [#&#8203;14508](https://redirect.github.com/rubocop/rubocop/pull/14508): Fix the built-in Ruby LSP add-on getting in an irrecoverable state when the config is invalid on startup. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[]) - [#&#8203;14534](https://redirect.github.com/rubocop/rubocop/issues/14534): Prevent `Layout/LineLength` autocorrection from splitting a block if its receiver contains a heredoc. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[]) - [#&#8203;14497](https://redirect.github.com/rubocop/rubocop/pull/14497): Fix a false positive for `Lint/ShadowedArgument` when assigning inside a `rescue` block. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[]) ##### Changes - [#&#8203;14492](https://redirect.github.com/rubocop/rubocop/pull/14492): Add support for LSP `positionEncoding` `utf-8` and `utf-32`. (\[[@&#8203;tmtm](https://redirect.github.com/tmtm)]\[]) </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:eyJjcmVhdGVkSW5WZXIiOiI0MS4xMzEuOSIsInVwZGF0ZWRJblZlciI6IjQxLjEzMS45IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImRlcGVuZGVuY3kgdXBncmFkZSJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 966b3e8 commit 4b317df

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ group :development, :test do
77
gem 'rack', '~> 3.1' # for yard server
88
gem 'rackup', '~> 2.1' # for yard server
99
gem 'rbs', '~> 3.9.3'
10-
gem 'rubocop', '~> 1.80.0', require: false
10+
gem 'rubocop', '~> 1.81.0', require: false
1111
gem 'steep', '~> 1.10.0'
1212
gem 'webrick', '~> 1.9.1'
1313
gem 'yard', '~> 0.9.20' # for yard server

Gemfile.lock

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ GEM
4141
hashdiff (1.1.2)
4242
i18n (1.14.7)
4343
concurrent-ruby (~> 1.0)
44-
json (2.13.2)
44+
json (2.15.0)
4545
language_server-protocol (3.17.0.5)
4646
lint_roller (1.1.0)
4747
listen (3.9.0)
@@ -55,7 +55,7 @@ GEM
5555
parser (3.3.9.0)
5656
ast (~> 2.4.1)
5757
racc
58-
prism (1.4.0)
58+
prism (1.5.1)
5959
public_suffix (6.0.1)
6060
racc (1.8.1)
6161
rack (3.2.1)
@@ -68,7 +68,7 @@ GEM
6868
ffi (~> 1.0)
6969
rbs (3.9.5)
7070
logger
71-
regexp_parser (2.11.2)
71+
regexp_parser (2.11.3)
7272
rexml (3.4.1)
7373
rspec (3.13.1)
7474
rspec-core (~> 3.13.0)
@@ -83,18 +83,18 @@ GEM
8383
diff-lcs (>= 1.2.0, < 2.0)
8484
rspec-support (~> 3.13.0)
8585
rspec-support (3.13.4)
86-
rubocop (1.80.2)
86+
rubocop (1.81.1)
8787
json (~> 2.3)
8888
language_server-protocol (~> 3.17.0.2)
8989
lint_roller (~> 1.1.0)
9090
parallel (~> 1.10)
9191
parser (>= 3.3.0.2)
9292
rainbow (>= 2.2.2, < 4.0)
9393
regexp_parser (>= 2.9.3, < 3.0)
94-
rubocop-ast (>= 1.46.0, < 2.0)
94+
rubocop-ast (>= 1.47.1, < 2.0)
9595
ruby-progressbar (~> 1.7)
9696
unicode-display_width (>= 2.4.0, < 4.0)
97-
rubocop-ast (1.46.0)
97+
rubocop-ast (1.47.1)
9898
parser (>= 3.3.7.2)
9999
prism (~> 1.4)
100100
ruby-progressbar (1.13.0)
@@ -121,9 +121,9 @@ GEM
121121
unicode-display_width (>= 1.1.1, < 4)
122122
tzinfo (2.0.6)
123123
concurrent-ruby (~> 1.0)
124-
unicode-display_width (3.1.5)
125-
unicode-emoji (~> 4.0, >= 4.0.4)
126-
unicode-emoji (4.0.4)
124+
unicode-display_width (3.2.0)
125+
unicode-emoji (~> 4.1)
126+
unicode-emoji (4.1.0)
127127
uri (1.0.3)
128128
webmock (3.25.1)
129129
addressable (>= 2.8.0)
@@ -144,7 +144,7 @@ DEPENDENCIES
144144
rake (~> 13.0)
145145
rbs (~> 3.9.3)
146146
rspec (~> 3.13.0)
147-
rubocop (~> 1.80.0)
147+
rubocop (~> 1.81.0)
148148
steep (~> 1.10.0)
149149
webmock (~> 3.25.0)
150150
webrick (~> 1.9.1)

0 commit comments

Comments
 (0)