lita-github-pinger 0.7.4 → 0.7.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/lib/lita/handlers/github_pinger.rb +5 -0
- data/lita-github-pinger.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: fefae430e666059a708616ee469943a3f10b5b8f
|
|
4
|
+
data.tar.gz: 52fb963fede4cbaf23eb14c17a19146f5637aeac
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e247d735dee12f913d0d6c7dbb09c7768295866dd5bce29553c98aa1ab06d7987e44b763f78b0565799ba00d3733163b9df7eff7176d217ec86480275a5a3c35
|
|
7
|
+
data.tar.gz: e3177c0c6ad56b7e62440cea222021cdb5f22be4f15dd32a749e5a54a1b786d3d24bd46a12c3686012bbf0e702ec300cc78b8d3289d55f610037088f21969946
|
|
@@ -164,6 +164,11 @@ module Lita
|
|
|
164
164
|
puts "Sending DM to #{chosen_reviewer}..."
|
|
165
165
|
send_dm(chosen_reviewer, message)
|
|
166
166
|
|
|
167
|
+
pr_owner = find_engineer(github: body["pull_request"]["user"]["login"])
|
|
168
|
+
assignment_message = "#{chosen_reviewer} has been notified via round-robin to review #{body["pull_request"]["html_url"]}"
|
|
169
|
+
puts "Notifying #{pr_owner} of assignment."
|
|
170
|
+
send_dm(pr_owner[:usernames][:slack], assignment_message)
|
|
171
|
+
|
|
167
172
|
response
|
|
168
173
|
end
|
|
169
174
|
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.7.
|
|
3
|
+
spec.version = "0.7.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."
|
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.7.
|
|
4
|
+
version: 0.7.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Taylor Lapeyre
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-05-
|
|
11
|
+
date: 2018-05-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: lita
|
|
@@ -134,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
134
134
|
version: '0'
|
|
135
135
|
requirements: []
|
|
136
136
|
rubyforge_project:
|
|
137
|
-
rubygems_version: 2.
|
|
137
|
+
rubygems_version: 2.5.1
|
|
138
138
|
signing_key:
|
|
139
139
|
specification_version: 4
|
|
140
140
|
summary: A Lita handler that detects github comment notifications and regurgitates
|