Promote securerandom to default gems

This commit is contained in:
Hiroshi SHIBATA 2020-09-11 21:15:25 +09:00
Родитель 2f24818319
Коммит d1851ba5b9
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: F9CF13417264FAC2
4 изменённых файлов: 27 добавлений и 3 удалений

Просмотреть файл

@ -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

Просмотреть файл

@ -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

22
lib/securerandom.gemspec Normal file
Просмотреть файл

@ -0,0 +1,22 @@
Gem::Specification.new do |spec|
spec.name = "securerandom"
spec.version = "0.1.0"
spec.authors = ["Tanaka Akira"]
spec.email = ["akr@fsij.org"]
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

Просмотреть файл

@ -73,6 +73,7 @@ REPOSITORIES = {
base64: "ruby/base64",
syslog: "ruby/syslog",
"open-uri": "ruby/open-uri",
securerandom: "ruby/securerandom",
}
def sync_default_gems(gem)