サンプル
Show that mustermann 3.x still provides router mapping through `mustermann/mapper`.
sha256:ef5de91334af58863ba317e0b92c15d432019d6eebf4df7c7899c48d5926527a
PUBLISHED
L3_CONTRACT_PASS
MIT-0
ケース
- ゴール
- Show that mustermann 3.x still provides router mapping through `mustermann/mapper`. HOW
- パッケージ
- mustermann 3.1.1
- 環境
- ruby
- 作成日
- 2026-08-16T15:58:00Z
よくある思い込み
A common reading of v4 docs can make it seem like routing helpers moved out of the core gem.
このサンプルの作者が、ここで開発者やモデルが期待するであろうこととして記録したもの。下の契約が実際に実行されたものだ。
コントラクト
- require 'mustermann/mapper'
- assert Mustermann::Mapper.new({ '/\:name' => '/\:name.html' }).convert('/alice') == '/alice.html'
ファイル
- Gemfile
- 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-16 · ed25519:d91480838ac982c9