aboutsummaryrefslogtreecommitdiffstats
path: root/community/ruby-rspec/gemspec.patch
blob: 1bd3937c3a88dc0414e6d5756a699d8ee1d87e53 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/rspec.gemspec
+++ b/rspec.gemspec
@@ -14,10 +14,7 @@
   s.summary     = "rspec-#{RSpec::Version::STRING}"
   s.description = "BDD for Ruby"
 
-  s.files            = `git ls-files -- lib/*`.split("\n")
-  s.files           += ["LICENSE.md"]
-  s.test_files       = `git ls-files -- {spec,features}/*`.split("\n")
-  s.executables      = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
+  s.files            = Dir["lib/**/*"]
   s.extra_rdoc_files = [ "README.md" ]
   s.rdoc_options     = ["--charset=UTF-8"]
   s.require_path     = "lib"