forked from line/line-bot-sdk-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit 049f08d
authored
chore(deps): update dependency rubocop to '~> 1.70.0' (line#360)
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.70.0))
| `'~> 1.69.0'` -> `'~> 1.70.0'` |
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>rubocop/rubocop (rubocop)</summary>
###
[`v1.70.0`](https://redirect.github.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1700-2025-01-10)
[Compare
Source](https://redirect.github.com/rubocop/rubocop/compare/v1.69.2...v1.70.0)
##### New features
-
[#​13474](https://redirect.github.com/rubocop/rubocop/pull/13474):
Add new `Style/ItAssignment` cop to detect local assignments to `it`
inside blocks.
(\[[@​dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-
[#​11013](https://redirect.github.com/rubocop/rubocop/issues/11013):
Add new `Lint/SharedMutableDefault` cop to alert on mutable Hash
defaults.
(\[[@​corsonknowles](https://redirect.github.com/corsonknowles)]\[])
-
[#​13612](https://redirect.github.com/rubocop/rubocop/pull/13612):
Create new cop `Lint/ConstantReassignment`.
(\[[@​lovro-bikic](https://redirect.github.com/lovro-bikic)]\[])
-
[#​13628](https://redirect.github.com/rubocop/rubocop/pull/13628):
Make LSP server support quick fix code action.
(\[[@​koic](https://redirect.github.com/koic)]\[])
-
[#​13607](https://redirect.github.com/rubocop/rubocop/pull/13607):
Support passing the target ruby version through an environment variable.
(\[[@​elliottt](https://redirect.github.com/elliottt)]\[])
-
[#​13628](https://redirect.github.com/rubocop/rubocop/pull/13628):
Add support for Ruby LSP as a built-in add-on.
(\[[@​koic](https://redirect.github.com/koic)]\[])
-
[#​13284](https://redirect.github.com/rubocop/rubocop/issues/13284):
Add new `target_gem_version` API to change behavior of a cop at runtime
depending on which gem version is present.
(\[[@​earlopain](https://redirect.github.com/earlopain)]\[])
##### Bug fixes
-
[#​13589](https://redirect.github.com/rubocop/rubocop/pull/13589):
Fix `Lint/NonAtomicFileOperation` to detect offenses with fully
qualified constants.
(\[[@​viralpraxis](https://redirect.github.com/viralpraxis)]\[])
-
[#​13630](https://redirect.github.com/rubocop/rubocop/pull/13630):
Fix CLI `--format` option to accept fully qualified formatter class
names.
(\[[@​viralpraxis](https://redirect.github.com/viralpraxis)]\[])
-
[#​13624](https://redirect.github.com/rubocop/rubocop/pull/13624):
Don't show warnings from `Lint/Syntax` when a syntax error occurs.
(\[[@​earlopain](https://redirect.github.com/earlopain)]\[])
-
[#​13605](https://redirect.github.com/rubocop/rubocop/pull/13605):
Fix `RuboCop::Cop::Util.to_string_literal` to work correctly with frozen
strings.
(\[[@​viralpraxis](https://redirect.github.com/viralpraxis)]\[])
-
[#​12393](https://redirect.github.com/rubocop/rubocop/issues/12393):
Fix false negatives for `Lint/Void` inside of non-modifier conditionals.
(\[[@​GabeIsman](https://redirect.github.com/GabeIsman)]\[])
-
[#​13623](https://redirect.github.com/rubocop/rubocop/issues/13623):
Fix false negatives for `Style/MultipleComparison` when setting
`AllowMethodComparison: false` and comparing with simple method calls.
(\[[@​koic](https://redirect.github.com/koic)]\[])
-
[#​13644](https://redirect.github.com/rubocop/rubocop/pull/13644):
Fix a false positive for `Layout/EmptyLinesAroundAccessModifier` when an
access modifier and an expression are on the same line.
(\[[@​koic](https://redirect.github.com/koic)]\[])
-
[#​13645](https://redirect.github.com/rubocop/rubocop/issues/13645):
Fix a false positive for `Style/MethodCallWithArgsParentheses` when
setting `EnforcedStyle: omit_parentheses` and last argument is an
endless range.
(\[[@​earlopain](https://redirect.github.com/earlopain)]\[])
-
[#​13614](https://redirect.github.com/rubocop/rubocop/issues/13614):
Fix false positives for `Style/RaiseArgs` with anonymous splat and
triple dot forwarding.
(\[[@​earlopain](https://redirect.github.com/earlopain)]\[])
-
[#​13591](https://redirect.github.com/rubocop/rubocop/pull/13591):
Fix false positives for `Lint/NestedMethodDefinition` when defining a
method on a constant or a method call.
(\[[@​koic](https://redirect.github.com/koic)]\[])
-
[#​13594](https://redirect.github.com/rubocop/rubocop/pull/13594):
Fix false positives for `Style/MultipleComparison` when using multiple
safe navigation method calls.
(\[[@​koic](https://redirect.github.com/koic)]\[])
-
[#​13654](https://redirect.github.com/rubocop/rubocop/pull/13654):
Fix false positives for `Style/RedundantInitialize` when empty
initialize method has arguments.
(\[[@​marocchino](https://redirect.github.com/marocchino)]\[])
-
[#​13608](https://redirect.github.com/rubocop/rubocop/pull/13608):
Fix crash when running `rubocop -d` on a config with a remote
`inherit_from` that causes a duplicate setting warning.
(\[[@​dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-
[#​12430](https://redirect.github.com/rubocop/rubocop/issues/12430):
Fix false negatives in `Style/RedundantLineContinuation` with multiple
line continuations.
(\[[@​dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-
[#​13638](https://redirect.github.com/rubocop/rubocop/pull/13638):
Fix false positive for `Naming/BlockForwarding` when method just returns
the block argument.
(\[[@​mvz](https://redirect.github.com/mvz)]\[])
-
[#​13599](https://redirect.github.com/rubocop/rubocop/issues/13599):
Fix incorrect autocorrect for `Layout/HashAlignment` when there is a
multiline positional argument and `Layout/ArgumentAlignment` is
configured with `EnforcedStyle: with_fixed_indentation`.
(\[[@​dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-
[#​13586](https://redirect.github.com/rubocop/rubocop/issues/13586):
Fix regression in `Layout/SpaceAroundOperators` when different
comparison operators were aligned with each other.
(\[[@​dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-
[#​13603](https://redirect.github.com/rubocop/rubocop/pull/13603):
Fix `Lint/LiteralInInterpolation` cop error on invalid string literal.
(\[[@​viralpraxis](https://redirect.github.com/viralpraxis)]\[])
-
[#​13582](https://redirect.github.com/rubocop/rubocop/pull/13582):
Fix `Lint/NonAtomicFileOperation` cop error on non-constant receiver.
(\[[@​viralpraxis](https://redirect.github.com/viralpraxis)]\[])
-
[#​13598](https://redirect.github.com/rubocop/rubocop/pull/13598):
Fix `Lint/Void` cop error on `if` without body.
(\[[@​viralpraxis](https://redirect.github.com/viralpraxis)]\[])
-
[#​13634](https://redirect.github.com/rubocop/rubocop/pull/13634):
Fix `Style/ClassAndModuleChildren` cop error on `compact` enforced style
and unindented body.
(\[[@​viralpraxis](https://redirect.github.com/viralpraxis)]\[])
-
[#​13642](https://redirect.github.com/rubocop/rubocop/pull/13642):
Fix `Style/FloatDivision` cop error if `#to_f` has implicit receiver.
(\[[@​viralpraxis](https://redirect.github.com/viralpraxis)]\[])
-
[#​13517](https://redirect.github.com/rubocop/rubocop/pull/13517):
Fixes `Style/HashExcept` to recognize safe navigation when
`ActiveSupportExtensionsEnabled` config is enabled.
(\[[@​lovro-bikic](https://redirect.github.com/lovro-bikic)]\[])
-
[#​13585](https://redirect.github.com/rubocop/rubocop/pull/13585):
Fix `Style/HashSyntax` cop error on implicit `call` method.
(\[[@​viralpraxis](https://redirect.github.com/viralpraxis)]\[])
-
[#​13632](https://redirect.github.com/rubocop/rubocop/pull/13632):
Fix `Style/MissingElse` cop error if `Style/EmptyElse`'s `EnforcedStyle`
is not `both` and `if` expression contains `elsif`.
(\[[@​viralpraxis](https://redirect.github.com/viralpraxis)]\[])
-
[#​13659](https://redirect.github.com/rubocop/rubocop/pull/13659):
Fix `Style/MissingElse` cop error if `Style/EmptyElse`'s `EnforcedStyle`
is not `both` and `if` expression contains multiple `elsif`.
(\[[@​viralpraxis](https://redirect.github.com/viralpraxis)]\[])
-
[#​13596](https://redirect.github.com/rubocop/rubocop/pull/13596):
Fix `Style/RedundantCondition` cop error on parentheses and modifier
`if` in `else`.
(\[[@​viralpraxis](https://redirect.github.com/viralpraxis)]\[])
-
[#​13616](https://redirect.github.com/rubocop/rubocop/pull/13616):
Fix incorrect autocorrect for `Style/RedundantRegexpArgument` when the
regex contains a single quote.
(\[[@​mrzasa](https://redirect.github.com/mrzasa)]\[])
-
[#​13619](https://redirect.github.com/rubocop/rubocop/pull/13619):
Fix `Style/YodaExpression` cop error in case of suffix form of operator.
(\[[@​viralpraxis](https://redirect.github.com/viralpraxis)]\[])
-
[#​13578](https://redirect.github.com/rubocop/rubocop/issues/13578):
Update `Layout/LineContinuationSpacing` to ignore continuations inside a
`regexp` or `xstr`.
(\[[@​dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-
[#​13601](https://redirect.github.com/rubocop/rubocop/issues/13601):
Update `Style/SuperArguments` to handle `super` with a block or with a
chained method with a block.
(\[[@​dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-
[#​13568](https://redirect.github.com/rubocop/rubocop/pull/13568):
Fix `NoMethodError` in `ConfigValidator` when a Cop's config is not a
`Hash` and raise `ValidationError` instead.
(\[[@​amomchilov](https://redirect.github.com/amomchilov)]\[])
##### Changes
-
[#​13665](https://redirect.github.com/rubocop/rubocop/pull/13665):
Add support for safe navigation to `Style/ObjectThen`.
(\[[@​dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-
[#​13657](https://redirect.github.com/rubocop/rubocop/pull/13657):
Add support for safe navigation to `Layout/HashAlignment`.
(\[[@​dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-
[#​13656](https://redirect.github.com/rubocop/rubocop/pull/13656):
Add support for safe navigation to
`Layout/HeredocArgumentClosingParenthesis`.
(\[[@​dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-
[#​13655](https://redirect.github.com/rubocop/rubocop/pull/13655):
Add support for safe navigation to `Layout/LineLength`.
(\[[@​dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-
[#​13662](https://redirect.github.com/rubocop/rubocop/pull/13662):
Add support for safe navigation to `Style/SendWithLiteralMethodName`.
(\[[@​dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-
[#​13557](https://redirect.github.com/rubocop/rubocop/issues/13557):
Fix false positives for `Lint/NumericOperationWithConstantResult`.
(\[[@​earlopain](https://redirect.github.com/earlopain)]\[])
-
[#​13658](https://redirect.github.com/rubocop/rubocop/pull/13658):
Fix invalid autocorrect for `Style/SlicingWithRange` when calling `.[]`
or `&.[]` with a correctable range.
(\[[@​dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-
[#​13548](https://redirect.github.com/rubocop/rubocop/pull/13548):
Enhance `Lint/DuplicateSetElement` to detect offences within
`SortedSet`.
(\[[@​viralpraxis](https://redirect.github.com/viralpraxis)]\[])
-
[#​13646](https://redirect.github.com/rubocop/rubocop/pull/13646):
Update `Layout/TrailingWhitespace` to support blank characters other
than space and tab.
(\[[@​krororo](https://redirect.github.com/krororo)]\[])
-
[#​13652](https://redirect.github.com/rubocop/rubocop/pull/13652):
Update `Metrics/MethodLength` to make use of `AllowedMethods` and
`AllowedPatterns` for methods defined dynamically with `define_method`.
(\[[@​dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-
[#​13606](https://redirect.github.com/rubocop/rubocop/issues/13606):
Update `Style/AccessModifierDeclarations` to add
`AllowModifiersOnAliasMethod` configuration (default `true`).
(\[[@​dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-
[#​13662](https://redirect.github.com/rubocop/rubocop/pull/13662):
Update `Style/RedundantSelfAssignment` to handle safe navigation on the
right-hand side of the assignment.
(\[[@​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:eyJjcmVhdGVkSW5WZXIiOiIzOS45Mi4wIiwidXBkYXRlZEluVmVyIjoiMzkuOTIuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJkZXBlbmRlbmN5IHVwZ3JhZGUiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>1 parent ef691df commit 049f08dCopy full SHA for 049f08d
File tree
Expand file treeCollapse file tree
1 file changed
+1
-1
lines changedOpen diff view settings
Filter options
Expand file treeCollapse file tree
1 file changed
+1
-1
lines changedOpen diff view settings
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
0 commit comments