[前][次][番号順一覧][スレッド一覧]

ruby-changes:65969

From: Yusuke <ko1@a...>
Date: Mon, 26 Apr 2021 22:47:12 +0900 (JST)
Subject: [ruby-changes:65969] 203eeeefdd (master): Revert "disable shareable_constant_value for CI"

https://git.ruby-lang.org/ruby.git/commit/?id=203eeeefdd

From 203eeeefddb3ae6c0e129ad9cd99da804c2cbaba Mon Sep 17 00:00:00 2001
From: Yusuke Endoh <mame@r...>
Date: Mon, 26 Apr 2021 20:00:20 +0900
Subject: Revert "disable shareable_constant_value for CI"

This reverts commit c647205c3eb1f17409a859149bb7d2ea38b43bed.

Maybe the root issue was fixed by 7ac078e5b67ba752a755d6bd9c3a99999767fd3a
---
 lib/time.rb | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

diff --git a/lib/time.rb b/lib/time.rb
index 6a13993..bd20a1a 100644
--- a/lib/time.rb
+++ b/lib/time.rb
@@ -480,17 +480,10 @@ class Time https://github.com/ruby/ruby/blob/trunk/lib/time.rb#L480
       t
     end
 
-# 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:
+    MonthValue = { # :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/

[前][次][番号順一覧][スレッド一覧]