зеркало из https://github.com/github/ruby.git
Promote resolv-replace to default gems
This commit is contained in:
Родитель
e0675b1c76
Коммит
01e0d74965
|
@ -48,8 +48,6 @@ Zachary Scott (zzak)
|
|||
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)
|
|||
[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
|
||||
|
|
|
@ -14,7 +14,6 @@ MakeMakefile:: Module used to generate a Makefile for C extensions
|
|||
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
|
|||
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
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
Gem::Specification.new do |spec|
|
||||
spec.name = "resolv-replace"
|
||||
spec.version = "0.1.0"
|
||||
spec.authors = ["Tanaka Akira"]
|
||||
spec.email = ["akr@fsij.org"]
|
||||
|
||||
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
|
|
@ -75,6 +75,7 @@ REPOSITORIES = {
|
|||
"open-uri": "ruby/open-uri",
|
||||
securerandom: "ruby/securerandom",
|
||||
resolv: "ruby/resolv",
|
||||
"resolv-replace": "ruby/resolv-replace",
|
||||
}
|
||||
|
||||
def sync_default_gems(gem)
|
||||
|
|
Загрузка…
Ссылка в новой задаче