gitlab-customer-support-operations_gitlab 1.0.0 → 1.1.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b9d87f3aa25af0d3fb4b30b940a3b80ac6edc6d11cdd1b764c2aa5d28fff3522
|
4
|
+
data.tar.gz: 00c29d5f699227da68e2a0ec58d3253dd8967b353e1550353e5e90f52ace5113
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d874a83d467ac3ae18af6d418bf72745f79996a0d830df122dba4e29df66dfaf90370fefcda8bb4f49f838dd6b5f10b213258813bf99176bd9df98f7b81323c7
|
7
|
+
data.tar.gz: 87a2498deae3edf4f20a3bfdc019d5230487592be087331ce10864efd083f0b471630c8259fe25442861576444902b4d7ea8f614dac8b5699cc9d4a53b8eaa48
|
@@ -13,6 +13,7 @@ module SupportOps
|
|
13
13
|
# @attr [Hash] author
|
14
14
|
# @attr [Integer] author_id
|
15
15
|
# @attr [String] author_username
|
16
|
+
# @attr [String] created_at
|
16
17
|
# @attr [Integer] id
|
17
18
|
# @attr [Boolean] imported
|
18
19
|
# @attr [String] imported_from
|
@@ -26,12 +27,13 @@ module SupportOps
|
|
26
27
|
# @todo List all events > https://docs.gitlab.com/api/events/#list-all-events
|
27
28
|
class Events < SupportOps::GitLab::Base
|
28
29
|
define_attributes :action_name, :author, :author_id, :author_username,
|
29
|
-
:id, :imported, :imported_from,
|
30
|
-
:
|
30
|
+
:created_at, :id, :imported, :imported_from,
|
31
|
+
:project_id, :target_id, :target_iid, :target_title,
|
32
|
+
:target_type, :title
|
31
33
|
readonly_attributes :action_name, :author, :author_id, :author_username,
|
32
|
-
:id, :imported, :imported_from,
|
33
|
-
:target_id, :target_iid, :target_title,
|
34
|
-
:title
|
34
|
+
:created_at, :id, :imported, :imported_from,
|
35
|
+
:project_id, :target_id, :target_iid, :target_title,
|
36
|
+
:target_type, :title
|
35
37
|
|
36
38
|
##
|
37
39
|
# Get contribution events for a user
|
@@ -346,7 +346,6 @@ module SupportOps
|
|
346
346
|
page = 1
|
347
347
|
loop do
|
348
348
|
response = self.client.connection.get("#{base_url}?#{params}&page=#{page}&per_page=100")
|
349
|
-
pp "#{base_url}?#{params}&page=#{page}&per_page=100"
|
350
349
|
body = Oj.load(response.body)
|
351
350
|
array += body.map { |g| GroupMemberships.new(g) }
|
352
351
|
break if body.count < 100
|
@@ -634,7 +634,6 @@ module SupportOps
|
|
634
634
|
page = 1
|
635
635
|
loop do
|
636
636
|
response = self.client.connection.get("#{base_url}?#{params}&page=#{page}&per_page=100")
|
637
|
-
pp "#{base_url}?#{params}&page=#{page}&per_page=100"
|
638
637
|
body = Oj.load(response.body)
|
639
638
|
array += body.map { |p| ProjectMemberships.new(p) }
|
640
639
|
break if body.count < 100
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitlab-customer-support-operations_gitlab
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.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-
|
11
|
+
date: 2025-07-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|