lita-github-pinger 0.2.6 → 0.2.7

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: 041e209362ccd29f025944a48842036a871f7510
4
- data.tar.gz: 46202970c465eb7b519e3235bf399f118f4e7024
3
+ metadata.gz: 9af7217a4ae5e859024debdbf410227539554459
4
+ data.tar.gz: 577fdfe8ada3bc2e8eceeda207f072dad7fc7db1
5
5
  SHA512:
6
- metadata.gz: a50e8364761a1b3fd47b605eca318e424a6aa04531e594799de28f3d2c8a8d47fce28ed8805133584d4e0c59d6f09025e1ded4ae1b0a2e04cd0cf14dc1e52b3a
7
- data.tar.gz: 21cc6e5dd52e96b7e55534325cb7c8f8dd19423292d03d5db008afc8eebac1cdb46fe60b1d9ae40e5d433c03a8bfd17a6b0c066a43e2afd2573e6cfec1c2f5e3
6
+ metadata.gz: 6112ec76bef1a5b39454980e221559d6c50357dd8b9e708b4403102506f3f1e927841a3d19a5dabdc00f4799db4e5bb37818e05af3b434b3b8e7900ed166ae2a
7
+ data.tar.gz: 56ece8a490bc003463cfd150e39c5795207331634148510ea26c0d9433ddc1c418646c9f8e9d8f5fd29bfe82db9cad459cdeae737d89f880e03bdeae58195d2f
@@ -12,7 +12,7 @@ module Lita
12
12
  body = MultiJson.load(request.body)
13
13
  p body
14
14
 
15
- if body["events"].include?("pull_request_review_comment")
15
+ if body["hook"]["events"].include?("pull_request_review_comment")
16
16
  send_dm("taylor", "Pull Request Comment: ```#{body}```")
17
17
  else
18
18
  send_dm("taylor", "Pull Request Event: ```#{body}```")
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "lita-github-pinger"
3
- spec.version = "0.2.6"
3
+ spec.version = "0.2.7"
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.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Taylor Lapeyre