Age | Commit message (Collapse) | Author |
|
(https://github.com/ruby/csv/pull/287)
To handle encoding errors in CSV parsing with the appropriate error
class
https://github.com/ruby/csv/commit/68b44887e5
|
|
https://github.com/ruby/csv/commit/e090da19b4
|
|
GitHub: fix https://github.com/ruby/csv/pull/279
It's happen when:
* `keep_start`/`keep_{drop,back}` are nested.
(e.g.: `strip: true, skip_lines: /.../`)
* Row separator is `\r\n`.
* `InputScanner` is used. (Small input doesn't use `InputScanner`)
Reported by Gabriel Nagy. Thanks!!!
https://github.com/ruby/csv/commit/183635ab56
|
|
https://github.com/ruby/csv/commit/bfbd6bbf6f
|
|
https://github.com/ruby/csv/commit/5df650be0c
|
|
(https://github.com/ruby/csv/pull/250)
Since PR #159, the minimum Ruby version is 2.5.0, a version which no
longer requires refinements for String#delete_suffix?, String#match? and
Regexp#match?.
Notes:
Merged: https://github.com/ruby/ruby/pull/7851
|
|
(https://github.com/ruby/csv/pull/273)
https://github.com/ruby/csv/commit/e5622c53ae
|
|
https://github.com/ruby/csv/commit/8606ee83e0
Notes:
Merged: https://github.com/ruby/ruby/pull/7025
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/6890
|
|
|
|
|
|
unexpectedly"
This reverts commit https://github.com/ruby/csv/commit/5c6523da0a61.
This introduces another pbolem. We should try again later.
https://github.com/ruby/csv/commit/43a1d6fff1
Notes:
Merged: https://github.com/ruby/ruby/pull/5336
|
|
It will improve performance a bit. (But I haven't confirmed it yet...)
https://github.com/ruby/csv/commit/06a65b0302
Notes:
Merged: https://github.com/ruby/ruby/pull/5336
|
|
Ruby: [Bug #18245] [ruby-core:105587]
Reported by Hassan Abdul Rehman.
https://github.com/ruby/csv/commit/5c6523da0a
Notes:
Merged: https://github.com/ruby/ruby/pull/5336
|
|
GitHub: fix GH-228
Reported by Rafael Navaza. Thanks!!!
https://github.com/ruby/csv/commit/81f595b6a1
Notes:
Merged: https://github.com/ruby/ruby/pull/5336
|
|
https://github.com/ruby/csv/commit/e32b666731
Notes:
Merged: https://github.com/ruby/ruby/pull/5336
|
|
(https://github.com/ruby/csv/pull/226)
GitHub: fix GH-225
With Ruby 3.0.2 and csv 3.2.1, the file
```ruby
require "csv"
File.open("example.tsv", "w") { |f| f.puts("foo\t\tbar") }
CSV.read("example.tsv", col_sep: "\t", strip: true)
```
produces the error
```
lib/csv/parser.rb:935:in `parse_quotable_robust': TODO: Meaningful
message in line 1. (CSV::MalformedCSVError)
```
However, the CSV in this example is not malformed; instead, ambiguous
options were provided to the parser. It is not obvious (to me) whether
the string should be parsed as
- `["foo\t\tbar"]`,
- `["foo", "bar"]`,
- `["foo", "", "bar"]`, or
- `["foo", nil, "bar"]`.
This commit adds code that raises an exception when this situation is
encountered. Specifically, it checks if the column separator either ends
with or starts with the characters that would be stripped away.
This commit also adds unit tests and updates the documentation.
https://github.com/ruby/csv/commit/cc317dd42d
Notes:
Merged: https://github.com/ruby/ruby/pull/5336
|
|
https://github.com/ruby/csv/commit/a802690e11
Notes:
Merged: https://github.com/ruby/ruby/pull/5010
|
|
https://github.com/ruby/csv/commit/9c4add0d31
Notes:
Merged: https://github.com/ruby/ruby/pull/5010
|
|
https://github.com/ruby/csv/commit/5ff3b95018
Notes:
Merged: https://github.com/ruby/ruby/pull/5010
|
|
https://github.com/ruby/csv/commit/1f9cbc170e
Notes:
Merged: https://github.com/ruby/ruby/pull/5010
|
|
a single entry when row is faulty (https://github.com/ruby/csv/pull/220)
https://github.com/ruby/csv/commit/29cef9ea9d
Notes:
Merged: https://github.com/ruby/ruby/pull/5010
|
|
It's for Ractor. If you want to use the built-in converters, you
should call Ractor.make_shareable(CSV::Converters) and/or
Ractor.make_shareable(CSV::HeaderConverters).
https://github.com/ruby/csv/commit/b0b1325d6b
Notes:
Merged: https://github.com/ruby/ruby/pull/5010
|
|
https://github.com/ruby/csv/commit/3025070cea
Notes:
Merged: https://github.com/ruby/ruby/pull/5010
|
|
https://github.com/ruby/csv/commit/5855c017ef
|
|
GitHub: fix GH-194
Reported by Josef Šimánek. Thanks!!!
https://github.com/ruby/csv/commit/fd86afe081
Notes:
Merged: https://github.com/ruby/ruby/pull/3804
|
|
https://github.com/ruby/csv/commit/e1b430d965
Notes:
Merged: https://github.com/ruby/ruby/pull/3804
|
|
https://github.com/ruby/csv/commit/5623dee00e
Notes:
Merged: https://github.com/ruby/ruby/pull/3804
|
|
Co-authored-by: Sutou Kouhei <[email protected]>
https://github.com/ruby/csv/commit/f0bab6a592
Notes:
Merged: https://github.com/ruby/ruby/pull/3804
|
|
https://github.com/ruby/csv/commit/01ffd0d2de
Notes:
Merged: https://github.com/ruby/ruby/pull/3804
|
|
https://github.com/ruby/csv/commit/99956c671d
Notes:
Merged: https://github.com/ruby/ruby/pull/3804
|
|
https://github.com/ruby/csv/commit/cced8d8de9
Notes:
Merged: https://github.com/ruby/ruby/pull/3804
|
|
https://github.com/ruby/csv/commit/744e83043f
Notes:
Merged: https://github.com/ruby/ruby/pull/3804
|
|
https://github.com/ruby/csv/commit/70ed12c1aa
Notes:
Merged: https://github.com/ruby/ruby/pull/3804
|
|
https://github.com/ruby/csv/commit/cf3b60db1c
Notes:
Merged: https://github.com/ruby/ruby/pull/3804
|
|
https://github.com/ruby/csv/commit/bce4b696a7
Notes:
Merged: https://github.com/ruby/ruby/pull/3804
|
|
https://github.com/ruby/csv/commit/bb3eb242f2
Notes:
Merged: https://github.com/ruby/ruby/pull/3804
|
|
* Enhanced RDoc for Table#[]
* Enhanced RDoc for Table#[]
https://github.com/ruby/csv/commit/5575ffc82e
Notes:
Merged: https://github.com/ruby/ruby/pull/3804
|
|
https://github.com/ruby/csv/commit/e7628e6930
Notes:
Merged: https://github.com/ruby/ruby/pull/3804
|
|
If we have it, we can use the csv gem with a Rack application on
Passenger.
https://github.com/ruby/csv/commit/e0c7074a82
Notes:
Merged: https://github.com/ruby/ruby/pull/3804
|
|
|
|
|
|
A dependency to stringio was added to csv, which requires Ruby version
>= 2.5. Bump the gemspec version accordingly.
https://github.com/ruby/csv/commit/bc5a26029f
|
|
https://github.com/ruby/csv/commit/f9cd046d66
Notes:
Merged: https://github.com/ruby/ruby/pull/3335
|
|
https://github.com/ruby/csv/commit/09dd9f2771
Notes:
Merged: https://github.com/ruby/ruby/pull/3335
|
|
GitHub: fix GH-153
Reported by Aleksandr. Thanks!!!
https://github.com/ruby/csv/commit/8812c58a26
Notes:
Merged: https://github.com/ruby/ruby/pull/3332
|
|
Follow up to https://github.com/ruby/csv/pull/130/files#r434885191.
This PR fixes `ArgumentError` for `CSV.open` when processing
invalid byte sequence in UTF-8.
https://github.com/ruby/csv/commit/a4b528c209
Notes:
Merged: https://github.com/ruby/ruby/pull/3332
|
|
https://github.com/ruby/csv/commit/c6577e5b6e
Notes:
Merged: https://github.com/ruby/ruby/pull/3332
|
|
GitHub: fix GH-125
Reported by joast. Thanks!!!
https://github.com/ruby/csv/commit/bf41fa94cf
Notes:
Merged: https://github.com/ruby/ruby/pull/3332
|
|
https://github.com/ruby/csv/commit/936f15f3cd
Notes:
Merged: https://github.com/ruby/ruby/pull/3332
|