cobench 0.0.32 → 0.0.33
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 +4 -4
- data/assets/index.xsl +7 -3
- 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: e826b27c5e0587f100676d206c255ab1a49dd031218a983949641434d742642b
|
|
4
|
+
data.tar.gz: 3f940d517efae58c02800681ce181fce837ea4d33bf6a6698833f808856bfa0a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2f89fe625b2e9ad37e2f94ec370af8e45552dfcce768a1dea6b583714994ecd119493d7f65113c5cc8262f7e81ed86951ce49f06970929b0b611a7225ce98186
|
|
7
|
+
data.tar.gz: cb4a616c54c4fba0109a6bd36592f2377896793de5ff05b7ba1ea228d77b89eeccf39962d5ba09af5d94168fc25e103d4809344c1b747a9a96d673305779fc41
|
data/assets/index.xsl
CHANGED
|
@@ -58,7 +58,8 @@ SOFTWARE.
|
|
|
58
58
|
});
|
|
59
59
|
</script>
|
|
60
60
|
<style>
|
|
61
|
-
td, th { font-family: monospace; font-size: 18px; }
|
|
61
|
+
td, th { font-family: monospace; font-size: 18px; line-height: 1em; }
|
|
62
|
+
td.top { vertical-align: middle; }
|
|
62
63
|
.num { text-align: right; }
|
|
63
64
|
.left { border-bottom: 0; }
|
|
64
65
|
section { width: auto; }
|
|
@@ -265,9 +266,12 @@ SOFTWARE.
|
|
|
265
266
|
</xsl:template>
|
|
266
267
|
<xsl:template match="coder">
|
|
267
268
|
<tr>
|
|
268
|
-
<td class="num">
|
|
269
|
+
<td class="num top">
|
|
269
270
|
<xsl:variable name="score" select="metrics/m[@id='Score']"/>
|
|
270
|
-
<xsl:variable name="pos" select="count(/cobench/coders/coder[metrics/m[@id='Score'] &
|
|
271
|
+
<xsl:variable name="pos" select="count(/cobench/coders/coder[metrics/m[@id='Score'] > $score]) + 1"/>
|
|
272
|
+
<xsl:attribute name="title">
|
|
273
|
+
<xsl:value-of select="$pos"/>
|
|
274
|
+
</xsl:attribute>
|
|
271
275
|
<xsl:if test="$pos <= 8">
|
|
272
276
|
<xsl:text>#</xsl:text>
|
|
273
277
|
<xsl:value-of select="$pos"/>
|
data/lib/cobench/version.rb
CHANGED