(PDOC-78) Include LICENSE, docs and specs in gem

This commit is contained in:
Dominic Cleal 2016-05-05 09:41:05 +01:00
parent 2fa33621d5
commit caba623d2c
No known key found for this signature in database
GPG Key ID: 7C7D326F2C2B72CC
1 changed files with 9 additions and 1 deletions

View File

@ -7,7 +7,15 @@ Gem::Specification.new do |s|
s.email = 'info@puppetlabs.com' s.email = 'info@puppetlabs.com'
s.homepage = 'https://github.com/puppetlabs/puppetlabs-strings' s.homepage = 'https://github.com/puppetlabs/puppetlabs-strings'
s.description = s.summary s.description = s.summary
s.files = Dir['lib/**/*'].reject { |f| f if File.directory?(f) }
s.extra_rdoc_files = [
'CHANGELOG.md',
'COMMITTERS.md',
'CONTRIBUTING.md',
'LICENSE',
'README.md',
]
s.files = `git ls-files`.split("\n") - Dir['.*', '*.gemspec']
s.add_runtime_dependency 'puppet', '>= 3.7.0' s.add_runtime_dependency 'puppet', '>= 3.7.0'
s.add_runtime_dependency 'yard', '~> 0.8' s.add_runtime_dependency 'yard', '~> 0.8'