inspec/lib/fetchers
Jerry Aldrich bbc4002b53 Fix profile vendoring on Windows (#3378)
* Fix profile vendoring on Windows

This fixes vendoring on Windows by doing the following:
  - Expanding relative paths (handles `\\`)
  - Ensuring archives after closed after reading (prevents locking)

This also does the following:
  - Removes extra file from testing tar archive
  - Ensures fetching dirs/archives in the local fetcher behaves the same

* Fix profile vendoring on Windows

This fixes vendoring on Windows by doing the following:
  - Expanding relative paths (handles `\\`)
  - Ensuring archives after closed after reading (prevents locking)

This also does the following:
  - Removes extra file from testing tar archive
  - Ensures fetching dirs/archives in the local fetcher behaves the same

* Add vendoring to fuctional testing and fix the tmp path for windows

* Add tests for relative paths and backslashes

* Remove backslashes support in filenames on Linux

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2018-09-13 20:19:02 -04:00
..
git.rb Add extra fault checking to git fetcher (#3239) 2018-07-25 15:57:03 -04:00
local.rb Fix profile vendoring on Windows (#3378) 2018-09-13 20:19:02 -04:00
mock.rb Fail if a remote source content doesn't match lockfile 2016-09-21 10:15:52 +01:00
url.rb Add HTTP basic auth for URL based inspec deps (#3341) 2018-08-30 12:57:50 -04:00