diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-12-17 05:39:16 +0800 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-12-17 05:39:16 +0800 |
commit | 8db0de92a8454b449efb243f380f5d2b68c38d7c (patch) | |
tree | 178ddd7f41c3a2af6ef909983b214b005febf2fd /spec/bundler | |
parent | ab7f54688b495b3218843e58992b713c3b28011f (diff) | |
download | ruby-8db0de92a8454b449efb243f380f5d2b68c38d7c.tar.gz |
Restore tracked_files for ruby core repo
Diffstat (limited to 'spec/bundler')
-rw-r--r-- | spec/bundler/support/path.rb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/spec/bundler/support/path.rb b/spec/bundler/support/path.rb index 5323f06280..f0f701a7cb 100644 --- a/spec/bundler/support/path.rb +++ b/spec/bundler/support/path.rb @@ -80,7 +80,13 @@ module Spec end def shipped_files - @shipped_files ||= ruby_core? ? loaded_gemspec.files.map{|f| f.gsub(/^exe\//, "libexec/")} : loaded_gemspec.files + @shipped_files ||= if ruby_core_tarball? + loaded_gemspec.files.map{|f| f.gsub(/^exe\//, "libexec/")} + elsif ruby_core? + tracked_files + else + loaded_gemspec.files + end end def lib_tracked_files |