gitlab_support_readiness 1.2.0 → 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: 95fb0c8f6ad3e2cdfcdc1f1ef33585766fc7487c3b87fc49579dbf73a83e5e58
4
- data.tar.gz: a7f63b67e67cf19bdd72d32ed8cee9cda936d84a5a1848ff512992e980c6cd6e
3
+ metadata.gz: d6fcc80536cf5e762a3c582a90813148563f22098b7b68c4503f57ac554da3bd
4
+ data.tar.gz: c7c7c48964cee763bafec42957634cc66b89eb5bbec5b086f2f3765743bef23a
5
5
  SHA512:
6
- metadata.gz: fcffd366efc86ca7bc6ec4a983ee7f0c2bf5c0ac25d36024827d7e02283775f1183053789636bb7b1521dd76e132488bad7e158a89fe5c9fd8efcadc9d318606
7
- data.tar.gz: 7723d7fa466a3c814633819132167fccc39e0180589b1f8c764bbaff3db5b2be0141c9bea50a76faddcc4082fb87c553f6cfc1a2159e3ceae48143d1edb7c3cd
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
  #
@@ -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
  #
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.2.0
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-01 00:00:00.000000000 Z
11
+ date: 2025-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport