Updated the default version string.

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
This commit is contained in:
Vasu1105 2022-02-23 16:06:24 +05:30 committed by Clinton Wolfe
parent 8048ea2949
commit fa1d08c792
2 changed files with 2 additions and 2 deletions

View file

@ -20,7 +20,7 @@ module Inspec
def install
requested_gems.each do |requested_gem|
version = requested_gem[:version].nil? ? ">= 0" : requested_gem[:version]
version = requested_gem[:version].nil? ? "> 0" : requested_gem[:version]
install_from_remote_gems(requested_gem[:name], { version: version })
end
end

View file

@ -17,7 +17,7 @@ module Inspec
Gem.refresh
gem_list.each do |gem_data|
version = gem_data[:version].nil? ? ">= 0" : gem_data[:version]
version = gem_data[:version].nil? ? "> 0" : gem_data[:version]
activate_gem_dependency(gem_data[:name], version)
end
end