Actions
Feature #20893
closedrandom/formatter.rb: Separate from securerandom
Description
For historical reasons, random/formatter.rb is included in ruby/securerandom, but it does not contain any security-related methods as evidenced by the fact that its path is not under securerandom/
, but only contains generic methods for PRNGs, including the standard class Random
.
So I propose to either:
- put it back in the standard library, or
- separate it into a new gem.
Adding a new dependency may not be welcomed, as seen in the recent issues with base64.
Updated by nobu (Nobuyoshi Nakada) about 1 month ago
lol
$ git ls-files -- '**/random/formatter.rb'
lib/bundler/vendor/securerandom/lib/random/formatter.rb
lib/random/formatter.rb
lib/rubygems/vendor/securerandom/lib/random/formatter.rb
Updated by hsbt (Hiroshi SHIBATA) about 1 month ago
put it back in the standard library, or
I prefer that approach.
Updated by hsbt (Hiroshi SHIBATA) 19 days ago
- Status changed from Open to Assigned
Updated by hsbt (Hiroshi SHIBATA) 6 days ago
- Status changed from Assigned to Closed
- Assignee changed from matz (Yukihiro Matsumoto) to hsbt (Hiroshi SHIBATA)
I removed Random::Formatter
from SecureRandom
gem at version 0.4.x.
Actions
Like0
Like0Like0Like0Like0