forked from berkshelf/berkshelf
-
Notifications
You must be signed in to change notification settings - Fork 3
/
berkshelf.gemspec
69 lines (57 loc) · 2.45 KB
/
berkshelf.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
63
64
65
66
67
68
69
require File.expand_path("lib/berkshelf/version", __dir__)
Gem::Specification.new do |s|
s.authors = [
"Jamie Winsor",
"Josiah Kiehl",
"Michael Ivey",
"Justin Campbell",
"Seth Vargo",
]
s.email = [
"jamie@vialstudios.com",
"jkiehl@riotgames.com",
"michael.ivey@riotgames.com",
"justin@justincampbell.me",
"sethvargo@gmail.com",
]
s.description = %q{Manages a Chef cookbook's dependencies}
s.summary = s.description
s.homepage = "https://docs.chef.io/berkshelf.html"
s.license = "Apache-2.0"
s.files = %w{LICENSE Gemfile Rakefile} + Dir.glob("*.gemspec") + Dir.glob("{lib,spec, features}/**/*")
s.executables = Dir.glob("bin/**/*").map { |f| File.basename(f) }
s.name = "berkshelf"
s.require_paths = ["lib"]
s.version = Berkshelf::VERSION
s.required_ruby_version = ">= 2.7.0"
s.required_rubygems_version = ">= 2.0.0"
s.metadata = {
"bug_tracker_uri" => "https://github.com/chef/berkshelf/issues",
"source_code_uri" => "https://github.com/chef/berkshelf",
"changelog_uri" => "https://github.com/chef/berkshelf/blob/main/CHANGELOG.md",
}
ruby_version = Gem::Version.new(RUBY_VERSION)
s.add_dependency "mixlib-shellout", ">= 2.0", "< 4.0"
s.add_dependency "chef-cleanroom", "~> 1.0"
if ruby_version >= Gem::Version.new("3.1.0")
s.add_dependency "minitar", "~> 1.0"
s.add_dependency "chef", ">= 18.0.0"
else
s.add_dependency "minitar", "~> 0.12"
if ruby_version >= Gem::Version.new("3.0.0")
s.add_dependency "chef", "~> 17.0" # needed for --skip-syntax-check
else
s.add_dependency "chef", ">= 15.7.32"
end
end
s.add_dependency "retryable", ">= 2.0", "< 4.0"
s.add_dependency "solve", "~> 4.0"
s.add_dependency "thor", ">= 0.20", "< 1.3.0"
s.add_dependency "octokit", ">= 4.0", "< 6.0"
s.add_dependency "mixlib-archive", ">= 1.1.4", "< 2.0" # needed for ruby 3.0 / Dir.chdir removal
s.add_dependency "concurrent-ruby", "~> 1.0"
s.add_dependency "ffi", "~> 1.9", "< 1.16.0" #
s.add_dependency "chef-config"
# this is required for Mixlib::Config#from_json
s.add_dependency "mixlib-config", ">= 2.2.5"
end