mirror of
https://github.com/inspec/inspec
synced 2024-12-19 01:23:50 +00:00
acbc345321
Before introducing InSpec profiles in https://github.com/chef/inspec/pull/252 we had `metadata.rb` keep all information. This included an undisclosed field called `supports`. However, this field was never actually used in practice. So for legacy profiles, this means that `supports` was ignored. In order to keep old profiles running in exactly the way they were before, ignore this field when reading from metadata.rb
7 lines
111 B
Ruby
7 lines
111 B
Ruby
name 'name'
|
|
version '1.2.3'
|
|
maintainer 'bob'
|
|
title 'title'
|
|
copyright 'left'
|
|
summary 'nothing'
|
|
supports 'linux'
|