ruby-changes:64640
From: Hiroshi <ko1@a...>
Date: Mon, 28 Dec 2020 16:21:53 +0900 (JST)
Subject: [ruby-changes:64640] e6fee2b64f (master): [ruby/pp] Removed needless files from Gem::Specification#files
https://git.ruby-lang.org/ruby.git/commit/?id=e6fee2b64f From e6fee2b64f9e85cfec00ee5d2ed6f8a8ddd11544 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA <hsbt@r...> Date: Mon, 28 Dec 2020 16:18:42 +0900 Subject: [ruby/pp] Removed needless files from Gem::Specification#files https://github.com/ruby/pp/commit/272d4befeb diff --git a/lib/pp.gemspec b/lib/pp.gemspec index bdf6fca..a6c80f9 100644 --- a/lib/pp.gemspec +++ b/lib/pp.gemspec @@ -14,9 +14,11 @@ Gem::Specification.new do |spec| https://github.com/ruby/ruby/blob/trunk/lib/pp.gemspec#L14 spec.metadata["homepage_uri"] = spec.homepage spec.metadata["source_code_uri"] = spec.homepage - 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 = %w[ + LICENSE.txt + lib/pp.rb + pp.gemspec + ] spec.bindir = "exe" spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ["lib"] -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/