aboutsummaryrefslogtreecommitdiffstats
path: root/community/ruby-rspec-core/gemspec.patch
blob: 0a6cad0d0e22b581cb29d95b78101f54825b356c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- a/rspec-core.gemspec
+++ b/rspec-core.gemspec
@@ -13,11 +13,10 @@
   s.summary     = "rspec-core-#{RSpec::Core::Version::STRING}"
   s.description = "BDD for Ruby. RSpec runner and example groups."
 
-  s.files            = `git ls-files -- lib/*`.split("\n")
-  s.files           += %w[README.md LICENSE.md Changelog.md .yardopts .document]
+  s.files            = Dir["lib/**/*"]
   s.test_files       = []
   s.bindir           = 'exe'
-  s.executables      = `git ls-files -- exe/*`.split("\n").map{ |f| File.basename(f) }
+  s.executables      = Dir["exe/*"].map{ |f| File.basename(f) }
   s.rdoc_options     = ["--charset=UTF-8"]
   s.require_path     = "lib"