ruby-changes:47492
From: hsbt <ko1@a...>
Date: Wed, 16 Aug 2017 18:46:03 +0900 (JST)
Subject: [ruby-changes:47492] hsbt:r59608 (trunk): Extract files variables of ipaddr.gemspec for non git environment.
hsbt 2017-08-16 18:45:58 +0900 (Wed, 16 Aug 2017) New Revision: 59608 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59608 Log: Extract files variables of ipaddr.gemspec for non git environment. [Bug #13808][ruby-core:82358] Modified files: trunk/lib/ipaddr.gemspec Index: lib/ipaddr.gemspec =================================================================== --- lib/ipaddr.gemspec (revision 59607) +++ lib/ipaddr.gemspec (revision 59608) @@ -15,9 +15,7 @@ Both IPv4 and IPv6 are supported. https://github.com/ruby/ruby/blob/trunk/lib/ipaddr.gemspec#L15 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"] -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/