<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/tool, branch v3_0_4</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>Merge Bundler-2.2.33</title>
<updated>2022-04-12T05:07:25+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2022-04-11T10:45:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=cdec8a29c5e2e3fedc2e7726d409121d5e2890da'/>
<id>cdec8a29c5e2e3fedc2e7726d409121d5e2890da</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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 RubyGems-3.2.32 and Bundler-2.2.32</title>
<updated>2021-11-24T10:46:22+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2021-11-24T04:29:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c2125240cc886c0844efcae8d01e06b291b92aa6'/>
<id>c2125240cc886c0844efcae8d01e06b291b92aa6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge RubyGems 3.2.31 and Bundler 2.2.31</title>
<updated>2021-11-22T01:51:35+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2021-11-11T02:13:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b19b2e98675a132b4b4a59aa130fd5a9f65d775f'/>
<id>b19b2e98675a132b4b4a59aa130fd5a9f65d775f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge RubyGems 3.2.30 and Bundler 2.2.30</title>
<updated>2021-11-22T01:51:35+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2021-11-11T02:00:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e27381d289cbdbdca434bcc957c2cd1beab1c82c'/>
<id>e27381d289cbdbdca434bcc957c2cd1beab1c82c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge RubyGems 3.2.29 and Bundler 2.2.29</title>
<updated>2021-11-22T01:51:35+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2021-11-11T01:44:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e262272b6a50c1a92cdcfee684e82f9242ef8171'/>
<id>e262272b6a50c1a92cdcfee684e82f9242ef8171</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge RubyGems 3.2.28 and Bundler 2.2.28</title>
<updated>2021-11-22T01:51:35+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2021-11-11T01:41:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=24f911f474e11560af5fbd0f637f4c0ded23f604'/>
<id>24f911f474e11560af5fbd0f637f4c0ded23f604</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge RubyGems 3.2.27 and Bundler 2.2.27</title>
<updated>2021-11-22T01:51:35+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2021-11-11T01:40:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=31a71048521224774bdb8b5982ab73eb35dad66d'/>
<id>31a71048521224774bdb8b5982ab73eb35dad66d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge RubyGems 3.2.26 and Bundler 2.2.26</title>
<updated>2021-08-19T06:46:40+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2021-08-18T10:37:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=37f824377fce1bb0fb3ae94f858e2b9417b67b56'/>
<id>37f824377fce1bb0fb3ae94f858e2b9417b67b56</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge RubyGems 3.2.25 and Bundler 2.2.25</title>
<updated>2021-08-19T06:46:40+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2021-08-02T03:07:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=41a28637807bef9b15c404c93a778aaa6266ace7'/>
<id>41a28637807bef9b15c404c93a778aaa6266ace7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
