nessus_rest 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.4
1
+ 0.1.5
data/lib/nessus_rest.rb CHANGED
@@ -536,7 +536,7 @@ module NessusREST
536
536
 
537
537
  def scan_finished?(scan_id)
538
538
  ss=scan_status(scan_id)
539
- if ss == 'completed' then
539
+ if ss == 'completed' or ss == 'canceled' or ss == 'imported' then
540
540
  return true
541
541
  end
542
542
  return false
data/nessus_rest.gemspec CHANGED
@@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
7
7
  spec.homepage = 'https://github.com/kost/nessus_rest-ruby'
8
8
  spec.license = 'MIT'
9
9
  spec.summary = %Q{Communicate with Nessus Scanner (version 6+) over REST/JSON interface}
10
- spec.description = %Q{Ruby library for Nessus JSON/REST interface. This library is used for communication with Nessus over REST interface. You can start, stop, pause and resume scan. Watch progress and status of scan, download report, etc. }
10
+ spec.description = %Q{Ruby library for Nessus (version 6+) JSON/REST interface. This library is used for communication with Nessus over REST interface. You can start, stop, pause and resume scan. Watch progress and status of scan, download report, etc. }
11
11
  spec.email = 'vlatko.kosturjak@gmail.com'
12
12
  spec.authors = ['Vlatko Kosturjak']
13
13
  # spec.version = '0.1.5'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nessus_rest
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:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-08-31 00:00:00.000000000 Z
12
+ date: 2016-09-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -75,9 +75,9 @@ dependencies:
75
75
  - - ! '>='
76
76
  - !ruby/object:Gem::Version
77
77
  version: '0'
78
- description: ! 'Ruby library for Nessus JSON/REST interface. This library is used
79
- for communication with Nessus over REST interface. You can start, stop, pause and
80
- resume scan. Watch progress and status of scan, download report, etc. '
78
+ description: ! 'Ruby library for Nessus (version 6+) JSON/REST interface. This library
79
+ is used for communication with Nessus over REST interface. You can start, stop,
80
+ pause and resume scan. Watch progress and status of scan, download report, etc. '
81
81
  email: vlatko.kosturjak@gmail.com
82
82
  executables: []
83
83
  extensions: []