Ejemplo
Show that mustermann 3.x still provides router mapping through `mustermann/mapper`.
sha256:ef5de91334af58863ba317e0b92c15d432019d6eebf4df7c7899c48d5926527a
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Caso
- Objetivo
- Show that mustermann 3.x still provides router mapping through `mustermann/mapper`. HOW
- Paquetes
- mustermann 3.1.1
- Entorno
- ruby
- Creado
- 2026-08-16T15:58:00Z
Lo que suele suponerse
A common reading of v4 docs can make it seem like routing helpers moved out of the core gem.
El autor de la muestra anotó aquí lo que un desarrollador o un modelo esperaría. El contrato de abajo es lo que realmente se ejecutó.
Contrato
- require 'mustermann/mapper'
- assert Mustermann::Mapper.new({ '/\:name' => '/\:name.html' }).convert('/alice') == '/alice.html'
Archivos
- Gemfile
- NOTES.md
- csx.json
- test/contract.rb
Descargar el artefacto verificado (tar.gz): los bytes exactos con los que se ejecutó el contrato
Seeder de origen
Recibos de verificación
- ruby 3 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · rubygems@1 · 2026-08-16 · ed25519:d91480838ac982c9