lita-github-pinger 0.5.1 → 0.5.2
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 +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 65346744bb187008871cc23309602ba31ddc4097
|
4
|
+
data.tar.gz: a16658ae864ecf9cf98696bd0ee48e581f91449a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3033410fcff08f75c0133e78d782309f10a400d2ac59b7692f2ab4b76bb3f439c35081aa7f0864039f841a4c2b016d9d3e573b96d8fb9619c53953edfd251b59
|
7
|
+
data.tar.gz: eb45a2df2f19e56235aa2839895273abb810b86d242488e41761e0df8a4a7d0b2c11a851dcd22430036f60081e7daaf22fdef899a75b59993e462e843b01b62c
|
@@ -43,13 +43,11 @@ module Lita
|
|
43
43
|
def act_on_assign(body, response)
|
44
44
|
puts "Detected that someone got assigned to a pull request."
|
45
45
|
assignee = find_engineer(github: body["pull_request"]["assignee"]["login"])
|
46
|
-
assigner = find_engineer(github: body["pull_request"]["user"]["login"])
|
47
46
|
|
48
47
|
puts "#{assignee} determined as the assignee."
|
49
|
-
puts "#{assigner} determined as assigner."
|
50
48
|
|
51
49
|
pr_url = body["pull_request"]["html_url"]
|
52
|
-
message = "*Heads up!*
|
50
|
+
message = "*Heads up!* You've been assigned to review a pull request:\n#{pr_url}"
|
53
51
|
|
54
52
|
puts "Sending DM to #{assignee}..."
|
55
53
|
send_dm(assignee[:slack], message)
|
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.5.
|
3
|
+
spec.version = "0.5.2"
|
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,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lita-github-pinger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Taylor Lapeyre
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-08-
|
11
|
+
date: 2015-08-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lita
|