forked from chef-boneyard/chef-dk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchef-dk.gemspec
62 lines (53 loc) · 2.4 KB
/
chef-dk.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#
# Copyright:: Copyright (c) 2014 Chef Software Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'chef-dk/version'
Gem::Specification.new do |gem|
gem.name = "chef-dk"
gem.version = ChefDK::VERSION
gem.authors = [ "Daniel DeLeo", "Lamont Granquist", "Serdar Sutay" ]
gem.description = "A streamlined development and deployment workflow for Chef platform."
gem.summary = gem.description
gem.homepage = "https://www.chef.io/"
gem.required_ruby_version = '>= 2.2'
gem.files = %w{Rakefile LICENSE README.md warning.txt} +
%w{version_policy.rb omnibus_overrides.rb} +
Dir.glob("Gemfile*") + # Includes Gemfile and locks
Dir.glob("*.gemspec") +
Dir.glob("{lib,spec,acceptance,tasks}/**/*", File::FNM_DOTMATCH).reject { |f| File.directory?(f) }
gem.executables = %w( chef )
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.require_paths = ["lib"]
gem.add_dependency "mixlib-cli", "~> 1.7"
gem.add_dependency "mixlib-shellout", "~> 2.0"
gem.add_dependency "ffi-yajl", ">= 1.0", "< 3.0"
gem.add_dependency "minitar", "~> 0.5.4"
gem.add_dependency "chef", "~> 12.5"
gem.add_dependency "solve", ">= 2.0.1"
gem.add_dependency "cookbook-omnifetch", "~> 0.2", ">= 0.2.2"
gem.add_dependency "diff-lcs", "~> 1.0"
gem.add_dependency "paint", "~> 1.0"
gem.add_dependency "chef-provisioning", "~> 2.0"
gem.add_development_dependency "github_changelog_generator"
gem.add_development_dependency "rake"
%w(rspec-core rspec-expectations rspec-mocks).each do |dev_gem|
gem.add_development_dependency dev_gem, "~> 3.0"
end
gem.post_install_message = File.read(File.expand_path("../warning.txt", __FILE__))
end