ruby-changes:62890
From: Hiroshi <ko1@a...>
Date: Sat, 12 Sep 2020 08:31:04 +0900 (JST)
Subject: [ruby-changes:62890] d1851ba5b9 (master): Promote securerandom to default gems
https://git.ruby-lang.org/ruby.git/commit/?id=d1851ba5b9 From d1851ba5b9336d01b5207e7d9a483e698c049dd0 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA <hsbt@r...> Date: Fri, 11 Sep 2020 21:15:25 +0900 Subject: Promote securerandom to default gems diff --git a/doc/maintainers.rdoc b/doc/maintainers.rdoc index eaaccf5..47566d9 100644 --- a/doc/maintainers.rdoc +++ b/doc/maintainers.rdoc @@ -55,8 +55,6 @@ Zachary Scott (zzak) https://github.com/ruby/ruby/blob/trunk/doc/maintainers.rdoc#L55 [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) https://github.com/ruby/ruby/blob/trunk/doc/maintainers.rdoc#L227 [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 f3dd1da..8942a9d 100644 --- a/doc/standard_library.rdoc +++ b/doc/standard_library.rdoc @@ -17,7 +17,6 @@ RbConfig:: Information of your configure and build of Ruby https://github.com/ruby/ruby/blob/trunk/doc/standard_library.rdoc#L17 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 https://github.com/ruby/ruby/blob/trunk/doc/standard_library.rdoc#L70 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 0000000..358dc58 --- /dev/null +++ b/lib/securerandom.gemspec @@ -0,0 +1,22 @@ https://github.com/ruby/ruby/blob/trunk/lib/securerandom.gemspec#L1 +Gem::Specification.new do |spec| + spec.name = "securerandom" + spec.version = "0.1.0" + spec.authors = ["Tanaka Akira"] + spec.email = ["akr@f..."] + + 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 4c82eef..1dc9210 100644 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -73,6 +73,7 @@ REPOSITORIES = { https://github.com/ruby/ruby/blob/trunk/tool/sync_default_gems.rb#L73 base64: "ruby/base64", syslog: "ruby/syslog", "open-uri": "ruby/open-uri", + securerandom: "ruby/securerandom", } def sync_default_gems(gem) -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/