dradis-html_export 3.6.0 → 3.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -1
- data/lib/dradis/plugins/html_export/gem_version.rb +1 -1
- data/lib/tasks/thorfile.rb +2 -8
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8d5ff98a959a8ae74c70d35242662120eed2461e
|
|
4
|
+
data.tar.gz: 9c6ae182fc7db8bbf131d1ada94d4225165911d2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cd578f0f2c66d4810756390156b6d2c41da82031c6c4a9eef73b367f09b42f99266caaaf4431a72fe6cdc609cc4d28edc82c53f0b26110953aa8939a1a868b78
|
|
7
|
+
data.tar.gz: 9703e22f5bfd0841f8eaf7978c7a51686c5df6bdb0cd93e485c2f1f2b322675d40daa28b71ec633529d0e7e5a2dc1f29c003e5e4eacb854d67ea78caa42319e1
|
data/CHANGELOG.md
CHANGED
data/lib/tasks/thorfile.rb
CHANGED
|
@@ -13,11 +13,6 @@ class HtmlExportTasks < Thor
|
|
|
13
13
|
# The options we'll end up passing to the Processor class
|
|
14
14
|
opts = {}
|
|
15
15
|
|
|
16
|
-
STDOUT.sync = true
|
|
17
|
-
logger = Logger.new(STDOUT)
|
|
18
|
-
logger.level = Logger::DEBUG
|
|
19
|
-
opts[:logger] = logger
|
|
20
|
-
|
|
21
16
|
report_path = options.output || Rails.root
|
|
22
17
|
unless report_path.to_s =~ /\.html\z/
|
|
23
18
|
date = DateTime.now.strftime("%Y-%m-%d")
|
|
@@ -27,12 +22,12 @@ class HtmlExportTasks < Thor
|
|
|
27
22
|
|
|
28
23
|
if template = options.template
|
|
29
24
|
shell.error("Template file doesn't exist") && exit(1) unless File.exists?(template)
|
|
30
|
-
|
|
25
|
+
task_options[:template] = template
|
|
31
26
|
end
|
|
32
27
|
|
|
33
28
|
detect_and_set_project_scope
|
|
34
29
|
|
|
35
|
-
exporter = Dradis::Plugins::HtmlExport::Exporter.new(
|
|
30
|
+
exporter = Dradis::Plugins::HtmlExport::Exporter.new(task_options)
|
|
36
31
|
html = exporter.export
|
|
37
32
|
|
|
38
33
|
File.open(report_path, 'w') do |f|
|
|
@@ -40,7 +35,6 @@ class HtmlExportTasks < Thor
|
|
|
40
35
|
end
|
|
41
36
|
|
|
42
37
|
logger.info{ "Report file created at:\n\t#{report_path}" }
|
|
43
|
-
logger.close
|
|
44
38
|
end
|
|
45
39
|
|
|
46
40
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dradis-html_export
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.7.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-07-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: dradis-plugins
|
|
@@ -101,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
101
101
|
version: '0'
|
|
102
102
|
requirements: []
|
|
103
103
|
rubyforge_project:
|
|
104
|
-
rubygems_version: 2.
|
|
104
|
+
rubygems_version: 2.6.8
|
|
105
105
|
signing_key:
|
|
106
106
|
specification_version: 4
|
|
107
107
|
summary: Dradis HTML export plugin
|