gitlab-customer-support-operations_zendesk 1.0.0 → 1.0.1
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: 4a0974a1065fc1bce618994ff07f4fc5ef01fcec33e4e23b4be12c1433e308ca
|
4
|
+
data.tar.gz: a2fd8cd3ebc87245f4226bd9aaad1a15d8e44986e47bf511b8bbb58403aa687f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 171a0c7dec602bf97dd9bca3b4d5c1f3662269bf1859b6536f8b501193a6b5a58317b30a2a564fa838f4ca416dbae22d73b6c5d26da088349a5b8f42979989dd
|
7
|
+
data.tar.gz: 19a43ab52dabd7e87510b404bb1477d4264ae6809ff99a0b0d60c48d8c2ae790977995369638ca372bdf0a1698c2049f3abaecd39376955b3b72a1c9eb73c144
|
@@ -123,14 +123,15 @@ module SupportOps
|
|
123
123
|
array = []
|
124
124
|
opts = 'page[size]=30'
|
125
125
|
opts += "&filter[name_prefix]=#{args[:name_prefix]}" unless args[:name_prefix].to_s == ''
|
126
|
+
cursor = ''
|
126
127
|
loop do
|
127
|
-
response = client.connection.get("guide/content_tags?#{opts}")
|
128
|
+
response = client.connection.get("guide/content_tags?#{opts}&page[after]=#{cursor}")
|
128
129
|
body = Oj.load(response.body)
|
129
130
|
array += body['records'].map { |r| HelpCenterContentTags.new(r) }
|
130
131
|
break if args[:limit].to_i.positive? && array.count >= args[:limit].to_i
|
131
132
|
break unless body['meta']['has_more']
|
132
133
|
|
133
|
-
|
134
|
+
cursor = body['meta']['after_cursor']
|
134
135
|
end
|
135
136
|
return array if args[:limit].to_i.zero?
|
136
137
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitlab-customer-support-operations_zendesk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
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-
|
11
|
+
date: 2025-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|