Skip to content

chore: release - #44

Merged
amritk merged 1 commit into
mainfrom
changeset-release/main
Sep 30, 2026
Merged

amritk merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@scalar/ruby-fmt@0.7.1

Patch Changes

  • 5c9e6c8: A wrapped method chain inside a block that is a hash value keeps its indentation again. RuboCop 1.84.1 through 1.91 mistake such a chain for the hash value itself and align every continuation line with the receiver, so this, from a lambda per test case:

    run: -> do
      client
        .beta
        .messages
    end

    came back with .beta and .messages flush under client. A boot-time patch to Layout/MultilineMethodCallIndentation, in src/rubocop-patch.ts, stops the cop's search for the enclosing hash pair where a block, begin, if or loop body starts, which restores the indentation RuboCop 1.82 gave these chains. A chain that is itself the hash value is still aligned the way stock RuboCop 1.91 aligns it, and over 1,238 files of real Ruby the patch changes none of them. The status in the README moves from exact +3 fixes to exact +4 fixes.

@github-actions
github-actions Bot requested a review from amritk as a code owner September 30, 2026 00:49
@amritk
amritk merged commit 48389be into main Sep 30, 2026
@amritk
amritk deleted the changeset-release/main branch September 30, 2026 00:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant