mirror of
https://github.com/inspec/inspec
synced 2024-11-26 06:30:26 +00:00
Updated the default version string.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
This commit is contained in:
parent
8048ea2949
commit
fa1d08c792
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue