2018-06-26 07:29:46 +00:00
|
|
|
lib = File.expand_path('../lib', __FILE__)
|
|
|
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
|
|
require 'puppet-strings/version'
|
|
|
|
|
2015-09-02 15:38:23 +00:00
|
|
|
Gem::Specification.new do |s|
|
2015-09-18 11:32:43 +00:00
|
|
|
s.name = 'puppet-strings'
|
2016-08-23 19:55:40 +00:00
|
|
|
s.author = 'Puppet Inc.'
|
2018-06-26 07:29:46 +00:00
|
|
|
s.version = PuppetStrings::VERSION
|
2016-03-16 06:31:31 +00:00
|
|
|
s.license = 'Apache-2.0'
|
|
|
|
s.summary = 'Puppet documentation via YARD'
|
2016-08-23 19:55:40 +00:00
|
|
|
s.email = 'info@puppet.com'
|
|
|
|
s.homepage = 'https://github.com/puppetlabs/puppet-strings'
|
2015-09-02 20:09:01 +00:00
|
|
|
s.description = s.summary
|
2018-06-20 13:19:13 +00:00
|
|
|
s.required_ruby_version = '>= 2.1.0'
|
2016-05-05 08:41:05 +00:00
|
|
|
|
|
|
|
s.extra_rdoc_files = [
|
|
|
|
'CHANGELOG.md',
|
|
|
|
'COMMITTERS.md',
|
|
|
|
'CONTRIBUTING.md',
|
|
|
|
'LICENSE',
|
|
|
|
'README.md',
|
|
|
|
]
|
2018-12-04 23:39:21 +00:00
|
|
|
#s.files = `git ls-files`.split("\n") - Dir['.*', '*.gemspec']
|
2018-12-05 00:50:56 +00:00
|
|
|
s.files = Dir.glob("{lib,spec}/**/*") +
|
2018-12-04 23:39:21 +00:00
|
|
|
['CHANGELOG.md', 'LICENSE', 'README.md', 'Rakefile', __FILE__]
|
2015-09-02 15:38:23 +00:00
|
|
|
|
2016-09-09 20:44:05 +00:00
|
|
|
s.add_runtime_dependency 'yard', '~> 0.9.5'
|
2017-12-07 19:17:52 +00:00
|
|
|
s.add_runtime_dependency 'rgen'
|
2018-05-10 20:02:09 +00:00
|
|
|
s.requirements << 'puppet, >= 4.0.0'
|
2015-09-02 15:38:23 +00:00
|
|
|
end
|