gitlab_support_readiness 1.1.4 → 1.3.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d6fcc80536cf5e762a3c582a90813148563f22098b7b68c4503f57ac554da3bd
|
4
|
+
data.tar.gz: c7c7c48964cee763bafec42957634cc66b89eb5bbec5b086f2f3765743bef23a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f1dae1d9dc1b11a418d4c29a29336e0d1b482a27e560b9cf630c5517bcfdd48d24a0fb7905f1ac1ff851dda942a41f2b0f88ec429b7239bf2425e028aa8e68d
|
7
|
+
data.tar.gz: ccc3b01b8327c947e36a710b3306c5ea9070c2201dfe4e6f0911dcaadd023536681989615166b6b059a2971ed06e08e73cdd388f5752f4c72e44127b27a6f789
|
@@ -51,6 +51,7 @@ module Readiness
|
|
51
51
|
ticket.comment = { html_body: body }
|
52
52
|
ticket.subject = 'Internal Request - gitlab.com - Change existing gitlab.com trial plan'
|
53
53
|
ticket.tags = %w[lnr_internal_request lnr_valid_request lnr_saas_trial lnr_saas_trial_edit]
|
54
|
+
ticket.tags.push('lnr_saas_trial_duo_related') if duo_related
|
54
55
|
ticket.priority = request_priority
|
55
56
|
ticket.status = 'new'
|
56
57
|
ticket.ticket_form_id = @lnr_form.id
|
@@ -171,6 +172,15 @@ module Readiness
|
|
171
172
|
@plan ||= ENV.fetch('SAAS_TRIAL_EDIT_PLAN')
|
172
173
|
end
|
173
174
|
|
175
|
+
##
|
176
|
+
# Sets the global variable duo_related
|
177
|
+
#
|
178
|
+
# @author Jason Colyer
|
179
|
+
# @since 1.3.0
|
180
|
+
def self.duo_related
|
181
|
+
@duo_related ||= ENV.fetch('SAAS_TRIAL_EDIT_DUO_RELATED', false)
|
182
|
+
end
|
183
|
+
|
174
184
|
##
|
175
185
|
# Returns the ticket body
|
176
186
|
#
|
data/lib/support_readiness/support_super_form_processor/global_ir_dotcom_trials_extension.rb
CHANGED
@@ -51,6 +51,7 @@ module Readiness
|
|
51
51
|
ticket.comment = { html_body: body }
|
52
52
|
ticket.subject = 'Internal Request - GitLab.com - Extend an existing trial'
|
53
53
|
ticket.tags = %w[lnr_internal_request lnr_valid_request lnr_saas_trial lnr_saas_trial_extension]
|
54
|
+
ticket.tags.push('lnr_saas_trial_duo_related') if duo_related
|
54
55
|
ticket.priority = request_priority
|
55
56
|
ticket.status = 'new'
|
56
57
|
ticket.ticket_form_id = @lnr_form.id
|
@@ -198,6 +199,15 @@ module Readiness
|
|
198
199
|
@reason ||= ENV.fetch('SAAS_TRIAL_EXTEND_REASON')
|
199
200
|
end
|
200
201
|
|
202
|
+
##
|
203
|
+
# Sets the global variable duo_related
|
204
|
+
#
|
205
|
+
# @author Jason Colyer
|
206
|
+
# @since 1.3.0
|
207
|
+
def self.duo_related
|
208
|
+
@duo_related ||= ENV.fetch('SAAS_TRIAL_EDIT_DUO_RELATED', false)
|
209
|
+
end
|
210
|
+
|
201
211
|
##
|
202
212
|
# Returns the ticket body
|
203
213
|
#
|
@@ -80,8 +80,12 @@ module Readiness
|
|
80
80
|
end
|
81
81
|
elsif domain == 'docs.gitlab.com'
|
82
82
|
tags_to_add.push('docs_link')
|
83
|
+
path = link.split('docs.gitlab.com/').last.split('/').join('_')
|
84
|
+
tags_to_add.push("doc_#{path}")
|
83
85
|
elsif domain == 'handbook.gitlab.com'
|
84
86
|
tags_to_add.push('hb_link')
|
87
|
+
path = link.split('handbook.gitlab.com/handbook/').last.split('/').join('_')
|
88
|
+
tags_to_add.push("hb_#{path}")
|
85
89
|
elsif domain == 'support.gitlab.com'
|
86
90
|
if link =~ %r{articles}
|
87
91
|
tags_to_add.push('kb_link') unless link =~ %r{4911284066204}
|
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.
|
4
|
+
version: 1.3.0
|
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-07-
|
11
|
+
date: 2025-07-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|