openvas 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/openvas/scan.rb +1 -1
- data/lib/openvas/version.rb +1 -1
- data/spec/openvas/scan_spec.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df9fdd14316e75da48d30827a4b6213fbb0ddf8e2eab528e4bc5a07f2dc31d0e
|
4
|
+
data.tar.gz: 4e003be71b6166fb5beba30fd933ce6e09954572a3d896dcbcd684e16e0a1ce4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4db0f3d7cfac93f31cc2d4751f353211a94e557e45840f4a2c775ae35957a5aaf55a6630b158fcf557b3ee7a38b96fb35f45e619d3d24c2f771982e4364f7f47
|
7
|
+
data.tar.gz: 505c8f9a1cd933cb81fb1f001d0fa6ed4ae3df0a1f04752aca75cdeb279e7a19dce331851a161328336e284dbe3cf99f8208f850ccfb691de1665e0983f7d1d6
|
data/Gemfile.lock
CHANGED
data/lib/openvas/scan.rb
CHANGED
data/lib/openvas/version.rb
CHANGED
data/spec/openvas/scan_spec.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
require 'spec_helper'
|
4
4
|
|
5
5
|
describe Openvas::Scan do
|
6
|
-
let(:scan) { Openvas::Scan.
|
6
|
+
let(:scan) { Openvas::Scan.find_by(id: '96625625-8e22-4b1c-9c65-4ddf80f78d20') }
|
7
7
|
|
8
8
|
describe '.all' do
|
9
9
|
before { allow(Openvas::Scan).to receive(:query).and_return(fixture_xml('openvas/scans/all.xml')) }
|
@@ -13,7 +13,7 @@ describe Openvas::Scan do
|
|
13
13
|
end
|
14
14
|
end
|
15
15
|
|
16
|
-
describe '.
|
16
|
+
describe '.find_by' do
|
17
17
|
before { allow(Openvas::Scan).to receive(:query).and_return(fixture_xml('openvas/scans/find_by_id.xml')) }
|
18
18
|
|
19
19
|
it 'returns an Openvas::Scan object' do
|
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.2
|
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-
|
11
|
+
date: 2018-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|