Skip to content

Commit c2ce4fc

Browse files
chore(deps): update dependency rubocop to '~> 1.75.0' (#408)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [rubocop](https://rubocop.org/) ([source](https://redirect.github.com/rubocop/rubocop), [changelog](https://redirect.github.com/rubocop/rubocop/releases/tag/v1.75.1)) | `'~> 1.74.0'` -> `'~> 1.75.0'` | [![age](https://developer.mend.io/api/mc/badges/age/rubygems/rubocop/1.75.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/rubygems/rubocop/1.75.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/rubygems/rubocop/1.74.0/1.75.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/rubygems/rubocop/1.74.0/1.75.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>rubocop/rubocop (rubocop)</summary> ### [`v1.75.1`](https://redirect.github.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1751-2025-03-26) [Compare Source](https://redirect.github.com/rubocop/rubocop/compare/v1.75.0...v1.75.1) ##### Changes - [#&#8203;14038](https://redirect.github.com/rubocop/rubocop/pull/14038): Rename `EnforcedStyle: allow_named_parameter` to `EnforcedStyle: only_numbered_parameters` in `Style/ItBlockParameter`. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) ### [`v1.75.0`](https://redirect.github.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1750-2025-03-26) [Compare Source](https://redirect.github.com/rubocop/rubocop/compare/v1.74.0...v1.75.0) ##### New features - [#&#8203;12049](https://redirect.github.com/rubocop/rubocop/issues/12049): Add new `Style/HashFetchChain` cop to detect chained `fetch` calls that can be replaced with a single call to `dig`. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[]) - [#&#8203;13597](https://redirect.github.com/rubocop/rubocop/issues/13597): Add new `Style/ItBlockParameter` cop. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;13899](https://redirect.github.com/rubocop/rubocop/pull/13899): Enable reusable Prism parse result for Ruby LSP add-on. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;14015](https://redirect.github.com/rubocop/rubocop/pull/14015): Support `it` block parameter in `Layout` cops. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;14017](https://redirect.github.com/rubocop/rubocop/pull/14017): Support `it` block parameter in `Lint` cops. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;14018](https://redirect.github.com/rubocop/rubocop/pull/14018): Support `it` block parameter in `Metrics` cops. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;14013](https://redirect.github.com/rubocop/rubocop/pull/14013): Support `it` block parameter in `Style` cops. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;14025](https://redirect.github.com/rubocop/rubocop/pull/14025): Support `TargetRubyVersion: 3.5` (experimental). (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[]) ##### Bug fixes - [#&#8203;14022](https://redirect.github.com/rubocop/rubocop/pull/14022): Fix an error for `Style/HashFetchChain` when no arguments are given to `fetch`. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;14028](https://redirect.github.com/rubocop/rubocop/pull/14028): Fix false negative for `Layout/MultilineMethodParameterLineBreaks` when class method definitions are used. (\[[@&#8203;vlad-pisanov](https://redirect.github.com/vlad-pisanov)]\[]) - [#&#8203;14027](https://redirect.github.com/rubocop/rubocop/pull/14027): Fix false negative for `Layout/LineLength` when autocorrecting class method definitions. (\[[@&#8203;vlad-pisanov](https://redirect.github.com/vlad-pisanov)]\[]) - [#&#8203;8099](https://redirect.github.com/rubocop/rubocop/issues/8099): Fix infinite loop between `Layout/SpaceAroundOperators` and `Layout/HashAlignment` with `EnforcedHashRocketStyle` being an array containing `table`. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[]) - [#&#8203;14021](https://redirect.github.com/rubocop/rubocop/pull/14021): Fix handling of long heredoc lines with SplitStrings enabled. (\[[@&#8203;mauro-oto](https://redirect.github.com/mauro-oto)]\[]) - [#&#8203;13968](https://redirect.github.com/rubocop/rubocop/pull/13968): Fix `InternalAffairs/RedundantDescribedClassAsSubject` cop error on missing `describe`. (\[[@&#8203;viralpraxis](https://redirect.github.com/viralpraxis)]\[]) - [#&#8203;14036](https://redirect.github.com/rubocop/rubocop/pull/14036): Fix false negative for `Lint/ShadowingOuterLocalVariable` when block local variable is used inside a condition. (\[[@&#8203;lovro-bikic](https://redirect.github.com/lovro-bikic)]\[]) - [#&#8203;13990](https://redirect.github.com/rubocop/rubocop/issues/13990): Fix a false positive for `Lint/UselessAssignment` when a variable is reassigned in a different branch. (\[[@&#8203;eugeneius](https://redirect.github.com/eugeneius)]\[]) - [#&#8203;14012](https://redirect.github.com/rubocop/rubocop/pull/14012): Fix incorrect autocorrections for `Style/SoleNestedConditional`. (\[[@&#8203;lovro-bikic](https://redirect.github.com/lovro-bikic)]\[]) - [#&#8203;14020](https://redirect.github.com/rubocop/rubocop/pull/14020): Fix comment autocorrection for `Style/IfInsideElse`. (\[[@&#8203;lovro-bikic](https://redirect.github.com/lovro-bikic)]\[]) ##### Changes - [#&#8203;12358](https://redirect.github.com/rubocop/rubocop/issues/12358): Add `does` as a forbidden prefix to `Naming/PredicateName`. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[]) - [#&#8203;13621](https://redirect.github.com/rubocop/rubocop/issues/13621): Add `ForbiddenIdentifiers` and `ForbiddenPatterns` config options to `Naming/MethodName` cop. (\[[@&#8203;tejasbubane](https://redirect.github.com/tejasbubane)]\[]) - [#&#8203;13986](https://redirect.github.com/rubocop/rubocop/issues/13986): Add support for `Array#intersection` to `Style/ArrayIntersect`. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[]) - [#&#8203;14006](https://redirect.github.com/rubocop/rubocop/pull/14006): Allow cop renames to trigger warnings instead of fatal errors. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[]) - [#&#8203;13617](https://redirect.github.com/rubocop/rubocop/issues/13617): Use the `prism` translation layer to analyze Ruby 3.4+ by default. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[]) - [#&#8203;14024](https://redirect.github.com/rubocop/rubocop/pull/14024): Change `Style/RedundantParentheses` to offend parentheses for chained `&&` expressions. (\[[@&#8203;lovro-bikic](https://redirect.github.com/lovro-bikic)]\[]) - [#&#8203;14029](https://redirect.github.com/rubocop/rubocop/pull/14029): Add `AllowConsecutiveConditionals` setting to `Style/Next` to allow consecutive conditional statements. (\[[@&#8203;vlad-pisanov](https://redirect.github.com/vlad-pisanov)]\[]) - [#&#8203;14016](https://redirect.github.com/rubocop/rubocop/pull/14016): Update `Style/RedundantFormat` to register offenses when the only argument to `format` or `sprintf` is a constant. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[]) </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:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImRlcGVuZGVuY3kgdXBncmFkZSJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 0b5116e commit c2ce4fc

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ gem 'multipart-post', '~> 2.4.1', require: false
66

77
group :development, :test do
88
# ref: http://docs.rubocop.org/en/latest/installation/
9-
gem 'rubocop', '~> 1.74.0', require: false
9+
gem 'rubocop', '~> 1.75.0', require: false
1010
gem 'yard', '~> 0.9.20'
1111
end
1212

Gemfile.lock

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ GEM
99
specs:
1010
addressable (2.8.7)
1111
public_suffix (>= 2.0.2, < 7.0)
12-
ast (2.4.2)
12+
ast (2.4.3)
1313
bigdecimal (3.1.9)
1414
crack (1.0.0)
1515
bigdecimal
@@ -21,9 +21,10 @@ GEM
2121
lint_roller (1.1.0)
2222
multipart-post (2.4.1)
2323
parallel (1.26.3)
24-
parser (3.3.7.1)
24+
parser (3.3.7.3)
2525
ast (~> 2.4.1)
2626
racc
27+
prism (1.4.0)
2728
public_suffix (6.0.1)
2829
racc (1.8.1)
2930
rainbow (3.1.1)
@@ -43,19 +44,20 @@ GEM
4344
diff-lcs (>= 1.2.0, < 2.0)
4445
rspec-support (~> 3.13.0)
4546
rspec-support (3.13.2)
46-
rubocop (1.74.0)
47+
rubocop (1.75.1)
4748
json (~> 2.3)
4849
language_server-protocol (~> 3.17.0.2)
4950
lint_roller (~> 1.1.0)
5051
parallel (~> 1.10)
5152
parser (>= 3.3.0.2)
5253
rainbow (>= 2.2.2, < 4.0)
5354
regexp_parser (>= 2.9.3, < 3.0)
54-
rubocop-ast (>= 1.38.0, < 2.0)
55+
rubocop-ast (>= 1.43.0, < 2.0)
5556
ruby-progressbar (~> 1.7)
5657
unicode-display_width (>= 2.4.0, < 4.0)
57-
rubocop-ast (1.38.1)
58-
parser (>= 3.3.1.0)
58+
rubocop-ast (1.43.0)
59+
parser (>= 3.3.7.2)
60+
prism (~> 1.4)
5961
ruby-progressbar (1.13.0)
6062
unicode-display_width (3.1.4)
6163
unicode-emoji (~> 4.0, >= 4.0.4)
@@ -76,7 +78,7 @@ DEPENDENCIES
7678
multipart-post (~> 2.4.1)
7779
rake (~> 13.0)
7880
rspec (~> 3.13.0)
79-
rubocop (~> 1.74.0)
81+
rubocop (~> 1.75.0)
8082
webmock (~> 3.25.0)
8183
yard (~> 0.9.20)
8284

0 commit comments

Comments
 (0)