gitlab_quality-test_tooling 0.2.1 → 0.2.2
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
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b6aca93da1e251be67dab8c377c542ddfdba84392efb41949b62b42fabb283d3
|
|
4
|
+
data.tar.gz: 32d0c338138afaeaf0f47a38cced840387ed07c55e63631847bc59a3bfb20842
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3af4b645bb8c495ed38ce06964de0008e31fbd2a097f374339874aa9f7d9b1967cd6b7c3fae7ad46188120ece0103058864e9601a68e38812002529df6ac89c0
|
|
7
|
+
data.tar.gz: 6c1670e30153abb2af66e098c6a89fc13140d71bf1b7aa82ed06793006c8c702bfd5d4345ced0737168f7efb6c288734828a1726a905e16d4d97f2785bc9692b
|
data/Gemfile.lock
CHANGED
|
@@ -23,7 +23,7 @@ module GitlabQuality
|
|
|
23
23
|
module TestTooling
|
|
24
24
|
# The GitLab client is used for API access: https://github.com/NARKOZ/gitlab
|
|
25
25
|
class GitlabIssueClient
|
|
26
|
-
|
|
26
|
+
REPORTER_ACCESS_LEVEL = 20
|
|
27
27
|
RETRY_BACK_OFF_DELAY = 60
|
|
28
28
|
MAX_RETRY_ATTEMPTS = 3
|
|
29
29
|
|
|
@@ -40,7 +40,7 @@ module GitlabQuality
|
|
|
40
40
|
user = Gitlab.user
|
|
41
41
|
member = Gitlab.team_member(project, user.id)
|
|
42
42
|
|
|
43
|
-
abort_not_permitted if member.access_level <
|
|
43
|
+
abort_not_permitted if member.access_level < REPORTER_ACCESS_LEVEL
|
|
44
44
|
end
|
|
45
45
|
rescue Gitlab::Error::NotFound
|
|
46
46
|
abort_not_permitted
|