gitlab_support_readiness 1.0.67 → 1.0.68
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c8fa6841a56062aee2e89c8fce210924ff77e1ca250f5932e8cf6829c0924dbc
|
4
|
+
data.tar.gz: 90edf165d5c66501f5817ad0608646dcecd4d4e19d6b42e9bfc5ef47f8d6535d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c776d0da83ac4a4b4946526caf01efa74eaa409738223cbf4f10c47f2f53470a0152404665916898b423fed6230ea42d9efed886e98259b398dbefa543d22678
|
7
|
+
data.tar.gz: 3f824b4144ec4b17dae5baa55088a91b1033fa5c1af1071f2aad40f4c36d67b5b1ca734e9bbf9dc30c15740844df224d37064a308718d51470a21c0752fbde6f
|
@@ -197,9 +197,13 @@ module Readiness
|
|
197
197
|
sources.push('Bouncer') if custom_attributes.detect { |c| c['key'] == 'block_enacted_by' && c['value'] =~ /^bouncer\:/ }
|
198
198
|
sources.push('Bouncer') if custom_attributes.detect { |c| c['key'] == 'ban_enacted_by' && c['value'] =~ /^bouncer\:/ }
|
199
199
|
admin_check = custom_attributes.detect { |c| c['key'] == 'blocked_by' }
|
200
|
-
|
200
|
+
unless admin_check.nil?
|
201
|
+
sources.push(admin_check['value'].split('/').first) unless admin_check['value'] =~ /^service\-/
|
202
|
+
end
|
201
203
|
autoban_check = custom_attributes.detect { |c| c['key'] == 'auto_banned_by' }
|
202
|
-
|
204
|
+
unless autoban_check.nil?
|
205
|
+
sources.push(autoban_check['value']) unless autoban_check.nil?
|
206
|
+
end
|
203
207
|
return 'Other (unknown)' if sources.uniq.compact.count.zero?
|
204
208
|
|
205
209
|
sources.uniq.compact.join(', ')
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitlab_support_readiness
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.68
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Colyer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-12-
|
11
|
+
date: 2024-12-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|