<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/csv, branch v3_2_11</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>Reapply the following commits related to extend timeout value.</title>
<updated>2022-12-09T07:36:22+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2022-12-08T23:51:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=bcf01b18cfe9b21bfde32e28edd4745703bf190c'/>
<id>bcf01b18cfe9b21bfde32e28edd4745703bf190c</id>
<content type='text'>
  66d1900423e6fb9774c2fe72dba8c2968b54d7ab
  0686e4181d04dd911316a227753ceaa96d8c6533
  1a63468831524f68e73cbb068071652c6486cfc6
  e1fee7f949cb6719122672fa1081c60984a5339f
  232e43fd52e53f667c2c290cffb4afa524889f0f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  66d1900423e6fb9774c2fe72dba8c2968b54d7ab
  0686e4181d04dd911316a227753ceaa96d8c6533
  1a63468831524f68e73cbb068071652c6486cfc6
  e1fee7f949cb6719122672fa1081c60984a5339f
  232e43fd52e53f667c2c290cffb4afa524889f0f
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge csv-3.2.6</title>
<updated>2022-12-09T07:36:22+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2022-12-08T23:46:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=643918ecfe9c980f251247de6acd3be6280da24c'/>
<id>643918ecfe9c980f251247de6acd3be6280da24c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Respect RUBY_TESTOPTS on test-all (https://github.com/Shopify/ruby/pull/435)</title>
<updated>2022-08-29T16:09:41+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2022-08-25T16:18:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=232e43fd52e53f667c2c290cffb4afa524889f0f'/>
<id>232e43fd52e53f667c2c290cffb4afa524889f0f</id>
<content type='text'>
* Respect RUBY_TESTOPTS on test-all

* Increase the Cirrus timeout

* Increase the CSV test timeout
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Respect RUBY_TESTOPTS on test-all

* Increase the Cirrus timeout

* Increase the CSV test timeout
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/csv] test: reduce size for stability on GitHub Actions</title>
<updated>2021-12-24T05:35:33+00:00</updated>
<author>
<name>Sutou Kouhei</name>
<email>kou@clear-code.com</email>
</author>
<published>2021-12-24T01:55:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=1a1550ba5d6f2f7631cb69a76e78f9ed31ac30fb'/>
<id>1a1550ba5d6f2f7631cb69a76e78f9ed31ac30fb</id>
<content type='text'>
https://github.com/ruby/csv/commit/68461aead5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/csv/commit/68461aead5
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/csv] Revert "parser: fix a keep bug that some texts may be dropped unexpectedly"</title>
<updated>2021-12-24T05:35:33+00:00</updated>
<author>
<name>Sutou Kouhei</name>
<email>kou@clear-code.com</email>
</author>
<published>2021-12-24T01:44:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=22ef4f6445376b992b2725124594dad1c77a185e'/>
<id>22ef4f6445376b992b2725124594dad1c77a185e</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/csv] parser: fix a keep bug that some texts may be dropped unexpectedly</title>
<updated>2021-12-24T05:35:33+00:00</updated>
<author>
<name>Sutou Kouhei</name>
<email>kou@clear-code.com</email>
</author>
<published>2021-12-24T01:18:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=4a5d372ca8902a649928eb0689aca7edcfaa07b6'/>
<id>4a5d372ca8902a649928eb0689aca7edcfaa07b6</id>
<content type='text'>
Ruby: [Bug #18245] [ruby-core:105587]

Reported by Hassan Abdul Rehman.

https://github.com/ruby/csv/commit/5c6523da0a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ruby: [Bug #18245] [ruby-core:105587]

Reported by Hassan Abdul Rehman.

https://github.com/ruby/csv/commit/5c6523da0a
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/csv] Add handling for ambiguous parsing options (https://github.com/ruby/csv/pull/226)</title>
<updated>2021-12-24T05:35:33+00:00</updated>
<author>
<name>adamroyjones</name>
<email>10088591+adamroyjones@users.noreply.github.com</email>
</author>
<published>2021-11-18T21:20:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c70dc3cafb29d89d0377677ead346495183db47e'/>
<id>c70dc3cafb29d89d0377677ead346495183db47e</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/csv] Fix typos [ci skip] (https://github.com/ruby/csv/pull/224)</title>
<updated>2021-12-24T05:35:33+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2021-11-04T00:02:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=47c53af16872d61576184b0d6935fcf531564cc4'/>
<id>47c53af16872d61576184b0d6935fcf531564cc4</id>
<content type='text'>
https://github.com/ruby/csv/commit/27c0b66c8f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/csv/commit/27c0b66c8f
</pre>
</div>
</content>
</entry>
<entry>
<title>Prepare for removing RubyVM::JIT (#5262)</title>
<updated>2021-12-14T07:07:46+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2021-12-14T07:07:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=1a63468831524f68e73cbb068071652c6486cfc6'/>
<id>1a63468831524f68e73cbb068071652c6486cfc6</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] Add support for Ractor (https://github.com/ruby/csv/pull/218)</title>
<updated>2021-10-23T20:57:33+00:00</updated>
<author>
<name>rm155</name>
<email>86454369+rm155@users.noreply.github.com</email>
</author>
<published>2021-10-11T02:21:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ee948fc1b4cb1ad382beee709008bb93b8f6ba75'/>
<id>ee948fc1b4cb1ad382beee709008bb93b8f6ba75</id>
<content type='text'>
https://github.com/ruby/csv/commit/a802690e11
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/csv/commit/a802690e11
</pre>
</div>
</content>
</entry>
</feed>
