lita-github-pinger 0.3.4 → 0.3.5

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: f300744a780f89cb57d7284ae594ad2ffc96b203
4
- data.tar.gz: 6424e141e9b783f9ce8366f332c0a483177d3db1
3
+ metadata.gz: 20d6918685792554a1e462b3c7f6ebfd15f0f984
4
+ data.tar.gz: 7c2a61d4cd52fbf6b45682effd249a14cf01b0f0
5
5
  SHA512:
6
- metadata.gz: 9e624b3029bfc2ebf6dda6114c304e0a5ffea35f6027c64bc25c11dd6692e6bc34c54a60e617e4d045e16f0aee69ecb64e80f14882703c62230e73f1ef0d3e6c
7
- data.tar.gz: 9206f8287f2739520b4ef1fa4e9981e3564de1a93eef35ab9bcac2d6d06e51bf7368625d47fcbe62de2ae316ce7634bb17564e4f7f797196e8c06110f018cfc4
6
+ metadata.gz: 799f6aa5d398df1e85f2190947442d2c8091ab96bbdeecd67d14329326f376bed6a299aea1712d991d386baf50ceeff236f275e846e54b4213c419dcfe84b580
7
+ data.tar.gz: 4eea3cc8c46ac6926982fe62e945ea98da2f5e4e4d558fa607cba3bf06b6fdc2013e0074af9aad9a4aa25bb9e25827a9659afaacfa2187827e7652e6b5e40f48
@@ -12,6 +12,8 @@ module Lita
12
12
  body = MultiJson.load(request.body)
13
13
 
14
14
  if body["comment"]
15
+
16
+ puts "GOT A PR COMMENT"
15
17
  pr_url = body["pull_request"]["html_url"]
16
18
  pr_owner = body["pull_request"]["user"]["login"]
17
19
  commenter = body["comment"]["user"]["login"]
@@ -28,6 +30,8 @@ module Lita
28
30
  message = "New PR comment from #{commenter}:\n"
29
31
  message += "#{pr_url}\n> #{comment}"
30
32
 
33
+ puts "Sending to #{pr_owner}"
34
+
31
35
  send_dm(pr_owner, message)
32
36
  end
33
37
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "lita-github-pinger"
3
- spec.version = "0.3.4"
3
+ spec.version = "0.3.5"
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.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Taylor Lapeyre