8000 Revert "disable shareable_constant_value for CI" · ruby/ruby@311ed0b · GitHub
[go: up one dir, main page]

Skip to content

Commit 311ed0b

Browse files
committed
Revert "disable shareable_constant_value for CI"
This reverts commit c647205. Maybe the root issue was fixed by 7ac078e
1 parent 7ac078e commit 311ed0b

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

lib/time.rb

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -480,17 +480,10 @@ def strptime(date, format, now=self.now)
480480
t
481481
end
482482

483-
# TODO: CI failure on FreeBSD
484-
# http://rubyci.s3.amazonaws.com/freebsd12/ruby-master/log/20210425T203001Z.fail.html.gz
485-
# shareable_constant_value: none
486-
487-
MonthValue = Ractor.make_shareable({ # :nodoc:
483+
MonthValue = { # :nodoc:
488484
'JAN' => 1, 'FEB' => 2, 'MAR' => 3, 'APR' => 4, 'MAY' => 5, 'JUN' => 6,
489485
'JUL' => 7, 'AUG' => 8, 'SEP' => 9, 'OCT' =>10, 'NOV' =>11, 'DEC' =>12
490-
})
491-
492-
# shareable_constant_value: literal
493-
486+
}
494487

495488
#
496489
# Parses +date+ as date-time defined by RFC 2822 and converts it to a Time

0 commit comments

Comments
 (0)
0