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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 189085be14ccd0d2e7112a120315b6e732c72481
4
- data.tar.gz: 34402020330db1ce0a9fef51299f8dc3a202ae5e
3
+ metadata.gz: 65346744bb187008871cc23309602ba31ddc4097
4
+ data.tar.gz: a16658ae864ecf9cf98696bd0ee48e581f91449a
5
5
  SHA512:
6
- metadata.gz: 56a9d137c0fffe5a844980d37bf6ed5e35da8fac626c0ac76e65ef5313fd95a3c597ce320048d4e079a83d08211a82d856b7f919a6f6a7953d0722d968278dba
7
- data.tar.gz: 51c9301336ec8da792d939a8da7080bc850b1f3e72d36a973d15921755ce8263a6de24c5ed4f1e8a73fc57aea01c69f7577900b792498c099b49072ac1a372c4
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!* #{assigner[:slack]} has assigned you to review their pull request:\n#{pr_url}"
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)
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "lita-github-pinger"
3
- spec.version = "0.5.1"
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.1
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-12 00:00:00.000000000 Z
11
+ date: 2015-08-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lita