<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/spec/ruby, branch ruby_2_7</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:20:51+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=39f6a33e2399d8dfe88ae0a1c5b38843ffea9e71'/>
<id>39f6a33e2399d8dfe88ae0a1c5b38843ffea9e71</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-20T09:46:34+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=302e366800e491009013288e10a96c4866f9900b'/>
<id>302e366800e491009013288e10a96c4866f9900b</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-11-24T10:36:07+00:00</updated>
<author>
<name>NAKAMURA Usaku</name>
<email>usa@ruby-lang.org</email>
</author>
<published>2021-11-24T10:36:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=419266d44c54c6b75f1e824f060c8b388f7a405b'/>
<id>419266d44c54c6b75f1e824f060c8b388f7a405b</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) ed549f80b645aafd62376f65c3a27b66bafa2a38,eff0c5bf2ad47d10a440c5211be5eddb3bbf4028,f6b6a7ad345c50eeb3f7206ceabdf41ba94b7d85,5b48686691c2443d8d7113e593494c4d9302da0e,2af4c1fc5b19fc96203c2d7e917e689510d3527e,c9213aa864fb8527388679c21f1ea8ce129e2f1a,224f29c8e92094af10bc666c474b81a3545d6adf:</title>
<updated>2020-12-31T09:34:09+00:00</updated>
<author>
<name>nagachika</name>
<email>nagachika@ruby-lang.org</email>
</author>
<published>2020-12-31T09:34:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d0693391103672b7fc3976e5ae8ae414059b3e97'/>
<id>d0693391103672b7fc3976e5ae8ae414059b3e97</id>
<content type='text'>
	spec/ruby/core/process/clock_getres_spec.rb: skip on Android

	in the same way as FreeBSD and OpenBSD.
	I guess that the spec makes too strong assumption.

	Try to avoid random failures on clock_getres_spec.rb

	This spec fails too often
	https://github.com/ruby/ruby/runs/529546249
	https://github.com/ruby/ruby/runs/524933256

	Show failed times

	Remove Process.clock_getres "matches the resolution in practice"
	 specs

	* Almost all platforms return incorrect values for Process.clock_getres,
	  it should be removed: https://bugs.ruby-lang.org/issues/16740

	Skip Process#clock_getres specs on Android

	... just like AIX and OpenBSD.

	Update to ruby/spec@d394dfd

	spec/ruby/core/process/clock_getres_spec.rb: lax the resolution limit

	Android is Linux, but the clock resolution is 10 milliseconds.
	I think that 1 microsecond is too strict for embedded environment.
	This change laxes the limit to 10 milliseconds.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	spec/ruby/core/process/clock_getres_spec.rb: skip on Android

	in the same way as FreeBSD and OpenBSD.
	I guess that the spec makes too strong assumption.

	Try to avoid random failures on clock_getres_spec.rb

	This spec fails too often
	https://github.com/ruby/ruby/runs/529546249
	https://github.com/ruby/ruby/runs/524933256

	Show failed times

	Remove Process.clock_getres "matches the resolution in practice"
	 specs

	* Almost all platforms return incorrect values for Process.clock_getres,
	  it should be removed: https://bugs.ruby-lang.org/issues/16740

	Skip Process#clock_getres specs on Android

	... just like AIX and OpenBSD.

	Update to ruby/spec@d394dfd

	spec/ruby/core/process/clock_getres_spec.rb: lax the resolution limit

	Android is Linux, but the clock resolution is 10 milliseconds.
	I think that 1 microsecond is too strict for embedded environment.
	This change laxes the limit to 10 milliseconds.
</pre>
</div>
</content>
</entry>
<entry>
<title>merge revision(s) 996af2ce086249e904b2ce95ab2fcd1de7d757be: [Backport #16345] [Backport #17000]</title>
<updated>2020-09-29T13:43:25+00:00</updated>
<author>
<name>nagachika</name>
<email>nagachika@ruby-lang.org</email>
</author>
<published>2020-09-29T13:43:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=df3f52a6331f1a47af9933b77311a8650727d8d1'/>
<id>df3f52a6331f1a47af9933b77311a8650727d8d1</id>
<content type='text'>
	Disable deprecation warning by the default [Feature #16345]

	And `-w` option turns it on.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	Disable deprecation warning by the default [Feature #16345]

	And `-w` option turns it on.
</pre>
</div>
</content>
</entry>
<entry>
<title>spec/ruby/core/file/utime_spec.rb: far future timestamp may be trancated</title>
<updated>2020-09-09T13:47:58+00:00</updated>
<author>
<name>Yusuke Endoh</name>
<email>mame@ruby-lang.org</email>
</author>
<published>2020-02-09T02:04:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3590f082442afc4506250f5274a7877371a112de'/>
<id>3590f082442afc4506250f5274a7877371a112de</id>
<content type='text'>
Under some Ext4 filesystem settings, a timestamp is limited up to
0x37fffffff (2446-05-10).

https://ext4.wiki.kernel.org/index.php/Ext4_Disk_Layout#Inode_Timestamps
&gt; Therefore, timestamps should not overflow until May 2446.

Actually the spec fails under one of our CI environments, like:

```
1)
File.utime allows Time instances in the far future to set mtime and atime FAILED
Expected 2446 == 559444
to be truthy but was false
```
https://rubyci.org/logs/rubyci.s3.amazonaws.com/arch/ruby-master/log/20200208T180002Z.fail.html.gz
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Under some Ext4 filesystem settings, a timestamp is limited up to
0x37fffffff (2446-05-10).

https://ext4.wiki.kernel.org/index.php/Ext4_Disk_Layout#Inode_Timestamps
&gt; Therefore, timestamps should not overflow until May 2446.

Actually the spec fails under one of our CI environments, like:

```
1)
File.utime allows Time instances in the far future to set mtime and atime FAILED
Expected 2446 == 559444
to be truthy but was false
```
https://rubyci.org/logs/rubyci.s3.amazonaws.com/arch/ruby-master/log/20200208T180002Z.fail.html.gz
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Don't display singleton class in Method#inspect unless method defined there"</title>
<updated>2020-09-05T10:18:07+00:00</updated>
<author>
<name>nagachika</name>
<email>nagachika@ruby-lang.org</email>
</author>
<published>2020-09-05T10:18:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=2c9dd060ab487a96e391793bd782cef6fd471b83'/>
<id>2c9dd060ab487a96e391793bd782cef6fd471b83</id>
<content type='text'>
[Backport #16771]

This reverts commit 0d24fb774d84d4a99454ce10fd343da00049a588.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[Backport #16771]

This reverts commit 0d24fb774d84d4a99454ce10fd343da00049a588.
</pre>
</div>
</content>
</entry>
<entry>
<title>merge revision(s) da05c1552ee519d8f180b48d97148d28501acb35: [Backport #16749]</title>
<updated>2020-07-23T08:30:26+00:00</updated>
<author>
<name>nagachika</name>
<email>nagachika@ruby-lang.org</email>
</author>
<published>2020-07-23T08:30:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=4437f9eb0bf8369bcf12bd7cd324e11b5d885e07'/>
<id>4437f9eb0bf8369bcf12bd7cd324e11b5d885e07</id>
<content type='text'>
	Update to ruby/spec@cc7b9e5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	Update to ruby/spec@cc7b9e5
</pre>
</div>
</content>
</entry>
<entry>
<title>merge revision(s) 99a9c3fe2eaab8157765d792dc871da6daea0327: [Backport #17024]</title>
<updated>2020-07-23T02:33:11+00:00</updated>
<author>
<name>nagachika</name>
<email>nagachika@ruby-lang.org</email>
</author>
<published>2020-07-23T02:33:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=4be9bf1f67b997fc519625d56a93b8a68a70d124'/>
<id>4be9bf1f67b997fc519625d56a93b8a68a70d124</id>
<content type='text'>
	Fixed yday and wday with timezone [Bug #17024]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	Fixed yday and wday with timezone [Bug #17024]
</pre>
</div>
</content>
</entry>
<entry>
<title>merge revision(s) 5a79d8e0507cd143100bf928a88a59a8b5a5bca6,160511d851375f7cb922faae3a9310633187f51f: [Backport #16925]</title>
<updated>2020-07-23T02:11:12+00:00</updated>
<author>
<name>nagachika</name>
<email>nagachika@ruby-lang.org</email>
</author>
<published>2020-07-23T02:11:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=cc39480cf9f2767967b6bcc69ccb3c201e5b2231'/>
<id>cc39480cf9f2767967b6bcc69ccb3c201e5b2231</id>
<content type='text'>
	Fix error raised by Net::HTTPResponse#inflater if the block raises

	* See https://bugs.ruby-lang.org/issues/13882#note-6

	Quarantine specs which fail frequently with CHECK_LEAKS=true
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	Fix error raised by Net::HTTPResponse#inflater if the block raises

	* See https://bugs.ruby-lang.org/issues/13882#note-6

	Quarantine specs which fail frequently with CHECK_LEAKS=true
</pre>
</div>
</content>
</entry>
</feed>
