From bc374e5cea0fe0eb77da0ee78930c22d7afbd34a Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Fri, 21 Aug 2020 18:10:03 +0900 Subject: [PATCH] Promote rinda to default gems --- doc/maintainers.rdoc | 5 +++-- doc/standard_library.rdoc | 2 +- lib/rinda/rinda.gemspec | 24 ++++++++++++++++++++++++ tool/sync_default_gems.rb | 1 + 4 files changed, 29 insertions(+), 3 deletions(-) create mode 100644 lib/rinda/rinda.gemspec diff --git a/doc/maintainers.rdoc b/doc/maintainers.rdoc index d11787b67d..c0d47b5cab 100644 --- a/doc/maintainers.rdoc +++ b/doc/maintainers.rdoc @@ -60,8 +60,6 @@ Zachary Scott (zzak) Tanaka Akira (akr) [lib/resolv.rb] Tanaka Akira (akr) -[lib/rinda/*] - Masatoshi SEKI (seki) [lib/rubygems.rb, lib/rubygems/*] Eric Hodel (drbrain), Hiroshi SHIBATA (hsbt) https://github.com/rubygems/rubygems @@ -232,6 +230,9 @@ Zachary Scott (zzak) aycabta https://github.com/ruby/reline https://rubygems.org/gems/reline +[lib/rinda/*] + Masatoshi SEKI (seki) + https://github.com/ruby/rinda [lib/set.rb] Akinori MUSHA (knu) https://github.com/ruby/set diff --git a/doc/standard_library.rdoc b/doc/standard_library.rdoc index 6fe5aa031e..2ec088ca86 100644 --- a/doc/standard_library.rdoc +++ b/doc/standard_library.rdoc @@ -20,7 +20,6 @@ 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 Resolv:: Thread-aware DNS resolver library in Ruby -Rinda:: The Linda distributed computing paradigm in Ruby Gem:: Package management framework for Ruby SecureRandom:: Interface for secure random number generator Shellwords:: Manipulates strings with word parsing rules of UNIX Bourne shell @@ -75,6 +74,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. RDoc:: Produces HTML and command-line documentation for Ruby +Rinda:: The Linda distributed computing paradigm in Ruby Set:: Provides a class to deal with collections of unordered, unique values Singleton:: Implementation of the Singleton pattern for Ruby Tempfile:: A utility class for managing temporary files diff --git a/lib/rinda/rinda.gemspec b/lib/rinda/rinda.gemspec new file mode 100644 index 0000000000..1d9027efc9 --- /dev/null +++ b/lib/rinda/rinda.gemspec @@ -0,0 +1,24 @@ +Gem::Specification.new do |spec| + spec.name = "rinda" + spec.version = "0.1.0" + spec.authors = ["Masatoshi SEKI"] + spec.email = ["seki@ruby-lang.org"] + + spec.summary = %q{The Linda distributed computing paradigm in Ruby.} + spec.description = %q{The Linda distributed computing paradigm in Ruby.} + spec.homepage = "https://github.com/ruby/rinda" + 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 diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index f4e70a8b7b..5589b7816d 100644 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -64,6 +64,7 @@ $repositories = { optparse: "ruby/optparse", set: "ruby/set", find: "ruby/find", + rinda: "ruby/rinda", } def sync_default_gems(gem)