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: 58b7dc8a1f70df08c86c005e99bf1c927ddda146d3b00ca25e31d56b87818144
4
- data.tar.gz: ad3e1f77cc3593abb33bfcab7d84a97d398ca870d70b67a6279b819567336848
3
+ metadata.gz: b9d87f3aa25af0d3fb4b30b940a3b80ac6edc6d11cdd1b764c2aa5d28fff3522
4
+ data.tar.gz: 00c29d5f699227da68e2a0ec58d3253dd8967b353e1550353e5e90f52ace5113
5
5
  SHA512:
6
- metadata.gz: 5ebfb432d9f3e5a397ed0de90353490a426ac70abed7525bb4440ded553041cd5be57315b4330fb864a4d403d4ab2a8237934b2a908b5bffe46edb8c6bf78201
7
- data.tar.gz: 7fc196553f5906cbb3b9971cc1f396f915733c9b7eecd921de76b71641dc4fc748bb7d51718effd026c4ff749837f86241389b2b04c471de5cb24c9878b6f1e7
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, :project_id, :target_id,
30
- :target_iid, :target_title, :target_type, :title
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, :project_id,
33
- :target_id, :target_iid, :target_title, :target_type,
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.0.0
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-07 00:00:00.000000000 Z
11
+ date: 2025-07-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport