puppet-strings/puppet-strings.gemspec

20 lines
568 B
Ruby
Raw Normal View History

require 'json'
puppet_metadata = JSON.load File.open(File.expand_path(File.join(__FILE__, '..', 'metadata.json'))).read
Gem::Specification.new do |s|
s.name = 'puppet-strings'
%w(author version license summary).each do |section|
s.send("#{section}=", puppet_metadata[section])
end
2015-09-02 22:49:34 +00:00
s.email = 'info@puppetlabs.com'
s.homepage = puppet_metadata['project_page']
s.description = s.summary
s.files = Dir['lib/**/*'].reject { |f| f if File.directory?(f) }
s.add_runtime_dependency 'puppet', '>= 3.7.0'
s.add_runtime_dependency 'yard', '~> 0.8'
end