projects/aports·blob master · refs

8 lines · 373 B

1--- a/observer.gemspec
2+++ b/observer.gemspec
3@@ -25,4 +25 @@
4- # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
5- spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
6- `git ls-files -z 2>#{IO::NULL}`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
7- end
8+ spec.files = Dir["lib/**/*.rb"]