cobench 0.0.27 → 0.0.28
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/assets/index.xsl +14 -6
- data/lib/cobench/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59a9eeca7f5fcb377fcd74fd3d61dba8e2e3a8f9d28b456a5395ae6bab04781c
|
4
|
+
data.tar.gz: 4a1437f4564485167e80c14e66bbfe525529a8ee19738e6ebbea65d614de3de1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a9050e83ed1b3dfb922f8664c1623b3aa6b4cb61bc659dfb49372023072cf6ec2d3d944a6a23990278afb8c87d551415b003277a2bb0c5e2846c1bfab6cc91b
|
7
|
+
data.tar.gz: d0298ae4bd39ac293a2dfd91d745546143778211c93e56f28f1bc8975661d78d3fd68d10a8e981eca8bc80bb50c7747d2f60caf73e1855c311f348bd0b649c5a
|
data/assets/index.xsl
CHANGED
@@ -23,9 +23,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
23
23
|
SOFTWARE.
|
24
24
|
-->
|
25
25
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0">
|
26
|
-
<xsl:output encoding="UTF-8" method="
|
26
|
+
<xsl:output encoding="UTF-8" method="xml"/>
|
27
27
|
<xsl:param name="version"/>
|
28
|
-
<xsl:key name="titles" match="/cobench/titles/title" use="."/>
|
29
28
|
<xsl:template match="/">
|
30
29
|
<html>
|
31
30
|
<head>
|
@@ -47,9 +46,10 @@ SOFTWARE.
|
|
47
46
|
td, th { font-family: monospace; font-size: 18px; }
|
48
47
|
.num { text-align: right; }
|
49
48
|
.left { border-bottom: 0; }
|
49
|
+
section { width: 100%; }
|
50
50
|
header { text-align: center; }
|
51
51
|
footer { text-align: center; font-size: 0.8em; line-height: 1.2em; color: gray; }
|
52
|
-
article {
|
52
|
+
article { border: 0; }
|
53
53
|
td.avatar { vertical-align: middle; text-align: center; }
|
54
54
|
td.avatar img { width: 1.5em; height: 1.5em; vertical-align: middle; }
|
55
55
|
.subtitle { font-size: 0.8em; line-height: 1em; color: gray; }
|
@@ -67,6 +67,14 @@ SOFTWARE.
|
|
67
67
|
</header>
|
68
68
|
<article>
|
69
69
|
<table id="metrics">
|
70
|
+
<colgroup>
|
71
|
+
<col/>
|
72
|
+
<col/>
|
73
|
+
<xsl:for-each select="cobench/titles/title">
|
74
|
+
<xsl:sort select="."/>
|
75
|
+
<col/>
|
76
|
+
</xsl:for-each>
|
77
|
+
</colgroup>
|
70
78
|
<thead>
|
71
79
|
<xsl:apply-templates select="cobench/titles"/>
|
72
80
|
</thead>
|
@@ -174,7 +182,7 @@ SOFTWARE.
|
|
174
182
|
<xsl:template match="cobench/titles">
|
175
183
|
<tr>
|
176
184
|
<th colspan="2"/>
|
177
|
-
<xsl:for-each select="title
|
185
|
+
<xsl:for-each select="title">
|
178
186
|
<xsl:sort select="."/>
|
179
187
|
<th class="sorter num">
|
180
188
|
<xsl:value-of select="."/>
|
@@ -186,7 +194,7 @@ SOFTWARE.
|
|
186
194
|
<xsl:variable name="totals" select="."/>
|
187
195
|
<tr>
|
188
196
|
<td colspan="2" style="text-align:right">Total:</td>
|
189
|
-
<xsl:for-each select="/cobench/titles/title
|
197
|
+
<xsl:for-each select="/cobench/titles/title">
|
190
198
|
<xsl:sort select="."/>
|
191
199
|
<xsl:variable name="t" select="."/>
|
192
200
|
<td class="num">
|
@@ -199,7 +207,7 @@ SOFTWARE.
|
|
199
207
|
<xsl:variable name="averages" select="."/>
|
200
208
|
<tr>
|
201
209
|
<td colspan="2" style="text-align:right">Average:</td>
|
202
|
-
<xsl:for-each select="/cobench/titles/title
|
210
|
+
<xsl:for-each select="/cobench/titles/title">
|
203
211
|
<xsl:sort select="."/>
|
204
212
|
<xsl:variable name="t" select="."/>
|
205
213
|
<td class="num">
|
data/lib/cobench/version.rb
CHANGED