cobench 0.0.38 → 0.0.39
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 +5 -2
- data/lib/cobench/metrics/reviews.rb +1 -0
- 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: b4cce8b862fa0d4d687cddb72a3fbc264b900373139a6bb2f36e5693382152ce
|
|
4
|
+
data.tar.gz: 2f3183c060f21f168cc0d5841c8371fdbd30b22afcf4b4d683edc410ec9d6f91
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f6c69f808e52df029c607224691bdc8162e3980d17a603276549e5d28ad75f4fe81916238a4eb895a0273c29fb9822265db668042afae693a5858bb88e11b7f6
|
|
7
|
+
data.tar.gz: 584f1ab28033e3972e080420a67e15070903bdab2b85a769c6f4a1c6c07c34ae7a7712f39076f9f46f6cde533d710c59e0a31706d0005dad442527ac697aa8a4
|
data/assets/index.xsl
CHANGED
|
@@ -154,7 +154,7 @@ SOFTWARE.
|
|
|
154
154
|
<xsl:text>issues</xsl:text>
|
|
155
155
|
</a>
|
|
156
156
|
<xsl:text>. </xsl:text>
|
|
157
|
-
<xsl:text>"Msgs" is the total number of messages posted
|
|
157
|
+
<xsl:text>"Msgs" is the total number of messages posted in pull requests where the user was a reviewer. </xsl:text>
|
|
158
158
|
<xsl:text>"Pulls" is the total number of </xsl:text>
|
|
159
159
|
<a href="https://docs.github.com/en/pull-requests">
|
|
160
160
|
<xsl:text>pull requests</xsl:text>
|
|
@@ -199,7 +199,10 @@ SOFTWARE.
|
|
|
199
199
|
<xsl:text>"</xsl:text>
|
|
200
200
|
<xsl:value-of select="."/>
|
|
201
201
|
<xsl:text>"</xsl:text>
|
|
202
|
-
<xsl:
|
|
202
|
+
<xsl:if test="position() = 1">
|
|
203
|
+
<xsl:text> stands</xsl:text>
|
|
204
|
+
</xsl:if>
|
|
205
|
+
<xsl:text> for </xsl:text>
|
|
203
206
|
<xsl:value-of select="@subtitle"/>
|
|
204
207
|
</xsl:for-each>
|
|
205
208
|
<xsl:text>.</xsl:text>
|
|
@@ -44,6 +44,7 @@ class Cobench::Reviews
|
|
|
44
44
|
next unless Cobench::Match.new(@opts, loog).matches?(repo)
|
|
45
45
|
loog.debug("Including #{repo}##{pr} reviewed by @#{@user}")
|
|
46
46
|
posted = @api.pull_request_comments(repo, pr).count { |c| c[:user][:login].downcase == @user }
|
|
47
|
+
posted += @api.issue_comments(repo, pr).count { |c| c[:user][:login].downcase == @user }
|
|
47
48
|
loog.debug("#{posted} messages posted by @#{@user} to #{repo}##{pr}")
|
|
48
49
|
msgs += posted
|
|
49
50
|
end
|
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.39
|
|
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-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: backtrace
|