summaryrefslogtreecommitdiff
path: root/doc/csv/recipes
AgeCommit message (Collapse)Author
2024-03-28Use www.rfc-editor.org for RFC text.Hiroshi SHIBATA
We use the following site for that now: * https://tools.ietf.org/ or http * https://datatracker.ietf.org or http Today, IETF said the official site of RFC is www.rfc-editor.org. FYI: https://authors.ietf.org/en/references-in-rfcxml I replaced them to www.rfc-editor.org.
2023-05-25[ruby/csv] docs: fix example in Recipe: Capture Unconverted FieldsYuki Tsujimoto
(https://github.com/ruby/csv/pull/276) I've fixed the example in `Recipe: Capture Unconverted Fields`. https://ruby.github.io/csv/doc/csv/recipes/parsing_rdoc.html#label-Recipe-3A+Capture+Unconverted+Fields `parsed` is wrong: header row is missing and the values should be integers. ``` $ ruby -v ruby 3.2.1 (2023-02-08 revision https://github.com/ruby/csv/commit/31819e82c8) [x86_64-darwin21] $ cat unconverted_fields.rb require "csv" source = "Name,Value\nfoo,0\nbar,1\nbaz,2\n" parsed = CSV.parse(source, converters: :integer, unconverted_fields: true) p parsed parsed.each {|row| p row.unconverted_fields } $ ruby unconverted_fields.rb [["Name", "Value"], ["foo", 0], ["bar", 1], ["baz", 2]] ["Name", "Value"] ["foo", "0"] ["bar", "1"] ["baz", "2"] ``` Notes: Merged: https://github.com/ruby/ruby/pull/7851
2023-05-25[ruby/csv] Fix typos (https://github.com/ruby/csv/pull/236)Sampat Badhe
https://github.com/ruby/csv/commit/d5e401266f Notes: Merged: https://github.com/ruby/ruby/pull/7851
2023-05-25[ruby/csv] Small RDoc changes for recipesBurdette Lamar
(https://github.com/ruby/csv/pull/190) https://github.com/ruby/csv/commit/2102c78384 Notes: Merged: https://github.com/ruby/ruby/pull/7851
2020-12-27[ruby/csv] fix typo conveters => converters for CSV parsing docs (#196)Sampat Badhe
https://github.com/ruby/csv/commit/77ccf486fe
2020-12-14Fix a typo [ci skip]Kazuhiro NISHIYAMA
2020-11-24[ruby/csv] RDoc recipes for RFC-compliant generation (#187)Burdette Lamar
https://github.com/ruby/csv/commit/5adeaff91f Notes: Merged: https://github.com/ruby/ruby/pull/3804
2020-11-24[ruby/csv] RDoc recipes for diagnostics (#186)Burdette Lamar
https://github.com/ruby/csv/commit/d9e67918e2 Notes: Merged: https://github.com/ruby/ruby/pull/3804
2020-11-24[ruby/csv] RDoc Recipes for write converters and RFC 4180 compliance (#185)Burdette Lamar
https://github.com/ruby/csv/commit/bee48b04c4 Notes: Merged: https://github.com/ruby/ruby/pull/3804
2020-11-24[ruby/csv] Split recipes into three pages: parsing, generating, filtering (#184)Burdette Lamar
Co-authored-by: Sutou Kouhei <kou@clear-code.com> https://github.com/ruby/csv/commit/f0bab6a592 Notes: Merged: https://github.com/ruby/ruby/pull/3804