-
Notifications
You must be signed in to change notification settings - Fork 130
Commit 4ab52ed
authored
chore(deps): update dependency rubocop to '~> 1.68.0' (#338)
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.68.0))
| `'~> 1.67.0'` -> `'~> 1.68.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.68.0`](https://redirect.github.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1680-2024-10-31)
##### New features
-
[#​13050](https://redirect.github.com/rubocop/rubocop/issues/13050):
Add new `Style/BitwisePredicate` cop.
(\[[@​koic](https://redirect.github.com/koic)]\[])
-
[#​12140](https://redirect.github.com/rubocop/rubocop/issues/12140):
Add new `Style/CombinableDefined` cop.
(\[[@​dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-
[#​12988](https://redirect.github.com/rubocop/rubocop/issues/12988):
Add new `Style/AmbiguousEndlessMethodDefinition` cop.
(\[[@​dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-
[#​11514](https://redirect.github.com/rubocop/rubocop/issues/11514):
Add new `Lint/UnescapedBracketInRegexp` cop.
(\[[@​dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-
[#​13360](https://redirect.github.com/rubocop/rubocop/pull/13360):
Add `AllowSteepAnnotation` config option to
`Layout/LeadingCommentSpace`.
(\[[@​tk0miya](https://redirect.github.com/tk0miya)]\[])
-
[#​13146](https://redirect.github.com/rubocop/rubocop/issues/13146):
Add new `IgnoreDuplicateElseBranch` option to `Lint/DuplicateBranch`.
(\[[@​fatkodima](https://redirect.github.com/fatkodima)]\[])
-
[#​13171](https://redirect.github.com/rubocop/rubocop/issues/13171):
Add new `Style/SafeNavigationChainLength` cop.
(\[[@​fatkodima](https://redirect.github.com/fatkodima)]\[])
-
[#​13252](https://redirect.github.com/rubocop/rubocop/pull/13252):
Add new `Style/KeywordArgumentsMerging` cop.
(\[[@​fatkodima](https://redirect.github.com/fatkodima)]\[])
##### Bug fixes
-
[#​13401](https://redirect.github.com/rubocop/rubocop/pull/13401):
Fix a false negative for `Style/RedundantLineContinuation` when there is
a line continuation at the EOF.
(\[[@​koic](https://redirect.github.com/koic)]\[])
-
[#​13368](https://redirect.github.com/rubocop/rubocop/issues/13368):
Fix an incorrect autocorrect for `Naming/BlockForwarding` with
`Style/ExplicitBlockArgument`.
(\[[@​koic](https://redirect.github.com/koic)]\[])
-
[#​13391](https://redirect.github.com/rubocop/rubocop/pull/13391):
Fix deserialization of unknown encoding offenses.
(\[[@​earlopain](https://redirect.github.com/earlopain)]\[])
-
[#​13348](https://redirect.github.com/rubocop/rubocop/issues/13348):
Ensure `Style/BlockDelimiters` autocorrection does not move other code
between the block and comment.
(\[[@​dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-
[#​13382](https://redirect.github.com/rubocop/rubocop/pull/13382):
Fix an error during error handling for custom ruby extractors when the
extractor is a class.
(\[[@​earlopain](https://redirect.github.com/earlopain)]\[])
-
[#​13309](https://redirect.github.com/rubocop/rubocop/issues/13309):
Fix a false negative for `Lint/UselessAssignment` cop when there is a
useless assignment followed by a block.
(\[[@​pCosta99](https://redirect.github.com/pCosta99)]\[])
-
[#​13255](https://redirect.github.com/rubocop/rubocop/pull/13255):
Fix false negatives for `Style/MapIntoArray` when using non-splatted
arguments.
(\[[@​vlad-pisanov](https://redirect.github.com/vlad-pisanov)]\[])
-
[#​13356](https://redirect.github.com/rubocop/rubocop/issues/13356):
Fix a false positive for `Layout/SpaceBeforeBrackets` when there is a
dot before `[]=`.
(\[[@​earlopain](https://redirect.github.com/earlopain)]\[])
-
[#​13365](https://redirect.github.com/rubocop/rubocop/issues/13365):
Fix false positives for `Lint/SafeNavigationConsistency` when using safe
navigation on the LHS with operator method on the RHS of `&&`.
(\[[@​koic](https://redirect.github.com/koic)]\[])
-
[#​13390](https://redirect.github.com/rubocop/rubocop/issues/13390):
Fix false positives for `Style/GuardClause` when using a local variable
assigned in a conditional expression in a branch.
(\[[@​koic](https://redirect.github.com/koic)]\[])
-
[#​13337](https://redirect.github.com/rubocop/rubocop/issues/13337):
Fix false positives for `Style/RedundantLineContinuation` when required
line continuations for `&&` is used with an assignment after a line
break. (\[[@​koic](https://redirect.github.com/koic)]\[])
-
[#​13387](https://redirect.github.com/rubocop/rubocop/issues/13387):
Fix false positives in `Style/RedundantParentheses` when parentheses are
used around method chain with `do`...`end` block in keyword argument.
(\[[@​koic](https://redirect.github.com/koic)]\[])
-
[#​13341](https://redirect.github.com/rubocop/rubocop/issues/13341):
Fix false positives for `Lint/SafeNavigationChain` when a safe
navigation operator is used with a method call as the RHS operand of
`&&` for the same receiver.
(\[[@​koic](https://redirect.github.com/koic)]\[])
-
[#​13324](https://redirect.github.com/rubocop/rubocop/issues/13324):
Fix `--disable-uncorrectable` to not insert a comment inside a string
continuation.
(\[[@​dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-
[#​13364](https://redirect.github.com/rubocop/rubocop/issues/13364):
Fix incorrect autocorrect with `Lint/UselessAssignment` a multiple
assignment or `for` contains an inner assignment.
(\[[@​dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-
[#​13353](https://redirect.github.com/rubocop/rubocop/issues/13353):
Fix an incorrect autocorrect for `Style/BlockDelimiters` when
`EnforcedStyle: semantic` is set and used with
`Layout/SpaceInsideBlockBraces`.
(\[[@​koic](https://redirect.github.com/koic)]\[])
-
[#​13361](https://redirect.github.com/rubocop/rubocop/issues/13361):
Fix false positives for `Style/RedundantInterpolationUnfreeze` and
`Style/RedundantFreeze` when strings contain interpolated global,
instance, and class variables.
(\[[@​vlad-pisanov](https://redirect.github.com/vlad-pisanov)]\[])
-
[#​13343](https://redirect.github.com/rubocop/rubocop/issues/13343):
Prevent `Layout/LineLength` from breaking up a method with arguments
chained onto a heredoc delimiter.
(\[[@​dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-
[#​13374](https://redirect.github.com/rubocop/rubocop/issues/13374):
Return exit code 0 with `--display-only-correctable` and
`--display-only-safe-correctable` when no offenses are displayed.
(\[[@​dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-
[#​13193](https://redirect.github.com/rubocop/rubocop/issues/13193):
Fix false positive in `Style/MultipleComparison` when
`ComparisonsThreshold` exceeds 2.
(\[[@​fatkodima](https://redirect.github.com/fatkodima)]\[],\[[@​vlad-pisanov](https://redirect.github.com/vlad-pisanov)]\[])
-
[#​13325](https://redirect.github.com/rubocop/rubocop/pull/13325):
Fix an incorrect autocorrect for `Lint/NonAtomicFileOperation` when
using a postfix `unless` for file existence checks before creating a
file, in cases with `Dir.mkdir`.
(\[[@​kotaro0522](https://redirect.github.com/kotaro0522)]\[])
-
[#​13397](https://redirect.github.com/rubocop/rubocop/pull/13397):
Update `PercentLiteralCorrector` to be able to write pairs of delimiters
without excessive escaping.
(\[[@​dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-
[#​13336](https://redirect.github.com/rubocop/rubocop/issues/13336):
Update `Style/SafeNavigation` to not autocorrect if the RHS of an `and`
node is an `or` node.
(\[[@​dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-
[#​13378](https://redirect.github.com/rubocop/rubocop/issues/13378):
When removing parens in `Style/TernaryParentheses` with a `send` node
condition, ensure its arguments are parenthesized.
(\[[@​dvandersluis](https://redirect.github.com/dvandersluis)]\[])
##### Changes
-
[#​13347](https://redirect.github.com/rubocop/rubocop/pull/13347):
When running `rubocop -V`, show the analysis Ruby version of the current
directory.
(\[[@​earlopain](https://redirect.github.com/earlopain)]\[])
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, 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:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMzUuMiIsInVwZGF0ZWRJblZlciI6IjM4LjEzNS4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImRlcGVuZGVuY3kgdXBncmFkZSJdfQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>1 parent 947f8c4 commit 4ab52edCopy full SHA for 4ab52ed
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