<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/stringio/test_stringio.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>merge revision(s) 21dced8b01823a991829b66ffdc8ffc635965c76: [Backport #19389]</title>
<updated>2023-01-31T02:08:50+00:00</updated>
<author>
<name>NARUSE, Yui</name>
<email>naruse@airemix.jp</email>
</author>
<published>2023-01-31T02:08:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=1689d8bb4843f92c1805e4a4bdd94049569198f4'/>
<id>1689d8bb4843f92c1805e4a4bdd94049569198f4</id>
<content type='text'>
	[ruby/stringio] [Bug #19389] Fix chomping with longer separator

	https://github.com/ruby/stringio/commit/eb322a9716
	---
	 ext/stringio/stringio.c        | 5 +++--
	 test/stringio/test_stringio.rb | 2 ++
	 2 files changed, 5 insertions(+), 2 deletions(-)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	[ruby/stringio] [Bug #19389] Fix chomping with longer separator

	https://github.com/ruby/stringio/commit/eb322a9716
	---
	 ext/stringio/stringio.c        | 5 +++--
	 test/stringio/test_stringio.rb | 2 ++
	 2 files changed, 5 insertions(+), 2 deletions(-)
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/stringio] Fix the result of `StringIO#truncate` so compatible with `File`</title>
<updated>2022-06-30T15:52:29+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2022-06-30T15:49:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=302f353fd9223d020e48495eaa7a03ce5d539409'/>
<id>302f353fd9223d020e48495eaa7a03ce5d539409</id>
<content type='text'>
https://github.com/ruby/stringio/commit/16847fea32
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/stringio/commit/16847fea32
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/stringio] Accept external and internal encodings pair</title>
<updated>2022-05-30T05:48:44+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2022-05-30T04:46:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d3e986d9ab9a880b58a0b4fc68dadc2b10f4cf12'/>
<id>d3e986d9ab9a880b58a0b4fc68dadc2b10f4cf12</id>
<content type='text'>
Fix https://github.com/ruby/stringio/pull/16

https://github.com/ruby/stringio/commit/c8a69e80d2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix https://github.com/ruby/stringio/pull/16

https://github.com/ruby/stringio/commit/c8a69e80d2
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/stringio] Fix handling of chomp with paragraph separator</title>
<updated>2022-05-30T04:10:46+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2022-05-26T22:01:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=609d73e8925f807786686caf635178bb1de74256'/>
<id>609d73e8925f807786686caf635178bb1de74256</id>
<content type='text'>
Try to mirror IO behavior, where chomp takes out the entire paragraph
separators between entries, but does not chomp a single line separator
at the end of the string.

Partially Fixes [Bug #18768]

https://github.com/ruby/stringio/commit/a83ddbb7f0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Try to mirror IO behavior, where chomp takes out the entire paragraph
separators between entries, but does not chomp a single line separator
at the end of the string.

Partially Fixes [Bug #18768]

https://github.com/ruby/stringio/commit/a83ddbb7f0
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/stringio] Ignore chomp keyword for nil separator</title>
<updated>2022-05-30T04:01:17+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2022-05-26T19:17:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=adaaf12857ce41d35b282e3fb5aa330934ce45c6'/>
<id>adaaf12857ce41d35b282e3fb5aa330934ce45c6</id>
<content type='text'>
nil separator means no separator at all, so nothing should be
chomped.

Partial fix for Ruby [Bug #18770]

https://github.com/ruby/stringio/commit/feaa2ec631
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
nil separator means no separator at all, so nothing should be
chomped.

Partial fix for Ruby [Bug #18770]

https://github.com/ruby/stringio/commit/feaa2ec631
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/stringio] Fix each with multiple character string and chomp</title>
<updated>2022-05-30T03:55:47+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2022-05-26T22:22:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=1f82269f4e1bf037e3e5504c6071b905f26fec6f'/>
<id>1f82269f4e1bf037e3e5504c6071b905f26fec6f</id>
<content type='text'>
Previously, this could result in an infinite loop.  Always update
the e pointer in this case, setting w when chomping so the chomped
data is not included in the output.

Fixes [Bug #18769]

https://github.com/ruby/stringio/commit/4bf64d5130
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, this could result in an infinite loop.  Always update
the e pointer in this case, setting w when chomping so the chomped
data is not included in the output.

Fixes [Bug #18769]

https://github.com/ruby/stringio/commit/4bf64d5130
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/stringio] Fix expanding size at ungetc/ungetbyte</title>
<updated>2022-05-30T03:51:37+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2021-11-16T08:39:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=bb6357cddd5af2c244348e96388a10f7cc6f25b4'/>
<id>bb6357cddd5af2c244348e96388a10f7cc6f25b4</id>
<content type='text'>
https://github.com/ruby/stringio/commit/a35268a3ac
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/stringio/commit/a35268a3ac
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/stringio] Check if closed in loop</title>
<updated>2021-03-08T01:13:29+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2021-03-07T13:39:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=32a13591e0bb6e96b05452e214f14eda21ee3aa9'/>
<id>32a13591e0bb6e96b05452e214f14eda21ee3aa9</id>
<content type='text'>
[Bug #17675] https://bugs.ruby-lang.org/issues/17675

https://github.com/ruby/stringio/commit/1ed61d0cbc
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[Bug #17675] https://bugs.ruby-lang.org/issues/17675

https://github.com/ruby/stringio/commit/1ed61d0cbc
</pre>
</div>
</content>
</entry>
<entry>
<title>Prefer to use omit</title>
<updated>2021-03-08T00:34:16+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2021-02-17T03:20:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c3c18007086df2b126f25483d82d72adafb2da7e'/>
<id>c3c18007086df2b126f25483d82d72adafb2da7e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[stringio] fix stringio codepoint enumerator off by one error</title>
<updated>2020-08-27T14:41:22+00:00</updated>
<author>
<name>Yoann Lecuyer</name>
<email>yoann.lecuyer@gmail.com</email>
</author>
<published>2020-08-26T20:46:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b3c1c767ea64ce435c115cece5074274b7aefadc'/>
<id>b3c1c767ea64ce435c115cece5074274b7aefadc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
