Skip to content

Commit 02997f8

Browse files
chore(deps): update dependency rubocop to '~> 1.74.0' (#402)
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.74.0)) | `'~> 1.73.0'` -> `'~> 1.74.0'` | [![age](https://developer.mend.io/api/mc/badges/age/rubygems/rubocop/1.74.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/rubygems/rubocop/1.74.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/rubygems/rubocop/1.73.2/1.74.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/rubygems/rubocop/1.73.2/1.74.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>rubocop/rubocop (rubocop)</summary> ### [`v1.74.0`](https://redirect.github.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1740-2025-03-13) [Compare Source](https://redirect.github.com/rubocop/rubocop/compare/v1.73.2...v1.74.0) ##### New features - [#&#8203;13936](https://redirect.github.com/rubocop/rubocop/pull/13936): Adds new cop `Style/ComparableBetween`. (\[[@&#8203;lovro-bikic](https://redirect.github.com/lovro-bikic)]\[]) - [#&#8203;13943](https://redirect.github.com/rubocop/rubocop/pull/13943): Allow writing steep annotation to method definition for `Style/CommentedKeyword`. (\[[@&#8203;dak2](https://redirect.github.com/dak2)]\[]) ##### Bug fixes - [#&#8203;13969](https://redirect.github.com/rubocop/rubocop/issues/13969): Fix a false positive for `Lint/SharedMutableDefault` when `capacity` keyword argument is used. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;13945](https://redirect.github.com/rubocop/rubocop/pull/13945): Fix a false positive for `Style/DoubleNegation` when calling `define_method`/`define_singleton_method` with a numblock. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[]) - [#&#8203;13971](https://redirect.github.com/rubocop/rubocop/pull/13971): Fix false alarm for config obsoletion. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;13960](https://redirect.github.com/rubocop/rubocop/pull/13960): Fix a false negative for `Lint/ReturnInVoidContext` when returning out of a block. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[]) - [#&#8203;13947](https://redirect.github.com/rubocop/rubocop/pull/13947): Fix a false negative for `Lint/UselessConstantScoping` for constants defined in `class << self`. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[]) - [#&#8203;13949](https://redirect.github.com/rubocop/rubocop/pull/13949): Fix a false negative for `Lint/NonLocalExitFromIterator` with numblocks. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[]) - [#&#8203;13975](https://redirect.github.com/rubocop/rubocop/issues/13975): Fix false positives for `Style/RedundantCurrentDirectoryInPath` when using a complex current directory path in `require_relative`. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;13963](https://redirect.github.com/rubocop/rubocop/issues/13963): Fix wrong autocorrect for `Lint/LiteralAsCondition` when the literal is followed by `return`, `break`, or `next`. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[]) - [#&#8203;13946](https://redirect.github.com/rubocop/rubocop/pull/13946): Fix some false positives for `Style/MethodCallWithArgsParentheses` with `EnforcedStyle: omit_parentheses` style and numblocks. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[]) - [#&#8203;13950](https://redirect.github.com/rubocop/rubocop/pull/13950): Fix sporadic errors about `rubocop-rails` or `rubocop-performance` extraction, even if they are already part of the Gemfile. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[]) - [#&#8203;13981](https://redirect.github.com/rubocop/rubocop/pull/13981): Prevent redundant plugin loading when a duplicate plugin is specified in an inherited config. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;13965](https://redirect.github.com/rubocop/rubocop/issues/13965): Update `Lint/RedundantCopDisableDirective` to register an offense when cop names are given with improper casing. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[]) - [#&#8203;13948](https://redirect.github.com/rubocop/rubocop/pull/13948): Fix wrong autocorrect for `Style/RescueModifier` when using parallel assignment and the right-hand-side is not a bracketed array. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[]) ##### Changes - [#&#8203;12851](https://redirect.github.com/rubocop/rubocop/issues/12851): Add `EnforcedStyleForClasses` and `EnforcedStyleForModules` configuration options to `Style/ClassAndModuleChildren`. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[]) - [#&#8203;13979](https://redirect.github.com/rubocop/rubocop/pull/13979): Add `Mode: conservative` configuration to `Style/FormatStringToken` to make the cop only register offenses for strings given to `printf`, `sprintf`, `format`, and `%`. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[]) - [#&#8203;13977](https://redirect.github.com/rubocop/rubocop/issues/13977): Allow `TLS1_1` and `TLS1_2` by default in `Naming/VariableNumber` to accommodate OpenSSL version parameter names. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;13967](https://redirect.github.com/rubocop/rubocop/pull/13967): Make `Lint/RedundantTypeConversion` aware of redundant `to_d`. (\[[@&#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:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDAuMCIsInVwZGF0ZWRJblZlciI6IjM5LjIwMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImRlcGVuZGVuY3kgdXBncmFkZSJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent b233915 commit 02997f8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
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.73.0', require: false
9+
gem 'rubocop', '~> 1.74.0', require: false
1010
gem 'yard', '~> 0.9.20'
1111
end
1212

Gemfile.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ GEM
1616
rexml
1717
diff-lcs (1.5.1)
1818
hashdiff (1.1.2)
19-
json (2.10.1)
19+
json (2.10.2)
2020
language_server-protocol (3.17.0.4)
2121
lint_roller (1.1.0)
2222
multipart-post (2.4.1)
@@ -43,7 +43,7 @@ GEM
4343
diff-lcs (>= 1.2.0, < 2.0)
4444
rspec-support (~> 3.13.0)
4545
rspec-support (3.13.2)
46-
rubocop (1.73.2)
46+
rubocop (1.74.0)
4747
json (~> 2.3)
4848
language_server-protocol (~> 3.17.0.2)
4949
lint_roller (~> 1.1.0)
@@ -76,7 +76,7 @@ DEPENDENCIES
7676
multipart-post (~> 2.4.1)
7777
rake (~> 13.0)
7878
rspec (~> 3.13.0)
79-
rubocop (~> 1.73.0)
79+
rubocop (~> 1.74.0)
8080
webmock (~> 3.25.0)
8181
yard (~> 0.9.20)
8282

0 commit comments

Comments
 (0)