gitarro 0.1.72 → 0.1.73
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 +4 -4
- data/bin/gitarro +1 -1
- data/lib/gitarro/opt_parser.rb +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8ee04d11eed0d924ac68fcdfcc18a2406d70d21f
|
|
4
|
+
data.tar.gz: 6fa419d12c99968b3b64643ab349e5098544869d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
-
|
|
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.
|
data/lib/gitarro/opt_parser.rb
CHANGED
|
@@ -49,7 +49,8 @@ module OptionalOptions
|
|
|
49
49
|
end
|
|
50
50
|
|
|
51
51
|
def branch_opt(opt)
|
|
52
|
-
|
|
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
|