lita-github-pinger 0.1.6 → 0.1.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 67d929336fc72546a61b9696fa8fc16f0283d90d
|
4
|
+
data.tar.gz: 1d44bc1672edb1ad9cd4b3219a8c3373a1a5e11d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3701ed7c9338dd35b832bac51cded52c4b84fbdf1fadad4c87b7b626e25940fb7601e1e1d6dd1f63933b4bbed626b7760b7f65230bdda04b0d2ffe999916551
|
7
|
+
data.tar.gz: df0201ce3f0c729a10a20ec3e397769461c0c94a076bf7736e231fc9b56e9bf19ff4f4277cd27fea046be5c31f7c12d4562831ffb0397b5fb3099b3128defb68
|
@@ -23,10 +23,12 @@ module Lita
|
|
23
23
|
config.engineers.each do |engineer|
|
24
24
|
if engineer[:github] == mentioned_username
|
25
25
|
content = %Q{#{engineer[:slack]}, you were mentioned by #{comment_author}:
|
26
|
-
http://github.com/everlane/everlane.com/
|
26
|
+
http://github.com/everlane/everlane.com/pull/#{pr_id}
|
27
27
|
> #{comment_text}
|
28
28
|
}
|
29
29
|
message.reply(content)
|
30
|
+
user = Lita::User.find_by_name(engineer[:slack])
|
31
|
+
robot.send_message(user, content)
|
30
32
|
end
|
31
33
|
end
|
32
34
|
end
|
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.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."
|
@@ -49,7 +49,7 @@ Comment by thenanyu
|
|
49
49
|
@taylorlapeyre hai
|
50
50
|
})
|
51
51
|
expect(replies.last).to eq %q{taylor, you were mentioned by thenanyu:
|
52
|
-
http://github.com/everlane/everlane.com/
|
52
|
+
http://github.com/everlane/everlane.com/pull/1137
|
53
53
|
> @taylorlapeyre hai
|
54
54
|
}
|
55
55
|
end
|