lib/buildbox/api.rb in buildbox-0.4.2 vs lib/buildbox/api.rb in buildbox-0.5

- old
+ new

@@ -55,10 +55,11 @@ end private def connection - @connection ||= Faraday.new(:url => @config.api_endpoint) do |faraday| + @connection ||= Faraday.new(:url => @config.api_endpoint, + :ssl => { :ca_file => Buildbox.gem_path.join("lib", "certs", "cacert.pem").to_s }) do |faraday| faraday.request :retry faraday.request :json faraday.response :logger, ProxyLogger.new(@logger) faraday.response :mashify