tutter-sppuppet 1.2.3 → 1.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/tutter/action/sppuppet.rb +4 -1
- data/tutter-sppuppet.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MDRjMDAyNDA0M2E2OGRhOTJmYzI4MjQ3NDJlNmIxMWI0YzE0N2E0Zg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MDE5OTdkODc0ZTRlODViYjU4YmFmMWQwYTk1ZjJmNDQ1ZDBlYzEzZg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZWQzM2RlYzQ2NjIyNzNkZWI4OGU2MjM5NWNjZmY5YjgyMjVjMDdiMmIyZDNk
|
10
|
+
ODdhMDg1OWM5ZGZjODVhOGFmNzI0N2NiYjg4ZTgzMzhjZGU1NjllNTQ3MGUz
|
11
|
+
YWYyYTcxZGM1OTlkNjQ3NGNmMmFhNmI3OTQ3NGRiMzIyZWFmY2U=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NjZiZmVkMWRlNzVjYzY3YWM2YjgzY2U1ZThiMmNjOWM0MGQzZjE4YjE4NTA0
|
14
|
+
NDdkN2ZiNjM5ODgzNjM3ZmVhMWVmODhkMzJhNTljMjY2OWY5Y2NhNjA2M2Mw
|
15
|
+
YzY5ZDQzZjlmNzc4NGMzZGFhMTQ0YmVkZjlkM2FmZjczOTA4YTk=
|
@@ -26,8 +26,11 @@ class Sppuppet
|
|
26
26
|
return 200, 'not a new comment, skipping'
|
27
27
|
end
|
28
28
|
|
29
|
-
|
29
|
+
if @data['sender']['login'] == @client.user.login
|
30
|
+
return 200, 'Skipping own comment'
|
31
|
+
end
|
30
32
|
|
33
|
+
pull_request_id = @data['issue']['number']
|
31
34
|
merge_command = MERGE_COMMENT.match(@data['comment']['body'])
|
32
35
|
|
33
36
|
return 200, 'Not a merge comment' unless merge_command
|
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.4'
|
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'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tutter-sppuppet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Johan Haals
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2015-11-
|
13
|
+
date: 2015-11-30 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: tutter
|