ruby-changes:62891
From: Hiroshi <ko1@a...>
Date: Sat, 12 Sep 2020 08:31:06 +0900 (JST)
Subject: [ruby-changes:62891] 01e0d74965 (master): Promote resolv-replace to default gems
https://git.ruby-lang.org/ruby.git/commit/?id=01e0d74965 From 01e0d74965ccaa6382bae883adac5f556590023a Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA <hsbt@r...> Date: Fri, 11 Sep 2020 22:01:08 +0900 Subject: Promote resolv-replace to default gems diff --git a/doc/maintainers.rdoc b/doc/maintainers.rdoc index ebea636..30e0cde 100644 --- a/doc/maintainers.rdoc +++ b/doc/maintainers.rdoc @@ -48,8 +48,6 @@ Zachary Scott (zzak) https://github.com/ruby/ruby/blob/trunk/doc/maintainers.rdoc#L48 Tanaka Akira (akr) [lib/prettyprint.rb] Tanaka Akira (akr) -[lib/resolv-replace.rb] - Tanaka Akira (akr) [lib/rubygems.rb, lib/rubygems/*] Eric Hodel (drbrain), Hiroshi SHIBATA (hsbt) https://github.com/rubygems/rubygems @@ -217,6 +215,9 @@ Zachary Scott (zzak) https://github.com/ruby/ruby/blob/trunk/doc/maintainers.rdoc#L215 [lib/resolv.rb] Tanaka Akira (akr) https://github.com/ruby/resolv +[lib/resolv-replace.rb] + Tanaka Akira (akr) + https://github.com/ruby/resolv-replace [lib/rdoc.rb, lib/rdoc/*] Eric Hodel (drbrain), Hiroshi SHIBATA (hsbt) https://github.com/ruby/rdoc diff --git a/doc/standard_library.rdoc b/doc/standard_library.rdoc index 1cdf715..50b9649 100644 --- a/doc/standard_library.rdoc +++ b/doc/standard_library.rdoc @@ -14,7 +14,6 @@ MakeMakefile:: Module used to generate a Makefile for C extensions https://github.com/ruby/ruby/blob/trunk/doc/standard_library.rdoc#L14 PP:: Provides a PrettyPrinter for Ruby objects PrettyPrinter:: Implements a pretty printing algorithm for readable structure RbConfig:: Information of your configure and build of Ruby -resolv-replace.rb:: Replace Socket DNS with Resolv Gem:: Package management framework for Ruby Time:: Extends the Time class with methods for parsing and conversion un.rb:: Utilities to replace common UNIX commands @@ -68,6 +67,7 @@ Prime:: Prime numbers and factorization library https://github.com/ruby/ruby/blob/trunk/doc/standard_library.rdoc#L67 PStore:: Implements a file based persistence mechanism based on a Hash Racc:: A LALR(1) parser generator written in Ruby. Resolv:: Thread-aware DNS resolver library in Ruby +resolv-replace.rb:: Replace Socket DNS with Resolv RDoc:: Produces HTML and command-line documentation for Ruby Rinda:: The Linda distributed computing paradigm in Ruby SecureRandom:: Interface for secure random number generator diff --git a/lib/resolv-replace.gemspec b/lib/resolv-replace.gemspec new file mode 100644 index 0000000..0dadb19 --- /dev/null +++ b/lib/resolv-replace.gemspec @@ -0,0 +1,24 @@ https://github.com/ruby/ruby/blob/trunk/lib/resolv-replace.gemspec#L1 +Gem::Specification.new do |spec| + spec.name = "resolv-replace" + spec.version = "0.1.0" + spec.authors = ["Tanaka Akira"] + spec.email = ["akr@f..."] + + spec.summary = %q{Replace Socket DNS with Resolv.} + spec.description = %q{Replace Socket DNS with Resolv.} + spec.homepage = "https://github.com/ruby/resolv-replace" + 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"] + + spec.add_dependency "resolv" +end diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index 4e70f2e..08b3c58 100644 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -75,6 +75,7 @@ REPOSITORIES = { https://github.com/ruby/ruby/blob/trunk/tool/sync_default_gems.rb#L75 "open-uri": "ruby/open-uri", securerandom: "ruby/securerandom", resolv: "ruby/resolv", + "resolv-replace": "ruby/resolv-replace", } def sync_default_gems(gem) -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/