lib/scanner/ssl_labs.rb in yawast-0.2.0.beta2 vs lib/scanner/ssl_labs.rb in yawast-0.2.0.beta3
- old
+ new
@@ -16,10 +16,10 @@
info.messages.each do |msg|
puts "[SSL Labs]\t#{msg}"
end
begin
- api.analyse(host: uri.host, publish: 'off', fromCache: 'on', all: 'done', ignoreMismatch: 'on')
+ api.analyse(host: uri.host, publish: 'off', startNew: 'on', all: 'done', ignoreMismatch: 'on')
status = ''
host = nil
until status == 'READY' || status == 'ERROR' || status == 'DNS'
# poll for updates every 5 seconds