gitlab_support_readiness 1.1.2 → 1.1.3
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 +4 -4
- data/lib/support_readiness/salesforce/accounts.rb +6 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb04de057ea837e5d04ab8f86a9b8f4ad92ab57030f427951af4cd3c1b8f5e19
|
4
|
+
data.tar.gz: aabc2061ced7c9261fb4f5f925d08dbe225f6a7fd99d4854c87e43379a9a8701
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc7e725dd30e2dd096beab05a35305bf4ae0f0ba947172b504cc5af09d9870432a54b2b5e3d16e66d9836b9b800f5bc8d8dd16f5a236185c00d163e634f12c52
|
7
|
+
data.tar.gz: 4675d874890c157e19e35ab250a70ce4a217631fbe43e0620d41f7229d83722809f12d5ebf376edcc70d78f7c0559be44078f111c23bfdee4416ae162c25d350
|
@@ -272,10 +272,16 @@ module Readiness
|
|
272
272
|
sub_types.push('sub_community_other') if charge_names.any? { |x| SubscriptionDefinitions.community_other.include?(x) }
|
273
273
|
sub_types.push('sub_ss_growth') if charge_names.any? { |x| SubscriptionDefinitions.ss_success_advanced.include?(x) }
|
274
274
|
sub_types.push('sub_ss_enterprise') if charge_names.any? { |x| SubscriptionDefinitions.ss_success_signature.include?(x) }
|
275
|
+
sub_types.push('sub_ss_ase') if charge_names.any? { |x| SubscriptionDefinitions.ss_success_signature.include?(x) }
|
275
276
|
sub_types.push('sub_ss_enterprise') if account.Account_ID_18__c == '00161000010fYlBAAU' && charge_names.select { |x| x =~ /Success\ Plan\ Services/ }
|
276
277
|
sub_types.push('sub_ss_enterprise') if account.Account_ID_18__c == '001PL00000S7nT3YAJ' && charge_names.select { |x| x =~ /Success\ Plan\ Services/ }
|
277
278
|
sub_types.push('sub_ss_enterprise') if account.Account_ID_18__c == '0016100000K8R8fAAF' && charge_names.select { |x| x =~ /Success\ Plan\ Services/ }
|
278
279
|
sub_types.push('sub_ss_enterprise') if account.Account_ID_18__c == '0014M00001lcEpNQAU' && charge_names.select { |x| x =~ /Success\ Plan\ Services/ }
|
280
|
+
if account.Account_ID_18__c == '0016100000SEhkLAAT'
|
281
|
+
sub_types.push('sub_ss_enterprise') if (Date.parse('2025-04-29')..Date.parse('2026-04-28')).cover?(Date.today)
|
282
|
+
sub_types.push('sub_ss_ase') if (Date.parse('2025-04-29')..Date.parse('2026-04-28')).cover?(Date.today)
|
283
|
+
sub_types.push('sub_ss_growth') if (Date.parse('2026-04-29')..Date.parse('2027-04-28')).cover?(Date.today)
|
284
|
+
end
|
279
285
|
if account.Support_Instance__c != 'federal-support'
|
280
286
|
has_12x5 = charge_names.any? { |x| SubscriptionDefinitions.usgov_12x5.include?(x) }
|
281
287
|
has_24x7 = charge_names.any? { |x| SubscriptionDefinitions.usgov_24x7.include?(x) }
|
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.
|
4
|
+
version: 1.1.3
|
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-
|
11
|
+
date: 2025-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|