<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/test_pp.rb, branch v3_3_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/pp] Remove patch added for Ruby 2.6/JRuby 9.3</title>
<updated>2023-04-25T23:21:58+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan.lo@shopify.com</email>
</author>
<published>2023-03-14T07:29:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=bf3ed7e8266e02f96de4a369902dee7d9fdcd4bb'/>
<id>bf3ed7e8266e02f96de4a369902dee7d9fdcd4bb</id>
<content type='text'>
https://github.com/ruby/pp/commit/09dae96129
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/pp/commit/09dae96129
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/pp] Skip certain tests for JRuby</title>
<updated>2023-04-25T23:21:57+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan.lo@shopify.com</email>
</author>
<published>2023-03-14T06:59:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c9b61ec53e2e2fc914d3f95e189b8e9f3bbd851a'/>
<id>c9b61ec53e2e2fc914d3f95e189b8e9f3bbd851a</id>
<content type='text'>
https://github.com/ruby/pp/commit/f7bde31ca9
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/pp/commit/f7bde31ca9
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/pp] [Feature #19045] Add support Data#pretty_print</title>
<updated>2022-10-14T12:31:24+00:00</updated>
<author>
<name>manga_osyo</name>
<email>manga.osyo@gmail.com</email>
</author>
<published>2022-10-10T03:30:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7b7e5153e81288fe57ae64f2e1db228435156aeb'/>
<id>7b7e5153e81288fe57ae64f2e1db228435156aeb</id>
<content type='text'>
https://github.com/ruby/pp/commit/343a20d721
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/pp/commit/343a20d721
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/pp] Add context to bind_call and skip 2.7+ test</title>
<updated>2021-12-17T23:38:59+00:00</updated>
<author>
<name>Charles Oliver Nutter</name>
<email>headius@headius.com</email>
</author>
<published>2021-12-07T21:10:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=66ec3217dfe92267791071acb50ac60791a7861e'/>
<id>66ec3217dfe92267791071acb50ac60791a7861e</id>
<content type='text'>
The bind_call definition here is added primarily to support
running the tests on JRuby 9.3, which only supports Ruby 2.6
features. The excluded test appears to depend on inspect behavior
that changed after Ruby 2.6.

With these two changes the test suite runs green on Ruby 2.6 and
JRuby 9.3.

https://github.com/ruby/pp/commit/892c612958
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The bind_call definition here is added primarily to support
running the tests on JRuby 9.3, which only supports Ruby 2.6
features. The excluded test appears to depend on inspect behavior
that changed after Ruby 2.6.

With these two changes the test suite runs green on Ruby 2.6 and
JRuby 9.3.

https://github.com/ruby/pp/commit/892c612958
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/pp] Incorporate 2.6 versions of 2.7 methods needed</title>
<updated>2021-12-17T23:38:59+00:00</updated>
<author>
<name>Charles Oliver Nutter</name>
<email>headius@headius.com</email>
</author>
<published>2021-09-28T14:53:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=cc73dfb92a4bd15d48217d4697a78a5814213e07'/>
<id>cc73dfb92a4bd15d48217d4697a78a5814213e07</id>
<content type='text'>
* UnboundMethod#bind_call
* ruby2_keywords gem for testing

https://github.com/ruby/pp/commit/721d8cbd10
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* UnboundMethod#bind_call
* ruby2_keywords gem for testing

https://github.com/ruby/pp/commit/721d8cbd10
</pre>
</div>
</content>
</entry>
<entry>
<title>Mask RubyVM-specific test</title>
<updated>2020-03-05T22:49:27+00:00</updated>
<author>
<name>Charles Oliver Nutter</name>
<email>headius@headius.com</email>
</author>
<published>2020-03-05T22:48:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e57dd8c2b52557f5564b9a1d9d38df66e4d090c9'/>
<id>e57dd8c2b52557f5564b9a1d9d38df66e4d090c9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove empty keyword splats when calling even when using ruby2_keywords</title>
<updated>2020-01-23T17:30:29+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2020-01-23T02:12:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f8a8f055123bc81fc13fa295b936504196df0da4'/>
<id>f8a8f055123bc81fc13fa295b936504196df0da4</id>
<content type='text'>
Keeping empty keyword splats for ruby2_keywords methods was
necessary in 2.7 to prevent the final positional hash being
treated as keywords.  Now that keyword argument separation
has been committed, the final positional hash is never
treated as keywords, so there is no need to keep empty
keyword splats when using ruby2_keywords.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Keeping empty keyword splats for ruby2_keywords methods was
necessary in 2.7 to prevent the final positional hash being
treated as keywords.  Now that keyword argument separation
has been committed, the final positional hash is never
treated as keywords, so there is no need to keep empty
keyword splats when using ruby2_keywords.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add more direct test for pp with a ruby2_keywords Hash</title>
<updated>2020-01-23T09:59:26+00:00</updated>
<author>
<name>Benoit Daloze</name>
<email>eregontp@gmail.com</email>
</author>
<published>2020-01-23T09:59:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0ea759eac9234afc47e8fb1bcacfe9ee12c8ffb6'/>
<id>0ea759eac9234afc47e8fb1bcacfe9ee12c8ffb6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix pp when passed a empty ruby2_keywords-flagged hash as array element</title>
<updated>2020-01-22T18:27:02+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2020-01-22T00:14:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=28d31ead34baff1c4abc0d7d902ef4bc1d576fb2'/>
<id>28d31ead34baff1c4abc0d7d902ef4bc1d576fb2</id>
<content type='text'>
This causes problems because the hash is passed to a block not
accepting keywords.  Because the hash is empty and keyword flagged,
it is removed before calling the block.  This doesn't cause an
ArgumentError because it is a block and not a lambda.  Just like
any other block not passed required arguments, arguments not
passed are set to nil.

Issues like this are a strong reason not to have ruby2_keywords
by default.

Fixes [Bug #16519]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This causes problems because the hash is passed to a block not
accepting keywords.  Because the hash is empty and keyword flagged,
it is removed before calling the block.  This doesn't cause an
ArgumentError because it is a block and not a lambda.  Just like
any other block not passed required arguments, arguments not
passed are set to nil.

Issues like this are a strong reason not to have ruby2_keywords
by default.

Fixes [Bug #16519]
</pre>
</div>
</content>
</entry>
<entry>
<title>Make prettyprint’s cycle detection aware of Delegator instances</title>
<updated>2019-12-16T14:43:49+00:00</updated>
<author>
<name>Richard Viney</name>
<email>richard.viney@gmail.com</email>
</author>
<published>2017-01-22T01:50:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=6a75a460536a32fb62184dc5d8d66ddd737a9bad'/>
<id>6a75a460536a32fb62184dc5d8d66ddd737a9bad</id>
<content type='text'>
Fixes [Bug #13144]

Co-Authored-By: Nobuyoshi Nakada &lt;nobu@ruby-lang.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes [Bug #13144]

Co-Authored-By: Nobuyoshi Nakada &lt;nobu@ruby-lang.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
