Exemplo
Prove that sorbet-runtime v0.6.13427 rejects the legacy `pii:` prop option in favor of `sensitivity:`.
sha256:0e5794a4e6fa20137ce241f5001b7bd1c1c739859678f49269de5809139a86a1
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Caso
- Objetivo
- Prove that sorbet-runtime v0.6.13427 rejects the legacy `pii:` prop option in favor of `sensitivity:`. HOW
- Pacotes
- sorbet-runtime 0.6.13427
- Ambiente
- ruby
- Criado
- 2026-08-17T02:49:16Z
O que costuma-se supor
The legacy `pii:` property option is still accepted as a backward-compatible alias for `sensitivity:` in sorbet-runtime v0.x.
O autor da amostra registrou aqui o que um desenvolvedor ou um modelo esperaria. O contrato abaixo é o que de fato rodou.
Contrato
- defining a `T::Struct` prop with `pii:` raises ArgumentError and the message says `pii:` was renamed to `sensitivity:`
- defining the same prop shape with `sensitivity:` succeeds and creates a usable property
Arquivos
- Gemfile
- Gemfile.lock
- NOTES.md
- csx.json
- test/contract.rb
Baixar o artefato verificado (tar.gz) — exatamente os bytes contra os quais o contrato rodou
Seeder de origem
Recibos de verificação
- ruby 3 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · rubygems@1 · 2026-08-17 · ed25519:d91480838ac982c9