inspec/lib
Alex Pop 3c3d711dfd bugfix: fix rare inspec shell missing all resources
In some instances, when running inspec shell, you dont get any resources inside of it. i.e. `inspec shell` and then `os` will lead to

```ruby
NameError: undefined local variable or method `os' for
from (pry):1:in `add_content'
```

This is because of instance_eval loading withing the given source/line
information and not attaching to the profile context which actually has
all the resources. Fix it by making sure that inspec shell always
attaches to the profile context with resources by providing nil for
source and line information.
2016-03-24 20:37:46 +01:00
..
bundles inspec-compliance: fix upload of profiles 2016-03-23 16:13:23 +01:00
fetchers add a mock fetcher 2016-03-17 23:37:09 +01:00
inspec bugfix: fix rare inspec shell missing all resources 2016-03-24 20:37:46 +01:00
matchers enable cmp matcher to catch the case where expected is a number string, and actual is a number 2016-02-23 22:18:16 +01:00
resources bugfix: dont crash on read_file contents in parse_config 2016-03-22 18:42:50 +01:00
source_readers migrate load-path hooking for legacy modes 2016-02-22 12:06:42 +01:00
utils wmi unit test 2016-03-20 11:53:56 +01:00
inspec.rb create source_reader plugin structure 2016-02-22 11:24:35 +01:00