dradis-html_export 4.10.1 → 4.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/pull_request_template.md +12 -3
- data/CHANGELOG.md +6 -0
- data/README.md +3 -3
- data/app/views/dradis/plugins/html_export/export/_index-content.html.erb +1 -1
- data/lib/dradis/plugins/html_export/engine.rb +8 -6
- data/lib/dradis/plugins/html_export/gem_version.rb +2 -2
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: def25a69667a2f95dc1864c9616c0bdacab7345f853e8da9faa132165a9cd9a9
|
4
|
+
data.tar.gz: 05d4bf04a67586c2bb086ff863824ae10f7822f72fb49afc54015ae47a367c3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 899334a3a0f33eb13c31e3243f339f1067cc4a2e0a5c035413cf95a3da839ea6dc8764e3ba8222f339658613fe84213778c905656a66817e5444a973d1834b75
|
7
|
+
data.tar.gz: 6b18eafcfbdedce2aab48f470741e09672de7725621c0a37bb97225ad680f8578fbf5515ca4a7300cd3af1cbbe31dd8960d00bf769b49acec46b7f16aca9d75b
|
@@ -1,3 +1,5 @@
|
|
1
|
+
Please review [CONTRIBUTING.md](https://github.com/dradis/dradis-ce/blob/develop/CONTRIBUTING.md) and remove this line.
|
2
|
+
|
1
3
|
### Summary
|
2
4
|
|
3
5
|
Provide a general description of the code changes in your pull
|
@@ -6,6 +8,11 @@ these bugs have open GitHub issues, be sure to tag them here as well,
|
|
6
8
|
to keep the conversation linked together.
|
7
9
|
|
8
10
|
|
11
|
+
### Testing Steps
|
12
|
+
|
13
|
+
Provide steps to test functionality, described in detail for someone not familiar with this part of the application / code base
|
14
|
+
|
15
|
+
|
9
16
|
### Other Information
|
10
17
|
|
11
18
|
If there's anything else that's important and relevant to your pull
|
@@ -26,11 +33,13 @@ products, we must have the copyright associated with the entire
|
|
26
33
|
codebase. Any code you create which is merged must be owned by us.
|
27
34
|
That's not us trying to be a jerks, that's just the way it works.
|
28
35
|
|
29
|
-
Please review the [CONTRIBUTING.md](https://github.com/dradis/dradis-ce/blob/master/CONTRIBUTING.md)
|
30
|
-
file for the details.
|
31
|
-
|
32
36
|
You can delete this section, but the following sentence needs to
|
33
37
|
remain in the PR's description:
|
34
38
|
|
35
39
|
> I assign all rights, including copyright, to any future Dradis
|
36
40
|
> work by myself to Security Roots.
|
41
|
+
|
42
|
+
### Check List
|
43
|
+
|
44
|
+
- [ ] Added a CHANGELOG entry
|
45
|
+
- [ ] Added specs
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -5,17 +5,17 @@
|
|
5
5
|
|
6
6
|
This plugin generates an HTML report for the notes in your [Dradis Framework](https://github.com/dradis/dradisframework) repository.
|
7
7
|
|
8
|
-
The
|
8
|
+
The add-on requires [Dradis CE](https://dradis.com/ce/) > 3.0, or [Dradis Pro](https://dradis.com/).
|
9
9
|
|
10
10
|
|
11
11
|
## More information
|
12
12
|
|
13
|
-
See the Dradis Framework's [README.md](https://github.com/dradis/
|
13
|
+
See the Dradis Framework's [README.md](https://github.com/dradis/dradis-ce/blob/develop/README.md)
|
14
14
|
|
15
15
|
|
16
16
|
## Contributing
|
17
17
|
|
18
|
-
See the Dradis Framework's [CONTRIBUTING.md](https://github.com/dradis/
|
18
|
+
See the Dradis Framework's [CONTRIBUTING.md](https://github.com/dradis/dradis-ce/blob/develop/CONTRIBUTING.md)
|
19
19
|
|
20
20
|
|
21
21
|
## License
|
@@ -2,7 +2,7 @@
|
|
2
2
|
<% if Dradis::Plugins::HtmlExport::TemplatePresenter.templates.any? %>
|
3
3
|
<%= form_tag html_export.project_report_path(current_project) do %>
|
4
4
|
<h4 class="header-underline">Choose a template</h4>
|
5
|
-
<p>Please choose one of the templates available for this plugin (find them in <code
|
5
|
+
<p>Please choose one of the templates available for this plugin (find them in <code>./templates/reports/html_export</code>)</p>
|
6
6
|
|
7
7
|
<% Dradis::Plugins::HtmlExport::TemplatePresenter.each_template do |template| %>
|
8
8
|
<% present(template, Dradis::Plugins::HtmlExport::TemplatePresenter) do |template_presenter| %>
|
@@ -23,12 +23,14 @@ module Dradis
|
|
23
23
|
end if defined?(Dradis::Pro)
|
24
24
|
|
25
25
|
initializer 'dradis-html_export.mount_engine' do
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
26
|
+
Rails.application.reloader.to_prepare do
|
27
|
+
if (ActiveRecord::Base.connection rescue false) && ::Configuration.table_exists?
|
28
|
+
Rails.application.routes.append do
|
29
|
+
# Enabling/disabling integrations calls Rails.application.reload_routes! we need the enable
|
30
|
+
# check inside the block to ensure the routes can be re-enabled without a server restart
|
31
|
+
if Engine.enabled?
|
32
|
+
mount Engine => '/', as: :html_export
|
33
|
+
end
|
32
34
|
end
|
33
35
|
end
|
34
36
|
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: 4.
|
4
|
+
version: 4.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Martin
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dradis-plugins
|
@@ -53,7 +53,7 @@ dependencies:
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 4.3.2
|
55
55
|
description: Export to HTML plugin for the Dradis Framework
|
56
|
-
email:
|
56
|
+
email:
|
57
57
|
executables: []
|
58
58
|
extensions: []
|
59
59
|
extra_rdoc_files: []
|
@@ -93,7 +93,7 @@ homepage: https://dradis.com/support/guides/reporting/html_reports.html
|
|
93
93
|
licenses:
|
94
94
|
- GPL-2
|
95
95
|
metadata: {}
|
96
|
-
post_install_message:
|
96
|
+
post_install_message:
|
97
97
|
rdoc_options: []
|
98
98
|
require_paths:
|
99
99
|
- lib
|
@@ -109,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
109
109
|
version: '0'
|
110
110
|
requirements: []
|
111
111
|
rubygems_version: 3.1.4
|
112
|
-
signing_key:
|
112
|
+
signing_key:
|
113
113
|
specification_version: 4
|
114
114
|
summary: Dradis HTML export plugin
|
115
115
|
test_files:
|