| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2021-10-31 | Added `Random.#bytes` method | dearblue | |
| ref: https://docs.ruby-lang.org/ja/3.0.0/method/Random/i/bytes.html | |||
| 2021-04-24 | Skip tests that use `Float` inside; ref #5421 | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Integrate `Fixnum` class into `Integer` class | dearblue | |
| * The `Fixnum` constant is now an alias for the `Integer` class. * Remove `struct mrb_state::fixnum_class` member. If necessary, use `struct mrb_state::integer_class` instead. | |||
| 2019-04-17 | Add `Array#sample` test | KOBAYASHI Shuji | |
| And simplify tests for `Array#shuffle` and `Array#shuffle!`. | |||
| 2019-04-15 | Fix missing assertions in `mruby-random` test | KOBAYASHI Shuji | |
| 2018-11-19 | Remove implicit conversion using `to_int` method. | Yukihiro "Matz" Matsumoto | |
| The ISO standard does not include implicit type conversion using `to_int`. This implicit conversion often causes vulnerability. There will be no more attacks like #4120. In addition, we have added internal convenience method `__to_int` which does type check and conversion (from floats). | |||
| 2016-11-23 | Fix segfault in Array#sample | Bouke van der Bijl | |
| 2014-04-30 | remove trailing spaces | Nobuyoshi Nakada | |
| 2014-03-10 | reduce mrb_open calls in mrbgem test | take_cheeze | |
| 2013-11-02 | Added support for Random as an argument to shuffle and shuffle!. Refactored ↵ | Emiliano Lesende | |
| random gem to use DATA instance type and hold mt_state inside the DATA_PTR instead of in an instance variable. | |||
| 2013-11-01 | Added shuffle and shuffle! to the Array class in the Random gem. | Emiliano Lesende | |
| 2013-03-27 | Add test for Random::srand | MATSUMOTO Ryosuke | |
| 2013-03-27 | Fix test for mruby-random | mattn | |
| 2013-03-27 | Add test for mruby-random | mattn | |
