openvas 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/openvas/client.rb +1 -1
- data/lib/openvas/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c9bc5e923d6ca93ca1dd2f0e6e1d421c84cb4e0e12c6977a1d268693931bfe2e
|
4
|
+
data.tar.gz: 66c6f2a14ec5888fabe1be0476ed591ae17eb010a31d59637b8003560e0a5331
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b41aae97cb5ffe87d9bd82368b300fdbd9ed7a9aa3beb9b308756e4a4caf28a140d551c52dc474fce2a7dd3b471236cae8f3a809276663083147f4173621333
|
7
|
+
data.tar.gz: ccafc1c6a2855b0bb30fbc1729006c3ed875ceaa1c8451534ff87506ed8b21a9abd0a4793c86da3dfb4299f08702cf3eb7f97429f591018995756fb233848bb7
|
data/lib/openvas/client.rb
CHANGED
@@ -43,7 +43,7 @@ module Openvas
|
|
43
43
|
def self.query(data)
|
44
44
|
res = Nokogiri::XML(send_receive(data.to_xml))
|
45
45
|
|
46
|
-
raise QueryError 'Unknown query error' unless res.at_xpath('//@status')&.value == '200'
|
46
|
+
raise QueryError, 'Unknown query error' unless res.at_xpath('//@status')&.value == '200'
|
47
47
|
|
48
48
|
res
|
49
49
|
end
|
data/lib/openvas/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openvas
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Florian Wininger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -133,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
133
133
|
version: '0'
|
134
134
|
requirements: []
|
135
135
|
rubyforge_project:
|
136
|
-
rubygems_version: 2.7.
|
136
|
+
rubygems_version: 2.7.6
|
137
137
|
signing_key:
|
138
138
|
specification_version: 4
|
139
139
|
summary: Openvas API Client (OMP 7.0)
|