mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/open-uri] Remove unused files from the packages
https://github.com/ruby/open-uri/commit/b2d9efbaf8
This commit is contained in:
parent
1bafa4a59b
commit
1dd774f53a
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
|
|||
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)/}) }
|
||||
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A((bin|test|spec|features)/|\.git|[Rr]ake|Gemfile)|\.gemspec\z}) }
|
||||
end
|
||||
spec.executables = []
|
||||
spec.require_paths = ["lib"]
|
||||
|
|
Loading…
Reference in a new issue