summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2023-03-30 14:07:22 +0900
committergit <[email protected]>2023-04-14 01:43:47 +0000
commitebe620def601d804b7dba1e00132b9bc10d5ef6f ()
tree14610d900c8dd4199bfb0d9dc092baa76a2b8cbb /lib
parent60f22ebf86248388b41b4ec751d16700f2b4b621 (diff)
[ruby/securerandom] Expose SecureRandom::VERSION
https://.com/ruby/securerandom/commit/2e6434331d
-rw-r--r--lib/securerandom.gemspec11
-rw-r--r--lib/securerandom.rb3
2 files changed, 12 insertions, 2 deletions
@@ -1,6 +1,13 @@
Gem::Specification.new do |spec|
- spec.name = "securerandom"
- spec.version = "0.2.2"
spec.authors = ["Tanaka Akira"]
spec.email = ["[email protected]"]
@@ -39,6 +39,9 @@ require 'random/formatter'
# +NotImplementedError+ is raised.
module SecureRandom
class << self
def bytes(n)
return gen_random(n)