Skip to content

Commit

Permalink
Don't pack unnecessary files to released gem
Browse files Browse the repository at this point in the history
Rationale: rubygems/bundler#3207

39KB => 29KB
  • Loading branch information
JuanitoFatas committed Jul 1, 2016
1 parent 08915cf commit e520fa2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions html-pipeline.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ Gem::Specification.new do |gem|
gem.summary = %q{Helpers for processing content through a chain of filters}
gem.homepage = "https://github.com/jch/html-pipeline"

gem.files = `git ls-files`.split $/
gem.test_files = gem.files.grep(%r{^test})
gem.files = `git ls-files -z`.split("\x0").reject { |f| f =~ %r(^(test|gemfiles|script)/) }
gem.require_paths = ["lib"]

gem.add_dependency "nokogiri", ">= 1.4"
Expand Down

0 comments on commit e520fa2

Please sign in to comment.