# -*- 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', 'Aleksey Hariton']
  gem.email       = ["douglas@rightscale.com", "nitin@rightscale.com"]
  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

# -*- 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', 'Aleksey Hariton']
  gem.email       = ["douglas@rightscale.com", "nitin@rightscale.com"]
  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,rb,css,js}')
  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

Add js templates to gemspec for gem packaging
Add js templates to gemspec for gem packaging
