tutter-jenkins 0.0.2 → 0.0.3
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/.gemspec +2 -2
- data/lib/tutter/action/jenkins.rb +0 -4
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
ZDBlYzI2MTJlYjE2YjA3MGIxNTdlMDAwMmIwZTllNDIwMmRmMTk4Zg==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
NWRmZDMxMzEyNGMyOTEyMTkwYjE0M2IxNzRmZDVlNjU4N2QwM2JlYQ==
|
|
7
7
|
!binary "U0hBNTEy":
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
MTEzYzgzZjY3Mzg3YjliNjYwOGM5M2Q2MGEzNmRmNjI1ZDQxMWJmNzNjNzdi
|
|
10
|
+
NDUwYjZhOWUwZmFkYTM2MTkxNTFkN2U4NGQzYTM2NzcyMjk4YmQ1N2UwM2Ex
|
|
11
|
+
YTRlMmIzZDBlMjc4MDc4ZjEyMzEwNDA0ZmRkNDhlNTUwMmNkYjU=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
ZjY4YzM5NGExYTExMTE3YzIzZmMxMmZlOTI3ZDNlNmZlMTEzNzkxYjUzOWNi
|
|
14
|
+
ZjdmM2Y1ODFlYTI1NjE1NDY3NDc3MzlhMDA0MWNjYWNiNzNiMzU2MmZiZjdm
|
|
15
|
+
MDZhNDQ2NzRiOTg5NTBkZTI1NjE4M2M0NDEwNWYyN2JhMTU4ZTM=
|
data/.gemspec
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
|
2
2
|
Gem::Specification.new do |s|
|
|
3
3
|
s.name = 'tutter-jenkins'
|
|
4
|
-
s.version = '0.0.
|
|
4
|
+
s.version = '0.0.3'
|
|
5
5
|
s.author = 'Alexey Lapitsky'
|
|
6
6
|
s.email = ['alexey@spotify.com']
|
|
7
|
-
s.homepage = 'https://
|
|
7
|
+
s.homepage = 'https://github.com/spotify/tutter-jenkins'
|
|
8
8
|
s.summary = 'Merges pull requests if tests PASS'
|
|
9
9
|
s.description = 'This tutter action let non collaborators review and merge code without having more then read access to the project'
|
|
10
10
|
s.license = 'Apache 2.0'
|
|
@@ -22,10 +22,6 @@ class Jenkins
|
|
|
22
22
|
end
|
|
23
23
|
|
|
24
24
|
pr = @client.pull_request @project, pull_request_id
|
|
25
|
-
if pr.mergeable_state != 'clean'
|
|
26
|
-
@client.add_comment(@project, pull_request_id, "Please rebase your change, merge state is #{pr.mergeable_state}")
|
|
27
|
-
return false
|
|
28
|
-
end
|
|
29
25
|
|
|
30
26
|
unless pr.mergeable
|
|
31
27
|
@client.add_comment(@project, pull_request_id, "Please rebase your change, pull request is not mergeable")
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tutter-jenkins
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alexey Lapitsky
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-02
|
|
11
|
+
date: 2014-09-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: This tutter action let non collaborators review and merge code without
|
|
14
14
|
having more then read access to the project
|
|
@@ -21,7 +21,7 @@ files:
|
|
|
21
21
|
- .gemspec
|
|
22
22
|
- README.md
|
|
23
23
|
- lib/tutter/action/jenkins.rb
|
|
24
|
-
homepage: https://
|
|
24
|
+
homepage: https://github.com/spotify/tutter-jenkins
|
|
25
25
|
licenses:
|
|
26
26
|
- Apache 2.0
|
|
27
27
|
metadata: {}
|