From 07a5f1f97448660b4c4d4d427ade286b16a4eeca Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Thu, 6 Oct 2016 19:19:46 -0400 Subject: [PATCH] Update regex for spec.files and remove bindir and executables --- minimal-mistakes-jekyll.gemspec | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/minimal-mistakes-jekyll.gemspec b/minimal-mistakes-jekyll.gemspec index 764c95a..ee44da5 100644 --- a/minimal-mistakes-jekyll.gemspec +++ b/minimal-mistakes-jekyll.gemspec @@ -12,12 +12,9 @@ Gem::Specification.new do |spec| spec.metadata["plugin_type"] = "theme" spec.files = `git ls-files -z`.split("\x0").select do |f| - f.match(%r{^((_includes|_layouts|_sass|assets)/|(LICENSE|README|CHANGELOG)((\.(txt|md|markdown)|$)))}i) + f.match(%r{^(assets|_(includes|layouts|sass)/|(LICENSE|README|CHANGELOG)((\.(txt|md|markdown)|$)))}i) end - spec.bindir = "exe" - spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } - spec.add_development_dependency "jekyll", "~> 3.3" spec.add_development_dependency "bundler", "~> 1.12" spec.add_development_dependency "rake", "~> 10.0" -- 2.43.0