berkshelf.gemspec in berkshelf-8.0.5 vs berkshelf.gemspec in berkshelf-8.0.7
- old
+ new
@@ -40,10 +40,14 @@
s.add_dependency "solve", "~> 4.0"
s.add_dependency "thor", ">= 0.20"
s.add_dependency "octokit", "~> 4.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 "chef", ">= 15.7.32" # needed for --skip-syntax-check
+ if RUBY_VERSION.match?(/3.0/)
+ s.add_dependency "chef", "~> 17.0" # needed for --skip-syntax-check
+ elsif
+ s.add_dependency "chef", ">= 15.7.32"
+ end
s.add_dependency "chef-config"
# this is required for Mixlib::Config#from_json
s.add_dependency "mixlib-config", ">= 2.2.5"
end