gitlab_support_readiness 1.0.26 → 1.0.27

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 322f32c5b1347111c6546cab83120538806148efd451f5d6b406abf2bd100110
4
- data.tar.gz: fe095b0303f8385f9e2716789fec729cf7102a45687b55876012e26f535b8649
3
+ metadata.gz: 1e0aa877d565ca7a4a041592019b2249d0d65416461b6fd98236ac8afacf801f
4
+ data.tar.gz: 3cd603b24a283aa772e12f13b105012434a846e7d24febea4eb1353579547f83
5
5
  SHA512:
6
- metadata.gz: e2971c436d14b76a4718af776e07492e9ddb8d69c1d2435b2e2a41a365b2cbe7f735ce5de018b34911e576939db1739d343f981f6ba5e62d2fa87941245b8e9a
7
- data.tar.gz: 24f4f50ebaa586a78feb5effb0e415bf4f6786ef01fe695df2b5044b3a3e08d94cc65a2cf36cf7ec09974aa1ad9de830030901c3fbfceaff4ef29a08588d807f
6
+ metadata.gz: 6aed7c494fa99b0590a99cafa0d75ddea51ba1a501d0e93c600ddbe308d2b42d79e31cc1fd9b38eef31abbd18beb43355b7fa0f33e766030fb3a90f60c8256f2
7
+ data.tar.gz: 0cb0269cbcadbce90a9617f451e80418475e4599400c960d2ee6fb9df8a971a55263383ec4829c480460a2640743edbe164241d5e7ff4e4d2b9bd705cf0679f0
@@ -237,26 +237,28 @@ module Readiness
237
237
  account.Zuora__R00N40000001lGjTEAU__r.each do |sub|
238
238
  next if Date.parse(sub.Zuora__EffectiveEndDate__c) < Date.today
239
239
 
240
- subs.push('sub_consumption_ai') if SubscriptionDefinitions.consumption_ai.include? sub.Name
241
- subs.push('sub_consumption_cicd_minutes') if SubscriptionDefinitions.consumption_cicd_minutes.include? sub.Name
242
- subs.push('sub_consumption_eap') if SubscriptionDefinitions.consumption_eap.include? sub.Name
243
- subs.push('sub_consumption_storage') if SubscriptionDefinitions.consumption_storage.include? sub.Name
244
- subs.push('sub_proserv') if SubscriptionDefinitions.proserv.include? sub.Name
245
- subs.push('sub_dotcom_premium') if SubscriptionDefinitions.dotcom_premium.include? sub.Name
246
- subs.push('sub_dotcom_ultimate') if SubscriptionDefinitions.dotcom_ultimate.include? sub.Name
247
- subs.push('sub_sm_starter') if SubscriptionDefinitions.sm_starter.include? sub.Name
248
- subs.push('sub_sm_premium') if SubscriptionDefinitions.sm_premium.include? sub.Name
249
- subs.push('sub_sm_ultimate') if SubscriptionDefinitions.sm_ultimate.include? sub.Name
250
- subs.push('sub_usgov_12x5') if SubscriptionDefinitions.usgov_12x5.include? sub.Name
251
- subs.push('sub_usgov_24x7') if SubscriptionDefinitions.usgov_24x7.include? sub.Name
252
- subs.push('sub_gitlab_dedicated') if SubscriptionDefinitions.gitlab_dedicated.include? sub.Name
253
- subs.push('sub_edu') if SubscriptionDefinitions.edu.include? sub.Name
254
- subs.push('sub_oss') if SubscriptionDefinitions.oss.include? sub.Name
255
- subs.push('sub_community_other') if SubscriptionDefinitions.community_other.include? sub.Name
256
- subs.push('sub_ss_ase') if SubscriptionDefinitions.ss_ase.include? sub.Name
257
- subs.push('sub_usgov_24x7') if SubscriptionDefinitions.fedramp.include? sub.Name
258
- subs.push('sub_gitlab_dedicated') if SubscriptionDefinitions.fedramp.include? sub.Name
259
- subs.push('sub_other') if subs.count.zero?
240
+ sub_types = []
241
+ sub_types.push('sub_consumption_ai') if SubscriptionDefinitions.consumption_ai.include? sub.Name
242
+ sub_types.push('sub_consumption_cicd_minutes') if SubscriptionDefinitions.consumption_cicd_minutes.include? sub.Name
243
+ sub_types.push('sub_consumption_eap') if SubscriptionDefinitions.consumption_eap.include? sub.Name
244
+ sub_types.push('sub_consumption_storage') if SubscriptionDefinitions.consumption_storage.include? sub.Name
245
+ sub_types.push('sub_proserv') if SubscriptionDefinitions.proserv.include? sub.Name
246
+ sub_types.push('sub_dotcom_premium') if SubscriptionDefinitions.dotcom_premium.include? sub.Name
247
+ sub_types.push('sub_dotcom_ultimate') if SubscriptionDefinitions.dotcom_ultimate.include? sub.Name
248
+ sub_types.push('sub_sm_starter') if SubscriptionDefinitions.sm_starter.include? sub.Name
249
+ sub_types.push('sub_sm_premium') if SubscriptionDefinitions.sm_premium.include? sub.Name
250
+ sub_types.push('sub_sm_ultimate') if SubscriptionDefinitions.sm_ultimate.include? sub.Name
251
+ sub_types.push('sub_usgov_12x5') if SubscriptionDefinitions.usgov_12x5.include? sub.Name
252
+ sub_types.push('sub_usgov_24x7') if SubscriptionDefinitions.usgov_24x7.include? sub.Name
253
+ sub_types.push('sub_gitlab_dedicated') if SubscriptionDefinitions.gitlab_dedicated.include? sub.Name
254
+ sub_types.push('sub_edu') if SubscriptionDefinitions.edu.include? sub.Name
255
+ sub_types.push('sub_oss') if SubscriptionDefinitions.oss.include? sub.Name
256
+ sub_types.push('sub_community_other') if SubscriptionDefinitions.community_other.include? sub.Name
257
+ sub_types.push('sub_ss_ase') if SubscriptionDefinitions.ss_ase.include? sub.Name
258
+ sub_types.push('sub_usgov_24x7') if SubscriptionDefinitions.fedramp.include? sub.Name
259
+ sub_types.push('sub_gitlab_dedicated') if SubscriptionDefinitions.fedramp.include? sub.Name
260
+ sub_types.push('sub_other') if sub_types.count.zero?
261
+ subs += sub_types
260
262
  end
261
263
  subs.compact.uniq
262
264
  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.0.26
4
+ version: 1.0.27
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-10-21 00:00:00.000000000 Z
11
+ date: 2024-10-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport