summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2020-05-07 16:15:53 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-05-13 07:54:37 +0900
commita7c1791cec213bf1183a9f397cc60718f9de656f (patch)
treef2b831eabae15c8bbee0685e1496e1085d8c06c0
parent0e60b59d5884edb8f9aea023efd9b24f1ff02049 (diff)
Partly reverted bundler.gemspec for ruby core testing
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3086
-rw-r--r--lib/bundler/bundler.gemspec9
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/bundler/bundler.gemspec b/lib/bundler/bundler.gemspec
index 27a7f1ea2e..1ef46c8e6e 100644
--- a/lib/bundler/bundler.gemspec
+++ b/lib/bundler/bundler.gemspec
@@ -34,14 +34,11 @@ Gem::Specification.new do |s|
s.required_ruby_version = ">= 2.3.0"
s.required_rubygems_version = ">= 2.5.2"
- s.files = Dir.glob("{lib,man,exe}/**/*", File::FNM_DOTMATCH).reject {|f| File.directory?(f) }
+ s.files = (Dir.glob("lib/bundler/**/*", File::FNM_DOTMATCH) + Dir.glob("man/bundler*") + Dir.glob("libexec/bundle*")).reject {|f| File.directory?(f) }
- # Include the CHANGELOG.md, LICENSE.md, README.md manually
- s.files += %w[CHANGELOG.md LICENSE.md README.md]
- # include the gemspec itself because warbler breaks w/o it
- s.files += %w[bundler.gemspec]
+ s.files += ["lib/bundler.rb"]
- s.bindir = "exe"
+ s.bindir = "libexec"
s.executables = %w[bundle bundler]
s.require_paths = ["lib"]
end