Sub-plan 21.3 row C-7 (Ruby x402). Same 3-step procedure as the main Ruby SDK: bump version.rb → mirror → publish.
- rubygems gem: register
blockchain0x-x402on rubygems. - Public mirror repo: create
tosh-labs/blockchain0x-x402-ruby. - GitHub PAT: reuse
MIRROR_TO_PUBLIC_GITHUB_PAT_TOKEN. - Rubygems Trusted Publisher binding: GitHub Actions on
tosh-labs/blockchain0x-x402-ruby, workflowpublish.yml, environmentrubygems.
Edit packages/sdk-ruby-x402/lib/blockchain0x_x402/version.rb:
module Blockchain0xX402
VERSION = '0.0.2.alpha.0'
endCommit + push to dev.
Actions -> mirror-sdk-ruby-x402 -> Run workflow. Runs rspec
as the gate, mirrors the snapshot, tags v<version>.
tosh-labs/blockchain0x-x402-ruby -> Actions -> publish -> Run.
Trusted Publisher OIDC exchange ships the gem to rubygems within
~30 seconds.
gem install blockchain0x-x402 --pre
ruby -r blockchain0x_x402 -e "puts Blockchain0xX402::VERSION"
ruby -r blockchain0x_x402 -e "puts Blockchain0xX402::Wire::HEADER_MISSING"The second line should print header.missing.
- packages/sdk-ruby/RELEASING.md - main Ruby SDK (same flow).
- packages/sdk-python-x402/ - Python sibling port.
- packages/sdk-go-x402/ - Go sibling port.
- docs/sdk-parity-matrix.md - parity status.