inspec/lib/inspec.rb

28 lines
721 B
Ruby
Raw Normal View History

# encoding: utf-8
# copyright: 2015, Dominik Richter
# license: All rights reserved
2015-10-06 16:55:44 +00:00
# author: Dominik Richter
# author: Christoph Hartmann
Encoding.default_external = Encoding::UTF_8
Encoding.default_internal = Encoding::UTF_8
libdir = File.dirname(__FILE__)
$LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir)
2015-10-26 03:04:18 +00:00
require 'inspec/version'
require 'inspec/profile'
require 'inspec/rspec_json_formatter'
require 'inspec/rule'
2016-02-05 11:22:23 +00:00
require 'matchers/matchers'
2015-10-26 03:04:18 +00:00
require 'inspec/runner'
2016-02-05 13:55:12 +00:00
require 'inspec/shell'
# all utils that may be required by plugins
require 'utils/base_cli'
2016-02-05 11:22:23 +00:00
# ensure resource and plugins are loaded after runner, because the runner loads
# targets
require 'inspec/resource'
require 'inspec/plugins'