forked from chefspec/chefspec
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathchefspec.gemspec
37 lines (31 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
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.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://github.com/chef/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-chef", ">= 9.3"
s.add_dependency "rspec", "~> 3.0"
# this needs to be remedied before Ruby 3.3
s.add_dependency "logger", "< 1.6"
# temporary restriction to a version of rspec-expectations that includes the
# `RSpec::Matchers::ExpectedsForMultipleDiffs` class (renamed in 3.12.4)
s.add_dependency "rspec-expectations", "<= 3.12.3"
end