Граф коммитов

24 Коммитов

Автор SHA1 Сообщение Дата
Mark Schneider 2098093fb4 [ruby/csv] docs: Add entry for backslash_quotes liberal parsing
(https://github.com/ruby/csv/pull/280)

https://github.com/ruby/csv/commit/0dcfcd9c48
2023-06-28 16:37:08 +09:00
Yuki Tsujimoto e151a2ff8e [ruby/csv] docs: fix example in Recipe: Capture Unconverted Fields
(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"]
```
2023-05-25 01:44:17 +09:00
Sampat Badhe 55a900d9cc [ruby/csv] Fix typos (https://github.com/ruby/csv/pull/236)
https://github.com/ruby/csv/commit/d5e401266f
2023-05-25 01:44:17 +09:00
Burdette Lamar 81c57ae7ac [ruby/csv] Small RDoc changes for recipes
(https://github.com/ruby/csv/pull/190)

https://github.com/ruby/csv/commit/2102c78384
2023-05-25 01:44:17 +09:00
Burdette Lamar 347afd39a3 [ruby/csv] Enhanced RDoc for CSV::Table
(https://github.com/ruby/csv/pull/166)

https://github.com/ruby/csv/commit/1d685aede3
2023-05-25 01:44:17 +09:00
Sampat Badhe 677ccb927c [ruby/csv] fix typo conveters => converters for CSV parsing docs (#196)
https://github.com/ruby/csv/commit/77ccf486fe
2020-12-27 15:27:03 +09:00
Kazuhiro NISHIYAMA 85a7f723c3
Fix a typo [ci skip] 2020-12-14 10:26:04 +09:00
Burdette Lamar 20a9131270 [ruby/csv] RDoc recipes for RFC-compliant generation (#187)
https://github.com/ruby/csv/commit/5adeaff91f
2020-11-24 09:33:55 +09:00
Burdette Lamar d48e688f64 [ruby/csv] RDoc recipes for diagnostics (#186)
https://github.com/ruby/csv/commit/d9e67918e2
2020-11-24 09:33:55 +09:00
Burdette Lamar 9266410c7a [ruby/csv] RDoc Recipes for write converters and RFC 4180 compliance (#185)
https://github.com/ruby/csv/commit/bee48b04c4
2020-11-24 09:33:55 +09:00
Burdette Lamar c5fcafd2fd [ruby/csv] Split recipes into three pages: parsing, generating, filtering (#184)
Co-authored-by: Sutou Kouhei <kou@clear-code.com>

https://github.com/ruby/csv/commit/f0bab6a592
2020-11-24 09:33:55 +09:00
Burdette Lamar 3cfb63fcd8 [ruby/csv] More on Recipes headers (#183)
https://github.com/ruby/csv/commit/d7ae3df801
2020-11-24 09:33:55 +09:00
Burdette Lamar 15e457d6a3 [ruby/csv] Refine RDoc for headers recipes (#182)
https://github.com/ruby/csv/commit/bd8085e126
2020-11-24 09:33:55 +09:00
Burdette Lamar 6e28ec06c1 [ruby/csv] RDoc recipes: add introductory texts to code recipes (#181)
https://github.com/ruby/csv/commit/c52d53761e
2020-11-24 09:33:55 +09:00
Burdette Lamar 4641a9a92b [ruby/csv] Emphasize with-headers over without-headers in recipes (#180)
https://github.com/ruby/csv/commit/c7bbedd28a
2020-11-24 09:33:55 +09:00
Burdette Lamar 76e5e5aaec [ruby/csv] More RDoc for field converters (#179)
https://github.com/ruby/csv/commit/2a4ef5d86a
2020-11-24 09:33:55 +09:00
Burdette Lamar 4be336b1b7 [ruby/csv] Recipes for field converters (#177)
https://github.com/ruby/csv/commit/aea896f030
2020-11-24 09:33:55 +09:00
Burdette Lamar 98d52d873e [ruby/csv] Organize page Recipes better (#176)
https://github.com/ruby/csv/commit/338b7f0d57
2020-11-24 09:33:55 +09:00
Burdette Lamar 8ea293b79c [ruby/csv] Experimenting with recipes in CSV RDoc (#175)
https://github.com/ruby/csv/commit/01ffd0d2de
2020-11-24 09:33:55 +09:00
Burdette Lamar d9749b4715
[ruby/csv] RDoc for converters (#157)
* More on RDoc for converters

* More on RDoc for converters

* Fix indent

Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
https://github.com/ruby/csv/commit/6044976160
2020-07-20 02:32:54 +09:00
Burdette Lamar 544d82f49b
[ruby/csv] RDoc: summary lists for options (#154)
* RDoc: summary lists for options

* Enhanced RDoc for certain attributes and instance methods

* Enhanced RDoc for certain attributes and instance methods

* Enhanced RDoc for certain attributes and instance methods

* Enhanced RDoc for certain attributes and instance methods
https://github.com/ruby/csv/commit/72d8a25dc9
2020-07-20 02:32:54 +09:00
Burdette Lamar 7bf13c5183
[ruby/csv] Improve RDoc for common options (#146)
https://github.com/ruby/csv/commit/223cbee35d
2020-07-20 02:32:53 +09:00
Burdette Lamar d9eff306f5
[ruby/csv] Organize files in doc/ (#145)
https://github.com/ruby/csv/commit/bc9ea859b0
2020-07-20 02:32:53 +09:00
Burdette Lamar 6ba1abd40c
[ruby/csv] Enhanced Rdoc for CSV (#122)
https://github.com/ruby/csv/commit/cd670595d5
2020-07-20 02:32:50 +09:00