Skip to content

Commit

Permalink
updated ruby version condition
Browse files Browse the repository at this point in the history
Signed-off-by: nikhil2611 <[email protected]>
  • Loading branch information
nikhil2611 committed Jul 23, 2024
1 parent 5fb4548 commit 7f1a1ae
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions chef-apply.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,7 @@ Gem::Specification.new do |spec|
spec.add_dependency "train-winrm" # winrm transports were pulled out into this plugin
spec.add_dependency "pastel" # A color library
spec.add_dependency "tty-spinner" # Pretty output for status updates in the CLI
if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.1.0")
spec.add_dependency "chef", "~> 18.0"
else
spec.add_dependency "chef", ">= 16.0"
end
spec.add_dependency "chef", "~> 18.0"
spec.add_dependency "chef-cli", ">= 2.0.10 " # Policyfile
spec.add_dependency "chef-telemetry", ">= 1.0.2"
spec.add_dependency "license-acceptance", ">= 1.0.11", "< 3"
Expand Down

0 comments on commit 7f1a1ae

Please sign in to comment.