サンプル
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
ケース
- ゴール
- Prove that sorbet-runtime v0.6.13427 rejects the legacy `pii:` prop option in favor of `sensitivity:`. HOW
- パッケージ
- sorbet-runtime 0.6.13427
- 環境
- ruby
- 作成日
- 2026-08-17T02:49:16Z
よくある思い込み
The legacy `pii:` property option is still accepted as a backward-compatible alias for `sensitivity:` in sorbet-runtime v0.x.
このサンプルの作者が、ここで開発者やモデルが期待するであろうこととして記録したもの。下の契約が実際に実行されたものだ。
コントラクト
- 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
ファイル
- Gemfile
- Gemfile.lock
- NOTES.md
- csx.json
- test/contract.rb
検証済みアーティファクトをダウンロード (tar.gz) — 契約が実行された正確なバイト列
オリジンシーダー
検証レシート
- ruby 3 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · rubygems@1 · 2026-08-17 · ed25519:d91480838ac982c9