inspec/lib
Dominik Richter 3c1df959c5 bugfix: inspec archive for tgz files on windows (#1907)
On Windows, `inspec archive` would sometimes produce incorrect archive files. These would look fine, as tgz files, but would not execute correctly. This would lead to bewildering error messages like this one:

```
Unable to parse inspec.yml: line 1, control characters are not allowed
```

Fix it by treating the files as binary before writing them to get around any encoding issues, since the stream handler is a raw io object anyway.

Closely related to https://github.com/chef/inspec/pull/1906

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2017-06-08 10:19:21 +02:00
..
bundles Fix compliance uploads when version is not present 2017-06-06 14:49:25 +02:00
fetchers add bitbucket repo url handling (#1866) 2017-06-05 16:02:56 +02:00
inspec bugfix: inspec archive for tgz files on windows (#1907) 2017-06-08 10:19:21 +02:00
matchers Remove commented-out deprecation warning 2017-06-06 07:25:04 -04:00
resources Add support for virtualization resource (#1803) 2017-06-07 14:10:29 +02:00
source_readers add inspec.profile.file(...) for profile files 2017-05-03 20:39:27 +02:00
utils add the Nginx parser 2017-06-03 17:25:00 +02:00
inspec.rb Handle parse errors for attrs/secrets 2017-05-09 13:44:33 +02:00