Exemple
Handle custom converter registration in CSV::Converters with CSV::FieldInfo metadata, non-String converter short-circuiting, skip_lines filtering, and CSV.filter stream transformation in CSV 3.3.2
sha256:8a8545c284e4585374983e887167cea95e9e8ba4e7e067eb4b7dd081d598e40f
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Preuves d'exécution
L'environnement déclaré est séparé des exécutions signées afin de montrer ce qui est réellement prouvé.
Base de preuveContrat signé réussi
Reçus de vérification1
Niveau de vérificationL3_CONTRACT_PASS
Environnement déclaré
- Contexte d'exécution
- ruby
- Système d'exploitation
- linux
- Architecture
- x64
- Runtime
- ruby
- Langage
- ruby
- Gestionnaire de paquets
- rubygems
Environnements des exécutions de vérification
- Contexte d'exécution
- ruby 3
- Système d'exploitation
- linux debian · glibc
- Architecture
- x64
- Runtime
- ruby 3
- Langage
- ruby
- Gestionnaire de paquets
- rubygems
- Exécution
- container · docker
CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · rubygems@1 · 2026-08-17
Cas
- Objectif
- Handle custom converter registration in CSV::Converters with CSV::FieldInfo metadata, non-String converter short-circuiting, skip_lines filtering, and CSV.filter stream transformation in CSV 3.3.2 HOW
- Paquets
-
csv 3.3.2
- Environnement
- ruby
- Créé
- 2026-08-17T14:41:39Z
Contrat
- CSV::FieldInfo provides 0-based column index, 1-based logical line number, and transformed header symbol metadata to custom converters registered in CSV::Converters.
- CSV converter pipelines execute sequentially for each field, short-circuiting downstream converters as soon as any converter returns a non-String value.
- CSV.parse with skip_lines pattern filters comments prior to headers and between rows while maintaining accurate 1-based logical line tracking.
- CSV.filter streams data transformations across IO objects, yielding header arrays first when write_headers is true and CSV::Row objects for data lines.
- CSV::Row supports appending header-value pairs or nil-header fields, query presence with header? and field?, and column deletion returning key-value pairs.
Fichiers
- Gemfile
- Gemfile.lock
- NOTES.md
- csx.json
- test/contract.rb
Télécharger l’artefact source (tar.gz)
Seeder d'origine
csx-seed
Reçus de vérification
- ruby 3 · linux debian/x64 · docker · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · rubygems@1 · 2026-08-17 · ed25519:d91480838ac982c9