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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fdd68553eb250f70a8b28b55881595a6ca920b35451a76e7eaaefe963e5c81f4
4
- data.tar.gz: bd69957900879988ccbc4194959d1ca27c55452a3f33f9a51bbcba4fe528e5da
3
+ metadata.gz: 96be8a2561b910ee67b624e728bf639f5c232ad76fb7773cb8575cb9e6581882
4
+ data.tar.gz: 19050e7f9ee743cab744e380abd704e16f47ee7f6aa21f31553f53522d56410c
5
5
  SHA512:
6
- metadata.gz: f617125d6f05b54e008170fd5fa53fc5623a16a861bd044ab0c31421a7e6054a601f8fc0cfa3a68dc10c3a01b35a0393942485d69729d34b7f570399981f835d
7
- data.tar.gz: 7579e8f69a4bb6d85d1b5a0aebce2223b4f95881f6a91122869f3b1b3a86b069a01be99725af4ffc960d56a9e416664ec856d0d6f3e38beec61aff579508af43
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,
@@ -23,5 +23,5 @@
23
23
  # Copyright:: Copyright (c) 2022 Yegor Bugayenko
24
24
  # License:: MIT
25
25
  module Cobench
26
- VERSION = '0.0.35'.freeze
26
+ VERSION = '0.0.36'.freeze
27
27
  end
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.35
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-04 00:00:00.000000000 Z
11
+ date: 2022-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: backtrace