gitlab_support_readiness 1.1.1 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 38267b5b40e9ac350282dd626f499e177c9c8d4ec8d66b8e6d48dfb90d612c5c
4
- data.tar.gz: 2cdfcdb865e1be883969ff142a81e7c5a77ed21cce3c0844ffa47594cc25564c
3
+ metadata.gz: eb04de057ea837e5d04ab8f86a9b8f4ad92ab57030f427951af4cd3c1b8f5e19
4
+ data.tar.gz: aabc2061ced7c9261fb4f5f925d08dbe225f6a7fd99d4854c87e43379a9a8701
5
5
  SHA512:
6
- metadata.gz: a0360182ee4039dcd6fd2339e06097011e2648b7079e9b6898afb39fccb56bc4d44c47ef9c008cb1e73e88e87b870f0cd5719c70a0ab8d763ab19ca20731c4fc
7
- data.tar.gz: 94e01271b32105d931062ff8036b84bd4caa274349b26b21857137a67ed8626b86b4da1163694b9bb6ebf38b9b39e828e828957cbd386f1130b8d9bbdce6117c
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) }
@@ -107,7 +107,7 @@ module Readiness
107
107
  return false if agent.is_a? Hash
108
108
  return false if agent.role == 'end-user'
109
109
  return false if agent.suspended
110
- return false unless [360004984553, 12510471332508].include? agent.custom_role_id
110
+ return false if [360004984553, 12510471332508].include? agent.custom_role_id
111
111
 
112
112
  true
113
113
  end
@@ -109,7 +109,7 @@ module Readiness
109
109
  return false if agent.is_a? Hash
110
110
  return false if agent.role == 'end-user'
111
111
  return false if agent.suspended
112
- return false unless [360008074111, 360009109092].include? agent.custom_role_id
112
+ return false if [360008074111, 360009109092].include? agent.custom_role_id
113
113
 
114
114
  true
115
115
  end
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.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-12 00:00:00.000000000 Z
11
+ date: 2025-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport