tutter-jenkins 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/.gemspec +1 -1
- data/lib/tutter/action/jenkins.rb +5 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YzUwOTJkM2NlZmNiNmVlOGYwMDQ1N2RkN2M1NmQwOGIzNWZjZDQ5Ng==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NTZjZTEzZTdkMjdjMDhmNTM2N2I0MmM3OTZkYzhjYWExMmYyNzAxMQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NmU1MGQ4MjdjMDFhODE4NjBkYjdkYjM4NTI5ZDhiODczN2U2ZWMxYWRkMTcw
|
10
|
+
NGNkMGNhOWQzZTI0NDZiZjcwMDdkZTkyNjc4OTUwNGQxZDcwY2QzZjhlNTdj
|
11
|
+
MjNiNjU2MDgzOWJjODllMjFmZTc4NzhiMzkxM2IwZTgyMzRhNTI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MTMzYWNmYjMzODFhMzgzZjU2NDkwYmM3MjFhYmQxOGEzMjhmZDYwNGQ5YjMx
|
14
|
+
ODc3ZDY4MTU3NWMyOTgxYzE1MGUyNzYyYmMwYTBlN2FjYTI0YzdmODg5NDFl
|
15
|
+
YjkwZmY3MjYzMDliODZiMzNiY2FiYWQyMmRmNjRiNjUzZTNlZWE=
|
data/.gemspec
CHANGED
@@ -12,6 +12,11 @@ class Jenkins
|
|
12
12
|
pull_request_id = @data['issue']['number']
|
13
13
|
puts "pull request id: #{pull_request_id}"
|
14
14
|
|
15
|
+
if @data['issue']['state'] != 'open'
|
16
|
+
puts "The issue state is #{@data['issue']['state']}"
|
17
|
+
return false
|
18
|
+
end
|
19
|
+
|
15
20
|
comments = @client.issue_comments(@project, pull_request_id)
|
16
21
|
last_comment = comments.last
|
17
22
|
|
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.4
|
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-
|
11
|
+
date: 2014-10-23 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
|