gitlab_support_readiness 1.0.28 → 1.0.29
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: 2ca2350536014a634279c6a491c0658ffe7b24904cac0037a6ec5c3a06316854
|
4
|
+
data.tar.gz: f629f6087c8b8d7479e942c5c2ad70f15c2a9464dcb3e8949191e8384d5bf8be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46212ae44f7841397bf47051df2d493cda9a13868cd9355f75430756f3c9a415834f3fd02321d8a5f7f7fe3f13477f0c6ab76cac79eff2c8e451709ee1ae8ee8
|
7
|
+
data.tar.gz: 1c72dd362a329149b6fec68c379a6aea2271ab7185ff5aafcf9f7a5f54cbd0be2b620af83ff3bf1dded0ed4bf58be17665ab63f31786b315fb68fd5a2f95c944
|
@@ -149,12 +149,12 @@ module Readiness
|
|
149
149
|
puts '- Organization created'
|
150
150
|
if create_global_contact?(create)
|
151
151
|
print '- Setting up contact for org...'
|
152
|
-
contact = differences[:contacts].detect { |c| ['salesforce_id'] == org.organization_fields['salesforce_id'] }
|
152
|
+
contact = differences[:contacts].detect { |c| c['salesforce_id'] == org.organization_fields['salesforce_id'] }
|
153
153
|
if contact.nil?
|
154
154
|
Readiness::Slack::Messages.create!(slack_client, global_slack_message(create))
|
155
155
|
puts 'error'
|
156
156
|
else
|
157
|
-
search = Readiness::Zendesk::Search
|
157
|
+
search = Readiness::Zendesk::Search.users(zendesk_client, "email:#{contact['email']}")
|
158
158
|
if search.count == 1
|
159
159
|
if search.first.organization_id.nil?
|
160
160
|
user = search.first
|
@@ -178,7 +178,7 @@ module Readiness
|
|
178
178
|
end
|
179
179
|
end
|
180
180
|
end
|
181
|
-
@organizations.push(global_zd_sync_object(
|
181
|
+
@organizations.push(global_zd_sync_object(create))
|
182
182
|
end
|
183
183
|
differences[:updates].each do |org|
|
184
184
|
print "Updating #{org.name}..."
|
@@ -1069,7 +1069,7 @@ module Readiness
|
|
1069
1069
|
<<~STRING
|
1070
1070
|
:double-exclaimation: Attention Support Readiness! :double-exclaimation:
|
1071
1071
|
|
1072
|
-
An organization (<https://gitlab.zendesk.com/agent/organizations
|
1072
|
+
An organization (<https://gitlab.zendesk.com/agent/organizations/#{org.id}|#{org.id}>) was created for SFDC account #{org.organization_fields['salesforce_id']} (#{sfdc_links(org.organization_fields['salesforce_id'])}) but it had no corresponsing contacts.
|
1073
1073
|
|
1074
1074
|
Please investigate this manually. If you are able to locate a contact to use for the created organization, please add/associate them manually.
|
1075
1075
|
STRING
|
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.29
|
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-
|
11
|
+
date: 2024-10-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|