openvas 1.0.0 → 1.0.1

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
- SHA1:
3
- metadata.gz: 9299f3f36f86da68da156ea869c561664fd95669
4
- data.tar.gz: be5cf83292c2bda8b06958b87bf1e2877cf16eb6
2
+ SHA256:
3
+ metadata.gz: 7627290f8b2871f2ff44e937d9e0f1d7e87ac01dcf59a379c76472cc2db80c83
4
+ data.tar.gz: 3f527c865026e832f49af8541e35ed245e7203e271f5d48ce56c45821e11d412
5
5
  SHA512:
6
- metadata.gz: 929488877d1446adc13ec9f7b392742e23f3073c99ba46d38e1b6b7ceffe55a38bd437d5c23c4bd061178922245ca1478725221d7f6eedc2fa731a218e2bda93
7
- data.tar.gz: 76301f89dc1c7e4b5e38d32e2fb8d82f889323faa69ebdcce2a5371872a8dd0df619cc69438ce86585710f80f417a351e1f89666cf148363b115a78891d6c687
6
+ metadata.gz: b5dc71d6fb275c35aafbfadce4b4bde25c633ac905a1fe9180f8255f8ec09d04bcccceda30d07738d18366c069d8d2e35a07caa62111a0b8a1bdbee0881f8cc3
7
+ data.tar.gz: 3278d4dd83a84587e7615b92c82ccfa18081c89a5dfa7df8e31bc864b700919aea7665f24150bb018c730a8a6d054e5825d7b4c57c81cebbac78bc7583d76103
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- openvas (0.3.0)
4
+ openvas (1.0.1)
5
5
  nokogiri (~> 1.8)
6
6
 
7
7
  GEM
@@ -20,7 +20,7 @@ GEM
20
20
  mini_portile2 (2.3.0)
21
21
  nokogiri (1.8.1)
22
22
  mini_portile2 (~> 2.3.0)
23
- parallel (1.12.0)
23
+ parallel (1.12.1)
24
24
  parser (2.4.0.2)
25
25
  ast (~> 2.3)
26
26
  powerpack (0.1.1)
@@ -30,7 +30,7 @@ GEM
30
30
  rspec-core (~> 3.7.0)
31
31
  rspec-expectations (~> 3.7.0)
32
32
  rspec-mocks (~> 3.7.0)
33
- rspec-core (3.7.0)
33
+ rspec-core (3.7.1)
34
34
  rspec-support (~> 3.7.0)
35
35
  rspec-expectations (3.7.0)
36
36
  diff-lcs (>= 1.2.0, < 2.0)
@@ -39,7 +39,7 @@ GEM
39
39
  diff-lcs (>= 1.2.0, < 2.0)
40
40
  rspec-support (~> 3.7.0)
41
41
  rspec-support (3.7.0)
42
- rubocop (0.52.0)
42
+ rubocop (0.52.1)
43
43
  parallel (~> 1.10)
44
44
  parser (>= 2.4.0.2, < 3.0)
45
45
  powerpack (~> 0.1)
@@ -70,4 +70,4 @@ DEPENDENCIES
70
70
  rubocop (~> 0.52)
71
71
 
72
72
  BUNDLED WITH
73
- 1.16.0
73
+ 1.16.1
@@ -38,7 +38,7 @@ module Openvas
38
38
  end
39
39
  end
40
40
 
41
- def find_by_id(id)
41
+ def find_by(id:)
42
42
  query = Nokogiri::XML::Builder.new { get_results(result_id: id) }
43
43
  new(query(query).at_xpath('//get_results_response/result'))
44
44
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Openvas
4
- VERSION = '1.0.0'
4
+ VERSION = '1.0.1'
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.0
4
+ version: 1.0.1
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-09 00:00:00.000000000 Z
11
+ date: 2018-01-16 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.6.14
136
+ rubygems_version: 2.7.3
137
137
  signing_key:
138
138
  specification_version: 4
139
139
  summary: Openvas API Client (OMP 7.0)