<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/psych/visitors, branch v4.0.2</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>[ruby/psych] Use Node#to_ruby parse_symbols option</title>
<updated>2025-12-05T17:14:30+00:00</updated>
<author>
<name>Étienne Barrié</name>
<email>etienne.barrie@gmail.com</email>
</author>
<published>2025-12-05T14:33:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=65dbd571c1e0aae3b0919ae6e64704726f18b265'/>
<id>65dbd571c1e0aae3b0919ae6e64704726f18b265</id>
<content type='text'>
https://github.com/ruby/psych/commit/907fd4fa97
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/psych/commit/907fd4fa97
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/psych] Add support for ruby 3.2 Data objects</title>
<updated>2025-05-01T17:52:13+00:00</updated>
<author>
<name>nick evans</name>
<email>nick@rubinick.dev</email>
</author>
<published>2024-10-28T19:41:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a397e4d4b0a0e7e8499a33ec760dba97ce494c63'/>
<id>a397e4d4b0a0e7e8499a33ec760dba97ce494c63</id>
<content type='text'>
https://github.com/ruby/psych/commit/788b844c83
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/psych/commit/788b844c83
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/psych] Use `assert_same` in tests where applicable</title>
<updated>2023-12-19T02:07:46+00:00</updated>
<author>
<name>Alexander Momchilov</name>
<email>alexandermomchilov@gmail.com</email>
</author>
<published>2023-12-18T09:01:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b3598f95fa997e667bb9e8003b0284ab2a4db081'/>
<id>b3598f95fa997e667bb9e8003b0284ab2a4db081</id>
<content type='text'>
https://github.com/ruby/psych/commit/0dc25a9d6a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/psych/commit/0dc25a9d6a
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/psych] Prefer `assert_include` for simple strings</title>
<updated>2023-06-12T03:02:10+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2023-06-08T12:52:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=10e6626426fcbac3978fa63e9dd0b95076339239'/>
<id>10e6626426fcbac3978fa63e9dd0b95076339239</id>
<content type='text'>
https://github.com/ruby/psych/commit/33024ce2b0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/psych/commit/33024ce2b0
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/psych] require 'delegate' explicitly</title>
<updated>2021-07-29T06:54:34+00:00</updated>
<author>
<name>Pavel Rosický</name>
<email>pavel.rosicky@easy.cz</email>
</author>
<published>2021-06-07T21:19:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b11638eed299a3f2c9df084fd26b001a46b2fbd2'/>
<id>b11638eed299a3f2c9df084fd26b001a46b2fbd2</id>
<content type='text'>
https://github.com/ruby/psych/commit/51a9ce13db
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/psych/commit/51a9ce13db
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/psych] Introduce `Psych.unsafe_load`</title>
<updated>2021-05-17T02:20:45+00:00</updated>
<author>
<name>Aaron Patterson</name>
<email>tenderlove@ruby-lang.org</email>
</author>
<published>2021-05-10T16:50:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c7c2ad5749f7f0767ef38be160f4b391228396c1'/>
<id>c7c2ad5749f7f0767ef38be160f4b391228396c1</id>
<content type='text'>
In future versions of Psych, the `load` method will be mostly the same
as the `safe_load` method.  In other words, the `load` method won't
allow arbitrary object deserialization (which can be used to escalate to
an RCE).  People that need to load *trusted* documents can use the
`unsafe_load` method.

This commit introduces the `unsafe_load` method so that people can
incrementally upgrade.  For example, if they try to upgrade to 4.0.0 and
something breaks, they can downgrade, audit callsites, change to
`safe_load` or `unsafe_load` as required, and then upgrade to 4.0.0
smoothly.

https://github.com/ruby/psych/commit/cb50aa8d3f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In future versions of Psych, the `load` method will be mostly the same
as the `safe_load` method.  In other words, the `load` method won't
allow arbitrary object deserialization (which can be used to escalate to
an RCE).  People that need to load *trusted* documents can use the
`unsafe_load` method.

This commit introduces the `unsafe_load` method so that people can
incrementally upgrade.  For example, if they try to upgrade to 4.0.0 and
something breaks, they can downgrade, audit callsites, change to
`safe_load` or `unsafe_load` as required, and then upgrade to 4.0.0
smoothly.

https://github.com/ruby/psych/commit/cb50aa8d3f
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/psych] Use assert_raise instead of assert_raises</title>
<updated>2021-05-10T10:09:43+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2021-05-10T10:09:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ab785b28e2f3cc879906aeaee0358c0de478499e'/>
<id>ab785b28e2f3cc879906aeaee0358c0de478499e</id>
<content type='text'>
https://github.com/ruby/psych/commit/e6ad12b4e1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/psych/commit/e6ad12b4e1
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix remove warning &amp; support multi-run test for test/psych/visitors/test_to_ruby.rb</title>
<updated>2020-02-13T02:01:15+00:00</updated>
<author>
<name>S-H-GAMELINKS</name>
<email>gamelinks007@gmail.com</email>
</author>
<published>2020-02-09T09:25:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=778c3973103651faa7a50d58bddbb8ea89202ee4'/>
<id>778c3973103651faa7a50d58bddbb8ea89202ee4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>remove warning &amp; support multi-run test for test/psych/visitors/test_to_ruby.rb (#2881)</title>
<updated>2020-02-07T10:35:52+00:00</updated>
<author>
<name>S.H</name>
<email>gamelinks007@gmail.com</email>
</author>
<published>2020-02-07T10:35:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=38ed8cbb5f77d0fd67ae4aadc6a978b303d3c0e9'/>
<id>38ed8cbb5f77d0fd67ae4aadc6a978b303d3c0e9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/psych] Suppress uninitialized instance variable warnings</title>
<updated>2019-07-24T22:52:17+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2019-07-24T13:21:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=698dde525ad3df1444276ccd28c6349c81af2a19'/>
<id>698dde525ad3df1444276ccd28c6349c81af2a19</id>
<content type='text'>
In verbose mode, `test_delegator` in `test/psych/visitors/test_yaml_tree.rb` shows following warning.

https://travis-ci.org/ruby/psych/jobs/562435717#L268
```
/home/travis/build/ruby/psych/test/psych/visitors/test_yaml_tree.rb:10: warning: instance variable @obj not initialized
```

This is because `Psych.load` bypasses #initialize with the #init_with method.

https://github.com/ruby/psych/commit/f99523388f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In verbose mode, `test_delegator` in `test/psych/visitors/test_yaml_tree.rb` shows following warning.

https://travis-ci.org/ruby/psych/jobs/562435717#L268
```
/home/travis/build/ruby/psych/test/psych/visitors/test_yaml_tree.rb:10: warning: instance variable @obj not initialized
```

This is because `Psych.load` bypasses #initialize with the #init_with method.

https://github.com/ruby/psych/commit/f99523388f
</pre>
</div>
</content>
</entry>
</feed>
