| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
(https://github.com/ruby/csv/pull/273)
https://github.com/ruby/csv/commit/e5622c53ae
|
|
|
|
| |
https://github.com/ruby/csv/commit/8606ee83e0
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
It will improve performance a bit. (But I haven't confirmed it yet...)
https://github.com/ruby/csv/commit/06a65b0302
|
|
|
|
|
|
|
|
| |
Ruby: [Bug #18245] [ruby-core:105587]
Reported by Hassan Abdul Rehman.
https://github.com/ruby/csv/commit/5c6523da0a
|
|
|
|
|
|
|
|
| |
GitHub: fix GH-228
Reported by Rafael Navaza. Thanks!!!
https://github.com/ruby/csv/commit/81f595b6a1
|
|
|
|
| |
https://github.com/ruby/csv/commit/e32b666731
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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
|
|
|
|
| |
https://github.com/ruby/csv/commit/a802690e11
|
|
|
|
| |
https://github.com/ruby/csv/commit/9c4add0d31
|
|
|
|
| |
https://github.com/ruby/csv/commit/5ff3b95018
|
|
|
|
| |
https://github.com/ruby/csv/commit/1f9cbc170e
|
|
|
|
|
|
| |
a single entry when row is faulty (https://github.com/ruby/csv/pull/220)
https://github.com/ruby/csv/commit/29cef9ea9d
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
https://github.com/ruby/csv/commit/3025070cea
|
|
|
|
| |
https://github.com/ruby/csv/commit/5855c017ef
|
|
|
|
|
|
|
|
| |
GitHub: fix GH-194
Reported by Josef Šimánek. Thanks!!!
https://github.com/ruby/csv/commit/fd86afe081
|
|
|
|
| |
https://github.com/ruby/csv/commit/e1b430d965
|
|
|
|
| |
https://github.com/ruby/csv/commit/5623dee00e
|
|
|
|
|
|
| |
Co-authored-by: Sutou Kouhei <kou@clear-code.com>
https://github.com/ruby/csv/commit/f0bab6a592
|
|
|
|
| |
https://github.com/ruby/csv/commit/01ffd0d2de
|
|
|
|
| |
https://github.com/ruby/csv/commit/99956c671d
|
|
|
|
| |
https://github.com/ruby/csv/commit/cced8d8de9
|
|
|
|
| |
https://github.com/ruby/csv/commit/744e83043f
|
|
|
|
| |
https://github.com/ruby/csv/commit/70ed12c1aa
|
|
|
|
| |
https://github.com/ruby/csv/commit/cf3b60db1c
|
|
|
|
| |
https://github.com/ruby/csv/commit/bce4b696a7
|
|
|
|
| |
https://github.com/ruby/csv/commit/bb3eb242f2
|
|
|
|
|
|
|
|
| |
* Enhanced RDoc for Table#[]
* Enhanced RDoc for Table#[]
https://github.com/ruby/csv/commit/5575ffc82e
|
|
|
|
| |
https://github.com/ruby/csv/commit/e7628e6930
|
|
|
|
|
|
|
| |
If we have it, we can use the csv gem with a Rack application on
Passenger.
https://github.com/ruby/csv/commit/e0c7074a82
|
| |
|
| |
|
|
|
|
|
|
| |
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
|
|
|
|
| |
https://github.com/ruby/csv/commit/09dd9f2771
|
|
|
|
|
|
|
|
| |
GitHub: fix GH-153
Reported by Aleksandr. Thanks!!!
https://github.com/ruby/csv/commit/8812c58a26
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
https://github.com/ruby/csv/commit/c6577e5b6e
|
|
|
|
|
|
|
|
| |
GitHub: fix GH-125
Reported by joast. Thanks!!!
https://github.com/ruby/csv/commit/bf41fa94cf
|
|
|
|
| |
https://github.com/ruby/csv/commit/936f15f3cd
|
|
|
|
| |
https://github.com/ruby/csv/commit/6e83a1de9c
|
|
|
|
|
|
|
|
|
|
| |
with non String
GitHub: fix GH-123
Reported by asm256. Thanks!!!
https://github.com/ruby/csv/commit/b4492139be
|
|
|
|
| |
https://github.com/ruby/csv/commit/edc6cb9022
|
|
|
|
|
|
|
|
| |
GitHub: fix #115
Reported by TOMITA Masahiro. Thanks!!!
https://github.com/ruby/csv/commit/398b3564c5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
with anchors (#110)
* Do not loop forever when skip_lines regexp matches zero length with anchors
* Remove needless white spaces
* Add missing eos check in skip_needless_lines
* Simplify test
https://github.com/ruby/csv/commit/3b15d4a3e8
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Make CSV::Row#dup return a usable Row
Previously, calling `dup` on a `CSV::Row` object yielded an object whose
copy was too shallow. Changing the clone's fields would also change the
fields on the source. This change makes the clone more distinct from the
source, so that changes can be made to its fields without affecting the
source.
* Simplify
https://github.com/ruby/csv/commit/64a1ea06fc
|