summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-06-02 13:57:48 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-06-02 13:57:48 +0000
commit1dd43218445efe0e400594f21eebc81d7d2cf51a (patch)
treec46dd758b3e25d9296bea780cf93f89f5f733687
parent46ec01cb3cb21552212a050a467bfa0f35f0400a (diff)
Promote Logger to default gems.
* Its upstream is https://github.com/ruby/logger. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--doc/maintainers.rdoc4
-rw-r--r--doc/standard_library.rdoc2
-rw-r--r--lib/logger.gemspec22
3 files changed, 25 insertions, 3 deletions
diff --git a/doc/maintainers.rdoc b/doc/maintainers.rdoc
index 2f1cbe914e..81099817f2 100644
--- a/doc/maintainers.rdoc
+++ b/doc/maintainers.rdoc
@@ -68,8 +68,6 @@ Zachary Scott (zzak)
Akinori MUSHA (knu)
[lib/irb.rb, lib/irb/*]
Keiju ISHITSUKA (keiju)
-[lib/logger.rb]
- Naotoshi Seo (sonots)
[lib/matrix.rb]
Marc-Andre Lafortune (marcandre)
[lib/mkmf.rb]
@@ -213,6 +211,8 @@ Zachary Scott (zzak)
[lib/fileutils.rb]
_unmaintained_
https://github.com/ruby/fileutils
+[lib/logger.rb]
+ Naotoshi Seo (sonots)
[lib/rdoc.rb, lib/rdoc/*]
Eric Hodel (drbrain), Hiroshi SHIBATA (hsbt)
https://github.com/ruby/rdoc
diff --git a/doc/standard_library.rdoc b/doc/standard_library.rdoc
index db06110de0..6aaa32c761 100644
--- a/doc/standard_library.rdoc
+++ b/doc/standard_library.rdoc
@@ -24,7 +24,6 @@ Forwardable:: Provides delegation of specified methods to a designated object
GetoptLong:: Parse command line options similar to the GNU C getopt_long()
IPAddr:: Provides methods to manipulate IPv4 and IPv6 IP addresses
IRB:: Interactive Ruby command-line tool for REPL (Read Eval Print Loop)
-Logger:: Provides a simple logging utility for outputting messages
MakeMakefile:: Module used to generate a Makefile for C extensions
Matrix:: Represents a mathematical matrix.
Monitor:: Provides an object or module to use safely by more than one thread
@@ -93,6 +92,7 @@ Bundler:: Manage your Ruby application's gem dependencies
CMath:: Provides Trigonometric and Transcendental functions for complex numbers
CSV:: Provides an interface to read and write CSV files and data
FileUtils:: Several file utility methods for copying, moving, removing, etc
+Logger:: Provides a simple logging utility for outputting messages
RDoc:: Produces HTML and command-line documentation for Ruby
REXML:: An XML toolkit for Ruby
RSS:: Family of libraries that support various formats of XML "feeds"
diff --git a/lib/logger.gemspec b/lib/logger.gemspec
new file mode 100644
index 0000000000..690817a2e2
--- /dev/null
+++ b/lib/logger.gemspec
@@ -0,0 +1,22 @@
+require_relative "logger"
+
+Gem::Specification.new do |spec|
+ spec.name = "logger"
+ spec.version = Logger::VERSION
+ spec.authors = ["SHIBATA Hiroshi"]
+ spec.email = ["hsbt@ruby-lang.org"]
+
+ spec.summary = %q{Provides a simple logging utility for outputting messages.}
+ spec.description = %q{Provides a simple logging utility for outputting messages.}
+ spec.homepage = "https://github.com/ruby/logger"
+ spec.license = "BSD-2-Clause"
+
+ spec.files = [".gitignore", ".travis.yml", "Gemfile", "LICENSE.txt", "README.md", "Rakefile", "bin/console", "bin/setup", "lib/logger.rb", "logger.gemspec"]
+ spec.bindir = "exe"
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
+ spec.require_paths = ["lib"]
+
+ spec.add_development_dependency "bundler", "~> 1.16"
+ spec.add_development_dependency "rake", "~> 10.0"
+ spec.add_development_dependency "minitest", "~> 5.0"
+end