bitbucket_pr_comment 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/bitbucket_pr_comment +1 -1
- data/lib/bitbucket_pr_comment/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f30f51afde6be8970872e9708ab9457c173c4ff6
|
4
|
+
data.tar.gz: 8306fb75cfe55936e4032ce195b3fa0ac0b00313
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 53a10174f496cb22e2d243be8b3b92934e9594a758f4e38934cd46e2311961848bb44035e8512d0b42d61100757de6cc4c9ccec4d20926b176fd1f9c4b0a46db
|
7
|
+
data.tar.gz: 919a08bf5a1be7a5407455790a0871f1abc369c1a70b9e64cd5427994fc18f5a34d5446719bb48fc39cb9d8ba2a5bc5f4f50d59918a52c1791e7f9d10aca4f49
|
data/exe/bitbucket_pr_comment
CHANGED
@@ -23,7 +23,7 @@ begin
|
|
23
23
|
branch = `git rev-parse --abbrev-ref HEAD`.chomp
|
24
24
|
|
25
25
|
if branch == 'HEAD'
|
26
|
-
branches = `git branch -a --contains`.scan(%r{
|
26
|
+
branches = `git branch -a --contains`.scan(%r{remotes/origin/(.+?)$}).flatten
|
27
27
|
if branches.length == 1
|
28
28
|
branch = branches.first
|
29
29
|
else
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bitbucket_pr_comment
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ABCanG
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-02-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -95,7 +95,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
95
95
|
version: '0'
|
96
96
|
requirements: []
|
97
97
|
rubyforge_project:
|
98
|
-
rubygems_version: 2.
|
98
|
+
rubygems_version: 2.6.8
|
99
99
|
signing_key:
|
100
100
|
specification_version: 4
|
101
101
|
summary: post comment to pull requiest on bitbucket.
|