proforma-html-renderer 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.travis.yml +5 -0
- data/CHANGELOG.md +13 -0
- data/lib/proforma/html_renderer/version.rb +1 -1
- data/spec/fixtures/snapshot/config.yml +9 -0
- data/spec/fixtures/snapshot/output/0.User List.html +15 -0
- data/templates/table.html.erb +0 -2
- metadata +2 -3
- data/Gemfile.lock +0 -114
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ab33eba357b71be3f15129b12af800aa2f12c98fee65b4e54c74a7b48dea6d5
|
4
|
+
data.tar.gz: 1158f7e28998c3284d2b7fbd7d6e8ccf120815031e3b02fde6e4ef19ef095971
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a76ffed9ed52c5777890151f35182e47116fedafbe3b7f34c96564f592d7fc95a23264a2470588645d5ded548db2732c80030f97243de1ccbf08ba589129c3a
|
7
|
+
data.tar.gz: a5a6ca6079d6578bb9579dacc0d8ee361de816551284d519c97876a860b5be43db8dc1a20b7e7fc8009d1fd6f938105af3a12ff1271572c928c5033ede2fd671
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,10 +1,23 @@
|
|
1
|
+
# 1.0.3 (September 9th, 2019)
|
2
|
+
|
3
|
+
#### Fixes
|
4
|
+
|
5
|
+
* Fixed bug rendering table (empty message is not a Table notion, it is a DataTable notion.)
|
6
|
+
|
1
7
|
# 1.0.2 (June 14th, 2019)
|
2
8
|
|
9
|
+
#### Additions
|
10
|
+
|
3
11
|
* Added surrounding <div> element encapsulating all child elements. This should help with embedding the contents inside consumer web applications while still using the provided custom styles while preventing cross-contamination.
|
4
12
|
|
5
13
|
# 1.0.1 (June 6th, 2019)
|
6
14
|
|
15
|
+
#### Additions
|
16
|
+
|
7
17
|
* Added additional right padding to middle pane value cells.
|
18
|
+
|
19
|
+
#### Fixes
|
20
|
+
|
8
21
|
* Fixed bug with Banner objects not rendering.
|
9
22
|
|
10
23
|
# 1.0.0 (June 6th, 2019)
|
@@ -101,3 +101,12 @@ template:
|
|
101
101
|
- header: Number
|
102
102
|
body: $number
|
103
103
|
- type: Spacer
|
104
|
+
- type: Header
|
105
|
+
value: Table with no rows and no empty message test
|
106
|
+
- type: DataTable
|
107
|
+
property: doesnt_exist
|
108
|
+
columns:
|
109
|
+
- header: Type
|
110
|
+
body: $type
|
111
|
+
- header: Number
|
112
|
+
body: $number
|
@@ -1872,6 +1872,11 @@ Chicago, IL 62626
|
|
1872
1872
|
</table>
|
1873
1873
|
|
1874
1874
|
<br>
|
1875
|
+
<h1>Table with no rows and no empty message test</h1>
|
1876
|
+
|
1877
|
+
|
1878
|
+
|
1879
|
+
|
1875
1880
|
<br>
|
1876
1881
|
<h1>User Details</h1>
|
1877
1882
|
|
@@ -1917,6 +1922,11 @@ Chicago, IL 62626
|
|
1917
1922
|
</table>
|
1918
1923
|
|
1919
1924
|
<br>
|
1925
|
+
<h1>Table with no rows and no empty message test</h1>
|
1926
|
+
|
1927
|
+
|
1928
|
+
|
1929
|
+
|
1920
1930
|
<br>
|
1921
1931
|
<h1>User Details</h1>
|
1922
1932
|
|
@@ -1945,6 +1955,11 @@ Chicago, IL 62626
|
|
1945
1955
|
<p>No phone numbers.</p>
|
1946
1956
|
|
1947
1957
|
<br>
|
1958
|
+
<h1>Table with no rows and no empty message test</h1>
|
1959
|
+
|
1960
|
+
|
1961
|
+
|
1962
|
+
|
1948
1963
|
</div>
|
1949
1964
|
</body>
|
1950
1965
|
</html>
|
data/templates/table.html.erb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: proforma-html-renderer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew Ruggio
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-09-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: proforma
|
@@ -154,7 +154,6 @@ files:
|
|
154
154
|
- ".travis.yml"
|
155
155
|
- CHANGELOG.md
|
156
156
|
- Gemfile
|
157
|
-
- Gemfile.lock
|
158
157
|
- Guardfile
|
159
158
|
- LICENSE
|
160
159
|
- README.md
|
data/Gemfile.lock
DELETED
@@ -1,114 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
proforma-html-renderer (1.0.2)
|
5
|
-
proforma (~> 1)
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: https://rubygems.org/
|
9
|
-
specs:
|
10
|
-
acts_as_hashable (1.1.0)
|
11
|
-
ansi (1.5.0)
|
12
|
-
ast (2.4.0)
|
13
|
-
byebug (11.0.1)
|
14
|
-
coderay (1.1.2)
|
15
|
-
diff-lcs (1.3)
|
16
|
-
docile (1.3.1)
|
17
|
-
ffi (1.9.25)
|
18
|
-
formatador (0.2.5)
|
19
|
-
guard (2.15.0)
|
20
|
-
formatador (>= 0.2.4)
|
21
|
-
listen (>= 2.7, < 4.0)
|
22
|
-
lumberjack (>= 1.0.12, < 2.0)
|
23
|
-
nenv (~> 0.1)
|
24
|
-
notiffany (~> 0.0)
|
25
|
-
pry (>= 0.9.12)
|
26
|
-
shellany (~> 0.0)
|
27
|
-
thor (>= 0.18.1)
|
28
|
-
guard-compat (1.2.1)
|
29
|
-
guard-rspec (4.7.3)
|
30
|
-
guard (~> 2.1)
|
31
|
-
guard-compat (~> 1.1)
|
32
|
-
rspec (>= 2.99.0, < 4.0)
|
33
|
-
hirb (0.7.3)
|
34
|
-
jaro_winkler (1.5.2)
|
35
|
-
json (2.1.0)
|
36
|
-
listen (3.1.5)
|
37
|
-
rb-fsevent (~> 0.9, >= 0.9.4)
|
38
|
-
rb-inotify (~> 0.9, >= 0.9.7)
|
39
|
-
ruby_dep (~> 1.2)
|
40
|
-
lumberjack (1.0.13)
|
41
|
-
method_source (0.9.2)
|
42
|
-
nenv (0.3.0)
|
43
|
-
notiffany (0.1.1)
|
44
|
-
nenv (~> 0.1)
|
45
|
-
shellany (~> 0.0)
|
46
|
-
parallel (1.13.0)
|
47
|
-
parser (2.6.0.0)
|
48
|
-
ast (~> 2.4.0)
|
49
|
-
powerpack (0.1.2)
|
50
|
-
proforma (1.0.2)
|
51
|
-
acts_as_hashable (~> 1, >= 1.1.0)
|
52
|
-
pry (0.12.2)
|
53
|
-
coderay (~> 1.1.0)
|
54
|
-
method_source (~> 0.9.0)
|
55
|
-
pry-byebug (3.7.0)
|
56
|
-
byebug (~> 11.0)
|
57
|
-
pry (~> 0.10)
|
58
|
-
rainbow (3.0.0)
|
59
|
-
rake (10.5.0)
|
60
|
-
rb-fsevent (0.10.3)
|
61
|
-
rb-inotify (0.9.10)
|
62
|
-
ffi (>= 0.5.0, < 2)
|
63
|
-
rspec (3.8.0)
|
64
|
-
rspec-core (~> 3.8.0)
|
65
|
-
rspec-expectations (~> 3.8.0)
|
66
|
-
rspec-mocks (~> 3.8.0)
|
67
|
-
rspec-core (3.8.0)
|
68
|
-
rspec-support (~> 3.8.0)
|
69
|
-
rspec-expectations (3.8.2)
|
70
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
71
|
-
rspec-support (~> 3.8.0)
|
72
|
-
rspec-mocks (3.8.0)
|
73
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
74
|
-
rspec-support (~> 3.8.0)
|
75
|
-
rspec-support (3.8.0)
|
76
|
-
rubocop (0.63.1)
|
77
|
-
jaro_winkler (~> 1.5.1)
|
78
|
-
parallel (~> 1.10)
|
79
|
-
parser (>= 2.5, != 2.5.1.1)
|
80
|
-
powerpack (~> 0.1)
|
81
|
-
rainbow (>= 2.2.2, < 4.0)
|
82
|
-
ruby-progressbar (~> 1.7)
|
83
|
-
unicode-display_width (~> 1.4.0)
|
84
|
-
ruby-progressbar (1.10.0)
|
85
|
-
ruby_dep (1.5.0)
|
86
|
-
shellany (0.0.1)
|
87
|
-
simplecov (0.16.1)
|
88
|
-
docile (~> 1.1)
|
89
|
-
json (>= 1.8, < 3)
|
90
|
-
simplecov-html (~> 0.10.0)
|
91
|
-
simplecov-console (0.4.2)
|
92
|
-
ansi
|
93
|
-
hirb
|
94
|
-
simplecov
|
95
|
-
simplecov-html (0.10.2)
|
96
|
-
thor (0.20.3)
|
97
|
-
unicode-display_width (1.4.1)
|
98
|
-
|
99
|
-
PLATFORMS
|
100
|
-
ruby
|
101
|
-
|
102
|
-
DEPENDENCIES
|
103
|
-
guard-rspec (~> 4.7)
|
104
|
-
proforma-html-renderer!
|
105
|
-
pry (~> 0)
|
106
|
-
pry-byebug (~> 3)
|
107
|
-
rake (~> 10.0)
|
108
|
-
rspec (~> 3.8)
|
109
|
-
rubocop (~> 0.63.1)
|
110
|
-
simplecov (~> 0.16.1)
|
111
|
-
simplecov-console (~> 0.4.2)
|
112
|
-
|
113
|
-
BUNDLED WITH
|
114
|
-
2.0.1
|