gitlab-dangerfiles 0.4.0 → 0.5.0

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
  SHA256:
3
- metadata.gz: 9b9595ceec9ab34fce54bc76f5a37cbce7bbfeea2abacf3b778ba818598a49c6
4
- data.tar.gz: 5ca0dfc8e1b1e10f5d9baed64e97324e9e4429069fc30321d87eb1ddbb8df153
3
+ metadata.gz: d044eef9bd28cb411b658eb1211c49a4f0ec769a93121c2fd7ce698fcd10a95c
4
+ data.tar.gz: 56ab60d3e31b399f314a1653b03c81f36efc84493585f00502e36dbc38d0554b
5
5
  SHA512:
6
- metadata.gz: 9920bc082fb11316a74dbd73f790d024e7166cbfe6934c224fb12de700d0430aafbd25039a1a6b019bfc5f2b4616a3de00ca0824faf70425b33d6642051d7778
7
- data.tar.gz: 4738a771af153b99dc713d0c711d8cf1ec54e5f85bb10f3e342ed26bc49a8259b0d6d95bd37173f8f746296d51935d111b263055b0c0470c7ca28356f1b3855d
6
+ metadata.gz: 9ffef7ad5e6f4d1ba093f254f210ed70391a395123b7e7d372b4cd947145d9a4958d88454e414686bf292822434ab54087a14c912cf7c16e832ff3b3aeb0d340
7
+ data.tar.gz: 804db12887f8acf6bcd4cded8d420537c508bf66a684d53522fcaa96b6f7c60f959ad0b86484bded1c9aac19abcf6aa6be38c90e1ba9e47b759670b9a0eaeb0a
@@ -32,10 +32,8 @@ module Gitlab
32
32
  projects&.has_key?(name)
33
33
  end
34
34
 
35
- # Traintainers also count as reviewers
36
35
  def reviewer?(project, category, labels)
37
- has_capability?(project, category, :reviewer, labels) ||
38
- traintainer?(project, category, labels)
36
+ has_capability?(project, category, :reviewer, labels)
39
37
  end
40
38
 
41
39
  def traintainer?(project, category, labels)
@@ -1,5 +1,5 @@
1
1
  module Gitlab
2
2
  module Dangerfiles
3
- VERSION = "0.4.0"
3
+ VERSION = "0.5.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab-dangerfiles
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rémy Coutable
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-09-24 00:00:00.000000000 Z
11
+ date: 2020-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: danger