forked from chef/knife-tidy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gemfile
44 lines (39 loc) · 1.49 KB
/
Gemfile
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
source "https://rubygems.org"
gemspec
group :debug do
gem "pry"
end
group :development do
gem "contracts", "< 0.17" # .17 requires Ruby 3 and later. Remove this pin entirely when legacy Ruby support is dropped
gem "chefstyle", "< 3.0" # 1.0 drops support for Ruby 2.3/2.4 format
gem "rake"
gem "rspec"
# preserve testing on older ruby releases
if Gem::Version.new(RUBY_VERSION) < Gem::Version.new("2.5")
gem "chef-zero", "< 14" # 14+ requires Ruby 2.4+
gem "chef", "~> 13" # 14+ deps on mixlib-log 2+ which requires Ruby 2.4+
gem "mixlib-shellout", "< 3.1" # 3.1 depends on chef-utils
gem "activesupport", "~> 5.0" # 6+ requires Ruby 2.5+
gem "cucumber", "~> 4.0" # 5+ requires Ruby 2.5+
gem "aruba", "< 1.0" # 1+ requires Ruby 2.4+
gem "parallel", "< 1.20" # 1.20+ requires Ruby 2.5+
gem "mixlib-config", "< 3.0" # 3+ requires Ruby 2.4+
gem "mixlib-archive", "< 1.0" # 1+ requires Ruby 2.4+
gem "mixlib-cli", "< 2.0" # 2+ requires Ruby 2.4+
gem "fakefs", "< 1.2" # 1.2+ requires Ruby 2.4+
elsif Gem::Version.new(RUBY_VERSION) < Gem::Version.new("2.6")
gem "chef-zero", "~> 14"
gem "chef", "~> 15"
gem "activesupport", "~> 6.0" # 7+ requires Ruby 2.7+
gem "fakefs"
elsif Gem::Version.new(RUBY_VERSION) < Gem::Version.new("2.7")
gem "activesupport", "~> 6.0" # 7+ requires Ruby 2.7+
gem "chef", "~> 15"
gem "fakefs"
else
gem "chef-zero"
gem "chef", "< 17" # 17 breaks out knife
gem "aruba"
gem "fakefs"
end
end