1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/spec/ruby/core/random
Koichi Sasada 2db2fb9f6c per-ractor Random::DEFAULT
Random generators are not Ractor-safe, so we need to prepare
per-ractor default random genearators. This patch set
`Random::DEFAULT = Randm` (not a Random instance, but the Random
class) and singleton methods like `Random.rand()` use a per-ractor
random generator.

[Feature #17322]
2020-11-27 17:03:30 +09:00
..
fixtures Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
shared Update to ruby/spec@519df35 2019-09-29 16:03:58 +02:00
bytes_spec.rb
default_spec.rb per-ractor Random::DEFAULT 2020-11-27 17:03:30 +09:00
equal_value_spec.rb
new_seed_spec.rb
new_spec.rb Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
rand_spec.rb Update to ruby/spec@28a728b 2019-10-26 20:53:01 +02:00
random_number_spec.rb Update to ruby/spec@28a728b 2019-10-26 20:53:01 +02:00
raw_seed_spec.rb Drop support for ruby 2.4 from ruby/spec 2020-04-01 15:36:20 +09:00
seed_spec.rb
srand_spec.rb