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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6f8065083222641e5df4268b79de9f171cf153e0
4
- data.tar.gz: 682ca1ffe9e6966d00c9b15665ec346080809afa
3
+ metadata.gz: 132861a367db45aa2ce1ea45519069a9d14f8a43
4
+ data.tar.gz: 9d5c20aaf054a672c4db89411824b76957fbd0b8
5
5
  SHA512:
6
- metadata.gz: b3a5981143fd8084f7e60d7b4c02e93ebbe0f0b32ee7f955390136683c17c937aa3790016c6082e2bf8588fb18eb556b8061242245f5848d19a5e4ae6b15327d
7
- data.tar.gz: f6a735b679ee233c78722cc0320a43f2e4f08d575f5a3b6df19f96463f072fdbc1bf169d2620e347a5cd148311e752e8e7c4be13c43b94e97ace1a19cf602b2a
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: github["commit"]["committer"]["login"])
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: github["commit"]["committer"]["login"])
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."
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "lita-github-pinger"
3
- spec.version = "0.5.9"
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."
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-github-pinger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.9
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Taylor Lapeyre