mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Revert "disable shareable_constant_value for CI"
This reverts commitc647205c3e
. Maybe the root issue was fixed by7ac078e5b6
This commit is contained in:
parent
2c7d3b3a72
commit
203eeeefdd
Notes:
git
2021-04-26 22:47:17 +09:00
1 changed files with 2 additions and 9 deletions
11
lib/time.rb
11
lib/time.rb
|
@ -480,17 +480,10 @@ class Time
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue