gitlab_support_readiness 1.0.78 → 1.0.79
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/support_readiness/repos/user_fields.rb +4 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ab152b190b7406096ae4b03761756a7b2f43e8d0645517d9c7f84cbc1613924
|
4
|
+
data.tar.gz: 32bafb426a9d9f4e35de48b51648701888688df628954052f4a5c620cd552e93
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aac4f379c49a9facb457c893bccc16f6e7482b3045782a5da938102bf6dbe67a063b5ce0cec13ecffb989bbe6d661d91f12e8632eadca295811e26e046959017
|
7
|
+
data.tar.gz: dcbc8d4ec205911e789de683b4b84e12ae66deb757b0306d3ddad9c74e037c7fcb152ca4b04dd6c5cac5bc33aff912ee182d4badab63b874a90796868f67a5d7
|
@@ -53,13 +53,15 @@ module Readiness
|
|
53
53
|
repo.custom_field_options.map! { |o| Zendesk::UserFieldOptions.new(o) } unless repo.custom_field_options.first.is_a? Object
|
54
54
|
repo.custom_field_options.each do |repo_option|
|
55
55
|
repo_option.position = repo.custom_field_options.index(repo_option) if repo_option.position.nil?
|
56
|
-
|
56
|
+
repo_option.id = nil
|
57
|
+
zd_option = zd_options.detect { |zd_o| zd_o.value == repo_option.value }
|
58
|
+
zd_option.id = nil unless zd_option.nil?
|
57
59
|
if zd_option.nil? || to_clean_json(zd_option) != to_clean_json(repo_option)
|
58
60
|
@diffs[:option_updates].push({ "#{repo.title}" => repo_option })
|
59
61
|
end
|
60
62
|
end
|
61
63
|
zd_options.each do |zd_option|
|
62
|
-
repo_option = repo.custom_field_options.detect { |rp_o| rp_o.
|
64
|
+
repo_option = repo.custom_field_options.detect { |rp_o| rp_o.value == zd_option.value }
|
63
65
|
if repo_option.nil?
|
64
66
|
@diffs[:option_deletes].push({ "#{repo.title}" => zd_option })
|
65
67
|
end
|
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.79
|
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-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|