tutter-sppuppet 1.2.8 → 1.2.9
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 +8 -8
- data/lib/tutter/action/sppuppet.rb +2 -2
- data/tutter-sppuppet.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
MGM1ZGU5ODBlYWU5MjliZjQ3ZDYzMzNjOTY3OTIyM2Q3ZTM5Njg2OQ==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
MGMxZTJlYjEwOGY3NThhNjIyMGU2ZjQ3MDM2NDk2MmM4NDQwODQ3Mw==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
YjBjNjRjNGNiMjEzZDYwODBhYTI2NGFhNDYzZTU3MTZjNjg0ZTA3M2EwMjlj
|
|
10
|
+
YjMwYWNjNzcwMWYwMGRlZWM0NGU3NDUyNmJmMTA2ZjA4ZjZiNDdlMmRiZTlj
|
|
11
|
+
NjQ2ZWFhNTNhYTRkZWUxNzhmMTA2YjBhYWU1MDVhY2EzZDNjNmE=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
YzNjZDM2MjA0YmNhZDBlNmFlZTYyYjdlZmZkMzgwYWQ3YmIwMzk2ZWQ1NTli
|
|
14
|
+
ZjdjNmY1NmQwOTA5NTJjNDcwNGE4YjVkNzBkOWVlOTAxZTMzNjkyMjQ4ZGE1
|
|
15
|
+
YTEwYTk1ZDZkMzFhZjkyYWYzZDE4MDMzYzM1ZjZhNDdmZDMxNTI=
|
|
@@ -101,7 +101,7 @@ class Sppuppet
|
|
|
101
101
|
end
|
|
102
102
|
|
|
103
103
|
if DELETE_BRANCH_COMMENT.match(i.body)
|
|
104
|
-
@
|
|
104
|
+
@delete_branch = true
|
|
105
105
|
end
|
|
106
106
|
|
|
107
107
|
if PLUS_VOTE.match(i.body) && pr.user.login != commenter
|
|
@@ -171,7 +171,7 @@ MERGE_MSG
|
|
|
171
171
|
begin
|
|
172
172
|
merge_commit = @client.merge_pull_request(@project, pull_request_id, merge_msg)
|
|
173
173
|
# If a owner posted a chop comment and was successfully merged delete the branch ref
|
|
174
|
-
@client.delete_branch(
|
|
174
|
+
@client.delete_branch(pr.head.repo.full_name, pr.head.ref) if @delete_branch
|
|
175
175
|
rescue Octokit::MethodNotAllowed => e
|
|
176
176
|
return post_comment(pull_request_id, "Pull request not mergeable: #{e.message}")
|
|
177
177
|
end
|
data/tutter-sppuppet.gemspec
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
|
2
2
|
Gem::Specification.new do |s|
|
|
3
3
|
s.name = 'tutter-sppuppet'
|
|
4
|
-
s.version = '1.2.
|
|
4
|
+
s.version = '1.2.9'
|
|
5
5
|
s.author = ['Johan Haals', 'Erik Dalén', 'Alexey Lapitsky']
|
|
6
6
|
s.email = ['johan.haals@gmail.com', 'dalen@spotify.com', 'alexey@spotify.com']
|
|
7
7
|
s.homepage = 'https://github.com/jhaals/tutter-sppuppet'
|