mirror of
https://github.com/inspec/inspec
synced 2025-02-17 06:28:40 +00:00
* Add yml attribute option. * Add type matching. * Add testing profile for global attributes testing all types. * Allow attributes to be called within a control block. * Fix attribut test issues and allow value to be set at runtime. * Allow setting attr value after creation. * Move attributes to global namespace. * Move attributes to a singleton object. * Add unit and updated functional testing. * Rename attributes to attributes_test so the testhelper picks it up. * Add attribute object tests and error types. * Update with feedback changes. * Remove extra line. * Move attribute registry class file. * Add documentation for attributes * Rename rspec_extensions. * Add some failing functional tests. * Update docs and fix typos. Signed-off-by: Jared Quick <jquick@chef.io>
29 lines
744 B
Ruby
29 lines
744 B
Ruby
# encoding: utf-8
|
|
# copyright: 2015, Dominik Richter
|
|
# author: Dominik Richter
|
|
# author: Christoph Hartmann
|
|
|
|
libdir = File.dirname(__FILE__)
|
|
$LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir)
|
|
|
|
require 'inspec/version'
|
|
require 'inspec/exceptions'
|
|
require 'inspec/profile'
|
|
require 'inspec/rule'
|
|
require 'matchers/matchers'
|
|
require 'inspec/runner'
|
|
require 'inspec/shell'
|
|
require 'inspec/formatters'
|
|
require 'inspec/reporters'
|
|
require 'inspec/attribute_registry'
|
|
require 'inspec/rspec_extensions'
|
|
require 'inspec/globals'
|
|
|
|
require 'inspec/plugin/v2'
|
|
require 'inspec/plugin/v1'
|
|
|
|
# all utils that may be required by legacy plugins
|
|
require 'inspec/base_cli'
|
|
require 'inspec/fetcher'
|
|
require 'inspec/source_reader'
|
|
require 'inspec/resource'
|