diff options
author | Hiroshi SHIBATA <[email protected]> | 2020-09-11 21:15:25 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2020-09-11 21:15:25 +0900 |
commit | d1851ba5b9336d01b5207e7d9a483e698c049dd0 (patch) | |
tree | 375ea75dc47687a4c5b45f59c0115c48f2c3957a | |
parent | 2f24818319154bcd6fbc422f2f5d46cdd1f9a5c2 (diff) |
Promote securerandom to default gems
-rw-r--r-- | doc/maintainers.rdoc | 5 | ||||
-rw-r--r-- | doc/standard_library.rdoc | 2 | ||||
-rw-r--r-- | lib/securerandom.gemspec | 22 | ||||
-rw-r--r-- | tool/sync_default_gems.rb | 1 |
4 files changed, 27 insertions, 3 deletions
diff --git a/doc/maintainers.rdoc b/doc/maintainers.rdoc index eaaccf5582..47566d9f5d 100644 --- a/doc/maintainers.rdoc +++ b/doc/maintainers.rdoc @@ -55,8 +55,6 @@ Zachary Scott (zzak) [lib/rubygems.rb, lib/rubygems/*] Eric Hodel (drbrain), Hiroshi SHIBATA (hsbt) https://github.com/rubygems/rubygems -[lib/securerandom.rb] - Tanaka Akira (akr) [lib/time.rb] Tanaka Akira (akr) [lib/un.rb] @@ -229,6 +227,9 @@ Zachary Scott (zzak) [lib/rinda/*] Masatoshi SEKI (seki) https://github.com/ruby/rinda +[lib/securerandom.rb] + Tanaka Akira (akr) + https://github.com/ruby/securerandom [lib/set.rb] Akinori MUSHA (knu) https://github.com/ruby/set diff --git a/doc/standard_library.rdoc b/doc/standard_library.rdoc index f3dd1da13e..8942a9dc34 100644 --- a/doc/standard_library.rdoc +++ b/doc/standard_library.rdoc @@ -17,7 +17,6 @@ RbConfig:: Information of your configure and build of Ruby resolv-replace.rb:: Replace Socket DNS with Resolv Resolv:: Thread-aware DNS resolver library in Ruby Gem:: Package management framework for Ruby -SecureRandom:: Interface for secure random number generator Time:: Extends the Time class with methods for parsing and conversion un.rb:: Utilities to replace common UNIX commands @@ -71,6 +70,7 @@ PStore:: Implements a file based persistence mechanism based on a Hash Racc:: A LALR(1) parser generator written in Ruby. RDoc:: Produces HTML and command-line documentation for Ruby Rinda:: The Linda distributed computing paradigm in Ruby +SecureRandom:: Interface for secure random number generator Set:: Provides a class to deal with collections of unordered, unique values Shellwords:: Manipulates strings with word parsing rules of UNIX Bourne shell Singleton:: Implementation of the Singleton pattern for Ruby diff --git a/lib/securerandom.gemspec b/lib/securerandom.gemspec new file mode 100644 index 0000000000..358dc58056 --- /dev/null +++ b/lib/securerandom.gemspec @@ -0,0 +1,22 @@ +Gem::Specification.new do |spec| + spec.name = "securerandom" + spec.version = "0.1.0" + spec.authors = ["Tanaka Akira"] + spec.email = ["[email protected]"] + + spec.summary = %q{Interface for secure random number generator.} + spec.description = %q{Interface for secure random number generator.} + spec.homepage = "https://github.com/ruby/securerandom" + spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0") + spec.licenses = ["Ruby", "BSD-2-Clause"] + + spec.metadata["homepage_uri"] = spec.homepage + spec.metadata["source_code_uri"] = spec.homepage + + spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do + `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } + end + spec.bindir = "exe" + spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } + spec.require_paths = ["lib"] +end diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index 4c82eefa3a..1dc92104b2 100644 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -73,6 +73,7 @@ REPOSITORIES = { base64: "ruby/base64", syslog: "ruby/syslog", "open-uri": "ruby/open-uri", + securerandom: "ruby/securerandom", } def sync_default_gems(gem) |