cobench 0.0.31 → 0.0.32

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b950466b65dafeb1dc0ec2066fcd3a61e75d0470b2810944181a0a7704d8b2d6
4
- data.tar.gz: cb692c9353443c05b1b4912a76305617212d532da458ff86ea1df12e2d11f406
3
+ metadata.gz: 862a9495f75a20749f29e93af9d8019e0b388c1f1628bc7d59db8193d1473b21
4
+ data.tar.gz: 95772672a309295380adeb8a8f624edbf2353c2a96be28e8b7fc3f2e65cf31b5
5
5
  SHA512:
6
- metadata.gz: 5bbbbe914c7a2a627d518d1eb5b5baf1466bd60d15252098fcf9d0e2b7a3b41c3ceaeed22df4603b7e8ae404dff45e155b876290866e6ade19dffa47673e70f0
7
- data.tar.gz: 460efed0d36d92adbe5549cb3299cf0071aa299dadf98e45a964b6e79f75d838b4f44d74a7d24a4532b9cb3f3c96d0b5e4c4ec9d3ecb129d42a9e79039c463eb
6
+ metadata.gz: 48710b9f7e18c421b95abe5efec899d7641fb3fd80fa706257cbd0d7ed3c752ab00e6d3a40372afe47ce083b8dc319c9190b242e95a81561e60f5cee82a078f6
7
+ data.tar.gz: 4a06820fe76ad19d10c5919b5fb8e23a3ab314fb5b4101079e740f706b0b190a105c247a4932617421b012ce7cc86a03750e4efbd2d5322b9710fa87dd5f9104
data/features/cli.feature CHANGED
@@ -15,6 +15,11 @@ Feature: Simple Reporting
15
15
  Then Stdout contains "XML saved to"
16
16
  And Exit code is zero
17
17
 
18
+ Scenario: Simple report through real GitHub API
19
+ When I run bin/cobench with "--coder=yegor256 --include=*/* --days=1 --verbose"
20
+ Then Stdout contains "XML saved to"
21
+ And Exit code is zero
22
+
18
23
  Scenario: Simple report with defaults
19
24
  Given I have a ".cobench" file with content:
20
25
  """
@@ -43,7 +43,7 @@ class Cobench::Pulls
43
43
  pr = p.pull_request.url.split('/')[-1]
44
44
  repo = p.repository_url.split('/')[-2..-1].join('/')
45
45
  next unless Cobench::Match.new(@opts, loog).matches?(repo)
46
- orgs += p.repository_url.split('/')[-2]
46
+ orgs << p.repository_url.split('/')[-2]
47
47
  pr_json = @api.pull_request(repo, pr)
48
48
  hocs = pr_json.additions + pr_json.deletions
49
49
  hoc += hocs
@@ -23,5 +23,5 @@
23
23
  # Copyright:: Copyright (c) 2022 Yegor Bugayenko
24
24
  # License:: MIT
25
25
  module Cobench
26
- VERSION = '0.0.31'.freeze
26
+ VERSION = '0.0.32'.freeze
27
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cobench
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.31
4
+ version: 0.0.32
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yegor Bugayenko