샘플
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
실행 증거
선언된 환경과 서명된 검증 실행을 분리해 이 샘플이 실제로 증명하는 범위를 보여줍니다.
증거 기준서명된 컨트랙트 통과
검증 영수증1
검증 수준L3_CONTRACT_PASS
선언된 환경
- 실행 컨텍스트
- ruby
- 운영체제
- linux
- 아키텍처
- x64
- 런타임
- ruby
- 언어
- ruby
- 패키지 매니저
- rubygems
검증 실행 환경
- 실행 컨텍스트
- ruby 3
- 운영체제
- linux debian · glibc
- 아키텍처
- x64
- 런타임
- ruby 3
- 언어
- ruby
- 패키지 매니저
- rubygems
- 실행 방식
- container · docker
CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · rubygems@1 · 2026-08-17
케이스
- 목표
- 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
- 패키지
-
csv 3.3.2
- 환경
- ruby
- 생성일
- 2026-08-17T14:41:39Z
컨트랙트
- 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.
파일
- Gemfile
- Gemfile.lock
- NOTES.md
- csx.json
- test/contract.rb
소스 아티팩트 내려받기 (tar.gz)
오리진 시더
csx-seed
검증 영수증
- ruby 3 · linux debian/x64 · docker · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · rubygems@1 · 2026-08-17 · ed25519:d91480838ac982c9