From 66d5a82246cc2bde307b5c010a843f6c33265f7e Mon Sep 17 00:00:00 2001 From: Malik Parvez <84777619+malikparvez@users.noreply.github.com> Date: Fri, 30 Aug 2024 19:31:15 +0530 Subject: [PATCH] add minitar dependency ruby version specific --- puppet_forge.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/puppet_forge.gemspec b/puppet_forge.gemspec index 15c1dce..f974f8c 100644 --- a/puppet_forge.gemspec +++ b/puppet_forge.gemspec @@ -23,7 +23,7 @@ Gem::Specification.new do |spec| spec.add_runtime_dependency "faraday", "~> 2.0" spec.add_runtime_dependency "faraday-follow_redirects", "~> 0.3.0" spec.add_dependency "semantic_puppet", "~> 1.0" - spec.add_dependency "minitar", "~> 1.0.0 " + spec.add_dependency "minitar", RUBY_VERSION >= '3.1.0' ? '~> 1.0.0' : '< 1.0.0' spec.add_development_dependency "rake" spec.add_development_dependency "rspec", "~> 3.0"