xhtml_report_generator 4.0.1 → 4.0.2
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 +5 -5
- data/lib/xhtml_report_generator.rb +4 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: c047aa5a9465ad6b198ca581c98a823d61e12814
|
|
4
|
+
data.tar.gz: '0545085c2ee528d64eb3545d3e7c31238766085d'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f407c1d00784018648248efe8136efbd22ef4ef51b54072f004b36cf51668a64b1c6e4f45a0bc39f0b5d792dacbf6128526f725ead1040a4d51b8e88eb12904d
|
|
7
|
+
data.tar.gz: ea0bc7f1431d331b4ad7c30ab3da77759119017a51e26591cc7bf57ff79820bbc0d4ddd53adbe26ca8db2dc160ca33fcc6d3894e622fc63043e309418d31f91c
|
|
@@ -5,7 +5,7 @@ require 'base64'
|
|
|
5
5
|
|
|
6
6
|
module XhtmlReportGenerator
|
|
7
7
|
|
|
8
|
-
VERSION = '4.0.
|
|
8
|
+
VERSION = '4.0.2'
|
|
9
9
|
|
|
10
10
|
# This is the main generator class. It can be instanced with custom javascript, css, and ruby files to allow
|
|
11
11
|
# generation of arbitrary reports.
|
|
@@ -100,6 +100,9 @@ module XhtmlReportGenerator
|
|
|
100
100
|
# @param parent_element [REXML::Element] the element to which cdata should be added
|
|
101
101
|
# @return [REXML::Element] parent_element
|
|
102
102
|
def cdata(str, parent_element)
|
|
103
|
+
# sometimes depending on LC_CTYPE environemnt variable it can happen that js / css files are interpreted
|
|
104
|
+
# with wrong encoding
|
|
105
|
+
str = encoding_fixer(str)
|
|
103
106
|
# somehow there is a problem with CDATA, any text added after will automatically go into the CDATA
|
|
104
107
|
# so we have do add a dummy node after the CDATA and then add the text.
|
|
105
108
|
parent_element.add_text("/*")
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: xhtml_report_generator
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.0.
|
|
4
|
+
version: 4.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Manuel Widmer
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-01-
|
|
11
|
+
date: 2019-01-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: |
|
|
14
14
|
The generator can be used to create html or xhtml files. It comes with many utility functions.
|
|
@@ -56,7 +56,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
56
56
|
version: '0'
|
|
57
57
|
requirements: []
|
|
58
58
|
rubyforge_project:
|
|
59
|
-
rubygems_version: 2.
|
|
59
|
+
rubygems_version: 2.6.13
|
|
60
60
|
signing_key:
|
|
61
61
|
specification_version: 4
|
|
62
62
|
summary: A simple html or xhtml generator or logger to create human readable reports
|