diff --git a/chef-zero.gemspec b/chef-zero.gemspec index 1928936..26e3d81 100644 --- a/chef-zero.gemspec +++ b/chef-zero.gemspec @@ -13,7 +13,10 @@ Gem::Specification.new do |s| s.required_ruby_version = ">= 3.0" - s.add_dependency "activesupport","~> 6.1" #pin until we support ruby 2.6 + # Note: 7.1.0 does not defaults its cache_format_version to 7.1 but 6.1 instead which gives deprecation warnings + # Remove the version constraint when we can upgrade to 7.1.1 post stable release of Activesupport 7.1 + # Similar issue with 7.0 existed: https://github.com/rails/rails/pull/45293 + s.add_dependency "activesupport", "~> 7.0", "< 7.1" s.add_dependency "mixlib-log", ">= 2.0", "< 4.0" s.add_dependency "hashie", ">= 2.0", "< 5.0" s.add_dependency "uuidtools", "~> 2.1"