From cc3afdb165ae9916be97dc557ef42ed8d4671b7c Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA <hsbt@ruby-lang.org> Date: Tue, 16 Nov 2021 20:07:30 +0900 Subject: [PATCH] Added LICENSE entry of vendored net-http-persistent to LEGAL --- LEGAL | 9 +++++++++ tool/sync_default_gems.rb | 1 + 2 files changed, 10 insertions(+) diff --git a/LEGAL b/LEGAL index f200d8eb5c..fc0c35989b 100644 --- a/LEGAL +++ b/LEGAL @@ -997,6 +997,15 @@ mentioned below. {MIT License}[rdoc-label:label-MIT+License] +[lib/bundler/vendor/net-http-persistent] + + net-http-persistent is under the following license. + + >>> + Copyright (c) Eric Hodel, Aaron Patterson + + {MIT License}[rdoc-label:label-MIT+License] + [lib/did_you_mean] [lib/did_you_mean.rb] [test/did_you_mean] diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index eb494a49e4..741216b9ed 100755 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -108,6 +108,7 @@ def sync_default_gems(gem) rm_rf("lib/rubygems/resolver/molinillo/LICENSE") rm_rf("lib/bundler/vendor/molinillo/LICENSE") rm_rf("lib/bundler/vendor/connection_pool/LICENSE") + rm_rf("lib/bundler/vendor/net-http-persistent/README.rdoc") when "rdoc" rm_rf(%w[lib/rdoc lib/rdoc.rb test/rdoc libexec/rdoc libexec/ri]) cp_r(Dir.glob("#{upstream}/lib/rdoc*"), "lib")