From 4bcfd76fae262ec238339a5f839f617ed3360f80 Mon Sep 17 00:00:00 2001 From: Daniel Morrison Date: Fri, 5 Apr 2024 06:09:22 -0700 Subject: [PATCH] Remove some files from the published gem --- audited.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audited.gemspec b/audited.gemspec index bdbfdba6..1f52c860 100644 --- a/audited.gemspec +++ b/audited.gemspec @@ -12,7 +12,7 @@ Gem::Specification.new do |gem| gem.homepage = "https://github.com/collectiveidea/audited" gem.license = "MIT" - gem.files = `git ls-files`.split($\).reject { |f| f =~ /(\.gemspec)/ } + gem.files = `git ls-files`.split($\).reject { |f| f =~ /^(\.gemspec|\.git|\.standard|\.yard|gemfiles|test|spec)/ } gem.required_ruby_version = ">= 2.3.0"