Title: Update rubocop requirement from ~> 1.73.2 to ~> 1.79.0 by dependabot[bot] · Pull Request #164 · diffcrypt/diffcrypt-ruby · GitHub
Open Graph Title: Update rubocop requirement from ~> 1.73.2 to ~> 1.79.0 by dependabot[bot] · Pull Request #164 · diffcrypt/diffcrypt-ruby
X Title: Update rubocop requirement from ~> 1.73.2 to ~> 1.79.0 by dependabot[bot] · Pull Request #164 · diffcrypt/diffcrypt-ruby
Description: Updates the requirements on rubocop to permit the latest version.
Release notes
Sourced from rubocop's releases.
RuboCop v1.79.0
New features
#14348: Add new cop Layout/EmptyLinesAfterModuleInclusion. (@lovro-bikic)
#14374: Enhance Naming/MethodName cop to detect offenses within Data members. (@viralpraxis)
Bug fixes
#14373: Fix an error for Style/ParallelAssignment when a lambda with parallel assignment is used on the RHS. (@koic)
#14370: Fix comment duplication bug in Style/AccessorGrouping separated autocorrect. (@r7kamura)
#14377: Fix a false positive for Lint/UselessAssignment when the assignment is inside a loop body. (@5hun-s)
#14355: Fix a false negative for Style/RedundantParentheses when using parentheses around a rescue expression on a one-line. (@koic)
#14354: Fix incorrect autocorrect for Style/AccessModifierDeclarations when using a grouped access modifier declaration. (@girasquid)
#14367: Fix an incorrect autocorrect for Style/SingleLineMethods when defining a single-line singleton method. (@koic)
#14344: Fix incorrect autocorrect for Style/SingleLineMethods when a single-line method definition contains a modifier. (@koic)
#14350: Fix Naming/MethodName cop false positives with define_method and operator names. (@viralpraxis)
#14333: Fix Naming/PredicateMethod ignoring the implicit nil from missing else branches. (@earlopain)
#14356: Fix Style/ItBlockParameter cop error on always style and missing block body. (@viralpraxis)
#14362: Update Lint/RequireRangeParentheses to not register false positives when range elements span multiple lines. (@dvandersluis)
#14309: Update Style/SoleNestedConditional to properly correct assignments within and. (@dvandersluis)
Changes
#14358: Add tsort gem to runtime dependency for Ruby 3.5-dev. (@koic)
#14322: Expand the scope of Style/ItAssignment to consider all local variable and method parameter names. (@dvandersluis)
#14378: Change Layout/SpaceAroundKeyword to offend for missing whitespace between return and opening parenthesis. (@lovro-bikic)
#14360: Make Layout/SpaceAroundOperators aware of alternative and as pattern matchings. (@koic)
#14375: Make Lint/RedundantSafeNavigation aware of builtin convert methods to_s, to_i, to_f, to_a, and to_h. (@koic)
#13835: Add InferNonNilReceiver config to Lint/RedundantSafeNavigation to check previous code paths if the receiver is non-nil. (@fatkodima)
#14381: Offend array1.any? { |elem| array2.member?(elem) } and array1.none? { |elem| array2.member?(elem) } in Style/ArrayIntersect. (@lovro-bikic)
Changelog
Sourced from rubocop's changelog.
1.79.0 (2025-07-24)
New features
#14348: Add new cop Layout/EmptyLinesAfterModuleInclusion. ([@lovro-bikic][])
#14374: Enhance Naming/MethodName cop to detect offenses within Data members. ([@viralpraxis][])
Bug fixes
#14373: Fix an error for Style/ParallelAssignment when a lambda with parallel assignment is used on the RHS. ([@koic][])
#14370: Fix comment duplication bug in Style/AccessorGrouping separated autocorrect. ([@r7kamura][])
#14377: Fix a false positive for Lint/UselessAssignment when the assignment is inside a loop body. ([@5hun-s][])
#14355: Fix a false negative for Style/RedundantParentheses when using parentheses around a rescue expression on a one-line. ([@koic][])
#14354: Fix incorrect autocorrect for Style/AccessModifierDeclarations when using a grouped access modifier declaration. ([@girasquid][])
#14367: Fix an incorrect autocorrect for Style/SingleLineMethods when defining a single-line singleton method. ([@koic][])
#14344: Fix incorrect autocorrect for Style/SingleLineMethods when a single-line method definition contains a modifier. ([@koic][])
#14350: Fix Naming/MethodName cop false positives with define_method and operator names. ([@viralpraxis][])
#14333: Fix Naming/PredicateMethod ignoring the implicit nil from missing else branches. ([@earlopain][])
#14356: Fix Style/ItBlockParameter cop error on always style and missing block body. ([@viralpraxis][])
#14362: Update Lint/RequireRangeParentheses to not register false positives when range elements span multiple lines. ([@dvandersluis][])
#14309: Update Style/SoleNestedConditional to properly correct assignments within and. ([@dvandersluis][])
Changes
#14358: Add tsort gem to runtime dependency for Ruby 3.5-dev. ([@koic][])
#14322: Expand the scope of Style/ItAssignment to consider all local variable and method parameter names. ([@dvandersluis][])
#14378: Change Layout/SpaceAroundKeyword to offend for missing whitespace between return and opening parenthesis. ([@lovro-bikic][])
#14360: Make Layout/SpaceAroundOperators aware of alternative and as pattern matchings. ([@koic][])
#14375: Make Lint/RedundantSafeNavigation aware of builtin convert methods to_s, to_i, to_f, to_a, and to_h. ([@koic][])
#13835: Add InferNonNilReceiver config to Lint/RedundantSafeNavigation to check previous code paths if the receiver is non-nil. ([@fatkodima][])
#14381: Offend array1.any? { |elem| array2.member?(elem) } and array1.none? { |elem| array2.member?(elem) } in Style/ArrayIntersect. ([@lovro-bikic][])
1.78.0 (2025-07-08)
New features
#14331: Enhance Naming/MethodName cop to detect offenses within define_method calls. ([@viralpraxis][])
#14325: Enhance Naming/MethodName cop to handle offenses within Struct members. ([@viralpraxis][])
#14335: Enhance Security/Eval cop to detect Kernel.eval calls. ([@viralpraxis][])
Bug fixes
#14343: Fix autocorrect code for Style/HashConversion to avoid syntax error. ([@koic][])
#14346: Avoid requiring parentheses for Style/SingleLineMethods. ([@koic][])
#14339: Fix bug where specifying --format disables parallelization. ([@r7kamura][])
#14300: Fix false positives for Lint/DuplicateMethods cop when self-alias trick is used. ([@viralpraxis][])
#14329: Fix false positives for Lint/LiteralAsCondition when a literal is used inside || in case condition. ([@koic][])
#14326: Fix additional autocorrection errors in Style/HashConversion for nested Hash[] calls. ([@dvandersluis][])
#14031: Honor --config options on server mode. ([@steiley][])
#14319: Fix the following incorrect autocorrect for Lint/RedundantTypeConversion when using parentheses with no arguments or any arguments. ([@koic][])
... (truncated)
Commits
1c543c8 Cut 1.79
966ece8 Update Changelog
71350c6 Register offense for Array#any? and Array#none? blocks in Style/ArrayIntersec...
e92b13a Tweak autocorrect code for InternalAffairs/NodeTypeGroup
6c522f8 Fix a typo
d4809c1 Change Layout/SpaceAroundKeyword to offend for missing whitespace between ret...
2013dd6 Merge pull request #14377 from 5hun-s/fix_false_negative_for_lint_useless_ass...
bfe8ff3 Fix a false positive for Lint/UselessAssignment
57a4580 Merge pull request #14376 from viralpraxis/fix-14375-changelog-entry
a4cd639 Follow-up to #14375: fix changelog entry
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.79.0 New features #14348: Add new cop Layout/EmptyLinesAfterModule...
X Description: Updates the requirements on rubocop to permit the latest version. Release notes Sourced from rubocop's releases. RuboCop v1.79.0 New features #14348: Add new cop Layout/EmptyLinesAfterMo...
Opengraph URL: https://github.com/diffcrypt/diffcrypt-ruby/pull/164
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:18ba0028-21a5-4c6a-7413-acf38a57b91b |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E79E:3BF645:D6A21B:11848F5:698022A3 |
| html-safe-nonce | e13b5fca50cb0dfdda557f6ee597fff8d1c1f8d4577aa5a0cc7c9062010a0dce |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzlFOjNCRjY0NTpENkEyMUI6MTE4NDhGNTo2OTgwMjJBMyIsInZpc2l0b3JfaWQiOiI0MTI3MjYzMzExNzg1ODk0NTYzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b7ffff8e3ab643cf955d472d82cbeaf4a31abe946175c3dc5fa7d92258949915 |
| hovercard-subject-tag | pull_request:2693391789 |
| 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/164/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.79.0 New features #14348: Add new cop Layout/EmptyLinesAfterModule... |
| 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