Skip to content

Commit

Permalink
Pack less files in released gem
Browse files Browse the repository at this point in the history
Rationale: rubygems/bundler#3207
10KB => 9KB
  • Loading branch information
JuanitoFatas authored and mjankowski committed Sep 27, 2018
1 parent 28ddd1d commit 93aff3f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions flutie.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ Gem::Specification.new do |s|
s.summary = 'Flutie provides extra Rails view helpers'
s.description = 'Flutie is a starting point for personal discovery'

s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.files = `git ls-files -z`.split("\x0").reject { |f| f =~ %r(^(spec|gemfiles|bin)/) }
s.require_paths = ['lib']

s.add_development_dependency('appraisal')
Expand Down

0 comments on commit 93aff3f

Please sign in to comment.