gitlab_support_readiness 1.0.39 → 1.0.40
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5adaf470df98e30d5c8f7ad7da6696799a307bf9464e02d239b10e3eebcd24f6
|
4
|
+
data.tar.gz: 289d9d1f6e9bb9d89e7253fecb9776eafe2ea5384db7d304667b21d9286ab11f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f7a667c9832a389d40f5744c8c76754bb64db5c9e655e4f9194fcf89c368d1979fdb8381a2d6272836399585bd0e67561b17de6305dcd9b65a928e4b5bb41f6
|
7
|
+
data.tar.gz: '09ee9d66b9ae997b7a2a6617aaf01fb6eb66735f53ae632724947b883f6f60285ea01b0cd993bc4151abfa7bd83b73585b3248754159a0246027c438c2bcc5af'
|
@@ -749,6 +749,8 @@ module Readiness
|
|
749
749
|
'greatly_expired' => org.organization_fields['greatly_expired'],
|
750
750
|
'sub_consumption_ai' => org.organization_fields['sub_consumption_ai'],
|
751
751
|
'sub_consumption_cicd_minutes' => org.organization_fields['sub_consumption_cicd_minutes'],
|
752
|
+
'sub_consumption_duo_enterprise' => org.organization_fields['sub_consumption_duo_premium'],
|
753
|
+
'sub_consumption_duo_premium' => org.organization_fields['sub_consumption_duo_premium'],
|
752
754
|
'sub_consumption_eap' => org.organization_fields['sub_consumption_eap'],
|
753
755
|
'sub_consumption_storage' => org.organization_fields['sub_consumption_storage'],
|
754
756
|
'sub_proserv' => org.organization_fields['sub_proserv'],
|
@@ -799,6 +801,8 @@ module Readiness
|
|
799
801
|
'emergency_support_24x7' => org.organization_fields['emergency_support_24x7'],
|
800
802
|
'sub_consumption_ai' => org.organization_fields['sub_consumption_ai'],
|
801
803
|
'sub_consumption_cicd_minutes' => org.organization_fields['sub_consumption_cicd_minutes'],
|
804
|
+
'sub_consumption_duo_enterprise' => org.organization_fields['sub_consumption_duo_premium'],
|
805
|
+
'sub_consumption_duo_premium' => org.organization_fields['sub_consumption_duo_premium'],
|
802
806
|
'sub_consumption_eap' => org.organization_fields['sub_consumption_eap'],
|
803
807
|
'sub_consumption_storage' => org.organization_fields['sub_consumption_storage'],
|
804
808
|
'sub_proserv' => org.organization_fields['sub_proserv'],
|
@@ -991,6 +995,8 @@ module Readiness
|
|
991
995
|
'sub_community_other' => account['sub_community_other'],
|
992
996
|
'sub_consumption_ai' => account['sub_consumption_ai'],
|
993
997
|
'sub_consumption_cicd_minutes' => account['sub_consumption_cicd_minutes'],
|
998
|
+
'sub_consumption_duo_enterprise' => account['sub_consumption_duo_enterprise'],
|
999
|
+
'sub_consumption_duo_premium' => account['sub_consumption_duo_premium'],
|
994
1000
|
'sub_consumption_eap' => account['sub_consumption_eap'],
|
995
1001
|
'sub_consumption_storage' => account['sub_consumption_storage'],
|
996
1002
|
'sub_dotcom_premium' => account['sub_dotcom_premium'],
|
@@ -1038,6 +1044,8 @@ module Readiness
|
|
1038
1044
|
'sub_community_other' => account['sub_community_other'],
|
1039
1045
|
'sub_consumption_ai' => account['sub_consumption_ai'],
|
1040
1046
|
'sub_consumption_cicd_minutes' => account['sub_consumption_cicd_minutes'],
|
1047
|
+
'sub_consumption_duo_enterprise' => account['sub_consumption_duo_enterprise'],
|
1048
|
+
'sub_consumption_duo_premium' => account['sub_consumption_duo_premium'],
|
1041
1049
|
'sub_consumption_eap' => account['sub_consumption_eap'],
|
1042
1050
|
'sub_consumption_storage' => account['sub_consumption_storage'],
|
1043
1051
|
'sub_dotcom_premium' => account['sub_dotcom_premium'],
|
@@ -153,6 +153,8 @@ module Readiness
|
|
153
153
|
"greatly_expired" => (partner ? false : Date.parse(expiration) <= Date.today.years_ago(3)),
|
154
154
|
"sub_consumption_ai" => subscriptions.include?('sub_consumption_ai'),
|
155
155
|
"sub_consumption_cicd_minutes" => subscriptions.include?('sub_consumption_cicd_minutes'),
|
156
|
+
"sub_consumption_duo_enterprise" => subscriptions.include?('sub_consumption_duo_enterprise'),
|
157
|
+
"sub_consumption_duo_premium" => subscriptions.include?('sub_consumption_duo_premium'),
|
156
158
|
"sub_consumption_eap" => subscriptions.include?('sub_consumption_eap'),
|
157
159
|
"sub_consumption_storage" => subscriptions.include?('sub_consumption_storage'),
|
158
160
|
"sub_proserv" => subscriptions.include?('sub_proserv'),
|
@@ -205,6 +207,8 @@ module Readiness
|
|
205
207
|
"emergency_support_24x7" => subscriptions.include?('sub_usgov_24x7'),
|
206
208
|
"sub_consumption_ai" => subscriptions.include?('sub_consumption_ai'),
|
207
209
|
"sub_consumption_cicd_minutes" => subscriptions.include?('sub_consumption_cicd_minutes'),
|
210
|
+
"sub_consumption_duo_enterprise" => subscriptions.include?('sub_consumption_duo_enterprise'),
|
211
|
+
"sub_consumption_duo_premium" => subscriptions.include?('sub_consumption_duo_premium'),
|
208
212
|
"sub_consumption_eap" => subscriptions.include?('sub_consumption_eap'),
|
209
213
|
"sub_consumption_storage" => subscriptions.include?('sub_consumption_storage'),
|
210
214
|
"sub_proserv" => subscriptions.include?('sub_proserv'),
|
@@ -241,6 +245,8 @@ module Readiness
|
|
241
245
|
sub_types = []
|
242
246
|
sub_types.push('sub_consumption_ai') if SubscriptionDefinitions.consumption_ai.include? sub.Name
|
243
247
|
sub_types.push('sub_consumption_cicd_minutes') if SubscriptionDefinitions.consumption_cicd_minutes.include? sub.Name
|
248
|
+
sub_types.push('sub_consumption_duo_premium') if SubscriptionDefinitions.consumption_duo_premium.include? sub.Name
|
249
|
+
sub_types.push('sub_consumption_duo_enterprise') if SubscriptionDefinitions.consumption_duo_enterprise.include? sub.Name
|
244
250
|
sub_types.push('sub_consumption_eap') if SubscriptionDefinitions.consumption_eap.include? sub.Name
|
245
251
|
sub_types.push('sub_consumption_storage') if SubscriptionDefinitions.consumption_storage.include? sub.Name
|
246
252
|
sub_types.push('sub_proserv') if SubscriptionDefinitions.proserv.include? sub.Name
|
@@ -17,43 +17,64 @@ module Readiness
|
|
17
17
|
# @since 1.0.26
|
18
18
|
# @return [Array]
|
19
19
|
def self.consumption_ai
|
20
|
+
[]
|
21
|
+
end
|
22
|
+
|
23
|
+
##
|
24
|
+
# Defines Consumption => GitLab Duo Premium subscriptions
|
25
|
+
#
|
26
|
+
# @author Jason Colyer
|
27
|
+
# @since 1.0.40
|
28
|
+
# @return [Array]
|
29
|
+
def self.consumption_duo_premium
|
20
30
|
[
|
21
|
-
'Dedicated - GitLab Duo Enterprise - 1 Year',
|
22
|
-
'Dedicated - GitLab Duo Enterprise - 2 Year',
|
23
|
-
'Dedicated - GitLab Duo Enterprise - 3 Year',
|
24
|
-
'Dedicated - GitLab Duo Enterprise - 4 Year',
|
25
|
-
'Dedicated - GitLab Duo Enterprise - 5 Year',
|
26
|
-
'Dedicated - GitLab Duo Enterprise - Monthly',
|
27
31
|
'Dedicated - GitLab Duo Pro - 1 Year',
|
28
32
|
'Dedicated - GitLab Duo Pro - 2 Year',
|
29
33
|
'Dedicated - GitLab Duo Pro - 3 Year',
|
30
34
|
'Dedicated - GitLab Duo Pro - 4 Year',
|
31
35
|
'Dedicated - GitLab Duo Pro - 5 Year',
|
32
36
|
'Dedicated - GitLab Duo Pro - Monthly',
|
33
|
-
'SaaS - GitLab Duo Enterprise - 1 Year',
|
34
|
-
'SaaS - GitLab Duo Enterprise - 2 Year',
|
35
|
-
'SaaS - GitLab Duo Enterprise - 3 Year',
|
36
|
-
'SaaS - GitLab Duo Enterprise - 4 Year',
|
37
|
-
'SaaS - GitLab Duo Enterprise - 5 Year',
|
38
|
-
'SaaS - GitLab Duo Enterprise - Monthly',
|
39
37
|
'SaaS - GitLab Duo Pro - 1 Year',
|
40
38
|
'SaaS - GitLab Duo Pro - 2 Year',
|
41
39
|
'SaaS - GitLab Duo Pro - 3 Year',
|
42
40
|
'SaaS - GitLab Duo Pro - 4 Year',
|
43
41
|
'SaaS - GitLab Duo Pro - 5 Year',
|
44
42
|
'SaaS - GitLab Duo Pro - Monthly',
|
45
|
-
'Self-Managed - GitLab Duo Enterprise - 1 Year',
|
46
|
-
'Self-Managed - GitLab Duo Enterprise - 2 Year',
|
47
|
-
'Self-Managed - GitLab Duo Enterprise - 3 Year',
|
48
|
-
'Self-Managed - GitLab Duo Enterprise - 4 Year',
|
49
|
-
'Self-Managed - GitLab Duo Enterprise - 5 Year',
|
50
|
-
'Self-Managed - GitLab Duo Enterprise - Monthly',
|
51
43
|
'Self-Managed - GitLab Duo Pro - 1 Year',
|
52
44
|
'Self-Managed - GitLab Duo Pro - 2 Year',
|
53
45
|
'Self-Managed - GitLab Duo Pro - 3 Year',
|
54
46
|
'Self-Managed - GitLab Duo Pro - 4 Year',
|
55
47
|
'Self-Managed - GitLab Duo Pro - 5 Year',
|
56
|
-
'Self-Managed - GitLab Duo Pro - Monthly
|
48
|
+
'Self-Managed - GitLab Duo Pro - Monthly
|
49
|
+
]
|
50
|
+
end
|
51
|
+
|
52
|
+
##
|
53
|
+
# Defines Consumption => GitLab Duo Enterprise subscriptions
|
54
|
+
#
|
55
|
+
# @author Jason Colyer
|
56
|
+
# @since 1.0.40
|
57
|
+
# @return [Array]
|
58
|
+
def self.consumption_duo_enterprise
|
59
|
+
[
|
60
|
+
'Dedicated - GitLab Duo Enterprise - 1 Year',
|
61
|
+
'Dedicated - GitLab Duo Enterprise - 2 Year',
|
62
|
+
'Dedicated - GitLab Duo Enterprise - 3 Year',
|
63
|
+
'Dedicated - GitLab Duo Enterprise - 4 Year',
|
64
|
+
'Dedicated - GitLab Duo Enterprise - 5 Year',
|
65
|
+
'Dedicated - GitLab Duo Enterprise - Monthly',
|
66
|
+
'SaaS - GitLab Duo Enterprise - 1 Year',
|
67
|
+
'SaaS - GitLab Duo Enterprise - 2 Year',
|
68
|
+
'SaaS - GitLab Duo Enterprise - 3 Year',
|
69
|
+
'SaaS - GitLab Duo Enterprise - 4 Year',
|
70
|
+
'SaaS - GitLab Duo Enterprise - 5 Year',
|
71
|
+
'SaaS - GitLab Duo Enterprise - Monthly',
|
72
|
+
'Self-Managed - GitLab Duo Enterprise - 1 Year',
|
73
|
+
'Self-Managed - GitLab Duo Enterprise - 2 Year',
|
74
|
+
'Self-Managed - GitLab Duo Enterprise - 3 Year',
|
75
|
+
'Self-Managed - GitLab Duo Enterprise - 4 Year',
|
76
|
+
'Self-Managed - GitLab Duo Enterprise - 5 Year',
|
77
|
+
'Self-Managed - GitLab Duo Enterprise - Monthly'
|
57
78
|
]
|
58
79
|
end
|
59
80
|
|
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.
|
4
|
+
version: 1.0.40
|
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-11-
|
11
|
+
date: 2024-11-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|