cobench 0.0.35 → 0.0.36
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cobench/metrics/issues.rb +7 -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: 96be8a2561b910ee67b624e728bf639f5c232ad76fb7773cb8575cb9e6581882
|
4
|
+
data.tar.gz: 19050e7f9ee743cab744e380abd704e16f47ee7f6aa21f31553f53522d56410c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5589979370cf2ef019c57ecaf942ba1fab9992a5bc75736e4f681728bd6695864b8135475501ed0ee7e73fc68da8d3c1105ed3dea31eee283a9fdd2c3d1c1ab9
|
7
|
+
data.tar.gz: 852309017ddf77403244d73391d6b6c8b01fd11e25f9d328f0ff98283210d6d011e1d24f6fcfc89e3a84706b7b16c7049351b880b7b822b8dbc7eed6859008a7
|
@@ -37,13 +37,20 @@ class Cobench::Issues
|
|
37
37
|
q = "in:comments type:issue author:#{@user} created:>#{from}"
|
38
38
|
json = @api.search_issues(q)
|
39
39
|
loog.debug("Found #{json.total_count} issues")
|
40
|
+
orgs = []
|
40
41
|
total = json.items.count do |p|
|
41
42
|
pr = p.url.split('/')[-1]
|
42
43
|
repo = p.repository_url.split('/')[-2..-1].join('/')
|
43
44
|
next unless Cobench::Match.new(@opts, loog).matches?(repo)
|
44
45
|
loog.debug("Including #{repo}#{pr}")
|
46
|
+
orgs << p.repository_url.split('/')[-2]
|
45
47
|
end
|
46
48
|
[
|
49
|
+
{
|
50
|
+
meta: true,
|
51
|
+
title: 'Orgs',
|
52
|
+
list: orgs
|
53
|
+
},
|
47
54
|
{
|
48
55
|
title: 'Issues',
|
49
56
|
total: total,
|
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.36
|
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-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: backtrace
|