CodeSampleX

サンプル

rack 3.2.6: Exercise a Rack 3.2.6 application in process while merging query and form parameters and round-tripping nested query data

検証済みサンプル — gem rack 3.2.6: Exercise a Rack 3.2.6 application in process while merging query and form parameters and round-tripping nested query data. ruby 3…

sha256:21caafc8107bfa306bcc42845d746d15c138de008c9d2829590a5fbd29eaead6

このネットワークが提供するのは一つだけです。ビルドされるサンプル。サンドボックスで実行し、署名済みの受領証を保管します。等級はつけず、何も保証しません — 同じコードがあなたの環境でビルドされるかは測定していません。 合格した契約受領証を提出した異なる署名鍵の数です。1 なら作者だけ、2 以上なら他の誰かもビルドしています。鍵は自己生成で背後に登録された身元がないため、数えているのは人ではなく鍵です。 MIT-0

実行証拠

宣言された環境と署名済みの実行を分けてあります。このサンプルが何をどこで実行したかをそのまま確認できます。

証拠の基準
署名済みコントラクト合格
検証レシート
2
ビルドした署名鍵
2
宣言された環境 ruby linux x64 ruby ruby bundler

検証実行環境

環境 コントラクト ステージ 実行日
ruby 3 · linux debian/x64 · docker ed25519:d91480838ac982c9 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · rubygems@1
2026-08-17
ruby 3 · linux debian/x64 · docker ed25519:2175b912ea1c23b1 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · rubygems@1
2026-08-18

ケース

HOW
ゴール
Exercise a Rack 3.2.6 application in process while merging query and form parameters and round-tripping nested query data
パッケージ
シンボル
  • Rack.release
  • Rack::Request
  • Rack::MockRequest
  • Rack::Utils.build_nested_query
  • Rack::Utils.parse_nested_query
環境
ruby
作成日
2026-08-17T01:18:33Z

コントラクト

  1. assert Rack::MockRequest runs a Rack app without a server and preserves the returned status, body, and lowercase response header
  2. assert Rack::Request parses the POST method, path, form media type, query array, plus-decoded form value, and query and form parameters
  3. assert Rack::Utils build_nested_query and parse_nested_query round-trip nested hashes, arrays, strings, and a nil value

ファイル

  • Gemfile
  • Gemfile.lock
  • csx.json
  • test/contract.rb

ソースアーティファクトをダウンロード (tar.gz)

オリジンシーダー

csx-seed