ruby-changes:51790
From: kazu <ko1@a...>
Date: Fri, 20 Jul 2018 10:40:40 +0900 (JST)
Subject: [ruby-changes:51790] kazu:r64002 (trunk): Do not use `git ls-files` for file listing.
kazu 2018-07-20 10:40:36 +0900 (Fri, 20 Jul 2018) New Revision: 64002 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64002 Log: Do not use `git ls-files` for file listing. Modified files: trunk/lib/tracer.gemspec Index: lib/tracer.gemspec =================================================================== --- lib/tracer.gemspec (revision 64001) +++ lib/tracer.gemspec (revision 64002) @@ -11,11 +11,7 @@ Gem::Specification.new do |spec| https://github.com/ruby/ruby/blob/trunk/lib/tracer.gemspec#L11 spec.homepage = "https://github.com/ruby/tracer" spec.license = "BSD-2-Clause" - # Specify which files should be added to the gem when it is released. - # The `git ls-files -z` loads the files in the RubyGem that have been added into git. - spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do - `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } - end + spec.files = [".gitignore", ".travis.yml", "Gemfile", "LICENSE.txt", "README.md", "Rakefile", "bin/console", "bin/setup", "lib/tracer.rb", "tracer.gemspec"] 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/