danger-mention 0.6.0 → 0.6.1

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: 7e43a52772ece5e47082fc17bc2a4a4347716c81
4
- data.tar.gz: bab8674d4d4fb7870f8c6d1a00ddace25657b3d6
3
+ metadata.gz: 53d1be04d0ce9f5f6dd9ab430aa170611a5c3bc0
4
+ data.tar.gz: 923f4c54eb816937c55399e424ab5a52e603e4c3
5
5
  SHA512:
6
- metadata.gz: 0689580ec954452ef86e27aaf2f667ea83f59e90817e71ac86a93debb49c099ff30faf88ec58d3b0114d3eeb6d42927464d34ba0b86807b592c9e1214f7a77b1
7
- data.tar.gz: 3eced031241e2c3be33873c1e23383f491ca12948de035fc247e270c37cab84203a0d0591dd24e6c93cc6169e7bd7abe8845d76900498aeddc97012d3644ab38
6
+ metadata.gz: 68823066a4240deacf19b5ebff0fbc7173ba9932cf3c28791028a6b26b743e6dc2f35808b5c2d681c4fed885f6dab7816bfde0fbfa94aacdbbe7880cd1ebd7a1
7
+ data.tar.gz: 5920481bce44939ca8ecf8210814cfaa2b34710d93a33e60c7cb16c3f9e0985fe0781da574292ab66d7e1933bd5157d71b0f5af5c50d90898b5a0b36f6bc3085
data/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  A [Danger](https://github.com/danger/danger) plugin to automatically mention potential reviewers on pull requests on GitHub and GitLab.
4
4
 
5
+ **Note**: This plugin uses the web-scraping of GitHub.com and GitLab to detect the authors to find potential reviewers. This might cause the plugin to break if either of those pages introduce design changes.
6
+
5
7
  ## Installation
6
8
 
7
9
  $ gem install danger-mention
@@ -125,7 +125,7 @@ module Danger
125
125
  users = users.select { |k, _| !user_blacklist.include? k }
126
126
  users = users.sort_by { |_, value| value }.reverse
127
127
 
128
- users[0...max_reviewers].map { |u| u[0] }
128
+ users[0...max_reviewers].map { |u| u[0] }.compact
129
129
  end
130
130
 
131
131
  end
@@ -1,4 +1,4 @@
1
1
  module DangerMention
2
- VERSION = '0.6.0'.freeze
2
+ VERSION = '0.6.1'.freeze
3
3
  DESCRIPTION = 'Danger plugin to automatically mention potential reviewers on pull requests'
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: danger-mention
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wojtek Lukaszuk
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-10 00:00:00.000000000 Z
11
+ date: 2017-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: danger