mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
74c3a220ba
commit
bab14d39fb
1 changed files with 1 additions and 3 deletions
|
@ -15,9 +15,7 @@ Both IPv4 and IPv6 are supported.
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
spec.homepage = "https://github.com/ruby/ipaddr"
|
spec.homepage = "https://github.com/ruby/ipaddr"
|
||||||
|
|
||||||
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
spec.files = [".gitignore", ".travis.yml", "Gemfile", "LICENSE.txt", "README.md", "Rakefile", "bin/console", "bin/setup", "ipaddr.gemspec", "lib/ipaddr.rb"]
|
||||||
f.match(%r{^(test|spec|features)/})
|
|
||||||
end
|
|
||||||
spec.bindir = "exe"
|
spec.bindir = "exe"
|
||||||
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
||||||
spec.require_paths = ["lib"]
|
spec.require_paths = ["lib"]
|
||||||
|
|
Loading…
Reference in a new issue