forked from rightscale-cookbooks/yard-chef
-
Notifications
You must be signed in to change notification settings - Fork 3
/
yard-chef.gemspec
23 lines (21 loc) · 1.06 KB
/
yard-chef.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# -*- encoding: utf-8 -*-
Gem::Specification.new do |gem|
gem.name = "yard-chef"
gem.version = IO.read(File.join(File.dirname(__FILE__), "VERSION")).chomp
gem.platform = Gem::Platform::RUBY
gem.authors = ['Douglas Thrift', 'Nick Stakanov', 'Nitin Mohan']
gem.email = ["[email protected]", "[email protected]"]
gem.homepage = "https://github.com/rightscale/yard-chef"
gem.summary = %q{YARD plugin for Chef}
gem.description = %q{yard-chef is a YARD plugin for Chef that adds support for documenting Chef cookbooks, resources, providers, and definitions.}
gem.license = "MIT"
gem.add_runtime_dependency 'yard', '~> 0.8'
gem.add_runtime_dependency 'redcarpet', '~> 2.1.1'
gem.files = Dir.glob('templates/**/*.erb')
gem.files += Dir.glob('templates/**/*.rb')
gem.files += Dir.glob('templates/**/*.css')
gem.files += Dir.glob('lib/**/*.rb')
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.require_path = "lib"
end