1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Promote drb to the default gems

This commit is contained in:
Hiroshi SHIBATA 2020-10-13 21:06:13 +09:00
parent 102c2ba65f
commit 1e316edf60
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2
5 changed files with 38 additions and 3 deletions

View file

@ -38,8 +38,6 @@ Zachary Scott (zzak)
=== Libraries
[lib/drb.rb, lib/drb/*]
Masatoshi SEKI (seki)
[lib/debug.rb]
_unmaintained_
[lib/mkmf.rb]
@ -116,6 +114,9 @@ Zachary Scott (zzak)
[lib/did_you_mean.rb]
Yuki Nishijima (yuki24)
https://github.com/ruby/did_you_mean
[lib/drb.rb, lib/drb/*]
Masatoshi SEKI (seki)
https://github.com/ruby/drb
[lib/erb.rb]
Masatoshi SEKI (seki), Takashi Kokubun (k0kubun)
https://github.com/ruby/erb

View file

@ -9,7 +9,6 @@ description.
== Libraries
DEBUGGER__:: Debugging functionality for Ruby
DRb:: Distributed object system for Ruby
MakeMakefile:: Module used to generate a Makefile for C extensions
RbConfig:: Information of your configure and build of Ruby
Gem:: Package management framework for Ruby
@ -39,6 +38,7 @@ CGI:: Support for the Common Gateway Interface protocol
CSV:: Provides an interface to read and write CSV files and data
Delegator:: Provides three abilities to delegate method calls to an object
DidYouMean:: "Did you mean?" experience in Ruby
DRb:: Distributed object system for Ruby
English.rb:: Require 'English.rb' to reference global variables with less cryptic names
ERB:: An easy to use but powerful templating system for Ruby
FileUtils:: Several file utility methods for copying, moving, removing, etc

30
lib/drb/drb.gemspec Normal file
View file

@ -0,0 +1,30 @@
begin
require_relative "lib/drb/version"
rescue LoadError # Fallback to load version file in ruby core repository
require_relative "version"
end
Gem::Specification.new do |spec|
spec.name = "drb"
spec.version = DRb::VERSION
spec.authors = ["Masatoshi SEKI"]
spec.email = ["seki@ruby-lang.org"]
spec.summary = %q{Distributed object system for Ruby}
spec.description = %q{Distributed object system for Ruby}
spec.homepage = "https://github.com/ruby/drb"
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
# Specify which files should be added to the gem when it is released.
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
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

3
lib/drb/version.rb Normal file
View file

@ -0,0 +1,3 @@
module DRb
VERSION = "2.0.4"
end

View file

@ -79,6 +79,7 @@ REPOSITORIES = {
time: "ruby/time",
pp: "ruby/pp",
prettyprint: "ruby/prettyprint",
drb: "ruby/drb",
}
def sync_default_gems(gem)