lita-github-pinger 0.1.4 → 0.1.5
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 +1 -3
- 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: 3b5e3bf8f9557663e6b1fcc9cd891aca132f4dfe
|
4
|
+
data.tar.gz: aff9d9747cde46cab4e86b6fae38e0cdcada32cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 464979d993761a7c2a91d9a3ab13cff69804ca6e810cf37df879f97cc6f81c68d2377afb4281b05092548193a4e7002a1521100fb2a965f48721d230ec588f85
|
7
|
+
data.tar.gz: 3b3b5fa464d9cebf2bcb52cf0c344499330d0c9989801411ec493302e209f4a1b0a29922bdaa5723c423229770ee21a4fb7b309ddfb8f2c01c91fc836c970f40
|
@@ -7,9 +7,7 @@ module Lita
|
|
7
7
|
route(/@(\w*)/, :detect_comment, command: false)
|
8
8
|
|
9
9
|
def detect_comment(message)
|
10
|
-
|
11
|
-
|
12
|
-
return unless message.user.metadata["name"] == "github"
|
10
|
+
return unless message.user.metadata["name"] == "" # Integrations don't have names
|
13
11
|
mentioned_username = message.matches[0][0]
|
14
12
|
|
15
13
|
# side effects intentional
|
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.1.
|
3
|
+
spec.version = "0.1.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."
|