cobench 0.0.27 → 0.0.30
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 +20 -8
- data/lib/cobench/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c726b87f27512eee21ac9d00359322b70b689b5aa6d751d9055e5468f8f7b4b
|
4
|
+
data.tar.gz: '097f0d797bfed3aeb5ce0b1142c03e0677585543833e36463688a165ebc68155'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ec99505d0010744a2fd76b98d594ada1d4c0974d347b39a2f05a4541b43ce7c098f49a1f4c1fff11461ae2b0648a04dd0ecc1fe8f1e34fd8d44d1d2f73064a2
|
7
|
+
data.tar.gz: 47cc50faa72a451e6d294d0540703f03359a4ff05a869be61b51ce548070444ee8c9b8dab25ab69617ef259994d668e6d270e68adf059a838d2b6889156fee40
|
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>
|
@@ -36,8 +35,12 @@ SOFTWARE.
|
|
36
35
|
<link rel="icon" href="https://raw.githubusercontent.com/yegor256/cobench/master/logo.svg" type="image/svg"/>
|
37
36
|
<link href="https://cdn.jsdelivr.net/gh/yegor256/tacit@gh-pages/tacit-css.min.css" rel="stylesheet"/>
|
38
37
|
<link href="https://cdn.jsdelivr.net/gh/yegor256/drops@gh-pages/drops.min.css" rel="stylesheet"/>
|
39
|
-
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"
|
40
|
-
|
38
|
+
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js">
|
39
|
+
<xsl:text> </xsl:text>
|
40
|
+
</script>
|
41
|
+
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery.tablesorter/2.31.3/js/jquery.tablesorter.min.js">
|
42
|
+
<xsl:text> </xsl:text>
|
43
|
+
</script>
|
41
44
|
<script type="text/javascript">
|
42
45
|
$(function() {
|
43
46
|
$("#metrics").tablesorter();
|
@@ -47,9 +50,10 @@ SOFTWARE.
|
|
47
50
|
td, th { font-family: monospace; font-size: 18px; }
|
48
51
|
.num { text-align: right; }
|
49
52
|
.left { border-bottom: 0; }
|
53
|
+
section { width: auto; }
|
50
54
|
header { text-align: center; }
|
51
55
|
footer { text-align: center; font-size: 0.8em; line-height: 1.2em; color: gray; }
|
52
|
-
article {
|
56
|
+
article { border: 0; }
|
53
57
|
td.avatar { vertical-align: middle; text-align: center; }
|
54
58
|
td.avatar img { width: 1.5em; height: 1.5em; vertical-align: middle; }
|
55
59
|
.subtitle { font-size: 0.8em; line-height: 1em; color: gray; }
|
@@ -67,6 +71,14 @@ SOFTWARE.
|
|
67
71
|
</header>
|
68
72
|
<article>
|
69
73
|
<table id="metrics">
|
74
|
+
<colgroup>
|
75
|
+
<col/>
|
76
|
+
<col/>
|
77
|
+
<xsl:for-each select="cobench/titles/title">
|
78
|
+
<xsl:sort select="."/>
|
79
|
+
<col/>
|
80
|
+
</xsl:for-each>
|
81
|
+
</colgroup>
|
70
82
|
<thead>
|
71
83
|
<xsl:apply-templates select="cobench/titles"/>
|
72
84
|
</thead>
|
@@ -174,7 +186,7 @@ SOFTWARE.
|
|
174
186
|
<xsl:template match="cobench/titles">
|
175
187
|
<tr>
|
176
188
|
<th colspan="2"/>
|
177
|
-
<xsl:for-each select="title
|
189
|
+
<xsl:for-each select="title">
|
178
190
|
<xsl:sort select="."/>
|
179
191
|
<th class="sorter num">
|
180
192
|
<xsl:value-of select="."/>
|
@@ -186,7 +198,7 @@ SOFTWARE.
|
|
186
198
|
<xsl:variable name="totals" select="."/>
|
187
199
|
<tr>
|
188
200
|
<td colspan="2" style="text-align:right">Total:</td>
|
189
|
-
<xsl:for-each select="/cobench/titles/title
|
201
|
+
<xsl:for-each select="/cobench/titles/title">
|
190
202
|
<xsl:sort select="."/>
|
191
203
|
<xsl:variable name="t" select="."/>
|
192
204
|
<td class="num">
|
@@ -199,7 +211,7 @@ SOFTWARE.
|
|
199
211
|
<xsl:variable name="averages" select="."/>
|
200
212
|
<tr>
|
201
213
|
<td colspan="2" style="text-align:right">Average:</td>
|
202
|
-
<xsl:for-each select="/cobench/titles/title
|
214
|
+
<xsl:for-each select="/cobench/titles/title">
|
203
215
|
<xsl:sort select="."/>
|
204
216
|
<xsl:variable name="t" select="."/>
|
205
217
|
<td class="num">
|
data/lib/cobench/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cobench
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.30
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yegor Bugayenko
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-09-
|
11
|
+
date: 2022-09-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: backtrace
|