forked from chefspec/chefspec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchefspec.gemspec
30 lines (26 loc) · 1.25 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
lib = File.expand_path("lib", __dir__)
$:.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.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://github.com/chefspec/chefspec"
s.license = "MIT"
# Packaging
s.files = %w{LICENSE Rakefile Gemfile chefspec.gemspec} + Dir.glob("{lib,templates,spec}/**/*", File::FNM_DOTMATCH).reject { |f| File.directory?(f) }
s.require_paths = ["lib"]
s.required_ruby_version = ">= 2.5"
s.add_dependency "chef", ">= 15"
s.add_dependency "chef-cli"
s.add_dependency "fauxhai-ng", ">= 7.5"
s.add_dependency "rspec", "~> 3.0"
end