dradis-qualys 3.0.2 → 3.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/dradis-qualys.gemspec +1 -1
- data/lib/dradis/plugins/qualys/gem_version.rb +2 -2
- data/lib/tasks/thorfile.rb +3 -17
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d787a2a51c4bf3bf7dd7e42a6e43ab553278a6ba
|
4
|
+
data.tar.gz: 1b5a948f1a33dfec75cda3f858558657b5bc1f47
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 496d341454d8561953b4b8991880098ae5b8d3682f1ceaf5e883f6d2284e19086f5ffe7d51ecfe56ffb2d665d002ebbda514f9636531596103162ad2c89f90ef
|
7
|
+
data.tar.gz: b647279d0291308ebd1113a3368e941f7d7f820cbd12a3d564899762a0892cf7e4a3d5cc770ab58bd18d4d9ff9b68557373bed0f2d4d62a5e35c92fe59567627
|
data/CHANGELOG.md
ADDED
data/dradis-qualys.gemspec
CHANGED
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
|
|
24
24
|
# versions of Rails (a sure recipe for disaster, I'm sure), which is needed
|
25
25
|
# until we bump Dradis Pro to 4.1.
|
26
26
|
# s.add_dependency 'rails', '~> 4.1.1'
|
27
|
-
spec.add_dependency 'dradis-plugins', '~> 3.
|
27
|
+
spec.add_dependency 'dradis-plugins', '~> 3.6'
|
28
28
|
spec.add_dependency 'nokogiri', '~> 1.3'
|
29
29
|
|
30
30
|
spec.add_development_dependency 'bundler', '~> 1.6'
|
data/lib/tasks/thorfile.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
class QualysTasks < Thor
|
2
|
-
include
|
2
|
+
include Rails.application.config.dradis.thor_helper_module
|
3
3
|
|
4
4
|
namespace "dradis:plugins:qualys"
|
5
5
|
|
@@ -15,23 +15,9 @@ class QualysTasks < Thor
|
|
15
15
|
exit -1
|
16
16
|
end
|
17
17
|
|
18
|
-
|
19
|
-
template_service = nil
|
20
|
-
|
21
|
-
template_service = Dradis::Plugins::TemplateService.new(plugin: Dradis::Plugins::Qualys)
|
22
|
-
if defined?(Dradis::Pro)
|
23
|
-
detect_and_set_project_scope
|
24
|
-
content_service = Dradis::Pro::Plugins::ContentService.new(plugin: Dradis::Plugins::Qualys)
|
25
|
-
else
|
26
|
-
content_service = Dradis::Plugins::ContentService.new(plugin: Dradis::Plugins::Qualys)
|
27
|
-
end
|
28
|
-
|
29
|
-
importer = Dradis::Plugins::Qualys::Importer.new(
|
30
|
-
logger: logger,
|
31
|
-
content_service: content_service,
|
32
|
-
template_service: template_service
|
33
|
-
)
|
18
|
+
detect_and_set_project_scope
|
34
19
|
|
20
|
+
importer = Dradis::Plugins::Qualys::Importer.new(logger: logger)
|
35
21
|
importer.import(file: file_path)
|
36
22
|
|
37
23
|
logger.close
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dradis-qualys
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0
|
4
|
+
version: 3.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Martin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-04-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dradis-plugins
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '3.
|
19
|
+
version: '3.6'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '3.
|
26
|
+
version: '3.6'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: nokogiri
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -104,6 +104,7 @@ extra_rdoc_files: []
|
|
104
104
|
files:
|
105
105
|
- ".gitignore"
|
106
106
|
- ".rspec"
|
107
|
+
- CHANGELOG.md
|
107
108
|
- CONTRIBUTING.md
|
108
109
|
- Gemfile
|
109
110
|
- LICENSE
|