gitlab_quality-test_tooling 1.10.1 → 1.11.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: 021ba0cb90bad4c0b19863f72833bd2c4afc9e67c8ffccc82ed8faafd99cb651
4
- data.tar.gz: 965d8b9a2afd8c3679fa0fbd58c0aac7865134430cca0af96eaf20c29c4cce45
3
+ metadata.gz: 9d5389523997b69a28fe068d576dc92e77c1bcc461fda4ed50292bb2ce6d8c9c
4
+ data.tar.gz: 541341b34aa04d235d8c1b068f28533ff804b57411ce56237cb16f64e3381ad3
5
5
  SHA512:
6
- metadata.gz: b6b98c6fee95ea011fafda00a24a3bf57ecd110832e7dd4eaa68a8104cf963fe4a70dc62e5b17376436df041a6fbc2a1f322aecf53356284d4b2c85b43d07c2e
7
- data.tar.gz: e317015e67335421cec8593bf4713cf1cd07996eba501a9fe77315120ba057893a03678d851673ad39d3959db23ad94378dfb24b1bbb2e3bc7958d187c351c5d
6
+ metadata.gz: 17a53fa74d99ebd6bde6397ed9a5976cdce5a7fef4eb2ac20256bf93ffd8f346b15ff467b6ff6207f07a930597ec5b7814c131293d8d9a29548b5f39b10ca90e
7
+ data.tar.gz: 1a918bc5b005653e9ce263c728f0068256df77c638961d59a62b0461cdeb9d774556a58fe41e2409a81e0fac98f838c53d057c5ba7483ab04facc17c0e54e999
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gitlab_quality-test_tooling (1.10.1)
4
+ gitlab_quality-test_tooling (1.11.0)
5
5
  activesupport (>= 6.1, < 7.2)
6
6
  amatch (~> 0.4.1)
7
7
  gitlab (~> 4.19)
@@ -48,16 +48,6 @@ module GitlabQuality
48
48
  end
49
49
  end
50
50
 
51
- def find_issues_by_hash(test_hash, &select)
52
- select ||= :itself
53
-
54
- handle_gitlab_client_exceptions do
55
- client.search_in_project(project, 'issues', test_hash)
56
- .auto_paginate
57
- .select(&select)
58
- end
59
- end
60
-
61
51
  def find_issue_discussions(iid:)
62
52
  handle_gitlab_client_exceptions do
63
53
  client.issue_discussions(project, iid, order_by: 'created_at', sort: 'asc').auto_paginate
@@ -139,7 +139,8 @@ module GitlabQuality
139
139
  end
140
140
 
141
141
  def find_issues_by_hash(test_hash)
142
- gitlab.find_issues_by_hash(test_hash)
142
+ search_options = { search: test_hash }
143
+ gitlab.find_issues(options: search_options)
143
144
  end
144
145
 
145
146
  def find_issues_for_test(test, labels:, not_labels: Set.new, state: nil)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module GitlabQuality
4
4
  module TestTooling
5
- VERSION = "1.10.1"
5
+ VERSION = "1.11.0"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab_quality-test_tooling
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.1
4
+ version: 1.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitLab Quality
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-01-05 00:00:00.000000000 Z
11
+ date: 2024-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: climate_control