gitlab_support_readiness 1.0.67 → 1.0.69
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: b0cd25170ef9da86807d07143ec1a7c7aa1f910db8865954114181ce0eb25ad0
|
|
4
|
+
data.tar.gz: 00c4416cd82c9412778eec6fdb7f14cf06673a3bd4c2519fed1aa7e94de5d1e1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f582150818de48409b01a84d5a6be353b43d3af17c46597a25bc369684aad141751878683ad4094983f680da5736a5c1e1b0cd57cde57734fd8100812ac60b14
|
|
7
|
+
data.tar.gz: 25f79021b16127c92f7c40f6f612a6ee83967261359ec3e4eb5b99ad465ee83084adb3a7a11196e772793f78537725340184089670a66c2fbbbc88fceb1d0d9f
|
|
@@ -186,8 +186,8 @@ module Readiness
|
|
|
186
186
|
</p>
|
|
187
187
|
<ul>
|
|
188
188
|
<li>Subscription name: #{sub_name}</li>
|
|
189
|
-
<li>cDot link: <a href='
|
|
190
|
-
<li>GitLab.com namespace:
|
|
189
|
+
<li>cDot link: <a href='#{customer_link}' target='_blank'>#{customer_link}</a></li>
|
|
190
|
+
<li>GitLab.com namespace: #{@namespace.path}</li>
|
|
191
191
|
<li>#{Readiness::SupportSuperFormProcessor::Shared.sfdc_account_string(sfdc_account_link)}</li>
|
|
192
192
|
<li>#{Readiness::SupportSuperFormProcessor::Shared.sfdc_chattr_string(chattr_link)}</li>
|
|
193
193
|
<li>Number of seats waived/refunded: #{seats_waived}</li>
|
|
@@ -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.69
|
|
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
|