From 11736155f92db94cdd229191c3034fcc81c05299 Mon Sep 17 00:00:00 2001 From: Matthew Simpson Date: Fri, 26 Apr 2024 11:59:01 +0100 Subject: [PATCH] Exclude `Gemfile.lock` from Gem This is raising a critical error in AWS Inspector for any Docker images we create which includes this Gem. --- simplecov-html.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simplecov-html.gemspec b/simplecov-html.gemspec index 9f1d241..f90e5de 100644 --- a/simplecov-html.gemspec +++ b/simplecov-html.gemspec @@ -19,7 +19,7 @@ Gem::Specification.new do |gem| gem.files = Dir.chdir(__dir__) do `git ls-files -z`.split("\x0").reject do |f| (File.expand_path(f) == __FILE__) || - f.start_with?(*%w[bin/ test/ spec/ features/ .git .github appveyor Gemfile assets .rubocop.yml Guardfile]) + f.start_with?(*%w[bin/ test/ spec/ features/ .git .github appveyor Gemfile Gemfile.lock assets .rubocop.yml Guardfile]) end end gem.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }