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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: df9fdd14316e75da48d30827a4b6213fbb0ddf8e2eab528e4bc5a07f2dc31d0e
4
- data.tar.gz: 4e003be71b6166fb5beba30fd933ce6e09954572a3d896dcbcd684e16e0a1ce4
3
+ metadata.gz: c9bc5e923d6ca93ca1dd2f0e6e1d421c84cb4e0e12c6977a1d268693931bfe2e
4
+ data.tar.gz: 66c6f2a14ec5888fabe1be0476ed591ae17eb010a31d59637b8003560e0a5331
5
5
  SHA512:
6
- metadata.gz: 4db0f3d7cfac93f31cc2d4751f353211a94e557e45840f4a2c775ae35957a5aaf55a6630b158fcf557b3ee7a38b96fb35f45e619d3d24c2f771982e4364f7f47
7
- data.tar.gz: 505c8f9a1cd933cb81fb1f001d0fa6ed4ae3df0a1f04752aca75cdeb279e7a19dce331851a161328336e284dbe3cf99f8208f850ccfb691de1665e0983f7d1d6
6
+ metadata.gz: 3b41aae97cb5ffe87d9bd82368b300fdbd9ed7a9aa3beb9b308756e4a4caf28a140d551c52dc474fce2a7dd3b471236cae8f3a809276663083147f4173621333
7
+ data.tar.gz: ccafc1c6a2855b0bb30fbc1729006c3ed875ceaa1c8451534ff87506ed8b21a9abd0a4793c86da3dfb4299f08702cf3eb7f97429f591018995756fb233848bb7
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Openvas
4
- VERSION = '1.0.2'
4
+ VERSION = '1.0.3'
5
5
  end
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.2
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-01-18 00:00:00.000000000 Z
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.3
136
+ rubygems_version: 2.7.6
137
137
  signing_key:
138
138
  specification_version: 4
139
139
  summary: Openvas API Client (OMP 7.0)