nexpose 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/nexpose/scan.rb +1 -1
  2. metadata +1 -1
data/lib/nexpose/scan.rb CHANGED
@@ -72,7 +72,7 @@ module Nexpose
72
72
  def scan_statistics(scan_id)
73
73
  r = execute(make_xml('ScanStatisticsRequest', {'scan-id' => scan_id}))
74
74
  if r.success
75
- ScanSummary.parse(r.res)
75
+ ScanSummary.parse(r.res.elements['//ScanSummary'])
76
76
  else
77
77
  false
78
78
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nexpose
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: