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/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:4076ceab-d6d8-f196-d37d-0b8301198241 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E1D8:1511B9:2C94A:3AA26:69825F28 |
| html-safe-nonce | 0b1ed2256d7627435cda4ed21422060ab897ded326231b76bfeee5590a28c3e3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMUQ4OjE1MTFCOToyQzk0QTozQUEyNjo2OTgyNUYyOCIsInZpc2l0b3JfaWQiOiIyMzc3NzU4OTc0MTgwMjIwNzEyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d058b6350c3e8a03151d3960f1de97257e6f979fef4654a643189c0fa6fbcd3e |
| hovercard-subject-tag | pull_request:2600051215 |
| 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/161/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.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 | 2bc3c2e32013a4dd01fdb54fd1244a7e41120ff63edbc321c8a14178d8474054 |
| 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 | 5f31d9afe0fd4cabff2441cbbd77c7f545418340 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width