diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-08-16 09:45:58 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-08-16 09:45:58 +0000 |
commit | bab14d39fb752e4443cddf1c9e7a5afa40aec489 (patch) | |
tree | cd62b25669b01d957d5be973361e69b4656165ad /lib | |
parent | 74c3a220ba38df25d986bbbe3f8e2742c87bb9a0 (diff) | |
download | ruby-bab14d39fb752e4443cddf1c9e7a5afa40aec489.tar.gz |
Extract files variables of ipaddr.gemspec for non git environment.
[Bug #13808][ruby-core:82358]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ipaddr.gemspec | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/ipaddr.gemspec b/lib/ipaddr.gemspec index a53611da20..11ebe826ec 100644 --- a/lib/ipaddr.gemspec +++ b/lib/ipaddr.gemspec @@ -15,9 +15,7 @@ Both IPv4 and IPv6 are supported. DESCRIPTION spec.homepage = "https://github.com/ruby/ipaddr" - spec.files = `git ls-files -z`.split("\x0").reject do |f| - f.match(%r{^(test|spec|features)/}) - end + spec.files = [".gitignore", ".travis.yml", "Gemfile", "LICENSE.txt", "README.md", "Rakefile", "bin/console", "bin/setup", "ipaddr.gemspec", "lib/ipaddr.rb"] spec.bindir = "exe" spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ["lib"] |