Class: GemFast::CurlUnsafeDownloadStrategy

Inherits:
CurlDownloadStrategy show all
Defined in:
lib/gem-fast/remote_fetcher.rb

Overview

This Download Strategy is provided for use with sites that only provide HTTPS and also have a broken cert. Try not to need this, as we probably won’t accept the forulae into trunk.

Instance Attribute Summary

Attributes inherited from CurlDownloadStrategy

#tarball_path

Instance Method Summary collapse

Methods inherited from CurlDownloadStrategy

#cached_location, #fetch, #initialize

Methods inherited from AbstractDownloadStrategy

#expand_safe_system_args, #initialize, #quiet_safe_system

Methods included from Util

#curl, #not_install_curl, #safe_system, #system

Constructor Details

This class inherits a constructor from GemFast::CurlDownloadStrategy

Instance Method Details

#_fetchObject



171
172
173
# File 'lib/gem-fast/remote_fetcher.rb', line 171

def _fetch
  curl @url, '--insecure', '-o', @tarball_path
end