cobench 0.0.12 → 0.0.13
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 +24 -7
- 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: 1b298ef3dbb65893787af11d1b4cf86e9b02169dc2c83a3e34d902c2c26a2d43
|
4
|
+
data.tar.gz: b13f5d42eb289a3e6a5fdd9bdb8a5c31a2357ec1c8a3f35cc35b3c5ec1b6c9e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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>"
|
81
|
-
<
|
82
|
-
|
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>
|
data/lib/cobench/version.rb
CHANGED