cobench 0.0.48 → 0.0.49
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/pdd.yml +1 -1
- data/.github/workflows/xcop.yml +1 -1
- data/Gemfile +3 -3
- data/lib/cobench/metrics/reviews.rb +5 -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: a84ac17fa4339a99fc8d31ae5b1f4f17817385594b503d26d4d5636d314b2626
|
4
|
+
data.tar.gz: 12c6435acecce153da8250dcb124435fc31f7e9c7bc106678a217822d06b90d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d63511d8608921f3130581813a178b39459dfb96281a2cbf23912fc795ac0b091f8a25e4a74287c9d1fb2f3bee7c1b4152654341edcda554c77aee67336bb217
|
7
|
+
data.tar.gz: 4c8e62a7e955b978103dfc6c73d610652de3682e1c0e16f1e2e2b26a5ab622daf5dc9b1a31c641f537de2086222abe105f2c040a29030b36c3ddb837f223eca8
|
data/.github/workflows/pdd.yml
CHANGED
data/.github/workflows/xcop.yml
CHANGED
data/Gemfile
CHANGED
@@ -22,10 +22,10 @@ source 'https://rubygems.org'
|
|
22
22
|
gemspec
|
23
23
|
|
24
24
|
gem 'cucumber', '8.0.0', require: false
|
25
|
-
gem 'minitest', '5.
|
25
|
+
gem 'minitest', '5.19.0', require: false
|
26
26
|
gem 'rake', '13.0.6', require: false
|
27
27
|
gem 'rdoc', '6.5.0', require: false
|
28
|
-
gem 'rubocop', '1.
|
29
|
-
gem 'rubocop-rspec', '2.
|
28
|
+
gem 'rubocop', '1.55.1', require: false
|
29
|
+
gem 'rubocop-rspec', '2.23.2', require: false
|
30
30
|
gem 'simplecov', '0.22.0', require: false
|
31
31
|
gem 'xcop', '0.7.1', require: false
|
@@ -48,6 +48,11 @@ class Cobench::Reviews
|
|
48
48
|
loog.debug("There are no reviews in #{repo}##{pr} by @#{@user}")
|
49
49
|
next
|
50
50
|
end
|
51
|
+
pr_json = @api.pull_request(repo, pr)
|
52
|
+
if pr_json[:user][:login] == @user
|
53
|
+
loog.debug("There PR is authored by @#{@user}, skipping it (GitHub API mistake)")
|
54
|
+
next
|
55
|
+
end
|
51
56
|
posted = @api.pull_request_comments(repo, pr).count { |c| c[:user][:login].downcase == @user }
|
52
57
|
posted += @api.issue_comments(repo, pr).count { |c| c[:user][:login].downcase == @user }
|
53
58
|
loog.debug("#{posted} messages posted by @#{@user} to #{repo}##{pr}")
|
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.49
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yegor Bugayenko
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-08-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: backtrace
|