Title: Update rubocop requirement from ~> 1.73.2 to ~> 1.84.0 by dependabot[bot] · Pull Request #177 · diffcrypt/diffcrypt-ruby · GitHub
Open Graph Title: Update rubocop requirement from ~> 1.73.2 to ~> 1.84.0 by dependabot[bot] · Pull Request #177 · diffcrypt/diffcrypt-ruby
X Title: Update rubocop requirement from ~> 1.73.2 to ~> 1.84.0 by dependabot[bot] · Pull Request #177 · diffcrypt/diffcrypt-ruby
Description: Updates the requirements on rubocop to permit the latest version.
Release notes
Sourced from rubocop's releases.
RuboCop v1.84.0
New features
#14516: Add AllowImplicitArrayLiterals to Layout/FirstArrayElementLineBreak. (@koic)
#14750: Add new Style/ReverseFind cop. (@koic)
#12343: Add new Style/EmptyClassDefinition cop to enforce consistent style for empty class definitions. The cop can enforce either a two-line class definition or Class.new for classes with no body. (@ydakuka)
#14769: Add new Style/HashLookupMethod cop to enforce Hash#[] vs Hash#fetch preference. (@sferik)
#12051: Add new Style/NegativeArrayIndex cop to enforce using negative array indices instead of calculating array length minus a value. The cop handles both simple index patterns and range patterns, and recognizes preserving methods and their combinations. (@ydakuka)
#14633: Make a new system to handle push and pop locally. (@Magikdidi24)
#14722: Support TargetRubyVersion 4.1 (experimental). (@koic)
Bug fixes
#14697: Allow non-method calls in Categories for Layout/ClassStructure. (@fatkodima)
#14784: Fix an error for Style/GuardClause when using heredoc as an argument of raise in else branch and if branch is empty. (@koic)
#14790: Fix an error for Style/HashLookupMethod cop when there's no receiver. (@viralpraxis)
#14779: Fix autocorrect crash with ruby_extractor when using offset: 0 and different source buffers. (@ydakuka)
#14762: Fix false negatives for Style/RedundantCondition when the branches contains constant assignment. (@koic)
#14751: Fix --force-default-config not preventing project config loading when used with options that access configuration. (@sakuro)
#14783: Fix incorrect autocorrect for Style/HashSyntax when shorthand syntax is used in condition of if/unless/while/until. (@ydakuka)
#14747: Fix a regression inLayout/IndentationWidth by adding a new EnforcedStyleAlignWith style parameter. (@MikeMcQuaid)
#14716: Fix an infinite loop error for Layout/LineLength when SplitStrings option is enabled and strings span multiple lines. (@HariprasanthMSH)
#14763: Fix an infinite loop error for Layout/IndentationWidth and Layout/IndentationConsistency when using EnforcedStyle: indented_internal_methods with method chain blocks. (@ydakuka)
#9373: Fix an infinite loop error for Layout/IndentationWidth when autocorrecting mixed tabs and spaces in blocks. Fix an infinite loop error for Layout/DefEndAlignment and Layout/IndentationStyle when autocorrecting mixed tabs and spaces. Autocorrection for tabs is disabled in AlignmentCorrector for indentation offenses, but enabled for align_end. (@ydakuka)
#12295: Fix Layout/FirstArgumentIndentation to correct entire method calls and chains for nested calls. (@ydakuka)
#12527: Fix Offense#highlighted_area to return a valid Parser::Source::Range. (@ydakuka)
#14801: Preserve source tabs in Clang and Tap formatters when displaying offense highlight. (@lovro-bikic)
#14761: Improved the remote configuration file name on the cache location. ([@Jack12816][])
#14778: Fix a false positive for Security/JSONLoad when create_additions option is passed with other options in a hash. ([@wktk][])
#14796: Handle logical and operator assignment nodes in variable branch handling. (@lovro-bikic)
Changes
#14753: Add support for squish and squish! applied to heredoc to Layout/HeredocIndentation. (@lovro-bikic)
#14798: Recognize Forwardable methods in Lint/DuplicateMethods. (@lovro-bikic)
#14793: Make Lint/RedundantSplatExpansion aware of constant assignment. (@koic)
#14770: Make Style/AccessModifierDeclarations aware of self class. (@koic)
#14748: Add support for other Module member existence methods to Style/ModuleMemberExistenceCheck. (@lovro-bikic)
#14795: Add AllowedMethods configuration to Style/ModuleMemberExistenceCheck. (@lovro-bikic)
... (truncated)
Changelog
Sourced from rubocop's changelog.
1.84.0 (2026-01-27)
New features
#14516: Add AllowImplicitArrayLiterals to Layout/FirstArrayElementLineBreak. ([@koic][])
#14750: Add new Style/ReverseFind cop. ([@koic][])
#12343: Add new Style/EmptyClassDefinition cop to enforce consistent style for empty class definitions. The cop can enforce either a two-line class definition or Class.new for classes with no body. ([@ydakuka][])
#14769: Add new Style/HashLookupMethod cop to enforce Hash#[] vs Hash#fetch preference. ([@sferik][])
#12051: Add new Style/NegativeArrayIndex cop to enforce using negative array indices instead of calculating array length minus a value. The cop handles both simple index patterns and range patterns, and recognizes preserving methods and their combinations. ([@ydakuka][])
#14633: Make a new system to handle push and pop locally. ([@Magikdidi24][])
#14722: Support TargetRubyVersion 4.1 (experimental). ([@koic][])
Bug fixes
#14697: Allow non-method calls in Categories for Layout/ClassStructure. ([@fatkodima][])
#14784: Fix an error for Style/GuardClause when using heredoc as an argument of raise in else branch and if branch is empty. ([@koic][])
#14790: Fix an error for Style/HashLookupMethod cop when there's no receiver. ([@viralpraxis][])
#14779: Fix autocorrect crash with ruby_extractor when using offset: 0 and different source buffers. ([@ydakuka][])
#14762: Fix false negatives for Style/RedundantCondition when the branches contains constant assignment. ([@koic][])
#14751: Fix --force-default-config not preventing project config loading when used with options that access configuration. ([@sakuro][])
#14783: Fix incorrect autocorrect for Style/HashSyntax when shorthand syntax is used in condition of if/unless/while/until. ([@ydakuka][])
#14747: Fix a regression inLayout/IndentationWidth by adding a new EnforcedStyleAlignWith style parameter. ([@MikeMcQuaid][])
#14716: Fix an infinite loop error for Layout/LineLength when SplitStrings option is enabled and strings span multiple lines. ([@HariprasanthMSH][])
#14763: Fix an infinite loop error for Layout/IndentationWidth and Layout/IndentationConsistency when using EnforcedStyle: indented_internal_methods with method chain blocks. ([@ydakuka][])
#9373: Fix an infinite loop error for Layout/IndentationWidth when autocorrecting mixed tabs and spaces in blocks. Fix an infinite loop error for Layout/DefEndAlignment and Layout/IndentationStyle when autocorrecting mixed tabs and spaces. Autocorrection for tabs is disabled in AlignmentCorrector for indentation offenses, but enabled for align_end. ([@ydakuka][])
#12295: Fix Layout/FirstArgumentIndentation to correct entire method calls and chains for nested calls. ([@ydakuka][])
#12527: Fix Offense#highlighted_area to return a valid Parser::Source::Range. ([@ydakuka][])
#14801: Preserve source tabs in Clang and Tap formatters when displaying offense highlight. ([@lovro-bikic][])
#14761: Improved the remote configuration file name on the cache location. ([@Jack12816][])
#14778: Fix a false positive for Security/JSONLoad when create_additions option is passed with other options in a hash. ([@wktk][])
#14796: Handle logical and operator assignment nodes in variable branch handling. ([@lovro-bikic][])
Changes
#14753: Add support for squish and squish! applied to heredoc to Layout/HeredocIndentation. ([@lovro-bikic][])
#14798: Recognize Forwardable methods in Lint/DuplicateMethods. ([@lovro-bikic][])
#14793: Make Lint/RedundantSplatExpansion aware of constant assignment. ([@koic][])
#14770: Make Style/AccessModifierDeclarations aware of self class. ([@koic][])
#14748: Add support for other Module member existence methods to Style/ModuleMemberExistenceCheck. ([@lovro-bikic][])
#14795: Add AllowedMethods configuration to Style/ModuleMemberExistenceCheck. ([@lovro-bikic][])
1.82.1 (2025-12-24)
Bug fixes
#14736: Fix an error for Style/TrailingCommaInArguments when EnforcedStyleForMultiline is consistent_comma and keyword arguments use a trailing comma. ([@koic][])
#14737: Fix crash in Layout/RedundantLineBreak when Layout/LineLength is disabled. ([@ydakuka][])
#14719: Fix crash on long lines when Layout/LineLength is disabled. ([@floriandejonckheere][])
#14743: Fix false positives for Layout/MultilineMethodCallIndentation when multiline method chain with block has expected indent width and the method is preceded by splat or double splat. ([@koic][])
#12297: Fix false negative in Layout/IndentationWidth for multiline method chain blocks. ([@rscq][])
... (truncated)
Commits
11df34a Cut 1.84
af56871 Fix broken example
4481685 Allow references to be redirects
5cb3b0f Update Changelog
2dc96ce [Fix #10956] Preserve source tabs in Clang and Tap formatters when displaying...
5334618 Merge pull request #14798 from lovro-bikic/fix-14691
38fd70c Add AllowedMethods configuration to Style/ModuleMemberExistenceCheck
cf1bdcf Merge pull request #14799 from HariprasanthMS/bug_14716
882519b [Fix #14716] Fix infinite loop for Layout/LineLength with SplitStrings
7f972a8 Fix #14691 Recognize Forwardable methods in Lint/DuplicateMethods
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.84.0 New features #14516: Add AllowImplicitArrayLiterals to Layout...
X Description: Updates the requirements on rubocop to permit the latest version. Release notes Sourced from rubocop's releases. RuboCop v1.84.0 New features #14516: Add AllowImplicitArrayLiterals to La...
Opengraph URL: https://github.com/diffcrypt/diffcrypt-ruby/pull/177
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:931de4e4-6831-c116-2cb0-f1571b648030 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 8C08:2FDB2:334BD4:42DACA:697F53CD |
| html-safe-nonce | 8adc6985fa7577856f2d2bb6e2dd1cf883569437af0f471d8e1aaadd891ee151 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QzA4OjJGREIyOjMzNEJENDo0MkRBQ0E6Njk3RjUzQ0QiLCJ2aXNpdG9yX2lkIjoiMTIxMzMzNTQ2MTI1NTE0MDMwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | fd7538c9422e68df46780576f8aa30981a0cc5886f2014e6f9c61b9979ac7e21 |
| hovercard-subject-tag | pull_request:3216497281 |
| 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/177/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.84.0 New features #14516: Add AllowImplicitArrayLiterals to Layout... |
| 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