lita-github-pinger 0.1.2 → 0.1.3
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 -1
- 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: 4338d11f8b9f0b66403bfcb9a790f0a1e622ffae
|
4
|
+
data.tar.gz: 89b4c4607cc58a6cf3160cebfb67ecd391c4f6f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b911b2aea74a1d9375d910811a7db30dbdc434cc2cacf4c89fc3f6a0f713cd4426ce715632c57f7df00ec4dfd24d3a6bc794e514877d0c685a4d409e4eaf8ee
|
7
|
+
data.tar.gz: 6651fa3433977488b022db3fcab8fc676af77c0b072bec9d5da2599b2ba6238e7e609cd9513878a89832ab5d61ac17b862358d7b98894d8c765d8d896912917a
|
@@ -7,7 +7,7 @@ module Lita
|
|
7
7
|
route(/@(\w*)/, :detect_comment, command: false)
|
8
8
|
|
9
9
|
def detect_comment(message)
|
10
|
-
|
10
|
+
puts message.user.metadata["name"] + " was detected as a github bot"
|
11
11
|
|
12
12
|
return unless message.user.metadata["name"] == "github"
|
13
13
|
mentioned_username = message.matches[0][0]
|
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.3"
|
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."
|