dradis-html_export 4.10.1 → 4.11.1

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: f8d401dff28d6d627906b4137c2d87e35f87f05672910cd9849a0aeead57a47d
4
+ data.tar.gz: 2f11f60f9a72c043ef24711e4844aa75c420e058227092e00ba299f9613a0a5d
5
5
  SHA512:
6
- metadata.gz: 9a026a79b927e3ddc560f8bbecdc53701c5557c954b1c508a402749b54b7b99ceb487c94c671525c4ed003490af8b9533281b1df1654b40195a2d550bd6c8ea4
7
- data.tar.gz: 79cf7bacb2fc199e6483e5c3e98dfa8c9f610da1da0d0d3a532b400b75aaf1faa5f93cff46b1d6657a8a1c0e2540e2537ecd85c89820c818d1097154c4df745b
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,6 @@
1
+ v4.11.0 (January 2024)
2
+ - Update initializer to work with Rails 7
3
+
1
4
  v4.10.1 (September 2023)
2
5
  - Fix mounting for routes when building the appliance from scratch
3
6
 
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/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
@@ -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,7 +8,7 @@ module Dradis
8
8
 
9
9
  module VERSION
10
10
  MAJOR = 4
11
- MINOR = 10
11
+ MINOR = 11
12
12
  TINY = 1
13
13
  PRE = nil
14
14
 
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.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: 2023-09-08 00:00:00.000000000 Z
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: []
@@ -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
@@ -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.1.4
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: