Title: Update rubocop requirement from ~> 1.73.2 to ~> 1.76.0 by dependabot[bot] · Pull Request #159 · diffcrypt/diffcrypt-ruby · GitHub
Open Graph Title: Update rubocop requirement from ~> 1.73.2 to ~> 1.76.0 by dependabot[bot] · Pull Request #159 · diffcrypt/diffcrypt-ruby
X Title: Update rubocop requirement from ~> 1.73.2 to ~> 1.76.0 by dependabot[bot] · Pull Request #159 · diffcrypt/diffcrypt-ruby
Description: Updates the requirements on rubocop to permit the latest version.
Release notes
Sourced from rubocop's releases.
RuboCop v1.76.0
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
#14066: Add EnforcedStyle: allow_single_line as the default to Style/ItBlockParameter. (@koic)
#13788: Disable Lint/ShadowingOuterLocalVariable by default. (@nekketsuuu)
#14215: Recognize inequation (!=) in Lint/IdentityComparison. (@lovro-bikic)
Changelog
Sourced from rubocop's changelog.
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
#14066: Add EnforcedStyle: allow_single_line as the default to Style/ItBlockParameter. ([@koic][])
#13788: Disable Lint/ShadowingOuterLocalVariable by default. ([@nekketsuuu][])
#14215: Recognize inequation (!=) in Lint/IdentityComparison. ([@lovro-bikic][])
1.75.8 (2025-05-28)
Bug fixes
#14191: Fix Lint/FloatComparison cop to detect floating-point number comparisons in case statements. ([@daisuke][])
#14209: Fix an error for Style/RedundantFormat with invalid format arguments. ([@earlopain][])
#14200: Fix false positives for Style/DefWithParentheses when using endless method definition with empty parentheses and a space before =. ([@koic][])
#14197: Fix infinite loop error for EnforcedStyle: with_fixed_indentation of Layout/ArgumentAlignment and EnforcedStyle: consistent of Layout/FirstArgumentIndentation and Layout/HashAlignment. ([@koic][])
#14204: Fix Layout/EmptyLinesAroundAccessModifier cop error on trailing access modifier. ([@viralpraxis][])
#14198: Fix Lint/DuplicateMethods cop error on to option is dynamically generated and prefix is enabled. ([@viralpraxis][])
#14199: Fix wrong autocorrection for Style/MapToHash with destructuring argument. ([@lovro-bikic][])
#14050: Modify condition for rubocop:todo EOL comment. ([@jonas054][])
1.75.7 (2025-05-21)
Bug fixes
#14185: Fix an error for Style/IfUnlessModifierOfIfUnless when using nested modifier. ([@koic][])
#14192: Fix negatives for Layout/SpaceBeforeBrackets when using space between method argument parentheses and left bracket. ([@koic][])
#14189: Fix incorrect autocorrect for Layout/SpaceBeforeBrackets when using space between receiver and left brackets, and a space inside left bracket. ([@koic][])
#14170: Fix Style/AccessModifierDeclarations cop error on semicolon after modifier. ([@viralpraxis][])
#14195: Fix Style/AccessModifierDeclarations cop error on symbol modifier without surrounding scope. ([@viralpraxis][])
#14172: Fix Style/AccessModifierDeclarations cop false positives when there are no method definitions and style is inline. ([@viralpraxis][])
#14193: Fix Lint/UselessAssignment cop error when using nested assignment with splat. ([@earlopain][])
Changes
... (truncated)
Commits
190a64d Cut 1.76
f62809d Update Changelog
329b580 Use RuboCop::AST::Node#any_match_pattern_type? method
9368339 [Fix #14228] Fix false positive for Style/RedundantParentheses
16efaa9 Merge pull request #14226 from Zopolis4/standee
af29d5c Fix Lint/LiteralAsCondition autocorrect when branches of a condition have c...
173db55 Add new cop Lint/UselessOr
c977def Merge pull request #14225 from viralpraxis/fix-style-empty-string-inside-inte...
fac13c5 Fix Style/EmptyStringInsideInterpolation cop error on non-string literal
25a7eef Fix false negatives for Style/RedundantParentheses
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.0 New features #12360: Add new Naming/PredicateMethod cop to ch...
X Description: Updates the requirements on rubocop to permit the latest version. Release notes Sourced from rubocop's releases. RuboCop v1.76.0 New features #12360: Add new Naming/PredicateMethod cop t...
Opengraph URL: https://github.com/diffcrypt/diffcrypt-ruby/pull/159
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:d07a4e9a-9c19-1277-fd0d-7c7e7b0f1e63 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 9458:28400F:DAB2E2:11C5A75:698022B9 |
| html-safe-nonce | cde1274fdffbcbc2c595b1a0856c13164e1b0a6d1830d22d968642e15641dd7e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NDU4OjI4NDAwRjpEQUIyRTI6MTFDNUE3NTo2OTgwMjJCOSIsInZpc2l0b3JfaWQiOiI3MzgyMjEyNzQ2NzM1MDAyMjk3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a6f9044fe6f7a86252e76f00a823b56f37753bd6aae7b273a635a5efef09dd52 |
| hovercard-subject-tag | pull_request:2568603245 |
| 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/159/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.0 New features #12360: Add new Naming/PredicateMethod cop to ch... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| 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 | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width