inspec/test/unit/mock/profiles/complete-meta/metadata.rb
Dominik Richter acbc345321 make metadata.rb legacy mode consistent for supports
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
2016-01-15 18:58:18 +01:00

7 lines
111 B
Ruby

name 'name'
version '1.2.3'
maintainer 'bob'
title 'title'
copyright 'left'
summary 'nothing'
supports 'linux'