dradis-html_export 4.10.0 → 4.10.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 27d99c716d170d2268e97a1b0889729ce6e653f4b8e9ab2cfb41c34527b2747a
4
- data.tar.gz: ec40e7c9bbb6239f3058b2b8cc223b445290952fb1762b4ac74b22029dbc0391
3
+ metadata.gz: '09ab09feb18bab9cc1ca210e7f12b5e9400da6c4666c2d4789f04e38e6d280c7'
4
+ data.tar.gz: fc8952dafe1886de63632edc7c20e203e6a347d4f5c05925e3ebe410e5a733ec
5
5
  SHA512:
6
- metadata.gz: d7d68a975f8517af01b889567140163cdaa42b4a7ce786a3b68d06cc07f72310e8e8dac35b1cebe151a23e123f9c909065fd4e6db95d9eb9b8c0e2e56d2919aa
7
- data.tar.gz: a8b48338691dbedcf04abb428fee667389c5a90ac0a015341c1c101581cd25260a09654715f3f757a0fa04ca79c0ba93c29eecde277da1d896d57a094657ee6b
6
+ metadata.gz: 9a026a79b927e3ddc560f8bbecdc53701c5557c954b1c508a402749b54b7b99ceb487c94c671525c4ed003490af8b9533281b1df1654b40195a2d550bd6c8ea4
7
+ data.tar.gz: 79cf7bacb2fc199e6483e5c3e98dfa8c9f610da1da0d0d3a532b400b75aaf1faa5f93cff46b1d6657a8a1c0e2540e2537ecd85c89820c818d1097154c4df745b
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ v4.10.1 (September 2023)
2
+ - Fix mounting for routes when building the appliance from scratch
3
+
1
4
  v4.10.0 (September 2023)
2
5
  - Add support for enabling/disabling
3
6
  - Prevent exporting reports without any HTML templates
@@ -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 = 'http://dradis.com'
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,13 @@ module Dradis
23
23
  end if defined?(Dradis::Pro)
24
24
 
25
25
  initializer 'dradis-html_export.mount_engine' do
26
- Rails.application.routes.append do
27
- # Enabling/disabling integrations calls Rails.application.reload_routes! we need the enable
28
- # check inside the block to ensure the routes can be re-enabled without a server restart
29
- if Engine.enabled?
30
- mount Engine => '/', as: :html_export
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
32
+ end
31
33
  end
32
34
  end
33
35
  end
@@ -9,7 +9,7 @@ module Dradis
9
9
  module VERSION
10
10
  MAJOR = 4
11
11
  MINOR = 10
12
- TINY = 0
12
+ TINY = 1
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.0
4
+ version: 4.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Martin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-07 00:00:00.000000000 Z
11
+ date: 2023-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dradis-plugins
@@ -89,7 +89,7 @@ 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: http://dradis.com
92
+ homepage: https://dradis.com/support/guides/reporting/html_reports.html
93
93
  licenses:
94
94
  - GPL-2
95
95
  metadata: {}