gitlab_quality-test_tooling 0.2.1 → 0.2.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
  SHA256:
3
- metadata.gz: db0c200678a2bb9d3eea994129fd3db411c9af0647225f451d548b02005e69e0
4
- data.tar.gz: 356fcd2142b1f62507e9b4ff76903d21dfbee980a8a41662a2cd02255bc2831f
3
+ metadata.gz: b6aca93da1e251be67dab8c377c542ddfdba84392efb41949b62b42fabb283d3
4
+ data.tar.gz: 32d0c338138afaeaf0f47a38cced840387ed07c55e63631847bc59a3bfb20842
5
5
  SHA512:
6
- metadata.gz: 2fceda952ea6665034e2c0fd4f55fbbadb3226b953613a9bc3cb3b2c3b0332b59f2043a1277a73749c8fc449bb0ea5a919b1cf278bf6a4ad92978ffa6e748fe5
7
- data.tar.gz: cdca3c8f902068f205379836272146a61e361ca4dcd13d86b7f22372fb0a7549ed798c40e0419400ba7a2cffff3cacb726339557ac108c1b55e0edc71b72e308
6
+ metadata.gz: 3af4b645bb8c495ed38ce06964de0008e31fbd2a097f374339874aa9f7d9b1967cd6b7c3fae7ad46188120ece0103058864e9601a68e38812002529df6ac89c0
7
+ data.tar.gz: 6c1670e30153abb2af66e098c6a89fc13140d71bf1b7aa82ed06793006c8c702bfd5d4345ced0737168f7efb6c288734828a1726a905e16d4d97f2785bc9692b
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gitlab_quality-test_tooling (0.2.1)
4
+ gitlab_quality-test_tooling (0.2.2)
5
5
  activesupport (~> 6.1)
6
6
  gitlab (~> 4.18.0)
7
7
  http (~> 5.0)
@@ -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
- MAINTAINER_ACCESS_LEVEL = 40
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 < MAINTAINER_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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module GitlabQuality
4
4
  module TestTooling
5
- VERSION = "0.2.1"
5
+ VERSION = "0.2.2"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab_quality-test_tooling
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitLab Quality