inspec/lib/fetchers
Steven Danna 50b27c4b32 Avoid spurious downloads during dependency management
Before, a URL based source might be downloaded multiple times during the
dependency fetching and lockfile creation. This commit tries to avoid
this by:

1) Memoizing data about the archive to avoid re-fetching the archive

2) Adding a CachedFetcher wrapper around the fetcher class to help
ensure that callers always consult the cache before fetching.

Signed-off-by: Steven Danna <steve@chef.io>
2016-09-22 18:36:00 +02:00
..
git.rb Fail if a remote source content doesn't match lockfile 2016-09-21 10:15:52 +01:00
local.rb Always write lockfiles for local top-level profiles 2016-09-22 10:08:32 +02:00
mock.rb Fail if a remote source content doesn't match lockfile 2016-09-21 10:15:52 +01:00
url.rb Avoid spurious downloads during dependency management 2016-09-22 18:36:00 +02:00