dradis-html_export 4.10.0 → 4.11.1
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 +2 -2
- data/dradis-html_export.gemspec +1 -1
- data/lib/dradis/plugins/html_export/engine.rb +9 -5
- data/lib/dradis/plugins/html_export/gem_version.rb +2 -2
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8d401dff28d6d627906b4137c2d87e35f87f05672910cd9849a0aeead57a47d
|
4
|
+
data.tar.gz: 2f11f60f9a72c043ef24711e4844aa75c420e058227092e00ba299f9613a0a5d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f28665e7fac8749f22be866f1512aec45c8510dac94d0b29e3bb4f65fc4e9187eaafd092031e2c2828bbdda2098d55ce1ff49d38c87f354aa7552088e06a0452
|
7
|
+
data.tar.gz: c35b4e638bb7a5952155d8a43c505ff1fcdce00408c859ef530aab2225019e8154d53151553bcddaf0d2c0ffb88df90db1ccd834164a58d7cf8afc9bd1d613ba
|
@@ -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
@@ -1,3 +1,9 @@
|
|
1
|
+
v4.11.0 (January 2024)
|
2
|
+
- Update initializer to work with Rails 7
|
3
|
+
|
4
|
+
v4.10.1 (September 2023)
|
5
|
+
- Fix mounting for routes when building the appliance from scratch
|
6
|
+
|
1
7
|
v4.10.0 (September 2023)
|
2
8
|
- Add support for enabling/disabling
|
3
9
|
- Prevent exporting reports without any HTML templates
|
data/README.md
CHANGED
@@ -10,12 +10,12 @@ The plugin requires Dradis 3.0 or higher.
|
|
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
|
data/dradis-html_export.gemspec
CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
|
|
13
13
|
spec.authors = ['Daniel Martin']
|
14
14
|
spec.description = 'Export to HTML plugin for the Dradis Framework'
|
15
15
|
spec.summary = 'Dradis HTML export plugin'
|
16
|
-
spec.homepage = '
|
16
|
+
spec.homepage = 'https://dradis.com/support/guides/reporting/html_reports.html'
|
17
17
|
|
18
18
|
spec.files = `git ls-files`.split($\)
|
19
19
|
spec.executables = spec.files.grep(%r{^bin/}).map { |f| File.basename(f) }
|
@@ -23,11 +23,15 @@ module Dradis
|
|
23
23
|
end if defined?(Dradis::Pro)
|
24
24
|
|
25
25
|
initializer 'dradis-html_export.mount_engine' do
|
26
|
-
Rails.application.
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
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
|
34
|
+
end
|
31
35
|
end
|
32
36
|
end
|
33
37
|
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.11.1
|
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-01-17 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: []
|
@@ -89,11 +89,11 @@ files:
|
|
89
89
|
- spec/spec_helper.rb
|
90
90
|
- templates/basic.html.erb
|
91
91
|
- templates/default_dradis_template_v3.0.html.erb
|
92
|
-
homepage:
|
92
|
+
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
|
@@ -108,8 +108,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
108
108
|
- !ruby/object:Gem::Version
|
109
109
|
version: '0'
|
110
110
|
requirements: []
|
111
|
-
rubygems_version: 3.
|
112
|
-
signing_key:
|
111
|
+
rubygems_version: 3.3.7
|
112
|
+
signing_key:
|
113
113
|
specification_version: 4
|
114
114
|
summary: Dradis HTML export plugin
|
115
115
|
test_files:
|