forked from chefspec/chefspec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
chefspec.gemspec
40 lines (34 loc) · 1.53 KB
/
chefspec.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
lib = File.expand_path('../lib/', __FILE__)
$:.unshift lib unless $:.include?(lib)
require 'chefspec/version'
Gem::Specification.new do |s|
s.name = 'chefspec'
s.version = ChefSpec::VERSION
s.authors = ['Andrew Crump', 'Seth Vargo']
s.email = ['[email protected]', '[email protected]']
s.summary = 'Write RSpec examples and generate coverage reports for ' \
'Chef recipes!'
s.description = 'ChefSpec is a unit testing and resource coverage ' \
'(code coverage) framework for testing Chef cookbooks ' \
'ChefSpec makes it easy to write examples and get fast ' \
'feedback on cookbook changes without the need for ' \
'virtual machines or cloud servers.'
s.homepage = 'https://sethvargo.github.io/chefspec/'
s.license = 'MIT'
# Packaging
s.files = `git ls-files`.split($/)
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
s.test_files = s.files.grep(%r{^(test|spec|features)/})
s.require_paths = ['lib']
# ChefSpec requires Ruby 2.1+
s.required_ruby_version = '>= 2.1'
s.add_dependency 'chef', '>= 11.14'
s.add_dependency 'fauxhai', '~> 3.2'
s.add_dependency 'rspec', '~> 3.0'
# Development Dependencies
s.add_development_dependency 'rake', '< 12.0'
s.add_development_dependency 'redcarpet', '~> 3.3'
s.add_development_dependency 'yard', '~> 0.8'
# Testing Dependencies
s.add_development_dependency 'aruba', '~> 0.8'
end