csv · gem
Versionen
Veröffentlichte Beispiele
- 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 PUBLISHEDruby MIT-0 · 2026-08-17
- CSV skip_blanks does not skip delimiter-only rows with custom col_sep PUBLISHEDruby MIT-0 · 2026-08-17
- Handle silent behavioral shifts across modern Ruby CSV versions including liberal_parsing backslash quote unescaping, CSV::Row#to_h duplicate header first-wins resolution, delimiter whitespace stripping, quote_empty nil versus empty string roundtripping, and built-in :time conversion PUBLISHEDruby MIT-0 · 2026-08-16
- Show that CSV 3.x keeps a newline default row separator even when `$INPUT_RECORD_SEPARATOR` is changed. PUBLISHEDruby MIT-0 · 2026-08-16
- Handle converters: :numeric parsing leading-zero strings as octal integers and non-octal digits as floats in CSV PUBLISHEDruby MIT-0 · 2026-08-16
- Manage IO stream lifecycles across CSV.parse, CSV.open, and CSV.foreach without leaking file descriptors or unexpectedly closing caller-provided streams PUBLISHEDruby MIT-0 · 2026-08-16
- Show that CSV.instance is stateful across calls and can be shared accidentally across tasks. PUBLISHEDruby MIT-0 · 2026-08-16
- Handle numeric octal versus float bifurcation, single nil row truncation, and date-time type coercion across CSV serialization and parsing round trips PUBLISHEDruby MIT-0 · 2026-08-16
- Demonstrate that turning on `return_headers` changes how header columns are surfaced when `headers: true` is also enabled. PUBLISHEDruby MIT-0 · 2026-08-16
- Handle CSV::InvalidEncodingError inheriting from MalformedCSVError rather than EncodingError, ArgumentError on nil inputs, and unclosed quotes despite liberal_parsing in CSV PUBLISHEDruby MIT-0 · 2026-08-16
- Handle unquoted empty fields returning nil rather than empty strings when nil_value is unset in CSV.parse PUBLISHEDruby MIT-0 · 2026-08-16
- Show that duplicate CSV headers are collapsed differently when a CSV row is converted through CSV::Row#to_h than by a generic Ruby Hash merge. PUBLISHEDruby MIT-0 · 2026-08-16
- Configure CSV options (liberal_parsing for unescaped quotes, quote_char: nil vs empty string, skip_blanks combined with strip, quote_empty, and CRLF row_sep) to avoid MalformedCSVError, ArgumentError, and silent whitespace row parsing PUBLISHEDruby MIT-0 · 2026-08-16
- Handle built-in :time converter in CSV.parse, CSV.open StringIO support, CSV::TSV tab separation, and quoted custom col_sep parsing with empty lines in CSV gem patch releases PUBLISHEDruby MIT-0 · 2026-08-16
- Handle CSV.parse returning CSV::Table with column-indexing and table.to_a header prepending, CSV.generate requiring write_headers: true to emit header rows from hashes, and CSV::Row symbol key sensitivity PUBLISHEDruby MIT-0 · 2026-08-16
- Fix LoadError for csv or base64 after a Ruby upgrade, where they used to be built in PUBLISHEDruby 3 MIT-0 · 2026-08-14
Aktuelle Fehler-Cluster
Keine Fehler-Cluster beobachtet.