disable shareable_constant_value for CI
To debug CI failures on FreeBSD, disable `shareable_constant_value`.
This commit is contained in:
parent
4ca271909d
commit
c647205c3e
11
lib/time.rb
11
lib/time.rb
@ -480,10 +480,17 @@ class Time
|
|||||||
t
|
t
|
||||||
end
|
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,
|
'JAN' => 1, 'FEB' => 2, 'MAR' => 3, 'APR' => 4, 'MAY' => 5, 'JUN' => 6,
|
||||||
'JUL' => 7, 'AUG' => 8, 'SEP' => 9, 'OCT' =>10, 'NOV' =>11, 'DEC' =>12
|
'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
|
# Parses +date+ as date-time defined by RFC 2822 and converts it to a Time
|
||||||
|
Loading…
x
Reference in New Issue
Block a user