gitarro 0.1.72 → 0.1.73

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
  SHA1:
3
- metadata.gz: df668789d444148092fe85a0ec354a210c8bf07d
4
- data.tar.gz: 946e22c1f04311db87a7a7e68c758e8db8af2044
3
+ metadata.gz: 8ee04d11eed0d924ac68fcdfcc18a2406d70d21f
4
+ data.tar.gz: 6fa419d12c99968b3b64643ab349e5098544869d
5
5
  SHA512:
6
- metadata.gz: ccd9fdd3a9b7a6cbf3295f61554c3742db607393805e5c3bccd98e13b1a4637bae89d3078ca53cbed3249b1664186c6eb1202ca2f46b405829d5a225fb448f96
7
- data.tar.gz: 35307631c827d2009c6c1bd9a5477949636b7d6345999d996794594cbc3a0e89bf576208e4660f1fd8c0f06f9807a3d99f8970adda2aead8b5c383b1b33ec4d2
6
+ metadata.gz: 5db710a0568500b5a4f2c555d21720a330d6e31030824a3b81c3c9376e2a355f234549e92e800b620bc7a3897b4396d56256c16671dcff3c8a7664c215659faf
7
+ data.tar.gz: 2fd75cfc4e7ab775ea8e666b76772d9d4d05dcb41ce1624537f23c9b3337a8accd990a25a2c4638305219bfd4a3536fa550cf9a04965fef2f622bdfac4c850c5
data/bin/gitarro CHANGED
@@ -14,7 +14,7 @@ exit 0 if prs.empty?
14
14
  prs.each do |pr|
15
15
  puts '=' * 30 + "\n" + "TITLE_PR: #{pr.title}, NR: #{pr.number}\n" + '=' * 30
16
16
  # check if prs contains the branch given otherwise just break
17
- break unless b.pr_equal_spefic_branch?(pr)
17
+ next unless b.pr_equal_spefic_branch?(pr)
18
18
  # this check the last commit state, catch for review or not reviewd status.
19
19
  comm_st = b.client.status(b.repo, pr.head.sha)
20
20
  # pr number trigger.
@@ -49,7 +49,8 @@ module OptionalOptions
49
49
  end
50
50
 
51
51
  def branch_opt(opt)
52
- opt.on('-b', "--branch 'GITHUB BRANCH'", 'GitHub Branch') do |b|
52
+ desc = 'run tests only if the pr target the upstream branch specified'
53
+ opt.on('-b', "--branch 'GITHUB BRANCH'", desc) do |b|
53
54
  @options[:branch] = b
54
55
  end
55
56
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitarro
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.72
4
+ version: 0.1.73
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dario Maiocchi