[前][次][番号順一覧][スレッド一覧]

ruby-changes:62672

From: Hiroshi <ko1@a...>
Date: Fri, 21 Aug 2020 20:19:02 +0900 (JST)
Subject: [ruby-changes:62672] bc374e5cea (master): Promote rinda to default gems

https://git.ruby-lang.org/ruby.git/commit/?id=bc374e5cea

From bc374e5cea0fe0eb77da0ee78930c22d7afbd34a Mon Sep 17 00:00:00 2001
From: Hiroshi SHIBATA <hsbt@r...>
Date: Fri, 21 Aug 2020 18:10:03 +0900
Subject: Promote rinda to default gems


diff --git a/doc/maintainers.rdoc b/doc/maintainers.rdoc
index d11787b..c0d47b5 100644
--- a/doc/maintainers.rdoc
+++ b/doc/maintainers.rdoc
@@ -60,8 +60,6 @@ Zachary Scott (zzak) https://github.com/ruby/ruby/blob/trunk/doc/maintainers.rdoc#L60
   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) https://github.com/ruby/ruby/blob/trunk/doc/maintainers.rdoc#L230
   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 6fe5aa0..2ec088c 100644
--- a/doc/standard_library.rdoc
+++ b/doc/standard_library.rdoc
@@ -20,7 +20,6 @@ PrettyPrinter:: Implements a pretty printing algorithm for readable structure https://github.com/ruby/ruby/blob/trunk/doc/standard_library.rdoc#L20
 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 https://github.com/ruby/ruby/blob/trunk/doc/standard_library.rdoc#L74
 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 0000000..1d9027e
--- /dev/null
+++ b/lib/rinda/rinda.gemspec
@@ -0,0 +1,24 @@ https://github.com/ruby/ruby/blob/trunk/lib/rinda/rinda.gemspec#L1
+Gem::Specification.new do |spec|
+  spec.name          = "rinda"
+  spec.version       = "0.1.0"
+  spec.authors       = ["Masatoshi SEKI"]
+  spec.email         = ["seki@r..."]
+
+  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 f4e70a8..5589b78 100644
--- a/tool/sync_default_gems.rb
+++ b/tool/sync_default_gems.rb
@@ -64,6 +64,7 @@ $repositories = { https://github.com/ruby/ruby/blob/trunk/tool/sync_default_gems.rb#L64
   optparse: "ruby/optparse",
   set: "ruby/set",
   find: "ruby/find",
+  rinda: "ruby/rinda",
 }
 
 def sync_default_gems(gem)
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]