lita-github-pinger 0.5.9 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lita/handlers/github_pinger.rb +2 -2
- data/lita-github-pinger.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 132861a367db45aa2ce1ea45519069a9d14f8a43
|
4
|
+
data.tar.gz: 9d5c20aaf054a672c4db89411824b76957fbd0b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 128d548eb5c2d9a1c04fcb72b61208043d282c3825a4e8f2b13a2443b78c16324f652f4bfa8c7f25d47904240eebd6880440d353363b76915d8873288182ebe2
|
7
|
+
data.tar.gz: 3090970665186d8b6398b8400254cb9afed647af5b01120ac67946e013475cdd12cb946471c89383b7f47a35fb46be902b0d6494112499a443f819b6d794b5ed
|
@@ -65,7 +65,7 @@ module Lita
|
|
65
65
|
|
66
66
|
def act_on_build_failure(body, response)
|
67
67
|
commit_url = body["commit"]["html_url"]
|
68
|
-
committer = find_engineer(github:
|
68
|
+
committer = find_engineer(github: body["commit"]["committer"]["login"])
|
69
69
|
|
70
70
|
puts "Detected a travis build failure for commit #{body["sha"]}"
|
71
71
|
message = ":x: Your commit failed some tests."
|
@@ -79,7 +79,7 @@ module Lita
|
|
79
79
|
|
80
80
|
def act_on_build_success(body, response)
|
81
81
|
commit_url = body["commit"]["html_url"]
|
82
|
-
committer = find_engineer(github:
|
82
|
+
committer = find_engineer(github: body["commit"]["committer"]["login"])
|
83
83
|
|
84
84
|
puts "Detected a travis build success for commit #{body["sha"]}"
|
85
85
|
message = ":white_check_mark: Your commit has passed its travis build."
|
data/lita-github-pinger.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |spec|
|
2
2
|
spec.name = "lita-github-pinger"
|
3
|
-
spec.version = "0.
|
3
|
+
spec.version = "0.6.0"
|
4
4
|
spec.authors = ["Taylor Lapeyre"]
|
5
5
|
spec.email = ["taylorlapeyre@gmail.com"]
|
6
6
|
spec.description = "A Lita handler that detects github comment notifications and regurgitates a ping to the correct slack username."
|