<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/tool/lib, branch ruby_3_0</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>Merge URI-0.10.2 for Ruby 3.0 (#7607)</title>
<updated>2023-03-29T05:54:14+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2023-03-29T05:54:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=2d99ef4f74e13de352ffd867ffe7308f78d7418e'/>
<id>2d99ef4f74e13de352ffd867ffe7308f78d7418e</id>
<content type='text'>
* Merge URI-0.10.2

* Merge URI-0.10.0.2 for bundler

* Added assert_linear_performance for URI tests</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Merge URI-0.10.2

* Merge URI-0.10.0.2 for bundler

* Added assert_linear_performance for URI tests</pre>
</div>
</content>
</entry>
<entry>
<title>merge revision(s) 5086c25f6015558877f85c3f1c014780b08fd3ce,3ff0a0b40c2e1fbdad2286f1dafe837f822d0e0d: [Backport #16936]</title>
<updated>2021-12-24T05:41:08+00:00</updated>
<author>
<name>nagachika</name>
<email>nagachika@ruby-lang.org</email>
</author>
<published>2021-12-24T05:41:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=1d29740c1b101db4bd8fc2d05f929a9e37471a0f'/>
<id>1d29740c1b101db4bd8fc2d05f929a9e37471a0f</id>
<content type='text'>
	Properly exclude test cases.

	Lets consider the following scenario:

	~~~
	irb(#&lt;Test::Unit::AutoRunner::Runner:0x0000560f68afc3c8&gt;):001:0&gt; p suite
	OpenSSL::TestEC
	=&gt; OpenSSL::TestEC

	irb(#&lt;Test::Unit::AutoRunner::Runner:0x0000560f68afc3c8&gt;):002:0&gt; p all_test_methods
	["test_ECPrivateKey", "test_ECPrivateKey_encrypted", "test_PUBKEY", "test_check_key", "test_derive_key", "test_dh_compute_key", "test_dsa_sign_asn1_FIPS186_3", "test_ec_group", "test_ec_key", "test_ec_point", "test_ec_point_add", "test_ec_point_mul", "test_generate", "test_marshal", "test_sign_verify", "test_sign_verify_raw"]
	=&gt;
	["test_ECPrivateKey",
	 "test_ECPrivateKey_encrypted",
	 "test_PUBKEY",
	 "test_check_key",
	 "test_derive_key",
	 "test_dh_compute_key",
	 "test_dsa_sign_asn1_FIPS186_3",
	 "test_ec_group",
	 "test_ec_key",
	 "test_ec_point",
	 "test_ec_point_add",
	 "test_ec_point_mul",
	 "test_generate",
	 "test_marshal",
	 "test_sign_verify",
	 "test_sign_verify_raw"]

	irb(#&lt;Test::Unit::AutoRunner::Runner:0x0000560f68afc3c8&gt;):003:0&gt; p filter
	/\A(?=.*)(?!.*(?-mix:(?-mix:memory_leak)|(?-mix:OpenSSL::TestEC.test_check_key)))/
	=&gt; /\A(?=.*)(?!.*(?-mix:(?-mix:memory_leak)|(?-mix:OpenSSL::TestEC.test_check_key)))/

	irb(#&lt;Test::Unit::AutoRunner::Runner:0x0000560f68afc3c8&gt;):004:0&gt; method = "test_check_key"
	=&gt; "test_check_key"
	~~~

	The intention here is to exclude the `test_check_key` test case.
	Unfortunately this does not work as expected, because the negative filter
	is never checked:

	~~~
	irb(#&lt;Test::Unit::AutoRunner::Runner:0x0000560f68afc3c8&gt;):005:0&gt; filter === method
	=&gt; true

	irb(#&lt;Test::Unit::AutoRunner::Runner:0x0000560f68afc3c8&gt;):006:0&gt; filter === "#{suite}##{method}"
	=&gt; false

	irb(#&lt;Test::Unit::AutoRunner::Runner:0x0000560f68afc3c8&gt;):007:0&gt; filter === method || filter === "#{suite}##{method}"
	=&gt; true
	~~~

	Therefore always filter against the fully qualified method name
	`#{suite}##{method}`, which should provide the expected result.

	However, if plain string filter is used, keep checking also only the
	method name.

	This resolves [Bug #16936].
	---
	 tool/lib/test/unit.rb | 12 +++++++++---
	 1 file changed, 9 insertions(+), 3 deletions(-)

	Filter method names only if filtering method name only

	If sole `filter` option doesn't seem including test case name,
	match with method name only.
	And if the filter is a Regexp or String, it never matches method
	name symbols.
	---
	 tool/lib/test/unit.rb | 15 ++++++---------
	 1 file changed, 6 insertions(+), 9 deletions(-)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	Properly exclude test cases.

	Lets consider the following scenario:

	~~~
	irb(#&lt;Test::Unit::AutoRunner::Runner:0x0000560f68afc3c8&gt;):001:0&gt; p suite
	OpenSSL::TestEC
	=&gt; OpenSSL::TestEC

	irb(#&lt;Test::Unit::AutoRunner::Runner:0x0000560f68afc3c8&gt;):002:0&gt; p all_test_methods
	["test_ECPrivateKey", "test_ECPrivateKey_encrypted", "test_PUBKEY", "test_check_key", "test_derive_key", "test_dh_compute_key", "test_dsa_sign_asn1_FIPS186_3", "test_ec_group", "test_ec_key", "test_ec_point", "test_ec_point_add", "test_ec_point_mul", "test_generate", "test_marshal", "test_sign_verify", "test_sign_verify_raw"]
	=&gt;
	["test_ECPrivateKey",
	 "test_ECPrivateKey_encrypted",
	 "test_PUBKEY",
	 "test_check_key",
	 "test_derive_key",
	 "test_dh_compute_key",
	 "test_dsa_sign_asn1_FIPS186_3",
	 "test_ec_group",
	 "test_ec_key",
	 "test_ec_point",
	 "test_ec_point_add",
	 "test_ec_point_mul",
	 "test_generate",
	 "test_marshal",
	 "test_sign_verify",
	 "test_sign_verify_raw"]

	irb(#&lt;Test::Unit::AutoRunner::Runner:0x0000560f68afc3c8&gt;):003:0&gt; p filter
	/\A(?=.*)(?!.*(?-mix:(?-mix:memory_leak)|(?-mix:OpenSSL::TestEC.test_check_key)))/
	=&gt; /\A(?=.*)(?!.*(?-mix:(?-mix:memory_leak)|(?-mix:OpenSSL::TestEC.test_check_key)))/

	irb(#&lt;Test::Unit::AutoRunner::Runner:0x0000560f68afc3c8&gt;):004:0&gt; method = "test_check_key"
	=&gt; "test_check_key"
	~~~

	The intention here is to exclude the `test_check_key` test case.
	Unfortunately this does not work as expected, because the negative filter
	is never checked:

	~~~
	irb(#&lt;Test::Unit::AutoRunner::Runner:0x0000560f68afc3c8&gt;):005:0&gt; filter === method
	=&gt; true

	irb(#&lt;Test::Unit::AutoRunner::Runner:0x0000560f68afc3c8&gt;):006:0&gt; filter === "#{suite}##{method}"
	=&gt; false

	irb(#&lt;Test::Unit::AutoRunner::Runner:0x0000560f68afc3c8&gt;):007:0&gt; filter === method || filter === "#{suite}##{method}"
	=&gt; true
	~~~

	Therefore always filter against the fully qualified method name
	`#{suite}##{method}`, which should provide the expected result.

	However, if plain string filter is used, keep checking also only the
	method name.

	This resolves [Bug #16936].
	---
	 tool/lib/test/unit.rb | 12 +++++++++---
	 1 file changed, 9 insertions(+), 3 deletions(-)

	Filter method names only if filtering method name only

	If sole `filter` option doesn't seem including test case name,
	match with method name only.
	And if the filter is a Regexp or String, it never matches method
	name symbols.
	---
	 tool/lib/test/unit.rb | 15 ++++++---------
	 1 file changed, 6 insertions(+), 9 deletions(-)
</pre>
</div>
</content>
</entry>
<entry>
<title>merge revision(s) b8386f7f7f6d7a7d76481e02d389d0f5211f0f2c:</title>
<updated>2021-08-04T03:40:12+00:00</updated>
<author>
<name>nagachika</name>
<email>nagachika@ruby-lang.org</email>
</author>
<published>2021-08-04T03:40:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=80c180df769016d58663218de2687613841864f3'/>
<id>80c180df769016d58663218de2687613841864f3</id>
<content type='text'>
	Prepend DebugSystem to VCS class only

	And revert 24e5f1c982966c379220b1bbb26b4e0320180fa1, pepending to
	Kernel did not affect the top level methods before 3.0.
	---
	 tool/lib/vcs.rb    | 3 ---
	 tool/make-snapshot | 2 +-
	 2 files changed, 1 insertion(+), 4 deletions(-)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	Prepend DebugSystem to VCS class only

	And revert 24e5f1c982966c379220b1bbb26b4e0320180fa1, pepending to
	Kernel did not affect the top level methods before 3.0.
	---
	 tool/lib/vcs.rb    | 3 ---
	 tool/make-snapshot | 2 +-
	 2 files changed, 1 insertion(+), 4 deletions(-)
</pre>
</div>
</content>
</entry>
<entry>
<title>Workaround for make test-tool</title>
<updated>2021-07-07T01:03:15+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2021-05-11T11:08:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=fd5e314ecc238a73ca70418c9dc7bce1c8141a50'/>
<id>fd5e314ecc238a73ca70418c9dc7bce1c8141a50</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a typo of c6a11b865e1f9085c88fe169a1f47680383580c2</title>
<updated>2021-07-07T01:03:15+00:00</updated>
<author>
<name>Yusuke Endoh</name>
<email>mame@ruby-lang.org</email>
</author>
<published>2021-05-11T10:46:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=596a99ac7faf4e7cc25fedb2b17fa49918323d56'/>
<id>596a99ac7faf4e7cc25fedb2b17fa49918323d56</id>
<content type='text'>
It failed to define `refute_path_not_exist`
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It failed to define `refute_path_not_exist`
</pre>
</div>
</content>
</entry>
<entry>
<title>Alias assert/refute_path_exists for test-unit gem.</title>
<updated>2021-07-07T01:03:15+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2021-05-11T10:32:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=152397e495650dc5d55b85796a4272c3b52e0b15'/>
<id>152397e495650dc5d55b85796a4272c3b52e0b15</id>
<content type='text'>
It's required at https://github.com/rubygems/rubygems/pull/3141
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's required at https://github.com/rubygems/rubygems/pull/3141
</pre>
</div>
</content>
</entry>
<entry>
<title>Pass keyword options in assert_syntax_error</title>
<updated>2020-12-23T16:24:30+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2020-12-23T16:24:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=fb545743932a5efd5a34ed9da981248dae3cc5ff'/>
<id>fb545743932a5efd5a34ed9da981248dae3cc5ff</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/date] Fix envutil for old Ruby</title>
<updated>2020-12-23T09:19:26+00:00</updated>
<author>
<name>Kenta Murata</name>
<email>mrkn@mrkn.jp</email>
</author>
<published>2020-12-23T07:54:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=aa856d50772aaaceb7b245b8b59f1ab1851a7fab'/>
<id>aa856d50772aaaceb7b245b8b59f1ab1851a7fab</id>
<content type='text'>
https://github.com/ruby/date/commit/57e25c406a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/date/commit/57e25c406a
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/date] Workaround for non-ruby repository like ruby/date, flori/json</title>
<updated>2020-12-23T04:53:40+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2020-12-23T04:15:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=61bd28b836190bbc8ce110e780da4c4aad9f485b'/>
<id>61bd28b836190bbc8ce110e780da4c4aad9f485b</id>
<content type='text'>
https://github.com/ruby/date/commit/1ff7fa2d80
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/date/commit/1ff7fa2d80
</pre>
</div>
</content>
</entry>
<entry>
<title>Guard &lt; Ruby 3.0 for the repositories of default gems.</title>
<updated>2020-12-23T04:44:47+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2020-12-22T07:09:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f14aaa2b1282d6dea9fad3d050e65828f1e269e1'/>
<id>f14aaa2b1282d6dea9fad3d050e65828f1e269e1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
