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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d07cdeeac802a155596d9fa33527af1f1bbc4b2d
4
- data.tar.gz: d292736b6495fcc66371151c39289c21ce2e5000
3
+ metadata.gz: d787a2a51c4bf3bf7dd7e42a6e43ab553278a6ba
4
+ data.tar.gz: 1b5a948f1a33dfec75cda3f858558657b5bc1f47
5
5
  SHA512:
6
- metadata.gz: 6ca3d89fe5e6bacf2678581f97acc58338f372c4cb346bd4efe516d9f9c5becbde65fb1c691c1e61cd03802800942da8f3622407e53dfd5d12aee7ce60d8f2d4
7
- data.tar.gz: d2505d7b312795f9fb04d3911b0da70abd42ef31fd93fcba3dd8235cbb7245b202c4688d8a48e0fcb9da856c7e19b79394b130d2167f9a7468a6520f55b1b6f6
6
+ metadata.gz: 496d341454d8561953b4b8991880098ae5b8d3682f1ceaf5e883f6d2284e19086f5ffe7d51ecfe56ffb2d665d002ebbda514f9636531596103162ad2c89f90ef
7
+ data.tar.gz: b647279d0291308ebd1113a3368e941f7d7f820cbd12a3d564899762a0892cf7e4a3d5cc770ab58bd18d4d9ff9b68557373bed0f2d4d62a5e35c92fe59567627
data/CHANGELOG.md ADDED
@@ -0,0 +1,3 @@
1
+ ## Dradis Framework 3.6 (March XX, 2017) ##
2
+
3
+ * No changes.
@@ -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.2'
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'
@@ -8,8 +8,8 @@ module Dradis
8
8
 
9
9
  module VERSION
10
10
  MAJOR = 3
11
- MINOR = 0
12
- TINY = 2
11
+ MINOR = 6
12
+ TINY = 0
13
13
  PRE = nil
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
@@ -1,5 +1,5 @@
1
1
  class QualysTasks < Thor
2
- include Core::Pro::ProjectScopedTask if defined?(::Core::Pro)
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
- content_service = nil
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.2
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-02-24 00:00:00.000000000 Z
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.2'
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.2'
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