gitlab_support_readiness 1.1.3 → 1.1.4

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: eb04de057ea837e5d04ab8f86a9b8f4ad92ab57030f427951af4cd3c1b8f5e19
4
- data.tar.gz: aabc2061ced7c9261fb4f5f925d08dbe225f6a7fd99d4854c87e43379a9a8701
3
+ metadata.gz: 2023c6d3a8a6a8325224ceb2f0a9ead24d87cc0db95de3f11f2895e619dc7f7c
4
+ data.tar.gz: 2634844f7106035d0cf405e620a85d7c7b31ea75b01fd02565bff4c317f830d5
5
5
  SHA512:
6
- metadata.gz: bc7e725dd30e2dd096beab05a35305bf4ae0f0ba947172b504cc5af09d9870432a54b2b5e3d16e66d9836b9b800f5bc8d8dd16f5a236185c00d163e634f12c52
7
- data.tar.gz: 4675d874890c157e19e35ab250a70ce4a217631fbe43e0620d41f7229d83722809f12d5ebf376edcc70d78f7c0559be44078f111c23bfdee4416ae162c25d350
6
+ metadata.gz: 912471efca5e07ec7ba150a1493627246add97a001396abec3c3b3937b2ad290570463f982a3c13d446678fe12ebd504fdbf4f234320547a9b55899aa536e911
7
+ data.tar.gz: 6a33f24da0005ac0f0e472257bc175b8ea8eb78996ff585ea7754ddee88c06ea59b8693b7bb36d5799d23742d9ed5fe58ada3de0a40eee2a37e3bcc6f71c8f4b
@@ -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 nil if account.Account_Demographics_Geo__c.nil?
407
- return nil unless %w[amer apac emea latam ncsa noram].include? account.Account_Demographics_Geo__c.to_s.downcase
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
- "org_region_#{account.Account_Demographics_Geo__c.to_s.downcase}"
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,
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.1.3
4
+ version: 1.1.4
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-06-20 00:00:00.000000000 Z
11
+ date: 2025-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport