gitlab_support_readiness 1.0.85 → 1.0.87
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: 492b67f2747706975883623623b7894c267633e2257fca754869eece07c6b2a3
|
4
|
+
data.tar.gz: 99384acf0bc143692a27dd3bf11d011fc4628b44f0a3f0051192becb744f40d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e93c5270b1c4807415955f804d1830eaf84b9faa8b1ea7452f669918e621f7a95536ffc086aac9321e82d93b50ef5e9a675e4d6db99de188cc041cd5eb653cca
|
7
|
+
data.tar.gz: e6b9fbc160c9c12609ff705f5302f76f03caee381dd5fac53b8a3681e904429de655a77dcf2006b08885d8cb4af7e3cb4e245b7f8016f4d9d6b5f3005d4b3e2a
|
@@ -58,9 +58,9 @@ module Readiness
|
|
58
58
|
end
|
59
59
|
end
|
60
60
|
zd_options.each do |zd_option|
|
61
|
-
repo_option = repo.custom_field_options.detect { |rp_o| rp_o.
|
61
|
+
repo_option = repo.custom_field_options.detect { |rp_o| rp_o.value == zd_option.value }
|
62
62
|
if repo_option.nil?
|
63
|
-
@diffs[:option_deletes].push({ "#{repo.
|
63
|
+
@diffs[:option_deletes].push({ "#{repo.value}" => zd_option })
|
64
64
|
end
|
65
65
|
end
|
66
66
|
end
|
@@ -25,7 +25,7 @@ module Readiness
|
|
25
25
|
]
|
26
26
|
ticket.requester = { name: customer_name, email: customer_email }
|
27
27
|
ticket.comment = { html_body: body }
|
28
|
-
ticket.subject =
|
28
|
+
ticket.subject = ticket_subject
|
29
29
|
ticket.tags = %w[support_gratis_request manual_support_upgrade]
|
30
30
|
ticket.priority = 'medium'
|
31
31
|
ticket.status = 'new'
|
@@ -101,6 +101,15 @@ module Readiness
|
|
101
101
|
@opportunity_link ||= ENV.fetch('GRATIS_OPPORTUNITY_LINK')
|
102
102
|
end
|
103
103
|
|
104
|
+
##
|
105
|
+
# Sets the global variable ticket_subject
|
106
|
+
#
|
107
|
+
# @author Jason Colyer
|
108
|
+
# @since 1.0.86
|
109
|
+
def self.ticket_subject
|
110
|
+
@ticket_subject ||= ENV.fetch('GRATIS_SUBJECT', 'Gratis Support Request')
|
111
|
+
end
|
112
|
+
|
104
113
|
##
|
105
114
|
# Sets the global variable context
|
106
115
|
#
|
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.87
|
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-12-
|
11
|
+
date: 2024-12-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|