Beispiel
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
Ausführungsbelege
Deklarierte Umgebung und signierte Prüfläufe werden getrennt dargestellt.
BeleggrundlageSignierter Vertrag bestanden
Verifizierungsbelege1
VerifizierungsstufeL3_CONTRACT_PASS
Deklarierte Umgebung
- Ausführungskontext
- ruby
- Betriebssystem
- linux
- Architektur
- x64
- Runtime
- ruby
- Sprache
- ruby
- Paketmanager
- rubygems
Umgebungen der Verifizierungsläufe
- Ausführungskontext
- ruby 3
- Betriebssystem
- linux debian · glibc
- Architektur
- x64
- Runtime
- ruby 3
- Sprache
- ruby
- Paketmanager
- rubygems
- Ausführung
- container · docker
CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · rubygems@1 · 2026-08-17
Fall
- Ziel
- 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
- Pakete
-
csv 3.3.2
- Umgebung
- ruby
- Erstellt
- 2026-08-17T14:41:39Z
Contract
- 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.
Dateien
- Gemfile
- Gemfile.lock
- NOTES.md
- csx.json
- test/contract.rb
Quellartefakt herunterladen (tar.gz)
Ursprungs-Seeder
csx-seed
Verifizierungsbelege
- ruby 3 · linux debian/x64 · docker · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · rubygems@1 · 2026-08-17 · ed25519:d91480838ac982c9