Gemspec cleanup
- Remove test_files - Only include files from lib/ - Use the `z` flag with git-ls-files for UTF-8 support
This commit is contained in:
parent
a7d96b2bf8
commit
3383c75f53
|
@ -17,10 +17,9 @@ Gem::Specification.new do |spec|
|
|||
Its intended use is for sites which want to display responsive images using something like srcset or Imager.js.
|
||||
}
|
||||
|
||||
spec.files = `git ls-files`.split($/)
|
||||
spec.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
||||
spec.executables = []
|
||||
spec.require_path = 'lib'
|
||||
spec.files = `git ls-files -z lib/`.split("\u0000")
|
||||
spec.executables = []
|
||||
spec.require_paths = ['lib']
|
||||
|
||||
if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.0.0')
|
||||
max_jekyll_version = '3.0'
|
||||
|
|
Loading…
Reference in New Issue