Title: Update rubocop requirement from ~> 1.73.2 to ~> 1.76.1 by dependabot[bot] · Pull Request #160 · diffcrypt/diffcrypt-ruby · GitHub
Open Graph Title: Update rubocop requirement from ~> 1.73.2 to ~> 1.76.1 by dependabot[bot] · Pull Request #160 · diffcrypt/diffcrypt-ruby
X Title: Update rubocop requirement from ~> 1.73.2 to ~> 1.76.1 by dependabot[bot] · Pull Request #160 · diffcrypt/diffcrypt-ruby
Description: Updates the requirements on rubocop to permit the latest version.
Release notes
Sourced from rubocop's releases.
RuboCop v1.76.1
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)
Changelog
Sourced from rubocop's changelog.
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
#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][])
... (truncated)
Commits
c74a5b3 Cut 1.76.1
c78ad7a Update Changelog
0bd38ff [Fix #14249] Fix false positives for Style/RedundantArrayFlatten
bf52626 Improve expect_offense interpolation documentation
d0dfd68 Add new rake task to verify config references availability
44f5eb7 Merge pull request #14259 from koic/fix_build_error_on_windows_matrix
ed880df Fix build errors on Winsows matrix
9316b04 Merge pull request #14244 from koic/fix_false_positives_for_style_redundant_p...
bb32f69 Merge pull request #14252 from koic/workaround_ruby_lsp_0_24
067da9d Workaround to avoid build error in Ruby LSP add-on test with Ruby LSP 0.24
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.1 Bug fixes #14245: 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.1 Bug fixes #14245: Fix an error for Lint/EmptyInterpolatio...
Opengraph URL: https://github.com/diffcrypt/diffcrypt-ruby/pull/160
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:68150fa5-00fb-e5b9-dc6c-fad834f3c829 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | B8C2:A473E:D125B7:1163F66:698051C7 |
| html-safe-nonce | 8a6d981f0dbb82baa5ad3eba78a6dbf7178c1d106b3678532b882736aaa6c4ad |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOEMyOkE0NzNFOkQxMjVCNzoxMTYzRjY2OjY5ODA1MUM3IiwidmlzaXRvcl9pZCI6IjcxNjc3NTUyNDE0MTUyNjY3NTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9ae00944d0b2a82a46f31cf740c67ae4a7c5a6a33a5375ae9af5402154b00262 |
| hovercard-subject-tag | pull_request:2579613549 |
| 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/160/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.1 Bug fixes #14245: Fix an error for Lint/EmptyInterpolation wh... |
| 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