Title: Update rubocop requirement from ~> 1.73.2 to ~> 1.81.0 by dependabot[bot] · Pull Request #170 · diffcrypt/diffcrypt-ruby · GitHub
Open Graph Title: Update rubocop requirement from ~> 1.73.2 to ~> 1.81.0 by dependabot[bot] · Pull Request #170 · diffcrypt/diffcrypt-ruby
X Title: Update rubocop requirement from ~> 1.73.2 to ~> 1.81.0 by dependabot[bot] · Pull Request #170 · diffcrypt/diffcrypt-ruby
Description: Updates the requirements on rubocop to permit the latest version.
Release notes
Sourced from rubocop's releases.
RuboCop v1.81.0
New features
#14512: Add Style/ArrayIntersectWithSingleElement cop. (@r7kamura)
#10971: Support EnforcedStyleForMultiline: diff_comma in Style/TrailingCommaInArguments. (@akouryy)
Bug fixes
#14560: Fix an error for Style/NilComparison cop when using the var.==(nil) and var.===(nil) syntax. (@viralpraxis)
#14535: Fix autocorrect for Style/ExplicitBlockArgument when there are two methods that share the same implementation. (@earlopain)
#14527: Fix false negatives for Style/NumberedParameters and Style/ItBlockParameter when using multiline method chain with EnforcedStyle: allow_single_line. (@koic)
#14522: Fix false negatives for Layout/MultilineOperationIndentation when using indented code on LHS of equality operator in modifier method definition. (@koic)
#14496: Fix false negatives for Layout/EmptyLineBetweenDefs for AllowAdjacentOneLineDefs: false and DefLikeMacros that take no block. (@earlopain)
#14553: Fix false positives when EnforcedStyle: allowed_in_returns and !! appears across multiple lines in return position. (@koic)
#14557: Fix false positives for Style/RedundantParentheses when parentheses are used around a one-line rescue expression as a condition. (@koic)
#14525: Fix false positives for Style/RedundantRegexpEscape when an escaped variable sigil follows # (e.g., /#\@foo/, /#\@@bar/, /#\$baz/). (@koic)
#14529: Fix false negative in Layout/RescueEnsureAlignment with a block whose send node is split over multiple lines. (@dvandersluis)
#14528: Fix Style/RedundantFormat when the format string has a variable width that isn't given as a literal value. (@dvandersluis)
#14541: Fix gemspec parsing error when ParserEngine: parser_prism is configured in a base config file. (@sudoremo)
#14544: Fix an incorrect autocorrect for Lint/Void when using a return value in assignment method definition. (@koic)
#14543: Fix an incorrect autocorrect for Style/RedundantRegexpArgument when using escaped single quote character. (@koic)
#14540: Fix an incorrect autocorrect for Style/UnlessElse when using unless with then. (@koic)
#14507: Fix the built-in Ruby LSP add-on not restarting when config files (.rubocop.yml, .rubocop_todo.yml) change. (@earlopain)
#14514: Fix the built-in Ruby LSP add-on not respecting .rubocop config file. (@earlopain)
#14508: Fix the built-in Ruby LSP add-on getting in an irrecoverable state when the config is invalid on startup. (@earlopain)
#14534: Prevent Layout/LineLength autocorrection from splitting a block if its receiver contains a heredoc. (@dvandersluis)
#14497: Fix a false positive for Lint/ShadowedArgument when assigning inside a rescue block. (@earlopain)
Changes
#14492: Add support for LSP positionEncoding utf-8 and utf-32. (@tmtm)
Changelog
Sourced from rubocop's changelog.
1.81.0 (2025-09-25)
New features
#14512: Add Style/ArrayIntersectWithSingleElement cop. ([@r7kamura][])
#10971: Support EnforcedStyleForMultiline: diff_comma in Style/TrailingCommaInArguments. ([@akouryy][])
Bug fixes
#14560: Fix an error for Style/NilComparison cop when using the var.==(nil) and var.===(nil) syntax. ([@viralpraxis][])
#14535: Fix autocorrect for Style/ExplicitBlockArgument when there are two methods that share the same implementation. ([@earlopain][])
#14527: Fix false negatives for Style/NumberedParameters and Style/ItBlockParameter when using multiline method chain with EnforcedStyle: allow_single_line. ([@koic][])
#14522: Fix false negatives for Layout/MultilineOperationIndentation when using indented code on LHS of equality operator in modifier method definition. ([@koic][])
#14496: Fix false negatives for Layout/EmptyLineBetweenDefs for AllowAdjacentOneLineDefs: false and DefLikeMacros that take no block. ([@earlopain][])
#14553: Fix false positives when EnforcedStyle: allowed_in_returns and !! appears across multiple lines in return position. ([@koic][])
#14557: Fix false positives for Style/RedundantParentheses when parentheses are used around a one-line rescue expression as a condition. ([@koic][])
#14525: Fix false positives for Style/RedundantRegexpEscape when an escaped variable sigil follows # (e.g., /#\@foo/, /#\@@bar/, /#\$baz/). ([@koic][])
#14529: Fix false negative in Layout/RescueEnsureAlignment with a block whose send node is split over multiple lines. ([@dvandersluis][])
#14528: Fix Style/RedundantFormat when the format string has a variable width that isn't given as a literal value. ([@dvandersluis][])
#14541: Fix gemspec parsing error when ParserEngine: parser_prism is configured in a base config file. ([@sudoremo][])
#14544: Fix an incorrect autocorrect for Lint/Void when using a return value in assignment method definition. ([@koic][])
#14543: Fix an incorrect autocorrect for Style/RedundantRegexpArgument when using escaped single quote character. ([@koic][])
#14540: Fix an incorrect autocorrect for Style/UnlessElse when using unless with then. ([@koic][])
#14507: Fix the built-in Ruby LSP add-on not restarting when config files (.rubocop.yml, .rubocop_todo.yml) change. ([@earlopain][])
#14514: Fix the built-in Ruby LSP add-on not respecting .rubocop config file. ([@earlopain][])
#14508: Fix the built-in Ruby LSP add-on getting in an irrecoverable state when the config is invalid on startup. ([@earlopain][])
#14534: Prevent Layout/LineLength autocorrection from splitting a block if its receiver contains a heredoc. ([@dvandersluis][])
#14497: Fix a false positive for Lint/ShadowedArgument when assigning inside a rescue block. ([@earlopain][])
Changes
#14492: Add support for LSP positionEncoding utf-8 and utf-32. ([@tmtm][])
1.80.2 (2025-09-03)
Bug fixes
#14477: Fix a false positive for Style/SafeNavigation when using ternary expression with index access call with method chain. ([@koic][])
#14486: Fix false positives for Style/RedundantParentheses with unary operators and yield, super, or defined?. ([@earlopain][])
#14489: Fix false negatives for Style/RedundantParentheses with method calls taking argument without parentheses like return (x y) if z. ([@earlopain][])
#14499: Fix wrong autocorrect for Style/StringConcatenation when a double-quoted string contains escaped quotes and interpolation. ([@earlopain][])
#14502: Fix wrong autocorrect for Style/StringConcatenation when a single-quoted string contains interpolation like '#{foo}'. ([@earlopain][])
Changes
#14493: Make Naming/PredicateMethod allow the initialize method. ([@koic][])
1.80.1 (2025-08-27)
Bug fixes
... (truncated)
Commits
386bf10 Cut 1.81
148250d Update Changelog
face244 Fix an error for Style/NilComparison cop
d8c1d4c Fix an error for InternalAffairsOnSendWithoutOnCSend with alias_method an...
ec897ea Merge pull request #14551 from Earlopain/empty-line-def-macro-no-block
076ba7b [Fix #14496] Fix false negatives for Layout/EmptyLineBetweenDefs with `Allo...
f669aaa [Fix #14557] Fix false positives for Style/RedundantParentheses
d0bc9e1 [Fix #14541] Fix gemspec parsing error when parser_prism is configured
3a0260d [Fix #10971] Add diff_comma option to Style/TrailingCommaInArguments
f92d6e1 [Fix #14544] Fix an incorrect autocorrect for Lint/Void
Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase will rebase this PR
@dependabot recreate will recreate this PR, overwriting any edits that have been made to it
@dependabot merge will merge this PR after your CI passes on it
@dependabot squash and merge will squash and merge this PR after your CI passes on it
@dependabot cancel merge will cancel a previously requested merge and block automerging
@dependabot reopen will reopen this PR if it is closed
@dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
@dependabot show
Open Graph Description: Updates the requirements on rubocop to permit the latest version. Release notes Sourced from rubocop's releases. RuboCop v1.81.0 New features #14512: Add Style/ArrayIntersectWithSingleElemen...
X Description: Updates the requirements on rubocop to permit the latest version. Release notes Sourced from rubocop's releases. RuboCop v1.81.0 New features #14512: Add Style/ArrayIntersectWithSingleEl...
Opengraph URL: https://github.com/diffcrypt/diffcrypt-ruby/pull/170
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:29c1b5d5-642a-8406-6a87-1c12206fbb63 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9870:271562:164A63:1CDFA8:698022A2 |
| html-safe-nonce | c946bfed9b028b0840c867a404a135361042d948435a8000ae24f28f2dee3e89 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODcwOjI3MTU2MjoxNjRBNjM6MUNERkE4OjY5ODAyMkEyIiwidmlzaXRvcl9pZCI6IjY1NTMyMTU4MTU4NzE2MzYxMzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5b08486066cbb42b1b48a7bdf72774bb5959eaaa3edd2a9678faf42eab15550f |
| hovercard-subject-tag | pull_request:2862047394 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/diffcrypt/diffcrypt-ruby/pull/170/files |
| twitter:image | https://avatars.githubusercontent.com/in/29110?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/in/29110?s=400&v=4 |
| og:image:alt | Updates the requirements on rubocop to permit the latest version. Release notes Sourced from rubocop's releases. RuboCop v1.81.0 New features #14512: Add Style/ArrayIntersectWithSingleElemen... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/diffcrypt/diffcrypt-ruby git https://github.com/diffcrypt/diffcrypt-ruby.git |
| octolytics-dimension-user_id | 77545058 |
| octolytics-dimension-user_login | diffcrypt |
| octolytics-dimension-repository_id | 275567034 |
| octolytics-dimension-repository_nwo | diffcrypt/diffcrypt-ruby |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 275567034 |
| octolytics-dimension-repository_network_root_nwo | diffcrypt/diffcrypt-ruby |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width