summarylogtreecommitdiffstats
path: root/0001-gemspec.patch
blob: 6d2581240c9ab62d22111d0164ef67696adc1725 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From db28d58579a89449dfbf443bd9f9853d25f6cded Mon Sep 17 00:00:00 2001
From: Rich <git zero at bitservices dot io>
Date: Mon, 7 Oct 2024 15:48:01 +0100
Subject: [PATCH] gemspec

---
 reverse_markdown.gemspec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/reverse_markdown.gemspec b/reverse_markdown.gemspec
index 432191f..2fe6521 100644
--- a/reverse_markdown.gemspec
+++ b/reverse_markdown.gemspec
@@ -12,9 +12,9 @@ Gem::Specification.new do |s|
   s.description = %q{Map simple html back into markdown, e.g. if you want to import existing html data in your application.}
   s.licenses    = ["WTFPL"]
 
-  s.files         = `git ls-files`.split("\n")
-  s.test_files    = `git ls-files -- {test,spec,features}/*`.split("\n")
-  s.executables   = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
+  s.files         = `find . -type f -not -path "*/.git/*" -and -not -path "*/Rakefile" -and -not -path "*/.*"`.split("\n")
+  s.test_files    = `find . -type f -path "./test/*" -or -path "./spec/*" -or -path "./features/*"`.split("\n")
+  s.executables   = `find . -type f -path "./bin/*"`.split("\n").map{ |f| File.basename(f) }
   s.require_paths = ["lib"]
 
   # specify any dependencies here; for example:
-- 
2.46.2