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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: d2ba28e24a3ad215b12870f7f2613a1aef313c5a568009bbfeea688e4b7a8f89
4
- data.tar.gz: 14f5c4a08aefcca80bed29a351e154cc0859c5ff09a82dfd647aa6334d7c8016
2
+ SHA1:
3
+ metadata.gz: fefae430e666059a708616ee469943a3f10b5b8f
4
+ data.tar.gz: 52fb963fede4cbaf23eb14c17a19146f5637aeac
5
5
  SHA512:
6
- metadata.gz: c99101ed78718c075d8791b698558d903e7e83b8cfbfc5080ab6694298d6e59445204ea36692f322936bc6574e7f609aa80671e268c8c33eed9237ce06fca271
7
- data.tar.gz: fc71555742e8876720d4d8b7f6833134d4ff5f80c8044ae110b585969c6e37f4f23153eb0fac2c1ba14649928194df1a0ccda7c67c5743681b87f89c857bc5e5
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
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "lita-github-pinger"
3
- spec.version = "0.7.4"
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
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-04 00:00:00.000000000 Z
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.7.6
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