<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/doc/csv/recipes, branch v4.0.4</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>Use www.rfc-editor.org for RFC text.</title>
<updated>2024-03-28T02:44:45+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2024-03-28T00:45:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7630a89a4bf352e1310b5323e3e2ee976eecddca'/>
<id>7630a89a4bf352e1310b5323e3e2ee976eecddca</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/csv] docs: fix example in Recipe: Capture Unconverted Fields</title>
<updated>2023-05-24T16:44:17+00:00</updated>
<author>
<name>Yuki Tsujimoto</name>
<email>46666464+ytjmt@users.noreply.github.com</email>
</author>
<published>2023-03-13T20:40:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e151a2ff8ecfb26172c8e9643b53b00276658a50'/>
<id>e151a2ff8ecfb26172c8e9643b53b00276658a50</id>
<content type='text'>
(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"]
```
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(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"]
```
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/csv] Fix typos (https://github.com/ruby/csv/pull/236)</title>
<updated>2023-05-24T16:44:17+00:00</updated>
<author>
<name>Sampat Badhe</name>
<email>sampatbadhe@gmail.com</email>
</author>
<published>2022-01-30T21:25:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=55a900d9cc598e0670107149d7bb87ad8e006239'/>
<id>55a900d9cc598e0670107149d7bb87ad8e006239</id>
<content type='text'>
https://github.com/ruby/csv/commit/d5e401266f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/csv/commit/d5e401266f
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/csv] Small RDoc changes for recipes</title>
<updated>2023-05-24T16:44:17+00:00</updated>
<author>
<name>Burdette Lamar</name>
<email>BurdetteLamar@Yahoo.com</email>
</author>
<published>2020-10-29T01:12:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=81c57ae7ac1e3f2e1ffc5d5800848e927d5628a6'/>
<id>81c57ae7ac1e3f2e1ffc5d5800848e927d5628a6</id>
<content type='text'>
(https://github.com/ruby/csv/pull/190)

https://github.com/ruby/csv/commit/2102c78384
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/csv/pull/190)

https://github.com/ruby/csv/commit/2102c78384
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/csv] fix typo conveters =&gt; converters for CSV parsing docs (#196)</title>
<updated>2020-12-27T06:27:03+00:00</updated>
<author>
<name>Sampat Badhe</name>
<email>sampat.badhe@kiprosh.com</email>
</author>
<published>2020-12-25T21:17:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=677ccb927c10444449459added79c8e7d2fc3186'/>
<id>677ccb927c10444449459added79c8e7d2fc3186</id>
<content type='text'>
https://github.com/ruby/csv/commit/77ccf486fe
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/csv/commit/77ccf486fe
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a typo [ci skip]</title>
<updated>2020-12-14T01:26:04+00:00</updated>
<author>
<name>Kazuhiro NISHIYAMA</name>
<email>zn@mbf.nifty.com</email>
</author>
<published>2020-12-14T01:26:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=85a7f723c300c45c8fff40c2595422e13a8d9237'/>
<id>85a7f723c300c45c8fff40c2595422e13a8d9237</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/csv] RDoc recipes for RFC-compliant generation (#187)</title>
<updated>2020-11-24T00:33:55+00:00</updated>
<author>
<name>Burdette Lamar</name>
<email>BurdetteLamar@Yahoo.com</email>
</author>
<published>2020-10-23T01:51:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=20a9131270c3bbb2216fedc6d5e4467b75cf560b'/>
<id>20a9131270c3bbb2216fedc6d5e4467b75cf560b</id>
<content type='text'>
https://github.com/ruby/csv/commit/5adeaff91f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/csv/commit/5adeaff91f
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/csv] RDoc recipes for diagnostics (#186)</title>
<updated>2020-11-24T00:33:55+00:00</updated>
<author>
<name>Burdette Lamar</name>
<email>BurdetteLamar@Yahoo.com</email>
</author>
<published>2020-10-21T07:36:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d48e688f64b8a1913ff9bf44202395bb453de291'/>
<id>d48e688f64b8a1913ff9bf44202395bb453de291</id>
<content type='text'>
https://github.com/ruby/csv/commit/d9e67918e2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/csv/commit/d9e67918e2
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/csv] RDoc Recipes for write converters and RFC 4180 compliance (#185)</title>
<updated>2020-11-24T00:33:55+00:00</updated>
<author>
<name>Burdette Lamar</name>
<email>BurdetteLamar@Yahoo.com</email>
</author>
<published>2020-10-19T01:34:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9266410c7afbc1b43ff9b2cab31ebd5f0ad14866'/>
<id>9266410c7afbc1b43ff9b2cab31ebd5f0ad14866</id>
<content type='text'>
https://github.com/ruby/csv/commit/bee48b04c4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/csv/commit/bee48b04c4
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/csv] Split recipes into three pages: parsing, generating, filtering (#184)</title>
<updated>2020-11-24T00:33:55+00:00</updated>
<author>
<name>Burdette Lamar</name>
<email>BurdetteLamar@Yahoo.com</email>
</author>
<published>2020-10-14T01:06:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c5fcafd2fd82ddbae38739a874bf84a19b4ef402'/>
<id>c5fcafd2fd82ddbae38739a874bf84a19b4ef402</id>
<content type='text'>
Co-authored-by: Sutou Kouhei &lt;kou@clear-code.com&gt;

https://github.com/ruby/csv/commit/f0bab6a592
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Sutou Kouhei &lt;kou@clear-code.com&gt;

https://github.com/ruby/csv/commit/f0bab6a592
</pre>
</div>
</content>
</entry>
</feed>
