inspec/omnibus_overrides.rb
Tim Smith 07a5cfafc0 Update omnibus builds to Ruby 2.6.6
2.6.5 has 2 CVEs in it:

    CVE-2020-10663: Unsafe Object Creation Vulnerability in JSON (Additional fix)
    CVE-2020-10933: Heap exposure vulnerability in the socket library

Signed-off-by: Tim Smith <tsmith@chef.io>
2020-08-13 13:47:13 -07:00

6 lines
251 B
Ruby

# THIS IS NOW HAND MANAGED, JUST EDIT THE THING
# grab the current train release from rubygems.org
train_stable = /^train \((.*)\)/.match(`gem list ^train$ --remote`)[1]
override "train", version: "v#{train_stable}"
override "ruby", version: "2.6.6"