Title: Update rubocop requirement from ~> 1.73.2 to ~> 1.84.1 by dependabot[bot] · Pull Request #178 · diffcrypt/diffcrypt-ruby · GitHub
Open Graph Title: Update rubocop requirement from ~> 1.73.2 to ~> 1.84.1 by dependabot[bot] · Pull Request #178 · diffcrypt/diffcrypt-ruby
X Title: Update rubocop requirement from ~> 1.73.2 to ~> 1.84.1 by dependabot[bot] · Pull Request #178 · diffcrypt/diffcrypt-ruby
Description: Updates the requirements on rubocop to permit the latest version.
Release notes
Sourced from rubocop's releases.
RuboCop v1.84.1
Bug fixes
#14803: Fix an error for Layout/IndentationWidth cop. (@viralpraxis)
#14806: Fix an error in Style/NegativeArrayIndex when using self as array with implicit self receiver. (@koic)
#14813: Fix opt-in cop comments taking precedence over configuration file exclude patterns. (@afrase)
#14819: Fix incorrect autocorrect for Style/GuardClause when using heredoc as an argument of method call in raise in else branch. (@koic)
#14805: Bring back the original indentation from before version 1.84.0. (@Magikdidi24)
#12754: Fix an infinite loop for Style/IfUnlessModifier when multiple if/unless statements share the same line in arrays, method arguments, or hash values. (@ydakuka)
#14817: Fix an infinite loop between Layout/FirstArgumentIndentation and Layout/LineLength when correcting method chains. (@ydakuka)
#11513: Fix Layout/MultilineMethodCallIndentation to properly handle method chains inside hash pair values. (@ydakuka)
#14814: Fix push/pop directives to properly handle nested scopes and state restoration. (@Magikdidi24)
Changes
#14823: Add the built-in infinite? method to the allowlists for Naming/PredicateMethod, Style/IfWithBooleanLiteralBranches, and Style/RedundantCondition, in addition to the existing nonzero?. (@koic)
#14735: Remove deprecated InjectDefaults handling. (@afurm)
Changelog
Sourced from rubocop's changelog.
1.84.1 (2026-02-02)
Bug fixes
#14803: Fix an error for Layout/IndentationWidth cop. ([@viralpraxis][])
#14806: Fix an error in Style/NegativeArrayIndex when using self as array with implicit self receiver. ([@koic][])
#14813: Fix opt-in cop comments taking precedence over configuration file exclude patterns. ([@afrase][])
#14819: Fix incorrect autocorrect for Style/GuardClause when using heredoc as an argument of method call in raise in else branch. ([@koic][])
#14805: Bring back the original indentation from before version 1.84.0. ([@Magikdidi24][])
#12754: Fix an infinite loop for Style/IfUnlessModifier when multiple if/unless statements share the same line in arrays, method arguments, or hash values. ([@ydakuka][])
#14817: Fix an infinite loop between Layout/FirstArgumentIndentation and Layout/LineLength when correcting method chains. ([@ydakuka][])
#11513: Fix Layout/MultilineMethodCallIndentation to properly handle method chains inside hash pair values. ([@ydakuka][])
#14814: Fix push/pop directives to properly handle nested scopes and state restoration. ([@Magikdidi24][])
Changes
#14823: Add the built-in infinite? method to the allowlists for Naming/PredicateMethod, Style/IfWithBooleanLiteralBranches, and Style/RedundantCondition, in addition to the existing nonzero?. ([@koic][])
#14735: Remove deprecated InjectDefaults handling. ([@afurm][])
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][])
... (truncated)
Commits
5a774b3 Cut 1.84.1
88d04ca Update Changelog
c4f9c22 Disallow directory paths in inject_defaults!
7e43e4e Fix LSP disable comment edits for multiline literals (#14758)
15f751d [Fix rubocop#11513] Fix Layout/MultilineMethodCallIndentation to properly h...
29f5607 [Fix rubocop#12754] Fix an infinite loop for Style/IfUnlessModifier when mu...
4ae10a7 [Fix rubocop#14817] Fix an infinite loop between `Layout/FirstArgumentIndenta...
aa6821c Merge pull request #14813 from afrase/fix-exclude-pattern-precedence
558161c Allowlist infinite? for some cops
3435c95 Changed cop exclusion precedence to favor configuration
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.1 Bug fixes #14803: Fix an error for Layout/IndentationWidth co...
X Description: Updates the requirements on rubocop to permit the latest version. Release notes Sourced from rubocop's releases. RuboCop v1.84.1 Bug fixes #14803: Fix an error for Layout/IndentationWidt...
Opengraph URL: https://github.com/diffcrypt/diffcrypt-ruby/pull/178
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:fa592f27-ff3f-f4e6-f934-bc463e8507ae |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 938A:5FE77:23B3C5:309254:69826329 |
| html-safe-nonce | 504a5296209d8b92799c71aaf4eb37fc7eb4b73bb45c0e4bbddc6bd2ec45f3d6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MzhBOjVGRTc3OjIzQjNDNTozMDkyNTQ6Njk4MjYzMjkiLCJ2aXNpdG9yX2lkIjoiNTk2Njc3MDA1MDU4NDE3NTQwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 16ae7166d2a04629dc535c65bf46fc359ace7bb0b10abaf3c4378cf084fa1eb2 |
| hovercard-subject-tag | pull_request:3239208077 |
| 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/178/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.84.1 Bug fixes #14803: Fix an error for Layout/IndentationWidth co... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 82a2ec7faf3b85991d40091f37cdc8035653d1a2ca08b1e6f36670ac6c91d893 |
| 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 | b83d89864fafc7a67b8747b788f52c909d47dbfd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width