Skip to content

Commit 4ab52ed

Browse files
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'` | [![age](https://developer.mend.io/api/mc/badges/age/rubygems/rubocop/1.68.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/rubygems/rubocop/1.68.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/rubygems/rubocop/1.67.0/1.68.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/rubygems/rubocop/1.67.0/1.68.0?slim=true)](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 - [#&#8203;13050](https://redirect.github.com/rubocop/rubocop/issues/13050): Add new `Style/BitwisePredicate` cop. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;12140](https://redirect.github.com/rubocop/rubocop/issues/12140): Add new `Style/CombinableDefined` cop. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[]) - [#&#8203;12988](https://redirect.github.com/rubocop/rubocop/issues/12988): Add new `Style/AmbiguousEndlessMethodDefinition` cop. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[]) - [#&#8203;11514](https://redirect.github.com/rubocop/rubocop/issues/11514): Add new `Lint/UnescapedBracketInRegexp` cop. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[]) - [#&#8203;13360](https://redirect.github.com/rubocop/rubocop/pull/13360): Add `AllowSteepAnnotation` config option to `Layout/LeadingCommentSpace`. (\[[@&#8203;tk0miya](https://redirect.github.com/tk0miya)]\[]) - [#&#8203;13146](https://redirect.github.com/rubocop/rubocop/issues/13146): Add new `IgnoreDuplicateElseBranch` option to `Lint/DuplicateBranch`. (\[[@&#8203;fatkodima](https://redirect.github.com/fatkodima)]\[]) - [#&#8203;13171](https://redirect.github.com/rubocop/rubocop/issues/13171): Add new `Style/SafeNavigationChainLength` cop. (\[[@&#8203;fatkodima](https://redirect.github.com/fatkodima)]\[]) - [#&#8203;13252](https://redirect.github.com/rubocop/rubocop/pull/13252): Add new `Style/KeywordArgumentsMerging` cop. (\[[@&#8203;fatkodima](https://redirect.github.com/fatkodima)]\[]) ##### Bug fixes - [#&#8203;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. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;13368](https://redirect.github.com/rubocop/rubocop/issues/13368): Fix an incorrect autocorrect for `Naming/BlockForwarding` with `Style/ExplicitBlockArgument`. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;13391](https://redirect.github.com/rubocop/rubocop/pull/13391): Fix deserialization of unknown encoding offenses. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[]) - [#&#8203;13348](https://redirect.github.com/rubocop/rubocop/issues/13348): Ensure `Style/BlockDelimiters` autocorrection does not move other code between the block and comment. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[]) - [#&#8203;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. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[]) - [#&#8203;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. (\[[@&#8203;pCosta99](https://redirect.github.com/pCosta99)]\[]) - [#&#8203;13255](https://redirect.github.com/rubocop/rubocop/pull/13255): Fix false negatives for `Style/MapIntoArray` when using non-splatted arguments. (\[[@&#8203;vlad-pisanov](https://redirect.github.com/vlad-pisanov)]\[]) - [#&#8203;13356](https://redirect.github.com/rubocop/rubocop/issues/13356): Fix a false positive for `Layout/SpaceBeforeBrackets` when there is a dot before `[]=`. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[]) - [#&#8203;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 `&&`. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;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. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;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. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;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. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;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. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;13324](https://redirect.github.com/rubocop/rubocop/issues/13324): Fix `--disable-uncorrectable` to not insert a comment inside a string continuation. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[]) - [#&#8203;13364](https://redirect.github.com/rubocop/rubocop/issues/13364): Fix incorrect autocorrect with `Lint/UselessAssignment` a multiple assignment or `for` contains an inner assignment. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[]) - [#&#8203;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`. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[]) - [#&#8203;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. (\[[@&#8203;vlad-pisanov](https://redirect.github.com/vlad-pisanov)]\[]) - [#&#8203;13343](https://redirect.github.com/rubocop/rubocop/issues/13343): Prevent `Layout/LineLength` from breaking up a method with arguments chained onto a heredoc delimiter. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[]) - [#&#8203;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. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[]) - [#&#8203;13193](https://redirect.github.com/rubocop/rubocop/issues/13193): Fix false positive in `Style/MultipleComparison` when `ComparisonsThreshold` exceeds 2. (\[[@&#8203;fatkodima](https://redirect.github.com/fatkodima)]\[],\[[@&#8203;vlad-pisanov](https://redirect.github.com/vlad-pisanov)]\[]) - [#&#8203;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`. (\[[@&#8203;kotaro0522](https://redirect.github.com/kotaro0522)]\[]) - [#&#8203;13397](https://redirect.github.com/rubocop/rubocop/pull/13397): Update `PercentLiteralCorrector` to be able to write pairs of delimiters without excessive escaping. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[]) - [#&#8203;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. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[]) - [#&#8203;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. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[]) ##### Changes - [#&#8203;13347](https://redirect.github.com/rubocop/rubocop/pull/13347): When running `rubocop -V`, show the analysis Ruby version of the current directory. (\[[@&#8203;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 4ab52ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ gemspec
44

55
group :development, :test do
66
# ref: http://docs.rubocop.org/en/latest/installation/
7-
gem 'rubocop', '~> 1.67.0', require: false
7+
gem 'rubocop', '~> 1.68.0', require: false
88
gem 'yard', '~> 0.9.20'
99
end

0 commit comments

Comments
 (0)