ruby-changes:65962
From: Koichi <ko1@a...>
Date: Mon, 26 Apr 2021 11:33:32 +0900 (JST)
Subject: [ruby-changes:65962] c647205c3e (master): disable shareable_constant_value for CI
https://git.ruby-lang.org/ruby.git/commit/?id=c647205c3e From c647205c3eb1f17409a859149bb7d2ea38b43bed Mon Sep 17 00:00:00 2001 From: Koichi Sasada <ko1@a...> Date: Mon, 26 Apr 2021 11:31:58 +0900 Subject: disable shareable_constant_value for CI To debug CI failures on FreeBSD, disable `shareable_constant_value`. --- lib/time.rb | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/lib/time.rb b/lib/time.rb index bd20a1a..6a13993 100644 --- a/lib/time.rb +++ b/lib/time.rb @@ -480,10 +480,17 @@ class Time https://github.com/ruby/ruby/blob/trunk/lib/time.rb#L480 t end - MonthValue = { # :nodoc: +# TODO: CI failure on FreeBSD +# http://rubyci.s3.amazonaws.com/freebsd12/ruby-master/log/20210425T203001Z.fail.html.gz +# shareable_constant_value: none + + MonthValue = Ractor.make_shareable({ # :nodoc: 'JAN' => 1, 'FEB' => 2, 'MAR' => 3, 'APR' => 4, 'MAY' => 5, 'JUN' => 6, 'JUL' => 7, 'AUG' => 8, 'SEP' => 9, 'OCT' =>10, 'NOV' =>11, 'DEC' =>12 - } + }) + +# shareable_constant_value: literal + # # Parses +date+ as date-time defined by RFC 2822 and converts it to a Time -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/