Title: Update rubocop requirement from ~> 1.73.2 to ~> 1.76.2 by dependabot[bot] · Pull Request #161 · diffcrypt/diffcrypt-ruby · GitHub
Open Graph Title: Update rubocop requirement from ~> 1.73.2 to ~> 1.76.2 by dependabot[bot] · Pull Request #161 · diffcrypt/diffcrypt-ruby
X Title: Update rubocop requirement from ~> 1.73.2 to ~> 1.76.2 by dependabot[bot] · Pull Request #161 · diffcrypt/diffcrypt-ruby
Description: Updates the requirements on rubocop to permit the latest version.
Release notes
Sourced from rubocop's releases.
RuboCop v1.76.2
Bug fixes
#14273: Fix an error for Lint/EmptyInterpolation when using a boolean literal inside interpolation. (@koic)
#14260: Fix an error for Lint/UselessDefaultValueArgument when fetch call without a receiver. (@koic)
#14267: Fix an error for Style/ConditionalAssignment cop when using one-line branches. (@viralpraxis)
#14275: Fix false positives for Style/RedundantParentheses when using parenthesized one-line pattern matching in endless method definition. (@koic)
#14269: Fix false positives for Style/RedundantSelf when local variable assignment name is used in nested if. (@koic)
#14286: Fix incorrect autocorrect for Lint/SafeNavigationChain when a safe navigation is used on the left-hand side of a - operator when inside an array. (@koic)
Changes
#14232: Add AllowedPatterns and AllowBangMethods configuration to Naming/PredicateMethod. (@dvandersluis)
#14268: Register operator expression range boundaries as offenses in Lint/AmbiguousRange. (@lovro-bikic)
#14264: Offend access modifiers used on top-level in Lint/UselessAccessModifier. (@lovro-bikic)
#14278: Register conditions wrapped in parentheses as offenses in Style/MinMaxComparison. (@lovro-bikic)
Changelog
Sourced from rubocop's changelog.
1.76.2 (2025-06-17)
Bug fixes
#14273: Fix an error for Lint/EmptyInterpolation when using a boolean literal inside interpolation. ([@koic][])
#14260: Fix an error for Lint/UselessDefaultValueArgument when fetch call without a receiver. ([@koic][])
#14267: Fix an error for Style/ConditionalAssignment cop when using one-line branches. ([@viralpraxis][])
#14275: Fix false positives for Style/RedundantParentheses when using parenthesized one-line pattern matching in endless method definition. ([@koic][])
#14269: Fix false positives for Style/RedundantSelf when local variable assignment name is used in nested if. ([@koic][])
#14286: Fix incorrect autocorrect for Lint/SafeNavigationChain when a safe navigation is used on the left-hand side of a - operator when inside an array. ([@koic][])
Changes
#14232: Add AllowedPatterns and AllowBangMethods configuration to Naming/PredicateMethod. ([@dvandersluis][])
#14268: Register operator expression range boundaries as offenses in Lint/AmbiguousRange. ([@lovro-bikic][])
#14264: Offend access modifiers used on top-level in Lint/UselessAccessModifier. ([@lovro-bikic][])
#14278: Register conditions wrapped in parentheses as offenses in Style/MinMaxComparison. ([@lovro-bikic][])
1.76.1 (2025-06-09)
Bug fixes
#14245: Fix an error for Lint/EmptyInterpolation when using primitives in interpolation. ([@ka8725][])
#14233: Fix an error for Style/SafeNavigation when using ternary expression with index access call. ([@koic][])
#14236: Fix an error for Style/SafeNavigation when using ternary expression with operator method call. ([@koic][])
#14249: Fix false positives for Style/RedundantArrayFlatten when Array#join is used with an argument other than the default nil. ([@koic][])
#14239: Fix false positives for Style/RedundantParentheses when using one-line in pattern matching in operator. ([@koic][])
#14240: Fix Naming/PredicateMethod cop error on empty parentheses method body. ([@viralpraxis][])
#14235: Fix Style/SafeNavigation cop error on indexed assignment in ternary expression. ([@viralpraxis][])
#14247: Fix Style/SafeNavigation invalid autocorrection on double colon method call. ([@viralpraxis][])
1.76.0 (2025-06-04)
New features
#12360: Add new Naming/PredicateMethod cop to check that predicate methods end with ? and non-predicate methods do not. ([@dvandersluis][])
#13121: Add new Style/EmptyStringInsideInterpolation cop. ([@zopolis4][])
#14091: Add new cop Style/RedundantArrayFlatten. ([@lovro-bikic][])
#14184: Add new cop Lint/UselessOr. ([@lovro-bikic][])
#14221: Enhance Gemspec department cops to detect offenses if specification variable is it or a numbered parameter. ([@viralpraxis][])
#14166: Add new cop Lint/UselessDefaultValueArgument. ([@lovro-bikic][])
Bug fixes
#14228: Fix a false positive for Style/RedundantParentheses when using a one-line rescue expression as a method argument. ([@koic][])
#14224: Fix false negatives for Style/RedundantParentheses when using one-line pattern matching. ([@koic][])
#14205: False negatives in Style/SafeNavigation when a ternary expression is used in a method argument. ([@steiley][])
#14226: Fix Lint/LiteralAsCondition autocorrect when branches of a condition have comments. ([@zopolis4][])
Changes
... (truncated)
Commits
3676d66 Cut 1.76.2
137e991 Update Changelog
fa9946a Fix typos in Configuration docs
f242a4a Merge pull request #14290 from kozy4324/fix-misleading-message-in-it_block_pa...
a509757 Fix misleading message for using multi-line it parameter in Style/ItBlockPa...
391837c Merge pull request #14289 from duffuniverse/fix-typos-in-cops-docs
d8fd303 Fix typos in Cops docs
b7618fc [Doc] Tweak the doc for Naming/PredicateMethod
88859b1 Merge pull request #14287 from koic/fix_incorrect_autocorrect_for_lint_safe_n...
d7072a4 [Fix #14286] Fix incorrect autocorrect for Lint/SafeNavigationChain
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.76.2 Bug fixes #14273: Fix an error for Lint/EmptyInterpolation wh...
X Description: Updates the requirements on rubocop to permit the latest version. Release notes Sourced from rubocop's releases. RuboCop v1.76.2 Bug fixes #14273: Fix an error for Lint/EmptyInterpolatio...
Opengraph URL: https://github.com/diffcrypt/diffcrypt-ruby/pull/161
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:66dc4b39-eac0-3897-671b-c5164754a3f3 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | E30A:11A4DD:98E104:D2B1D9:69811EF8 |
| html-safe-nonce | ab23cf1697f9aaa0c48729c7cc24d7bdf3c1e7b1a799da48d7185c96eff39670 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMzBBOjExQTRERDo5OEUxMDQ6RDJCMUQ5OjY5ODExRUY4IiwidmlzaXRvcl9pZCI6IjYxMzY1MzAzNjM4MzAzMTI2OTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0aab4b203f5b95e83ca28a72560be29ecf07bcceede066dfddca76a824aca3bb |
| hovercard-subject-tag | pull_request:2600051215 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/161/checks |
| 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.76.2 Bug fixes #14273: Fix an error for Lint/EmptyInterpolation wh... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 39fe8101494cbb823c09b619b68c80cd4d05ab7279997038dbe06bb91608abe1 |
| turbo-cache-control | no-cache |
| 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 full-width full-width-p-0 |
| disable-turbo | false |
| 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