diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-04-11 09:46:53 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-04-11 09:46:53 +0000 |
commit | 12cda5ba4b93487185129204af31315c1a4edd14 (patch) | |
tree | 83fe8b98740085670d48599109ff8c8beea0adf2 | |
parent | 222c3a404f690dbdafa71b7d03d28738907b07f4 (diff) | |
download | ruby-12cda5ba4b93487185129204af31315c1a4edd14.tar.gz |
Import gemspec from ruby/etc.
* Update configuraiton for gem release.
* Bump version to 0.2.1. Because 0.2.0 is already reserved on rubygems.org
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ext/etc/etc.gemspec | 40 |
1 files changed, 26 insertions, 14 deletions
diff --git a/ext/etc/etc.gemspec b/ext/etc/etc.gemspec index 8f4d2350a1..fd81ec3415 100644 --- a/ext/etc/etc.gemspec +++ b/ext/etc/etc.gemspec @@ -1,17 +1,29 @@ -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." +# coding: utf-8 - 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" +Gem::Specification.new do |spec| + spec.name = "etc" + spec.version = "0.2.1" + soec.date = '2017-02-27' + spec.authors = ["Yukihiro Matsumoto"] + spec.email = ["matz@ruby-lang.org"] - s.authors = ["Yukihiro Matsumoto"] - s.email = ["matz@ruby-lang.org"] - s.homepage = "https://www.ruby-lang.org" - s.license = "BSD-2-Clause" + spec.summary = %q{Provides access to information typically stored in UNIX /etc directory.} + spec.description = %q{Provides access to information typically stored in UNIX /etc directory.} + spec.homepage = "https://github.com/ruby/etc" + spec.license = "BSD-2-Clause" + + spec.files = `git ls-files -z`.split("\x0").reject do |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"] + spec.extensions = %w{extconf.rb} + + spec.required_ruby_version = ">= 2.5.0dev" + + spec.add_development_dependency "bundler" + spec.add_development_dependency "rake" + spec.add_development_dependency "rake-compiler" + spec.add_development_dependency "test-unit" end |