jax.gemspec in jax-0.0.0.9 vs jax.gemspec in jax-0.0.0.10
- old
+ new
@@ -32,10 +32,14 @@
s.add_development_dependency 'treetop', '~> 1.4.9'
s.add_development_dependency 'bluecloth', '~> 2.0.11'
s.rubyforge_project = "jax"
- s.files = `git ls-files`.split("\n")
- s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
+ # Don't include stuff used to build & document jax, the dist file is already built.
+ useless_files = `git ls-files -- public/* guides/* vendor/* src/* dist/* spec/example_app/* spec/*.js`.split("\n")
+
+ s.files = `git ls-files`.split("\n") - useless_files
+# `git ls-files -- spec/example_app/* public/images/*`.split("\n")
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") - useless_files
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
end