cobench 0.0.12 → 0.0.13

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1a879b4cc5dd8f07f65060329407a6d7fd5892f79eb3bcdf79e5e5c6efd9af84
4
- data.tar.gz: '058b53022f131002e0ea77729765496da7d852fc7ef117b6b93530a73ad209da'
3
+ metadata.gz: 1b298ef3dbb65893787af11d1b4cf86e9b02169dc2c83a3e34d902c2c26a2d43
4
+ data.tar.gz: b13f5d42eb289a3e6a5fdd9bdb8a5c31a2357ec1c8a3f35cc35b3c5ec1b6c9e6
5
5
  SHA512:
6
- metadata.gz: fa959471fd51971a38acc61a25eb5007d622905be18eee168b4d71a56aa3c6246672f95d70d099860d09ab6fc4fb2e51e8d9c3639f20bffc33da44b9752dcc66
7
- data.tar.gz: ea804c169413c276554397f4a79742b1c718b42c385d7911aa7561195100f1e8a3a15fa4f7de1ac172ca4801067690ae3cbda612dcf7b6fa709f189cc4c95c3e
6
+ metadata.gz: 83080a2db71ccd8d2e93a00bcbb0bd33a1aa3ddd3ae4a31accdc442403f65b22db215b6e2887dae69c43f0a3655293c7d398f8d5be2819e272995162884923bc
7
+ data.tar.gz: 86b2a9d10ac6e59b41b43ba16c1e55aa0cec3b83729556f53a7530b847a6c2b5738bc8b142ebca0583ac231dc3750156c870776dfad93f2201c1467ab85c67eb
data/assets/index.xsl CHANGED
@@ -77,9 +77,26 @@ SOFTWARE.
77
77
  <xsl:text> on </xsl:text>
78
78
  <xsl:value-of select="cobench/@time"/>
79
79
  <xsl:text>. </xsl:text>
80
- <xsl:text>"Pulls" is the total number of pull requests created by the user and merged. </xsl:text>
81
- <xsl:text>"Issues" is the total number of issues submitted by the user. </xsl:text>
82
- <xsl:text>"Commits" is the total number of commits authored by the user. </xsl:text>
80
+ <xsl:text>"Commits" is the total number of </xsl:text>
81
+ <a href="https://github.com/git-guides/git-commit">
82
+ <xsl:text>Git commits</xsl:text>
83
+ </a>
84
+ <xsl:text> authored by the user. </xsl:text>
85
+ <xsl:text>"HoC" is the total number of user's hits of code. </xsl:text>
86
+ <a href="https://www.yegor256.com/2014/11/14/hits-of-code.html">
87
+ <xsl:text>hits of code</xsl:text>
88
+ </a>
89
+ <xsl:text>. </xsl:text>
90
+ <xsl:text>"Issues" is the total number of issues. </xsl:text>
91
+ <a href="https://docs.github.com/en/issues">
92
+ <xsl:text>issues</xsl:text>
93
+ </a>
94
+ <xsl:text>. </xsl:text>
95
+ <xsl:text>"Pulls" is the total number of </xsl:text>
96
+ <a href="https://docs.github.com/en/pull-requests">
97
+ <xsl:text>pull requests</xsl:text>
98
+ </a>
99
+ <xsl:text> created by the user and merged. </xsl:text>
83
100
  <xsl:text>"Score" is an arithmetic summary of all other numbers with multipliers: </xsl:text>
84
101
  <xsl:text>one Pull costs 100 points, </xsl:text>
85
102
  <xsl:text>one Issue 50 points, </xsl:text>
@@ -134,13 +151,13 @@ SOFTWARE.
134
151
  <xsl:template match="m">
135
152
  <td class="num">
136
153
  <xsl:choose>
137
- <xsl:when test="@href">
154
+ <xsl:when test="@href = ''">
155
+ <xsl:value-of select="."/>
156
+ </xsl:when>
157
+ <xsl:otherwise>
138
158
  <a href="{@href}">
139
159
  <xsl:value-of select="."/>
140
160
  </a>
141
- </xsl:when>
142
- <xsl:otherwise>
143
- <xsl:value-of select="."/>
144
161
  </xsl:otherwise>
145
162
  </xsl:choose>
146
163
  </td>
@@ -23,5 +23,5 @@
23
23
  # Copyright:: Copyright (c) 2022 Yegor Bugayenko
24
24
  # License:: MIT
25
25
  module Cobench
26
- VERSION = '0.0.12'.freeze
26
+ VERSION = '0.0.13'.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.12
4
+ version: 0.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yegor Bugayenko