inspec/lib
Steven Danna 9bb65bd60c Use per-profile execution contexts for library loading
Previously, libraries were loaded by instance_eval'ing them against
the same execution context used for control files.  All resources were
registered against a single global registry when the `name` dsl method
was invoked.  To obtain seperation of resources, we would mutate the
instance variable holding the globale registry and then change it back
at the end.

Now, we instance_eval library files inside an anonymous class.  This
class has its own version of `Inspec.resource` that returns another
class with the resource DSL method and the profile-specific resource
registry.
2016-09-04 20:55:20 +02:00
..
bundles Rubocoooop! 2016-08-25 14:22:15 -04:00
fetchers add unit test for local fetcher with windows path support 2016-08-24 16:23:27 +02:00
inspec Use per-profile execution contexts for library loading 2016-09-04 20:55:20 +02:00
matchers changed regex for integer to allow 0 2016-08-29 19:39:39 -04:00
resources Merge pull request #1014 from jeremymv2/fix_apache_conf 2016-09-04 20:18:16 +02:00
source_readers migrate load-path hooking for legacy modes 2016-02-22 12:06:42 +01:00
utils handle xinetd config with only one entry 2016-08-16 17:23:22 +02:00
inspec.rb move base_cli to lib/inspec 2016-07-26 20:11:25 +02:00