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

ruby-changes:62880

From: Hiroshi <ko1@a...>
Date: Thu, 10 Sep 2020 20:43:35 +0900 (JST)
Subject: [ruby-changes:62880] cee8e95761 (master): Promote abbrev to default gems

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

From cee8e95761faeb482f303d1ea67c2dd91408f01f Mon Sep 17 00:00:00 2001
From: Hiroshi SHIBATA <hsbt@r...>
Date: Thu, 10 Sep 2020 13:54:28 +0900
Subject: Promote abbrev to default gems


diff --git a/doc/maintainers.rdoc b/doc/maintainers.rdoc
index 05049e6..af5e3e5 100644
--- a/doc/maintainers.rdoc
+++ b/doc/maintainers.rdoc
@@ -38,8 +38,6 @@ Zachary Scott (zzak) https://github.com/ruby/ruby/blob/trunk/doc/maintainers.rdoc#L38
 
 === Libraries
 
-[lib/abbrev.rb]
-  Akinori MUSHA (knu)
 [lib/base64.rb]
   Yusuke Endoh (mame)
 [lib/drb.rb, lib/drb/*]
@@ -106,6 +104,9 @@ Zachary Scott (zzak) https://github.com/ruby/ruby/blob/trunk/doc/maintainers.rdoc#L104
 
 === Libraries
 
+[lib/abbrev.rb]
+  Akinori MUSHA (knu)
+  https://github.com/ruby/abbrev
 [lib/benchmark.rb]
   _unmaintained_
   https://github.com/ruby/benchmark
diff --git a/doc/standard_library.rdoc b/doc/standard_library.rdoc
index 7e4c13b..d561ecb 100644
--- a/doc/standard_library.rdoc
+++ b/doc/standard_library.rdoc
@@ -8,7 +8,6 @@ description. https://github.com/ruby/ruby/blob/trunk/doc/standard_library.rdoc#L8
 
 == Libraries
 
-Abbrev:: Calculates a set of unique abbreviations for a given set of strings
 Base64:: Support for encoding and decoding binary data using a Base64 representation
 DEBUGGER__:: Debugging functionality for Ruby
 DRb:: Distributed object system for Ruby
@@ -42,6 +41,7 @@ WIN32OLE:: Provides an interface for OLE Automation in Ruby https://github.com/ruby/ruby/blob/trunk/doc/standard_library.rdoc#L41
 
 == Libraries
 
+Abbrev:: Calculates a set of unique abbreviations for a given set of strings
 Benchmark:: Provides methods to measure and report the time used to execute code
 Bundler:: Manage your Ruby application's gem dependencies
 CGI:: Support for the Common Gateway Interface protocol
diff --git a/lib/abbrev.gemspec b/lib/abbrev.gemspec
new file mode 100644
index 0000000..4edf0ed
--- /dev/null
+++ b/lib/abbrev.gemspec
@@ -0,0 +1,22 @@ https://github.com/ruby/ruby/blob/trunk/lib/abbrev.gemspec#L1
+Gem::Specification.new do |spec|
+  spec.name          = "abbrev"
+  spec.version       = "0.1.0"
+  spec.authors       = ["Akinori MUSHA"]
+  spec.email         = ["knu@i..."]
+
+  spec.summary       = %q{Calculates a set of unique abbreviations for a given set of strings}
+  spec.description   = %q{Calculates a set of unique abbreviations for a given set of strings}
+  spec.homepage      = "https://github.com/ruby/abbrev"
+  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"]
+end
diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb
index 8a672db..dc8e6b2 100644
--- a/tool/sync_default_gems.rb
+++ b/tool/sync_default_gems.rb
@@ -68,6 +68,7 @@ REPOSITORIES = { https://github.com/ruby/ruby/blob/trunk/tool/sync_default_gems.rb#L68
   erb: "ruby/erb",
   nkf: "ruby/nkf",
   tsort: "ruby/tsort",
+  abbrev: "ruby/abbrev",
 }
 
 def sync_default_gems(gem)
-- 
cgit v0.10.2


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

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