We don't use tracked_files in before(:suite). It breaks with release package.

This commit is contained in:
Hiroshi SHIBATA 2023-12-16 18:00:42 +08:00
parent ad2a38dce4
commit ab87cd0baa

View File

@ -80,7 +80,7 @@ module Spec
end
def shipped_files
@shipped_files ||= ruby_core? ? tracked_files : loaded_gemspec.files
@shipped_files ||= ruby_core? ? (loaded_gemspec.files - ["exe/bundle", "exe/bundler"] + ["libexec/bundle", "libexec/bundler"]) : loaded_gemspec.files
end
def lib_tracked_files