Title: Update rubocop requirement from ~> 1.73.2 to ~> 1.75.2 by dependabot[bot] · Pull Request #152 · diffcrypt/diffcrypt-ruby · GitHub
Open Graph Title: Update rubocop requirement from ~> 1.73.2 to ~> 1.75.2 by dependabot[bot] · Pull Request #152 · diffcrypt/diffcrypt-ruby
X Title: Update rubocop requirement from ~> 1.73.2 to ~> 1.75.2 by dependabot[bot] · Pull Request #152 · diffcrypt/diffcrypt-ruby
Description: Updates the requirements on rubocop to permit the latest version.
Release notes
Sourced from rubocop's releases.
RuboCop v1.75.2
Changes
#14065: Update Lint/RedundantTypeConversion to register an offense for to_json.to_s. (@lovro-bikic)
Bug fixes
#14041: Fix an error when using ERB templated config YAML with server mode. (@koic)
#14048: Do not emit a warning for a zero-sized file while checking if it is executable. (@viralpraxis)
#14053: Fix incorrect autocorrect for Lint/DeprecatedOpenSSLConstant cipher constant argument is not cbc. (@koic)
#14051: Fix incorrect autocorrect for Style/RedundantCondition when true is used as the true branch and the condition takes arguments. (@koic)
#14062: Fix false positives for Lint/ReturnInVoidContext when returning inside define_method or a nested singleton method. (@earlopain)
#14057: Fix Style/ConditionalAssignment cop error on dynamic string node in branch. (@viralpraxis)
#14047: Fix Style/FrozenStringLiteralComment cop errors on emacs-styled magic comment. (@viralpraxis)
Changelog
Sourced from rubocop's changelog.
1.75.2 (2025-04-03)
Changes
#14065: Update Lint/RedundantTypeConversion to register an offense for to_json.to_s. ([@lovro-bikic][])
Bug fixes
#14041: Fix an error when using ERB templated config YAML with server mode. ([@koic][])
#14048: Do not emit a warning for a zero-sized file while checking if it is executable. ([@viralpraxis][])
#14053: Fix incorrect autocorrect for Lint/DeprecatedOpenSSLConstant cipher constant argument is not cbc. ([@koic][])
#14051: Fix incorrect autocorrect for Style/RedundantCondition when true is used as the true branch and the condition takes arguments. ([@koic][])
#14062: Fix false positives for Lint/ReturnInVoidContext when returning inside define_method or a nested singleton method. ([@earlopain][])
#14057: Fix Style/ConditionalAssignment cop error on dynamic string node in branch. ([@viralpraxis][])
#14047: Fix Style/FrozenStringLiteralComment cop errors on emacs-styled magic comment. ([@viralpraxis][])
1.75.1 (2025-03-26)
Changes
#14038: Rename EnforcedStyle: allow_named_parameter to EnforcedStyle: only_numbered_parameters in Style/ItBlockParameter. ([@koic][])
1.75.0 (2025-03-26)
New features
#12049: Add new Style/HashFetchChain cop to detect chained fetch calls that can be replaced with a single call to dig. ([@dvandersluis][])
#13597: Add new Style/ItBlockParameter cop. ([@koic][])
#13899: Enable reusable Prism parse result for Ruby LSP add-on. ([@koic][])
#14015: Support it block parameter in Layout cops. ([@koic][])
#14017: Support it block parameter in Lint cops. ([@koic][])
#14018: Support it block parameter in Metrics cops. ([@koic][])
#14013: Support it block parameter in Style cops. ([@koic][])
#14025: Support TargetRubyVersion: 3.5 (experimental). ([@earlopain][])
Bug fixes
#14022: Fix an error for Style/HashFetchChain when no arguments are given to fetch. ([@koic][])
#14028: Fix false negative for Layout/MultilineMethodParameterLineBreaks when class method definitions are used. ([@vlad-pisanov][])
#14027: Fix false negative for Layout/LineLength when autocorrecting class method definitions. ([@vlad-pisanov][])
#8099: Fix infinite loop between Layout/SpaceAroundOperators and Layout/HashAlignment with EnforcedHashRocketStyle being an array containing table. ([@dvandersluis][])
#14021: Fix handling of long heredoc lines with SplitStrings enabled. ([@mauro-oto][])
#13968: Fix InternalAffairs/RedundantDescribedClassAsSubject cop error on missing describe. ([@viralpraxis][])
#14036: Fix false negative for Lint/ShadowingOuterLocalVariable when block local variable is used inside a condition. ([@lovro-bikic][])
#13990: Fix a false positive for Lint/UselessAssignment when a variable is reassigned in a different branch. ([@eugeneius][])
#14012: Fix incorrect autocorrections for Style/SoleNestedConditional. ([@lovro-bikic][])
#14020: Fix comment autocorrection for Style/IfInsideElse. ([@lovro-bikic][])
Changes
... (truncated)
Commits
b159321 Cut 1.75.2
919be6b Fix a heading
c3d8832 Update Changelog
ae1f33c Use RuboCop::AST::Node#any_def_type? method
d8e1f94 [Fix #14062] Fix false positives for Lint/ReturnInVoidContext when returnin...
f5e9ca9 Use RuboCop Performance 1.25 for development
01d3e9d Merge pull request #14065 from lovro-bikic/redundant-type-conversion-to-json-...
bc3f2a6 Make Lint/RedundantTypeConversion register an offense for to_json.to_s
237a95e Merge pull request #14059 from henrik/patch-1
6ddcf46 Merge pull request #14060 from Earlopain/global-std-stream-ractor
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.75.2 Changes #14065: Update Lint/RedundantTypeConversion to regist...
X Description: Updates the requirements on rubocop to permit the latest version. Release notes Sourced from rubocop's releases. RuboCop v1.75.2 Changes #14065: Update Lint/RedundantTypeConversion to re...
Opengraph URL: https://github.com/diffcrypt/diffcrypt-ruby/pull/152
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:75d4ed36-6c8b-9793-08ce-cfec43703e4f |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 9EF4:7823D:233E71:30579A:6980C643 |
| html-safe-nonce | 3719237c2c6564d2211bf9f912975b88d2d15beeeaadf54987d81cd77826844d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RUY0Ojc4MjNEOjIzM0U3MTozMDU3OUE6Njk4MEM2NDMiLCJ2aXNpdG9yX2lkIjoiMTY1MzgwNDA5MjgzNDc2MDI1OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | dd927f091ec35f28ac9d2a5666ab16180b6d141ea47697e99001b20c330f38cd |
| hovercard-subject-tag | pull_request:2438203425 |
| 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/152/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.75.2 Changes #14065: Update Lint/RedundantTypeConversion to regist... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | fb936832e40deb3175641d9cfedc8432372f91b0bc899576222953095fc7879e |
| 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 | 3e9b7987a76a2b9d08066d02bb64947a61943332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width