Title: Update rubocop requirement from ~> 1.73.2 to ~> 1.77.0 by dependabot[bot] · Pull Request #162 · diffcrypt/diffcrypt-ruby · GitHub
Open Graph Title: Update rubocop requirement from ~> 1.73.2 to ~> 1.77.0 by dependabot[bot] · Pull Request #162 · diffcrypt/diffcrypt-ruby
X Title: Update rubocop requirement from ~> 1.73.2 to ~> 1.77.0 by dependabot[bot] · Pull Request #162 · diffcrypt/diffcrypt-ruby
Description: Updates the requirements on rubocop to permit the latest version.
Release notes
Sourced from rubocop's releases.
RuboCop v1.77.0
New features
#14223: Add new Gemspec/AttributeAssignment cop. (@viralpraxis)
#14128: Allow long fully-qualified namespace strings to exceed max length. (@niranjan-patil)
#14288: Add new cop Style/CollectionQuerying. (@lovro-bikic)
#14165: Add new DefaultToNil option to Style/FetchEnvVar cop. (@Yuhi-Sato)
#14314: Enhance Gemspec/RequireMFA cop autocorrect to insert MFA directive after last metadata assignment. (@viralpraxis)
#14159: Enhance Layout/SpaceInsideArrayLiteralBrackets cop to analyze nested constant patterns. (@viralpraxis)
Bug fixes
#14306: Fix an error for Style/HashConversion when using nested Hash[]. (@koic)
#14298: Fix an error for Style/SoleNestedConditional when autocorrecting nested if/unless/if. (@ssagara00)
#14313: Fix a false positive for Layout/SpaceBeforeBrackets when call desugared Hash#[] to lvar receiver with a space around the dot. (@koic)
#14292: Fix false positives for Style/RedundantParentheses when assigning a parenthesized one-line in pattern matching. (@koic)
#14296: Fix false positives for Style/RedundantSelf when receiver and lvalue have the same name in or-assignment. (@koic)
#14303: Fix Lint/SelfAssignment to allow inline RBS comments. (@Morriar)
#14307: Fix Style/MethodCallWithArgsParentheses false positive on forwarded keyword argument with additional arguments. (@viralpraxis)
#14301: Fix autocorrection syntax error for multiline expressions in Style/RedundantParentheses. (@lovro-bikic)
Changes
#14295: Update Naming/PredicateMethod to consider negation (!/not) as boolean values. (@dvandersluis)
#14255: Update Naming/PredicateMethod to treat returned predicate method calls as boolean values. (@dvandersluis)
Changelog
Sourced from rubocop's changelog.
1.77.0 (2025-06-20)
New features
#14223: Add new Gemspec/AttributeAssignment cop. ([@viralpraxis][])
#14128: Allow long fully-qualified namespace strings to exceed max length. ([@niranjan-patil][])
#14288: Add new cop Style/CollectionQuerying. ([@lovro-bikic][])
#14165: Add new DefaultToNil option to Style/FetchEnvVar cop. ([@Yuhi-Sato][])
#14314: Enhance Gemspec/RequireMFA cop autocorrect to insert MFA directive after last metadata assignment. ([@viralpraxis][])
#14159: Enhance Layout/SpaceInsideArrayLiteralBrackets cop to analyze nested constant patterns. ([@viralpraxis][])
Bug fixes
#14306: Fix an error for Style/HashConversion when using nested Hash[]. ([@koic][])
#14298: Fix an error for Style/SoleNestedConditional when autocorrecting nested if/unless/if. ([@ssagara00][])
#14313: Fix a false positive for Layout/SpaceBeforeBrackets when call desugared Hash#[] to lvar receiver with a space around the dot. ([@koic][])
#14292: Fix false positives for Style/RedundantParentheses when assigning a parenthesized one-line in pattern matching. ([@koic][])
#14296: Fix false positives for Style/RedundantSelf when receiver and lvalue have the same name in or-assignment. ([@koic][])
#14303: Fix Lint/SelfAssignment to allow inline RBS comments. ([@Morriar][])
#14307: Fix Style/MethodCallWithArgsParentheses false positive on forwarded keyword argument with additional arguments. ([@viralpraxis][])
#14301: Fix autocorrection syntax error for multiline expressions in Style/RedundantParentheses. ([@lovro-bikic][])
Changes
#14295: Update Naming/PredicateMethod to consider negation (!/not) as boolean values. ([@dvandersluis][])
#14255: Update Naming/PredicateMethod to treat returned predicate method calls as boolean values. ([@dvandersluis][])
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][])
... (truncated)
Commits
e8e3ae7 Cut 1.77
a56b16c Update Changelog
45f1b00 [Fix #14128] Allow long fully-qualified namespace strings to exceed max length
bd1690c [Docs] Update a link to Parser's API docs
56d4ebf Fix links in Plugin Configuration docs
37540d2 Enhance Gemspec/RequireMFA cop autocorrect to insert MFA directive after la...
80aff64 [Fix #14306] Fix an error for Style/HashConversion
600d0a2 [Fix #14313] Fix a false positive for Layout/SpaceBeforeBrackets
ca09f02 Fix autocorrection syntax error for multiline expressions in Style/RedundantP...
2d86c22 [Fix #14165] Add new DefaultToNil option to Style/FetchEnvVar cop
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.77.0 New features #14223: Add new Gemspec/AttributeAssignment cop....
X Description: Updates the requirements on rubocop to permit the latest version. Release notes Sourced from rubocop's releases. RuboCop v1.77.0 New features #14223: Add new Gemspec/AttributeAssignment ...
Opengraph URL: https://github.com/diffcrypt/diffcrypt-ruby/pull/162
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:b2d4eaa1-4bc7-023d-1412-211aacc1a1d5 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B7B0:3B35E8:DE6F4C:12954AE:6980548A |
| html-safe-nonce | 8ba2ce6dc2137f1fbe4ff7f7a8289694cc4b89a4970cc9bd52335a1536ba18dc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCN0IwOjNCMzVFODpERTZGNEM6MTI5NTRBRTo2OTgwNTQ4QSIsInZpc2l0b3JfaWQiOiIzNTA3NzE5OTI3MjE5OTAxNTc4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 46be24490c81cae43184ae917514e4ca3dbc8af180e1d48c8e268a59f1fedc81 |
| hovercard-subject-tag | pull_request:2608499480 |
| 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/162/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.77.0 New features #14223: Add new Gemspec/AttributeAssignment cop.... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| 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 | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width