nexpose 0.8.11 → 0.8.12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9a8af56d94e621eaf5a5c7aba69a52c4b840fe72
4
- data.tar.gz: aed5d663662dcc7364d08c3c23e80e036786b3ca
3
+ metadata.gz: 5775283458986894b95fd962949b90ac823a703d
4
+ data.tar.gz: 16dae4681f6014fac3e11a4a87abbfb570d7a8a3
5
5
  SHA512:
6
- metadata.gz: 309661c597363464b8f47162b8f31bcf0914f699938da2772bd8554b589a3217d9b10540e36b65c1188a20555fc6c2d59e0dd68143e1ab099cf8bb54bed970ce
7
- data.tar.gz: 60e5a8f6050b052484f774ed9a32ad47a9d1046fa8551d5e0574926990e2e3327133a2c8544a668ea4461b592f69686f98a263d35697240b677a612d1dbd37f0
6
+ metadata.gz: 2a89fcc8ef7d2055b91ea186b6ac9f4fd4277d9ba1e353d9949f89c6c869f5fcc44db4f4728c304e862398d8486a7c85f274094f9c9672b5c0b2bdeaffd254a8
7
+ data.tar.gz: 877bfea17e486996016054e7afbc186f4af61f57875d2c372b24e79fe3987241152daf285cf90069499ca850d6ad6880868115b32fdbbf74642552dbeb95167c
@@ -8,7 +8,7 @@ module Nexpose
8
8
 
9
9
  # Whether control scanning in enabled. A feature tied to ControlsInsight
10
10
  # integration.
11
- attr_reader :control_scanning
11
+ attr_accessor :control_scanning
12
12
 
13
13
  # XML document representing the entire configuration.
14
14
  attr_reader :xml
@@ -27,11 +27,6 @@ module Nexpose
27
27
  control_scanning
28
28
  end
29
29
 
30
- # Enables/disables controls scanning
31
- def control_scanning=(enabled)
32
- add_control_scanning_to_xml(xml, enabled)
33
- end
34
-
35
30
  # Save any updates to this settings object to the Nexpose console.
36
31
  #
37
32
  # @param [Connection] nsc Connection to a Nexpose console.
@@ -423,7 +423,7 @@ module Nexpose
423
423
  # @param [Connection] nsc API connection to a Nexpose console.
424
424
  #
425
425
  def delete(nsc)
426
- nsc.delete_scan_template(@id)
426
+ nsc.delete_scan_template(id)
427
427
  end
428
428
  end
429
429
  end
@@ -1,4 +1,4 @@
1
1
  module Nexpose
2
2
  # The latest version of the Nexpose gem
3
- VERSION = '0.8.11'
3
+ VERSION = '0.8.12'
4
4
  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.8.11
4
+ version: 0.8.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - HD Moore
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2014-11-04 00:00:00.000000000 Z
14
+ date: 2014-11-05 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rex