<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/csv/interface/test_read_write.rb, 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>[ruby/csv] CSV(): Add support for Ruby 3 (https://github.com/ruby/csv/pull/215)</title>
<updated>2021-10-23T20:57:33+00:00</updated>
<author>
<name>Anthony Hernandez</name>
<email>roguegdi27@gmail.com</email>
</author>
<published>2021-05-11T00:41:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8fde54a3b5073d10aff10d359a3f10818d57ea2c'/>
<id>8fde54a3b5073d10aff10d359a3f10818d57ea2c</id>
<content type='text'>
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 &amp; keyword arguments.

This commit updates the `CSV()` shortcut implementation to work with Ruby 3, and also
updates the documentation for the shortcut method.

https://github.com/ruby/csv/commit/310dee45fa
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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 &amp; keyword arguments.

This commit updates the `CSV()` shortcut implementation to work with Ruby 3, and also
updates the documentation for the shortcut method.

https://github.com/ruby/csv/commit/310dee45fa
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/csv] Fix CSV.filter to preserve headers (#174)</title>
<updated>2020-11-24T00:33:55+00:00</updated>
<author>
<name>Burdette Lamar</name>
<email>BurdetteLamar@Yahoo.com</email>
</author>
<published>2020-09-11T21:36:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=614afb1647d9c9eb170262c8b033f000c5beb6f0'/>
<id>614afb1647d9c9eb170262c8b033f000c5beb6f0</id>
<content type='text'>
Co-authored-by: Sutou Kouhei &lt;kou@clear-code.com&gt;

https://github.com/ruby/csv/commit/203c5e0574
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Sutou Kouhei &lt;kou@clear-code.com&gt;

https://github.com/ruby/csv/commit/203c5e0574
</pre>
</div>
</content>
</entry>
<entry>
<title>Removed unused variables</title>
<updated>2019-06-29T23:45:01+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2019-06-29T12:19:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=45ba027d086a04e09ed6ad48c5ac78e61f1174c4'/>
<id>45ba027d086a04e09ed6ad48c5ac78e61f1174c4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Import CSV 3.0.8</title>
<updated>2019-04-14T21:01:51+00:00</updated>
<author>
<name>kou</name>
<email>kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2019-04-14T21:01:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e3b6c7c7ebca1b051dbaa6f33494e92f5638fcc9'/>
<id>e3b6c7c7ebca1b051dbaa6f33494e92f5638fcc9</id>
<content type='text'>
This includes performance improvements and backward incompatibility
fixes.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This includes performance improvements and backward incompatibility
fixes.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
</feed>
