ruby-changes:46200
From: hsbt <ko1@a...>
Date: Tue, 11 Apr 2017 18:46:57 +0900 (JST)
Subject: [ruby-changes:46200] hsbt:r58315 (trunk): Import gemspec from ruby/etc.
hsbt 2017-04-11 18:46:53 +0900 (Tue, 11 Apr 2017) New Revision: 58315 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58315 Log: 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 Modified files: trunk/ext/etc/etc.gemspec Index: ext/etc/etc.gemspec =================================================================== --- ext/etc/etc.gemspec (revision 58314) +++ ext/etc/etc.gemspec (revision 58315) @@ -1,17 +1,29 @@ https://github.com/ruby/ruby/blob/trunk/ext/etc/etc.gemspec#L1 -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@r..."] - s.authors = ["Yukihiro Matsumoto"] - s.email = ["matz@r..."] - 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/