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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '09ab09feb18bab9cc1ca210e7f12b5e9400da6c4666c2d4789f04e38e6d280c7'
4
- data.tar.gz: fc8952dafe1886de63632edc7c20e203e6a347d4f5c05925e3ebe410e5a733ec
3
+ metadata.gz: def25a69667a2f95dc1864c9616c0bdacab7345f853e8da9faa132165a9cd9a9
4
+ data.tar.gz: 05d4bf04a67586c2bb086ff863824ae10f7822f72fb49afc54015ae47a367c3b
5
5
  SHA512:
6
- metadata.gz: 9a026a79b927e3ddc560f8bbecdc53701c5557c954b1c508a402749b54b7b99ceb487c94c671525c4ed003490af8b9533281b1df1654b40195a2d550bd6c8ea4
7
- data.tar.gz: 79cf7bacb2fc199e6483e5c3e98dfa8c9f610da1da0d0d3a532b400b75aaf1faa5f93cff46b1d6657a8a1c0e2540e2537ecd85c89820c818d1097154c4df745b
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
@@ -1,3 +1,9 @@
1
+ v4.12.0 (May 2024)
2
+ - Update Dradis links in README
3
+
4
+ v4.11.0 (January 2024)
5
+ - Update initializer to work with Rails 7
6
+
1
7
  v4.10.1 (September 2023)
2
8
  - Fix mounting for routes when building the appliance from scratch
3
9
 
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 plugin requires Dradis 3.0 or higher.
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/dradisframework/blob/master/README.md)
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/dradisframework/blob/master/CONTRIBUTING.md)
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>.<%= Dradis::Plugins::HtmlExport::TemplatePresenter.templates_dir[Rails.root.to_s.length..-1] %></code>)</p>
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
- if (ActiveRecord::Base.connection rescue false) && ::Configuration.table_exists?
27
- Rails.application.routes.append do
28
- # Enabling/disabling integrations calls Rails.application.reload_routes! we need the enable
29
- # check inside the block to ensure the routes can be re-enabled without a server restart
30
- if Engine.enabled?
31
- mount Engine => '/', as: :html_export
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
@@ -8,8 +8,8 @@ module Dradis
8
8
 
9
9
  module VERSION
10
10
  MAJOR = 4
11
- MINOR = 10
12
- TINY = 1
11
+ MINOR = 12
12
+ TINY = 0
13
13
  PRE = nil
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
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.10.1
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: 2023-09-08 00:00:00.000000000 Z
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: