diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-10-11 09:32:35 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2022-10-11 10:44:42 +0900 |
commit | 1dd774f53ac0043692bf0673df866ef419d8a987 (patch) | |
tree | b7baee84c751f8a54c1d0775fce9606cba223a7c /lib | |
parent | 1bafa4a59b296e6ca80e32755fc84b76c3c575e5 (diff) |
[ruby/open-uri] Remove unused files from the packages
https://github.com/ruby/open-uri/commit/b2d9efbaf8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/open-uri.gemspec | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/open-uri.gemspec b/lib/open-uri.gemspec index 12f10ef316..d683e93d5e 100644 --- a/lib/open-uri.gemspec +++ b/lib/open-uri.gemspec @@ -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"] |