path: root/test/csv/interface
AgeCommit message (Collapse)Author
2021-10-24[ruby/csv] Add support for Ractor ( Notes: Merged:
2021-10-24[ruby/csv] CSV(): Add support for Ruby 3 ( Hernandez
The implementation of the `CSV` shortcut method is broken in Ruby 3 for calls that look like this: ```ruby CSV(write_stream, col_sep: "|", headers: headers, write_headers: true) do |csv| ... end ``` The above will result in the following error when the `CSV` method attempts to pass on arguments to `CSV#instance`: ``` ArgumentError: wrong number of arguments (given 2, expected 0..1) ``` The issue is due to the changes in Ruby 3 relating to positional & keyword arguments. This commit updates the `CSV()` shortcut implementation to work with Ruby 3, and also updates the documentation for the shortcut method. Notes: Merged:
2020-11-24[ruby/csv] Fix CSV.filter to preserve headers (#174)Burdette Lamar
Co-authored-by: Sutou Kouhei <> Notes: Merged:
2020-07-20[ruby/csv] Add `invalid: :replace` for `` (#130)Koichi ITO
This PR adds `invalid: :replace` for ``. It is a PR similar to #129. Notes: Merged:
2020-07-20[ruby/csv] Fix an error for `` (#131)Koichi ITO
Follow up to This PR fixes `ArgumentError` for `` when processing invalid byte sequence in UTF-8. Notes: Merged:
2020-07-20[ruby/csv] Add `undef: :replace` for `` (#129)Koichi ITO
This PR adds `undef: :replace` option for ``. `` has `undef: :replace` option, but `` does not. It would be convenient if `` could have a shortcut by having `undef: :replace` option. Notes: Merged:
2019-08-30Fix remaining warning issues in the tests due to keyword argument separationJeremy Evans
Notes: Merged:
2019-08-08Aliases capture_output to capture_io for test-unit compatiblity.Hiroshi SHIBATA
2019-06-30Removed unused variablesNobuyoshi Nakada
2019-04-15Import CSV 3.0.9kou
This fixes test failures on Windows. git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-14Import CSV 3.0.8kou
This includes performance improvements and backward incompatibility fixes. git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e