gitlab_support_readiness 1.1.3 → 1.2.0
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: 95fb0c8f6ad3e2cdfcdc1f1ef33585766fc7487c3b87fc49579dbf73a83e5e58
|
4
|
+
data.tar.gz: a7f63b67e67cf19bdd72d32ed8cee9cda936d84a5a1848ff512992e980c6cd6e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fcffd366efc86ca7bc6ec4a983ee7f0c2bf5c0ac25d36024827d7e02283775f1183053789636bb7b1521dd76e132488bad7e158a89fe5c9fd8efcadc9d318606
|
7
|
+
data.tar.gz: 7723d7fa466a3c814633819132167fccc39e0180589b1f8c764bbaff3db5b2be0141c9bea50a76faddcc4082fb87c553f6cfc1a2159e3ceae48143d1edb7c3cd
|
@@ -403,10 +403,16 @@ module Readiness
|
|
403
403
|
# @author Jason Colyer
|
404
404
|
# @since 1.0.26
|
405
405
|
def self.account_region(account)
|
406
|
-
return
|
407
|
-
return
|
406
|
+
return 'org_region_amer' if account.Account_Demographics_Geo__c == 'AMER'
|
407
|
+
return 'org_region_apac' if account.Account_Demographics_Geo__c == 'APJ'
|
408
|
+
return 'org_region_emea' if account.Account_Demographics_Geo__c == 'EMEA'
|
409
|
+
if account.Account_Demographics_Geo__c == 'SMB'
|
410
|
+
return 'org_region_amer' if account.Account_Demographics_Region__c == 'AMER'
|
411
|
+
return 'org_region_apac' if account.Account_Demographics_Region__c == 'APJ'
|
412
|
+
return 'org_region_emea' if account.Account_Demographics_Region__c == 'EMEA'
|
413
|
+
end
|
408
414
|
|
409
|
-
|
415
|
+
nil
|
410
416
|
end
|
411
417
|
|
412
418
|
##
|
@@ -589,6 +595,7 @@ module Readiness
|
|
589
595
|
Restricted_Account__c,
|
590
596
|
Solutions_Architect_Lookup__r.Name,
|
591
597
|
Account_Demographics_Geo__c,
|
598
|
+
Account_Demographics_Region__c,
|
592
599
|
Latest_Sold_To_Contact__r.Email,
|
593
600
|
Latest_Sold_To_Contact__r.Name,
|
594
601
|
Partner_Track__c,
|
@@ -80,8 +80,12 @@ module Readiness
|
|
80
80
|
end
|
81
81
|
elsif domain == 'docs.gitlab.com'
|
82
82
|
tags_to_add.push('docs_link')
|
83
|
+
path = link.split('docs.gitlab.com/').last.split('/').join('_')
|
84
|
+
tags_to_add.push("doc_#{path}")
|
83
85
|
elsif domain == 'handbook.gitlab.com'
|
84
86
|
tags_to_add.push('hb_link')
|
87
|
+
path = link.split('handbook.gitlab.com/handbook/').last.split('/').join('_')
|
88
|
+
tags_to_add.push("hb_#{path}")
|
85
89
|
elsif domain == 'support.gitlab.com'
|
86
90
|
if link =~ %r{articles}
|
87
91
|
tags_to_add.push('kb_link') unless link =~ %r{4911284066204}
|
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.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Colyer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-07-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|