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 +4 -4
- data/README.md +2 -0
- data/lib/danger_plugin.rb +1 -1
- data/lib/version.rb +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: 53d1be04d0ce9f5f6dd9ab430aa170611a5c3bc0
|
4
|
+
data.tar.gz: 923f4c54eb816937c55399e424ab5a52e603e4c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/danger_plugin.rb
CHANGED
@@ -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
|
data/lib/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2017-07-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: danger
|