pulp_python_client 3.32.1 → 3.33.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 +4 -4
- data/README.md +13 -4
- data/docs/ContentPackagesApi.md +2 -0
- data/docs/ContentYanksApi.md +341 -0
- data/docs/PaginatedpythonPackageYankResponseList.md +24 -0
- data/docs/PypiLegacyApi.md +2 -2
- data/docs/PypiSimpleApi.md +2 -2
- data/docs/PypiUnyankApi.md +84 -0
- data/docs/PypiYankApi.md +84 -0
- data/docs/PythonPackageYankResponse.md +34 -0
- data/docs/Yank.md +22 -0
- data/lib/pulp_python_client/api/content_packages_api.rb +3 -0
- data/lib/pulp_python_client/api/content_yanks_api.rb +354 -0
- data/lib/pulp_python_client/api/pypi_legacy_api.rb +2 -2
- data/lib/pulp_python_client/api/pypi_simple_api.rb +2 -2
- data/lib/pulp_python_client/api/pypi_unyank_api.rb +99 -0
- data/lib/pulp_python_client/api/pypi_yank_api.rb +99 -0
- data/lib/pulp_python_client/models/metadata_version_enum.rb +2 -1
- data/lib/pulp_python_client/models/paginatedpython_package_yank_response_list.rb +257 -0
- data/lib/pulp_python_client/models/python_package_yank_response.rb +293 -0
- data/lib/pulp_python_client/models/yank.rb +290 -0
- data/lib/pulp_python_client/version.rb +1 -1
- data/lib/pulp_python_client.rb +6 -0
- data/spec/api/content_packages_api_spec.rb +1 -0
- data/spec/api/content_yanks_api_spec.rb +104 -0
- data/spec/api/pypi_legacy_api_spec.rb +1 -1
- data/spec/api/pypi_simple_api_spec.rb +1 -1
- data/spec/api/pypi_unyank_api_spec.rb +49 -0
- data/spec/api/pypi_yank_api_spec.rb +49 -0
- data/spec/models/paginatedpython_package_yank_response_list_spec.rb +54 -0
- data/spec/models/python_package_yank_response_spec.rb +84 -0
- data/spec/models/yank_spec.rb +48 -0
- metadata +26 -2
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Pulp 3 API
|
|
3
|
+
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: v3
|
|
7
|
+
Contact: pulp-list@redhat.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for PulpPythonClient::PythonPackageYankResponse
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe PulpPythonClient::PythonPackageYankResponse do
|
|
21
|
+
let(:instance) { PulpPythonClient::PythonPackageYankResponse.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of PythonPackageYankResponse' do
|
|
24
|
+
it 'should create an instance of PythonPackageYankResponse' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(PulpPythonClient::PythonPackageYankResponse)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "pulp_href"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "prn"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "pulp_created"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "pulp_last_updated"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "pulp_labels"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
describe 'test attribute "vuln_report"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
describe 'test attribute "name_normalized"' do
|
|
67
|
+
it 'should work' do
|
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
describe 'test attribute "version"' do
|
|
73
|
+
it 'should work' do
|
|
74
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
describe 'test attribute "yanked_reason"' do
|
|
79
|
+
it 'should work' do
|
|
80
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
end
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Pulp 3 API
|
|
3
|
+
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: v3
|
|
7
|
+
Contact: pulp-list@redhat.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for PulpPythonClient::Yank
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe PulpPythonClient::Yank do
|
|
21
|
+
let(:instance) { PulpPythonClient::Yank.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of Yank' do
|
|
24
|
+
it 'should create an instance of Yank' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(PulpPythonClient::Yank)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "name"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "version"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "yanked_reason"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pulp_python_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.33.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-07
|
|
11
|
+
date: 2026-08-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -92,6 +92,7 @@ files:
|
|
|
92
92
|
- docs/ContentPackagesApi.md
|
|
93
93
|
- docs/ContentProvenanceApi.md
|
|
94
94
|
- docs/ContentSummaryResponse.md
|
|
95
|
+
- docs/ContentYanksApi.md
|
|
95
96
|
- docs/DistributionsPypiApi.md
|
|
96
97
|
- docs/ExcludePlatformsEnum.md
|
|
97
98
|
- docs/FiletypeEnum.md
|
|
@@ -105,6 +106,7 @@ files:
|
|
|
105
106
|
- docs/PackageUploadTaskResponse.md
|
|
106
107
|
- docs/PaginatedRepositoryVersionResponseList.md
|
|
107
108
|
- docs/PaginatedpythonPackageProvenanceResponseList.md
|
|
109
|
+
- docs/PaginatedpythonPackageYankResponseList.md
|
|
108
110
|
- docs/PaginatedpythonPythonBlocklistEntryResponseList.md
|
|
109
111
|
- docs/PaginatedpythonPythonDistributionResponseList.md
|
|
110
112
|
- docs/PaginatedpythonPythonPackageContentResponseList.md
|
|
@@ -122,7 +124,10 @@ files:
|
|
|
122
124
|
- docs/PypiMetadataApi.md
|
|
123
125
|
- docs/PypiProvenanceApi.md
|
|
124
126
|
- docs/PypiSimpleApi.md
|
|
127
|
+
- docs/PypiUnyankApi.md
|
|
128
|
+
- docs/PypiYankApi.md
|
|
125
129
|
- docs/PythonPackageProvenanceResponse.md
|
|
130
|
+
- docs/PythonPackageYankResponse.md
|
|
126
131
|
- docs/PythonPythonBlocklistEntry.md
|
|
127
132
|
- docs/PythonPythonBlocklistEntryResponse.md
|
|
128
133
|
- docs/PythonPythonDistribution.md
|
|
@@ -150,9 +155,11 @@ files:
|
|
|
150
155
|
- docs/SummaryResponse.md
|
|
151
156
|
- docs/UnsetLabel.md
|
|
152
157
|
- docs/UnsetLabelResponse.md
|
|
158
|
+
- docs/Yank.md
|
|
153
159
|
- lib/pulp_python_client.rb
|
|
154
160
|
- lib/pulp_python_client/api/content_packages_api.rb
|
|
155
161
|
- lib/pulp_python_client/api/content_provenance_api.rb
|
|
162
|
+
- lib/pulp_python_client/api/content_yanks_api.rb
|
|
156
163
|
- lib/pulp_python_client/api/distributions_pypi_api.rb
|
|
157
164
|
- lib/pulp_python_client/api/publications_pypi_api.rb
|
|
158
165
|
- lib/pulp_python_client/api/pypi_api.rb
|
|
@@ -160,6 +167,8 @@ files:
|
|
|
160
167
|
- lib/pulp_python_client/api/pypi_metadata_api.rb
|
|
161
168
|
- lib/pulp_python_client/api/pypi_provenance_api.rb
|
|
162
169
|
- lib/pulp_python_client/api/pypi_simple_api.rb
|
|
170
|
+
- lib/pulp_python_client/api/pypi_unyank_api.rb
|
|
171
|
+
- lib/pulp_python_client/api/pypi_yank_api.rb
|
|
163
172
|
- lib/pulp_python_client/api/remotes_python_api.rb
|
|
164
173
|
- lib/pulp_python_client/api/repositories_python_api.rb
|
|
165
174
|
- lib/pulp_python_client/api/repositories_python_blocklist_entries_api.rb
|
|
@@ -181,6 +190,7 @@ files:
|
|
|
181
190
|
- lib/pulp_python_client/models/package_upload_task_response.rb
|
|
182
191
|
- lib/pulp_python_client/models/paginated_repository_version_response_list.rb
|
|
183
192
|
- lib/pulp_python_client/models/paginatedpython_package_provenance_response_list.rb
|
|
193
|
+
- lib/pulp_python_client/models/paginatedpython_package_yank_response_list.rb
|
|
184
194
|
- lib/pulp_python_client/models/paginatedpython_python_blocklist_entry_response_list.rb
|
|
185
195
|
- lib/pulp_python_client/models/paginatedpython_python_distribution_response_list.rb
|
|
186
196
|
- lib/pulp_python_client/models/paginatedpython_python_package_content_response_list.rb
|
|
@@ -193,6 +203,7 @@ files:
|
|
|
193
203
|
- lib/pulp_python_client/models/policy_enum.rb
|
|
194
204
|
- lib/pulp_python_client/models/protocol_version_enum.rb
|
|
195
205
|
- lib/pulp_python_client/models/python_package_provenance_response.rb
|
|
206
|
+
- lib/pulp_python_client/models/python_package_yank_response.rb
|
|
196
207
|
- lib/pulp_python_client/models/python_python_blocklist_entry.rb
|
|
197
208
|
- lib/pulp_python_client/models/python_python_blocklist_entry_response.rb
|
|
198
209
|
- lib/pulp_python_client/models/python_python_distribution.rb
|
|
@@ -216,10 +227,12 @@ files:
|
|
|
216
227
|
- lib/pulp_python_client/models/summary_response.rb
|
|
217
228
|
- lib/pulp_python_client/models/unset_label.rb
|
|
218
229
|
- lib/pulp_python_client/models/unset_label_response.rb
|
|
230
|
+
- lib/pulp_python_client/models/yank.rb
|
|
219
231
|
- lib/pulp_python_client/version.rb
|
|
220
232
|
- pulp_python_client.gemspec
|
|
221
233
|
- spec/api/content_packages_api_spec.rb
|
|
222
234
|
- spec/api/content_provenance_api_spec.rb
|
|
235
|
+
- spec/api/content_yanks_api_spec.rb
|
|
223
236
|
- spec/api/distributions_pypi_api_spec.rb
|
|
224
237
|
- spec/api/publications_pypi_api_spec.rb
|
|
225
238
|
- spec/api/pypi_api_spec.rb
|
|
@@ -227,6 +240,8 @@ files:
|
|
|
227
240
|
- spec/api/pypi_metadata_api_spec.rb
|
|
228
241
|
- spec/api/pypi_provenance_api_spec.rb
|
|
229
242
|
- spec/api/pypi_simple_api_spec.rb
|
|
243
|
+
- spec/api/pypi_unyank_api_spec.rb
|
|
244
|
+
- spec/api/pypi_yank_api_spec.rb
|
|
230
245
|
- spec/api/remotes_python_api_spec.rb
|
|
231
246
|
- spec/api/repositories_python_api_spec.rb
|
|
232
247
|
- spec/api/repositories_python_blocklist_entries_api_spec.rb
|
|
@@ -245,6 +260,7 @@ files:
|
|
|
245
260
|
- spec/models/package_upload_task_response_spec.rb
|
|
246
261
|
- spec/models/paginated_repository_version_response_list_spec.rb
|
|
247
262
|
- spec/models/paginatedpython_package_provenance_response_list_spec.rb
|
|
263
|
+
- spec/models/paginatedpython_package_yank_response_list_spec.rb
|
|
248
264
|
- spec/models/paginatedpython_python_blocklist_entry_response_list_spec.rb
|
|
249
265
|
- spec/models/paginatedpython_python_distribution_response_list_spec.rb
|
|
250
266
|
- spec/models/paginatedpython_python_package_content_response_list_spec.rb
|
|
@@ -257,6 +273,7 @@ files:
|
|
|
257
273
|
- spec/models/policy_enum_spec.rb
|
|
258
274
|
- spec/models/protocol_version_enum_spec.rb
|
|
259
275
|
- spec/models/python_package_provenance_response_spec.rb
|
|
276
|
+
- spec/models/python_package_yank_response_spec.rb
|
|
260
277
|
- spec/models/python_python_blocklist_entry_response_spec.rb
|
|
261
278
|
- spec/models/python_python_blocklist_entry_spec.rb
|
|
262
279
|
- spec/models/python_python_distribution_response_spec.rb
|
|
@@ -280,6 +297,7 @@ files:
|
|
|
280
297
|
- spec/models/summary_response_spec.rb
|
|
281
298
|
- spec/models/unset_label_response_spec.rb
|
|
282
299
|
- spec/models/unset_label_spec.rb
|
|
300
|
+
- spec/models/yank_spec.rb
|
|
283
301
|
- spec/spec_helper.rb
|
|
284
302
|
homepage: https://github.com/pulp/pulp_python
|
|
285
303
|
licenses:
|
|
@@ -307,13 +325,16 @@ summary: Pulp 3 API Ruby Gem
|
|
|
307
325
|
test_files:
|
|
308
326
|
- spec/api/pypi_legacy_api_spec.rb
|
|
309
327
|
- spec/api/pypi_metadata_api_spec.rb
|
|
328
|
+
- spec/api/content_yanks_api_spec.rb
|
|
310
329
|
- spec/api/repositories_python_versions_api_spec.rb
|
|
311
330
|
- spec/api/content_packages_api_spec.rb
|
|
312
331
|
- spec/api/pypi_simple_api_spec.rb
|
|
313
332
|
- spec/api/pypi_provenance_api_spec.rb
|
|
333
|
+
- spec/api/pypi_yank_api_spec.rb
|
|
314
334
|
- spec/api/publications_pypi_api_spec.rb
|
|
315
335
|
- spec/api/repositories_python_api_spec.rb
|
|
316
336
|
- spec/api/content_provenance_api_spec.rb
|
|
337
|
+
- spec/api/pypi_unyank_api_spec.rb
|
|
317
338
|
- spec/api/repositories_python_blocklist_entries_api_spec.rb
|
|
318
339
|
- spec/api/remotes_python_api_spec.rb
|
|
319
340
|
- spec/api/pypi_api_spec.rb
|
|
@@ -336,6 +357,7 @@ test_files:
|
|
|
336
357
|
- spec/models/remote_network_config_response_spec.rb
|
|
337
358
|
- spec/models/python_python_publication_response_spec.rb
|
|
338
359
|
- spec/models/python_python_remote_response_hidden_fields_inner_spec.rb
|
|
360
|
+
- spec/models/yank_spec.rb
|
|
339
361
|
- spec/models/python_python_blocklist_entry_spec.rb
|
|
340
362
|
- spec/models/paginatedpython_python_package_content_response_list_spec.rb
|
|
341
363
|
- spec/models/patchedpython_python_remote_spec.rb
|
|
@@ -347,6 +369,7 @@ test_files:
|
|
|
347
369
|
- spec/models/python_python_distribution_spec.rb
|
|
348
370
|
- spec/models/set_label_response_spec.rb
|
|
349
371
|
- spec/models/python_python_blocklist_entry_response_spec.rb
|
|
372
|
+
- spec/models/python_package_yank_response_spec.rb
|
|
350
373
|
- spec/models/nested_role_spec.rb
|
|
351
374
|
- spec/models/repository_version_response_spec.rb
|
|
352
375
|
- spec/models/my_permissions_response_spec.rb
|
|
@@ -355,6 +378,7 @@ test_files:
|
|
|
355
378
|
- spec/models/patchedpython_python_repository_spec.rb
|
|
356
379
|
- spec/models/metadata_version_enum_spec.rb
|
|
357
380
|
- spec/models/package_metadata_response_spec.rb
|
|
381
|
+
- spec/models/paginatedpython_package_yank_response_list_spec.rb
|
|
358
382
|
- spec/models/python_python_publication_spec.rb
|
|
359
383
|
- spec/models/python_python_remote_response_spec.rb
|
|
360
384
|
- spec/models/unset_label_response_spec.rb
|