summaryrefslogtreecommitdiff
path: root/ext/etc/etc.gemspec
diff options
context:
space:
mode:
Diffstat (limited to 'ext/etc/etc.gemspec')
-rw-r--r--ext/etc/etc.gemspec20
1 files changed, 16 insertions, 4 deletions
diff --git a/ext/etc/etc.gemspec b/ext/etc/etc.gemspec
index f961b672e4..8a16928b41 100644
--- a/ext/etc/etc.gemspec
+++ b/ext/etc/etc.gemspec
@@ -12,13 +12,25 @@ Gem::Specification.new do |spec|
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.files = %w[
+ .gitignore
+ .travis.yml
+ Gemfile
+ LICENSE.txt
+ README.md
+ Rakefile
+ bin/console
+ bin/setup
+ etc.gemspec
+ ext/etc/etc.c
+ ext/etc/extconf.rb
+ ext/etc/mkconstants.rb
+ test/etc/test_etc.rb
+ ]
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
- spec.extensions = %w{extconf.rb}
+ spec.extensions = %w{ext/etc/extconf.rb}
spec.required_ruby_version = ">= 2.5.0dev"