cobench 0.0.32 → 0.0.33

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 862a9495f75a20749f29e93af9d8019e0b388c1f1628bc7d59db8193d1473b21
4
- data.tar.gz: 95772672a309295380adeb8a8f624edbf2353c2a96be28e8b7fc3f2e65cf31b5
3
+ metadata.gz: e826b27c5e0587f100676d206c255ab1a49dd031218a983949641434d742642b
4
+ data.tar.gz: 3f940d517efae58c02800681ce181fce837ea4d33bf6a6698833f808856bfa0a
5
5
  SHA512:
6
- metadata.gz: 48710b9f7e18c421b95abe5efec899d7641fb3fd80fa706257cbd0d7ed3c752ab00e6d3a40372afe47ce083b8dc319c9190b242e95a81561e60f5cee82a078f6
7
- data.tar.gz: 4a06820fe76ad19d10c5919b5fb8e23a3ab314fb5b4101079e740f706b0b190a105c247a4932617421b012ce7cc86a03750e4efbd2d5322b9710fa87dd5f9104
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'] &lt; $score]) + 1"/>
271
+ <xsl:variable name="pos" select="count(/cobench/coders/coder[metrics/m[@id='Score'] &gt; $score]) + 1"/>
272
+ <xsl:attribute name="title">
273
+ <xsl:value-of select="$pos"/>
274
+ </xsl:attribute>
271
275
  <xsl:if test="$pos &lt;= 8">
272
276
  <xsl:text>#</xsl:text>
273
277
  <xsl:value-of select="$pos"/>
@@ -23,5 +23,5 @@
23
23
  # Copyright:: Copyright (c) 2022 Yegor Bugayenko
24
24
  # License:: MIT
25
25
  module Cobench
26
- VERSION = '0.0.32'.freeze
26
+ VERSION = '0.0.33'.freeze
27
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cobench
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.32
4
+ version: 0.0.33
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yegor Bugayenko