aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-02-27 09:20:39 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-02-27 09:20:39 +0000
commita56ff769bc32662f130d34cb658b1913a992ada1 (patch)
treefe3f0335dac2e70b7fa0c75b8d07cbf4b48d4c06
parent57427deaed71f250319e2454585221d8d7ca61da (diff)
downloadruby-a56ff769bc32662f130d34cb658b1913a992ada1.tar.gz
Added initial gemspec for Etc module.
[Feature #13256] * doc/*.rdoc: move Etc module to default gem section. * ext/etc/etc.gemspec: first gemspec. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--doc/maintainers.rdoc4
-rw-r--r--doc/standard_library.rdoc2
-rw-r--r--ext/etc/etc.gemspec17
3 files changed, 20 insertions, 3 deletions
diff --git a/doc/maintainers.rdoc b/doc/maintainers.rdoc
index 522192efe3..6782009d48 100644
--- a/doc/maintainers.rdoc
+++ b/doc/maintainers.rdoc
@@ -175,8 +175,6 @@ Zachary Scott (zzak)
Yusuke Endoh (mame)
[ext/digest, ext/digest/*]
Akinori MUSHA (knu)
-[ext/etc]
- _unmaintained_
[ext/fiber]
Koichi Sasada (ko1)
[ext/fiddle]
@@ -244,6 +242,8 @@ Zachary Scott (zzak)
_unmaintained_
[ext/dbm]
_unmaintained_
+[ext/etc]
+ _unmaintained_
[ext/fcntl]
_unmaintained_
[ext/gdbm]
diff --git a/doc/standard_library.rdoc b/doc/standard_library.rdoc
index 8b6fe79ba7..d3114356d6 100644
--- a/doc/standard_library.rdoc
+++ b/doc/standard_library.rdoc
@@ -77,7 +77,6 @@ YAML:: Ruby client library for the Psych YAML implementation
Coverage:: Provides coverage measurement for Ruby
Digest:: Provides a framework for message digest libraries
-Etc:: Provides access to information typically stored in UNIX /etc directory
Fiddle:: A libffi wrapper for Ruby
IO:: Extensions for Ruby IO class, including #wait and ::console
NKF:: Ruby extension for Network Kanji Filter
@@ -109,6 +108,7 @@ BigDecimal:: Provides arbitrary-precision floating point decimal arithmetic
Date:: A subclass of Object includes Comparable module for handling dates
DateTime:: Subclass of Date to handling dates, hours, minutes, seconds, offsets
DBM:: Provides a wrapper for the UNIX-style Database Manager Library
+Etc:: Provides access to information typically stored in UNIX /etc directory
Fcntl:: Loads constants defined in the OS fcntl.h C header file
GDBM:: Ruby extension for the GNU dbm (gdbm) library
IO::console:: Console interface
diff --git a/ext/etc/etc.gemspec b/ext/etc/etc.gemspec
new file mode 100644
index 0000000000..8f4d2350a1
--- /dev/null
+++ b/ext/etc/etc.gemspec
@@ -0,0 +1,17 @@
+Gem::Specification.new do |s|
+ s.name = "etc"
+ s.version = '0.0.1'
+ s.date = '2017-02-27'
+ s.summary = "Provides access to information typically stored in UNIX /etc directory."
+ s.description = "Provides access to information typically stored in UNIX /etc directory."
+
+ s.require_path = %w{lib}
+ s.files = %w{depend extconf.rb etc.c mkconstants.rb}
+ s.extensions = %w{extconf.rb}
+ s.required_ruby_version = ">= 2.5.0dev"
+
+ s.authors = ["Yukihiro Matsumoto"]
+ s.email = ["matz@ruby-lang.org"]
+ s.homepage = "https://www.ruby-lang.org"
+ s.license = "BSD-2-Clause"
+end