Title: Update rubocop requirement from ~> 1.73.2 to ~> 1.78.0 by dependabot[bot] · Pull Request #163 · diffcrypt/diffcrypt-ruby · GitHub
Open Graph Title: Update rubocop requirement from ~> 1.73.2 to ~> 1.78.0 by dependabot[bot] · Pull Request #163 · diffcrypt/diffcrypt-ruby
X Title: Update rubocop requirement from ~> 1.73.2 to ~> 1.78.0 by dependabot[bot] · Pull Request #163 · diffcrypt/diffcrypt-ruby
Description: Updates the requirements on rubocop to permit the latest version.
Release notes
Sourced from rubocop's releases.
RuboCop v1.78.0
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)
#14336: Fix incorrect autocorrect for Style/ItBlockParameter when using a single numbered parameter after multiple numbered parameters in a method chain. (@koic)
#11782: Move pending cops warning out of ConfigLoader. (@nobuyo)
Changes
#14318: Add WaywardPredicates config to Naming/PredicateMethod to handle methods that look like predicates but aren't. (@dvandersluis)
Changelog
Sourced from rubocop's changelog.
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][])
#14336: Fix incorrect autocorrect for Style/ItBlockParameter when using a single numbered parameter after multiple numbered parameters in a method chain. ([@koic][])
#11782: Move pending cops warning out of ConfigLoader. ([@nobuyo][])
Changes
#14318: Add WaywardPredicates config to Naming/PredicateMethod to handle methods that look like predicates but aren't. ([@dvandersluis][])
1.77.0 (2025-06-20)
New features
#14223: Add new Gemspec/AttributeAssignment cop. ([@viralpraxis][])
#14128: Allow long fully-qualified namespace strings to exceed max length. ([@niranjan-patil][])
#14288: Add new cop Style/CollectionQuerying. ([@lovro-bikic][])
#14165: Add new DefaultToNil option to Style/FetchEnvVar cop. ([@Yuhi-Sato][])
#14314: Enhance Gemspec/RequireMFA cop autocorrect to insert MFA directive after last metadata assignment. ([@viralpraxis][])
#14159: Enhance Layout/SpaceInsideArrayLiteralBrackets cop to analyze nested constant patterns. ([@viralpraxis][])
Bug fixes
#14306: Fix an error for Style/HashConversion when using nested Hash[]. ([@koic][])
#14298: Fix an error for Style/SoleNestedConditional when autocorrecting nested if/unless/if. ([@ssagara00][])
#14313: Fix a false positive for Layout/SpaceBeforeBrackets when call desugared Hash#[] to lvar receiver with a space around the dot. ([@koic][])
#14292: Fix false positives for Style/RedundantParentheses when assigning a parenthesized one-line in pattern matching. ([@koic][])
#14296: Fix false positives for Style/RedundantSelf when receiver and lvalue have the same name in or-assignment. ([@koic][])
#14303: Fix Lint/SelfAssignment to allow inline RBS comments. ([@Morriar][])
#14307: Fix Style/MethodCallWithArgsParentheses false positive on forwarded keyword argument with additional arguments. ([@viralpraxis][])
#14301: Fix autocorrection syntax error for multiline expressions in Style/RedundantParentheses. ([@lovro-bikic][])
Changes
#14295: Update Naming/PredicateMethod to consider negation (!/not) as boolean values. ([@dvandersluis][])
... (truncated)
Commits
dd441f4 Cut 1.78
0687f04 Update Changelog
9322c7d Tweak docstring
2508d94 Fix false positives for Lint/DuplicateMethods when the self-alias trick is used
9582c40 [Fix #11782] Move pending cops warning out of ConfigLoader
6c863b3 [Fix #14346] Avoid requiring parentheses for Style/SingleLineMethods
0b08bb8 Merge pull request #14343 from koic/fix_autocorrect_for_style_hash_conversion
0ef54b5 Fix autocorrect for Style/HashConversion to avoid syntax error
01fdcbb Remove redundant method call in def_node_matcher
a80d92b [Doc] Remove redundant blank line
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.78.0 New features #14331: Enhance Naming/MethodName cop to detect ...
X Description: Updates the requirements on rubocop to permit the latest version. Release notes Sourced from rubocop's releases. RuboCop v1.78.0 New features #14331: Enhance Naming/MethodName cop to det...
Opengraph URL: https://github.com/diffcrypt/diffcrypt-ruby/pull/163
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:021aa8dc-2544-04ec-c4be-237ce9a6a21a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 840A:50A0F:890545:B8D7A7:69812C3D |
| html-safe-nonce | cec6a4a2e41a76ac66ba3a7bb89997ac496eee9566c88b3b9f65e94271399f63 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NDBBOjUwQTBGOjg5MDU0NTpCOEQ3QTc6Njk4MTJDM0QiLCJ2aXNpdG9yX2lkIjoiMTY5MjA4MzAzMTgxMDA1OTMyNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1bb042dfe68534271c305e5cd6375ccf1c4d11d0cfa3beb017d05298418333c1 |
| hovercard-subject-tag | pull_request:2651098606 |
| 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/163/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.78.0 New features #14331: Enhance Naming/MethodName cop to detect ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 39fe8101494cbb823c09b619b68c80cd4d05ab7279997038dbe06bb91608abe1 |
| 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 | d5b34a4e4898b066c629879feb4b184bc471d6a7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width