<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/spec/ruby, 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 revision(s) 36f297e62108072b9377d927321928b994f66a93:</title>
<updated>2022-11-24T02:21:28+00:00</updated>
<author>
<name>nagachika</name>
<email>nagachika@ruby-lang.org</email>
</author>
<published>2022-11-22T11:55:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3b231086cb3e4347ec025aed3a5c10f9e577bef5'/>
<id>3b231086cb3e4347ec025aed3a5c10f9e577bef5</id>
<content type='text'>
	Use valid tokens as cookie names

	---
	 spec/ruby/library/cgi/cookie/name_spec.rb  | 12 ++++++------
	 spec/ruby/library/cgi/cookie/parse_spec.rb | 10 +++++-----
	 2 files changed, 11 insertions(+), 11 deletions(-)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	Use valid tokens as cookie names

	---
	 spec/ruby/library/cgi/cookie/name_spec.rb  | 12 ++++++------
	 spec/ruby/library/cgi/cookie/parse_spec.rb | 10 +++++-----
	 2 files changed, 11 insertions(+), 11 deletions(-)
</pre>
</div>
</content>
</entry>
<entry>
<title>The tzdata 2022c removed Amsterdam Mean Time</title>
<updated>2022-09-20T07:50:02+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2022-08-16T15:45:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=15615566931d645f19cb65d859fd113abab29204'/>
<id>15615566931d645f19cb65d859fd113abab29204</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) 89242279e61b023a81c58065c62a82de8829d0b3,529fc204af84f825f98f83c34b004acbaa802615: [Backport #18141]</title>
<updated>2021-10-09T06:05:24+00:00</updated>
<author>
<name>nagachika</name>
<email>nagachika@ruby-lang.org</email>
</author>
<published>2021-10-09T06:05:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=fe9d33beb78d5c7932a5c2ca3953045c0ae751d5'/>
<id>fe9d33beb78d5c7932a5c2ca3953045c0ae751d5</id>
<content type='text'>
	Marshal.load: do not call the proc until strings have their encoding

	Ref: https://bugs.ruby-lang.org/issues/18141
	---
	 marshal.c                             |  7 +++-
	 spec/ruby/core/marshal/shared/load.rb | 62 +++++++++++++++++++++++------------
	 test/ruby/test_marshal.rb             | 17 ++++++++++
	 3 files changed, 64 insertions(+), 22 deletions(-)

	marshal.c: don't call the proc with partially initialized objects.
	 (#4866)

	For cyclic objects, it requires to keep a st_table of the partially
	initialized objects.
	---
	 marshal.c                             | 75 ++++++++++++++++++++---------------
	 spec/ruby/core/marshal/shared/load.rb | 75 ++++++++++++++++++++---------------
	 test/ruby/test_marshal.rb             | 12 ++++++
	 3 files changed, 97 insertions(+), 65 deletions(-)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	Marshal.load: do not call the proc until strings have their encoding

	Ref: https://bugs.ruby-lang.org/issues/18141
	---
	 marshal.c                             |  7 +++-
	 spec/ruby/core/marshal/shared/load.rb | 62 +++++++++++++++++++++++------------
	 test/ruby/test_marshal.rb             | 17 ++++++++++
	 3 files changed, 64 insertions(+), 22 deletions(-)

	marshal.c: don't call the proc with partially initialized objects.
	 (#4866)

	For cyclic objects, it requires to keep a st_table of the partially
	initialized objects.
	---
	 marshal.c                             | 75 ++++++++++++++++++++---------------
	 spec/ruby/core/marshal/shared/load.rb | 75 ++++++++++++++++++++---------------
	 test/ruby/test_marshal.rb             | 12 ++++++
	 3 files changed, 97 insertions(+), 65 deletions(-)
</pre>
</div>
</content>
</entry>
<entry>
<title>merge revision(s) cfd162d535c7a4f8b1f95255cc6be696a8b75557: [Backport #17467]</title>
<updated>2021-05-23T07:09:17+00:00</updated>
<author>
<name>nagachika</name>
<email>nagachika@ruby-lang.org</email>
</author>
<published>2021-05-23T07:09:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5af5ea7f860ed64062796e54e73274e7a56c7280'/>
<id>5af5ea7f860ed64062796e54e73274e7a56c7280</id>
<content type='text'>
	Make String#{strip,lstrip}{,!} strip leading NUL bytes

	The documentation already specifies that they strip whitespace
	and defines whitespace to include null.

	This wraps the new behavior in the appropriate guards in the specs,
	but does not specify behavior for previous versions, because this
	is a bug that could be backported.

	Fixes [Bug #17467]
	---
	 spec/ruby/core/string/lstrip_spec.rb | 18 ++++++++++++------
	 spec/ruby/core/string/strip_spec.rb  | 22 ++++++++++------------
	 string.c                             |  4 ++--
	 test/ruby/test_string.rb             | 16 ++++++++++++++++
	 4 files changed, 40 insertions(+), 20 deletions(-)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	Make String#{strip,lstrip}{,!} strip leading NUL bytes

	The documentation already specifies that they strip whitespace
	and defines whitespace to include null.

	This wraps the new behavior in the appropriate guards in the specs,
	but does not specify behavior for previous versions, because this
	is a bug that could be backported.

	Fixes [Bug #17467]
	---
	 spec/ruby/core/string/lstrip_spec.rb | 18 ++++++++++++------
	 spec/ruby/core/string/strip_spec.rb  | 22 ++++++++++------------
	 string.c                             |  4 ++--
	 test/ruby/test_string.rb             | 16 ++++++++++++++++
	 4 files changed, 40 insertions(+), 20 deletions(-)
</pre>
</div>
</content>
</entry>
<entry>
<title>merge revision(s) 6268fdc662c75c61091b2ab0b476ec15df023328:</title>
<updated>2021-04-18T08:59:19+00:00</updated>
<author>
<name>nagachika</name>
<email>nagachika@ruby-lang.org</email>
</author>
<published>2021-04-18T08:59:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=6e6157d9a985dd39a141e26e579b8508f6ceff15'/>
<id>6e6157d9a985dd39a141e26e579b8508f6ceff15</id>
<content type='text'>
	spec/ruby/core/hash/transform_keys_spec.rb: Fix the failure of
	 ruby_3_0

	https://github.com/ruby/spec/pull/833
	https://github.com/ruby/spec/commit/8290e5ad8952b14ee9a5069651d9864c66681112
	---
	 spec/ruby/core/hash/transform_keys_spec.rb | 4 ++--
	 1 file changed, 2 insertions(+), 2 deletions(-)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	spec/ruby/core/hash/transform_keys_spec.rb: Fix the failure of
	 ruby_3_0

	https://github.com/ruby/spec/pull/833
	https://github.com/ruby/spec/commit/8290e5ad8952b14ee9a5069651d9864c66681112
	---
	 spec/ruby/core/hash/transform_keys_spec.rb | 4 ++--
	 1 file changed, 2 insertions(+), 2 deletions(-)
</pre>
</div>
</content>
</entry>
<entry>
<title>merge revision(s) 31e0382723bfb35cffe3ca485dd0577668cafa07,5e5fb72f99701dc27c66ab148471893f14e6d6f0,fb6ebe55d91187d9635e0183d47dbf38e95b1141,522d4cd32f7727886f4fcbc28ed29c08d361ee20: [Backport #17735]</title>
<updated>2021-04-15T01:25:30+00:00</updated>
<author>
<name>nagachika</name>
<email>nagachika@ruby-lang.org</email>
</author>
<published>2021-04-15T01:11:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=84d9a9afc0b49d095541acb9832f8b12fb506e19'/>
<id>84d9a9afc0b49d095541acb9832f8b12fb506e19</id>
<content type='text'>
	Keep non evaluated keys in `Hash#transform_keys!` [Bug #17735]

	---
	 hash.c                                     |  6 +++++-
	 spec/ruby/core/hash/transform_keys_spec.rb | 12 +++++++++++-
	 test/ruby/test_hash.rb                     |  8 ++++++++
	 3 files changed, 24 insertions(+), 2 deletions(-)

	Clear an intermediate hash [Bug #17735]

	---
	 hash.c | 1 +
	 1 file changed, 1 insertion(+)

	Hide an intermediate array

	---
	 hash.c | 6 ++++--
	 1 file changed, 4 insertions(+), 2 deletions(-)

	Force recycle intermediate collection in Hash#transform_keys! [Bug
	 #17735]

	* Force recycle intermediate hash

	* Force recycle intermediate array too

	https://github.com/ruby/ruby/pull/4329#issuecomment-808840718
	---
	 hash.c | 2 ++
	 1 file changed, 2 insertions(+)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	Keep non evaluated keys in `Hash#transform_keys!` [Bug #17735]

	---
	 hash.c                                     |  6 +++++-
	 spec/ruby/core/hash/transform_keys_spec.rb | 12 +++++++++++-
	 test/ruby/test_hash.rb                     |  8 ++++++++
	 3 files changed, 24 insertions(+), 2 deletions(-)

	Clear an intermediate hash [Bug #17735]

	---
	 hash.c | 1 +
	 1 file changed, 1 insertion(+)

	Hide an intermediate array

	---
	 hash.c | 6 ++++--
	 1 file changed, 4 insertions(+), 2 deletions(-)

	Force recycle intermediate collection in Hash#transform_keys! [Bug
	 #17735]

	* Force recycle intermediate hash

	* Force recycle intermediate array too

	https://github.com/ruby/ruby/pull/4329#issuecomment-808840718
	---
	 hash.c | 2 ++
	 1 file changed, 2 insertions(+)
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix typos</title>
<updated>2020-12-24T22:20:04+00:00</updated>
<author>
<name>Marcus Stollsteimer</name>
<email>sto.mar@web.de</email>
</author>
<published>2020-12-24T22:20:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=93a1ef67095c6654df753b2ecf8a4e36fe2a22c6'/>
<id>93a1ef67095c6654df753b2ecf8a4e36fe2a22c6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix class of method in Method#inspect for singleton classes of classes</title>
<updated>2020-12-24T03:29:19+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2020-12-23T05:30:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=1e215a66d26d56befab4fbb72e1d953879411955'/>
<id>1e215a66d26d56befab4fbb72e1d953879411955</id>
<content type='text'>
Previously, due to a change to fix bug 15608, Method#inspect output
changed for class methods:

Ruby 2.7
"#&lt;Method: String.prepend(*)&gt;"

Before change:
"#&lt;Method: #&lt;Class:Object&gt;(Module)#prepend(*)&gt;"

This is wrong because the Method object was created from String and
not Object. This is because the fix for bug 15608 assumed it was
being called on the singleton class of a instance, and would skip
the first singleton class until it got to the class itself.  For
class methods, this results in always using the superclass. Fix
behavior to not skip until the superclass if the singleton class
is the singleton class of a module or class.

After change:
"#&lt;Method: #&lt;Class:Object&gt;(Module)#prepend(*)&gt;"

Fixes [Bug #17428]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, due to a change to fix bug 15608, Method#inspect output
changed for class methods:

Ruby 2.7
"#&lt;Method: String.prepend(*)&gt;"

Before change:
"#&lt;Method: #&lt;Class:Object&gt;(Module)#prepend(*)&gt;"

This is wrong because the Method object was created from String and
not Object. This is because the fix for bug 15608 assumed it was
being called on the singleton class of a instance, and would skip
the first singleton class until it got to the class itself.  For
class methods, this results in always using the superclass. Fix
behavior to not skip until the superclass if the singleton class
is the singleton class of a module or class.

After change:
"#&lt;Method: #&lt;Class:Object&gt;(Module)#prepend(*)&gt;"

Fixes [Bug #17428]
</pre>
</div>
</content>
</entry>
<entry>
<title>Enumerator.new: raise unless block given</title>
<updated>2020-12-22T04:52:03+00:00</updated>
<author>
<name>卜部昌平</name>
<email>shyouhei@ruby-lang.org</email>
</author>
<published>2020-08-13T02:44:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=fa356a798aefc20725467d4fad02df8325d63e71'/>
<id>fa356a798aefc20725467d4fad02df8325d63e71</id>
<content type='text'>
Has been deprecated since c73b6bd7ebd01133538c645566944132dbde4d13.
[Feature #17116] [ruby-dev:50945]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Has been deprecated since c73b6bd7ebd01133538c645566944132dbde4d13.
[Feature #17116] [ruby-dev:50945]
</pre>
</div>
</content>
</entry>
<entry>
<title>Remvoed no longer needed version guards</title>
<updated>2020-12-21T22:52:14+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2020-12-21T22:52:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a29b9e5efe286e8ad1b0d67c38f03cbb70951076'/>
<id>a29b9e5efe286e8ad1b0d67c38f03cbb70951076</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
