pulp_python_client 3.10.0 → 3.11.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.
Files changed (82) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +18 -8
  3. data/docs/ContentPackagesApi.md +11 -7
  4. data/docs/DistributionsPypiApi.md +126 -4
  5. data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
  6. data/docs/PaginatedpythonPythonDistributionResponseList.md +2 -2
  7. data/docs/PaginatedpythonPythonPackageContentResponseList.md +2 -2
  8. data/docs/PaginatedpythonPythonPublicationResponseList.md +2 -2
  9. data/docs/PaginatedpythonPythonRemoteResponseList.md +2 -2
  10. data/docs/PaginatedpythonPythonRepositoryResponseList.md +2 -2
  11. data/docs/PatchedpythonPythonDistribution.md +2 -0
  12. data/docs/PublicationsPypiApi.md +3 -1
  13. data/docs/PypiApi.md +1 -1
  14. data/docs/PypiLegacyApi.md +1 -1
  15. data/docs/PypiMetadataApi.md +1 -1
  16. data/docs/PypiSimpleApi.md +1 -1
  17. data/docs/PythonPythonDistribution.md +2 -0
  18. data/docs/PythonPythonDistributionResponse.md +4 -0
  19. data/docs/PythonPythonPackageContent.md +5 -5
  20. data/docs/PythonPythonPackageContentResponse.md +2 -0
  21. data/docs/PythonPythonPublicationResponse.md +2 -0
  22. data/docs/PythonPythonRemoteResponse.md +2 -2
  23. data/docs/PythonPythonRemoteResponseHiddenFields.md +2 -2
  24. data/docs/PythonPythonRepositoryResponse.md +2 -0
  25. data/docs/RemotesPythonApi.md +123 -1
  26. data/docs/RepositoriesPythonApi.md +124 -2
  27. data/docs/RepositoriesPythonVersionsApi.md +3 -1
  28. data/docs/RepositoryVersionResponse.md +2 -0
  29. data/docs/SetLabel.md +19 -0
  30. data/docs/SetLabelResponse.md +19 -0
  31. data/docs/UnsetLabel.md +17 -0
  32. data/docs/UnsetLabelResponse.md +19 -0
  33. data/lib/pulp_python_client/api/content_packages_api.rb +13 -7
  34. data/lib/pulp_python_client/api/distributions_pypi_api.rb +158 -3
  35. data/lib/pulp_python_client/api/publications_pypi_api.rb +3 -0
  36. data/lib/pulp_python_client/api/remotes_python_api.rb +155 -0
  37. data/lib/pulp_python_client/api/repositories_python_api.rb +155 -0
  38. data/lib/pulp_python_client/api/repositories_python_versions_api.rb +3 -0
  39. data/lib/pulp_python_client/configuration.rb +2 -2
  40. data/lib/pulp_python_client/models/paginated_repository_version_response_list.rb +10 -0
  41. data/lib/pulp_python_client/models/paginatedpython_python_distribution_response_list.rb +10 -0
  42. data/lib/pulp_python_client/models/paginatedpython_python_package_content_response_list.rb +10 -0
  43. data/lib/pulp_python_client/models/paginatedpython_python_publication_response_list.rb +10 -0
  44. data/lib/pulp_python_client/models/paginatedpython_python_remote_response_list.rb +10 -0
  45. data/lib/pulp_python_client/models/paginatedpython_python_repository_response_list.rb +10 -0
  46. data/lib/pulp_python_client/models/patchedpython_python_distribution.rb +13 -1
  47. data/lib/pulp_python_client/models/python_python_distribution.rb +13 -1
  48. data/lib/pulp_python_client/models/python_python_distribution_response.rb +23 -1
  49. data/lib/pulp_python_client/models/python_python_package_content.rb +13 -13
  50. data/lib/pulp_python_client/models/python_python_package_content_response.rb +11 -1
  51. data/lib/pulp_python_client/models/python_python_publication_response.rb +11 -1
  52. data/lib/pulp_python_client/models/python_python_remote_response.rb +11 -11
  53. data/lib/pulp_python_client/models/python_python_remote_response_hidden_fields.rb +10 -0
  54. data/lib/pulp_python_client/models/python_python_repository_response.rb +11 -1
  55. data/lib/pulp_python_client/models/repository_version_response.rb +11 -1
  56. data/lib/pulp_python_client/models/set_label.rb +252 -0
  57. data/lib/pulp_python_client/models/set_label_response.rb +243 -0
  58. data/lib/pulp_python_client/models/unset_label.rb +242 -0
  59. data/lib/pulp_python_client/models/unset_label_response.rb +242 -0
  60. data/lib/pulp_python_client/version.rb +1 -1
  61. data/lib/pulp_python_client.rb +4 -0
  62. data/spec/api/content_packages_api_spec.rb +5 -3
  63. data/spec/api/distributions_pypi_api_spec.rb +32 -1
  64. data/spec/api/publications_pypi_api_spec.rb +1 -0
  65. data/spec/api/remotes_python_api_spec.rb +31 -0
  66. data/spec/api/repositories_python_api_spec.rb +31 -0
  67. data/spec/api/repositories_python_versions_api_spec.rb +1 -0
  68. data/spec/configuration_spec.rb +3 -3
  69. data/spec/models/patchedpython_python_distribution_spec.rb +6 -0
  70. data/spec/models/python_python_distribution_response_spec.rb +12 -0
  71. data/spec/models/python_python_distribution_spec.rb +6 -0
  72. data/spec/models/python_python_package_content_response_spec.rb +6 -0
  73. data/spec/models/python_python_package_content_spec.rb +4 -4
  74. data/spec/models/python_python_publication_response_spec.rb +6 -0
  75. data/spec/models/python_python_remote_response_spec.rb +6 -6
  76. data/spec/models/python_python_repository_response_spec.rb +6 -0
  77. data/spec/models/repository_version_response_spec.rb +6 -0
  78. data/spec/models/set_label_response_spec.rb +47 -0
  79. data/spec/models/set_label_spec.rb +47 -0
  80. data/spec/models/unset_label_response_spec.rb +47 -0
  81. data/spec/models/unset_label_spec.rb +41 -0
  82. metadata +47 -31
@@ -44,6 +44,12 @@ describe 'PythonPythonRepositoryResponse' do
44
44
  end
45
45
  end
46
46
 
47
+ describe 'test attribute "pulp_last_updated"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
47
53
  describe 'test attribute "versions_href"' do
48
54
  it 'should work' do
49
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -44,6 +44,12 @@ describe 'RepositoryVersionResponse' do
44
44
  end
45
45
  end
46
46
 
47
+ describe 'test attribute "pulp_last_updated"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
47
53
  describe 'test attribute "number"' do
48
54
  it 'should work' do
49
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -0,0 +1,47 @@
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
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for PulpPythonClient::SetLabelResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'SetLabelResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpPythonClient::SetLabelResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of SetLabelResponse' do
31
+ it 'should create an instance of SetLabelResponse' do
32
+ expect(@instance).to be_instance_of(PulpPythonClient::SetLabelResponse)
33
+ end
34
+ end
35
+ describe 'test attribute "key"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "value"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ end
@@ -0,0 +1,47 @@
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
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for PulpPythonClient::SetLabel
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'SetLabel' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpPythonClient::SetLabel.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of SetLabel' do
31
+ it 'should create an instance of SetLabel' do
32
+ expect(@instance).to be_instance_of(PulpPythonClient::SetLabel)
33
+ end
34
+ end
35
+ describe 'test attribute "key"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "value"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ end
@@ -0,0 +1,47 @@
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
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for PulpPythonClient::UnsetLabelResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'UnsetLabelResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpPythonClient::UnsetLabelResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of UnsetLabelResponse' do
31
+ it 'should create an instance of UnsetLabelResponse' do
32
+ expect(@instance).to be_instance_of(PulpPythonClient::UnsetLabelResponse)
33
+ end
34
+ end
35
+ describe 'test attribute "key"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "value"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ end
@@ -0,0 +1,41 @@
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
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for PulpPythonClient::UnsetLabel
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'UnsetLabel' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpPythonClient::UnsetLabel.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of UnsetLabel' do
31
+ it 'should create an instance of UnsetLabel' do
32
+ expect(@instance).to be_instance_of(PulpPythonClient::UnsetLabel)
33
+ end
34
+ end
35
+ describe 'test attribute "key"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ 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.10.0
4
+ version: 3.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-17 00:00:00.000000000 Z
11
+ date: 2024-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -123,7 +123,11 @@ files:
123
123
  - docs/RepositoryAddRemoveContent.md
124
124
  - docs/RepositorySyncURL.md
125
125
  - docs/RepositoryVersionResponse.md
126
+ - docs/SetLabel.md
127
+ - docs/SetLabelResponse.md
126
128
  - docs/SummaryResponse.md
129
+ - docs/UnsetLabel.md
130
+ - docs/UnsetLabelResponse.md
127
131
  - lib/pulp_python_client.rb
128
132
  - lib/pulp_python_client/api/content_packages_api.rb
129
133
  - lib/pulp_python_client/api/distributions_pypi_api.rb
@@ -171,7 +175,11 @@ files:
171
175
  - lib/pulp_python_client/models/repository_add_remove_content.rb
172
176
  - lib/pulp_python_client/models/repository_sync_url.rb
173
177
  - lib/pulp_python_client/models/repository_version_response.rb
178
+ - lib/pulp_python_client/models/set_label.rb
179
+ - lib/pulp_python_client/models/set_label_response.rb
174
180
  - lib/pulp_python_client/models/summary_response.rb
181
+ - lib/pulp_python_client/models/unset_label.rb
182
+ - lib/pulp_python_client/models/unset_label_response.rb
175
183
  - lib/pulp_python_client/version.rb
176
184
  - pulp_python_client.gemspec
177
185
  - spec/api/content_packages_api_spec.rb
@@ -219,7 +227,11 @@ files:
219
227
  - spec/models/repository_add_remove_content_spec.rb
220
228
  - spec/models/repository_sync_url_spec.rb
221
229
  - spec/models/repository_version_response_spec.rb
230
+ - spec/models/set_label_response_spec.rb
231
+ - spec/models/set_label_spec.rb
222
232
  - spec/models/summary_response_spec.rb
233
+ - spec/models/unset_label_response_spec.rb
234
+ - spec/models/unset_label_spec.rb
223
235
  - spec/spec_helper.rb
224
236
  homepage: https://github.com/pulp/pulp_python
225
237
  licenses:
@@ -245,50 +257,54 @@ signing_key:
245
257
  specification_version: 4
246
258
  summary: Pulp 3 API Ruby Gem
247
259
  test_files:
248
- - spec/api/pypi_simple_api_spec.rb
249
260
  - spec/api/pypi_legacy_api_spec.rb
261
+ - spec/api/distributions_pypi_api_spec.rb
262
+ - spec/api/publications_pypi_api_spec.rb
250
263
  - spec/api/content_packages_api_spec.rb
251
- - spec/api/repositories_python_api_spec.rb
252
264
  - spec/api/repositories_python_versions_api_spec.rb
253
- - spec/api/publications_pypi_api_spec.rb
254
265
  - spec/api/pypi_metadata_api_spec.rb
255
- - spec/api/distributions_pypi_api_spec.rb
256
- - spec/api/remotes_python_api_spec.rb
266
+ - spec/api/repositories_python_api_spec.rb
257
267
  - spec/api/pypi_api_spec.rb
268
+ - spec/api/remotes_python_api_spec.rb
269
+ - spec/api/pypi_simple_api_spec.rb
258
270
  - spec/api_client_spec.rb
259
271
  - spec/configuration_spec.rb
272
+ - spec/models/package_upload_task_response_spec.rb
273
+ - spec/models/patchedpython_python_remote_spec.rb
274
+ - spec/models/python_python_remote_response_spec.rb
260
275
  - spec/models/package_types_enum_spec.rb
261
276
  - spec/models/python_python_distribution_spec.rb
262
- - spec/models/content_summary_response_spec.rb
263
- - spec/models/patchedpython_python_distribution_spec.rb
264
- - spec/models/patchedpython_python_remote_spec.rb
265
- - spec/models/package_upload_task_response_spec.rb
266
- - spec/models/python_python_publication_spec.rb
267
- - spec/models/python_python_package_content_spec.rb
277
+ - spec/models/python_python_remote_spec.rb
278
+ - spec/models/async_operation_response_spec.rb
279
+ - spec/models/python_python_remote_response_hidden_fields_spec.rb
268
280
  - spec/models/package_metadata_response_spec.rb
269
281
  - spec/models/exclude_platforms_enum_spec.rb
270
- - spec/models/python_python_remote_spec.rb
271
- - spec/models/repository_sync_url_spec.rb
272
- - spec/models/repository_add_remove_content_spec.rb
273
- - spec/models/python_python_repository_spec.rb
274
- - spec/models/package_upload_spec.rb
275
- - spec/models/paginatedpython_python_package_content_response_list_spec.rb
276
- - spec/models/repair_spec.rb
277
- - spec/models/python_python_remote_response_spec.rb
278
- - spec/models/python_python_publication_response_spec.rb
279
- - spec/models/python_python_distribution_response_spec.rb
280
- - spec/models/python_python_repository_response_spec.rb
281
282
  - spec/models/summary_response_spec.rb
282
- - spec/models/policy_enum_spec.rb
283
- - spec/models/paginatedpython_python_distribution_response_list_spec.rb
284
- - spec/models/python_python_remote_response_hidden_fields_spec.rb
285
- - spec/models/patchedpython_python_repository_spec.rb
286
- - spec/models/python_python_package_content_response_spec.rb
283
+ - spec/models/content_summary_response_spec.rb
284
+ - spec/models/python_python_repository_spec.rb
287
285
  - spec/models/python_bander_remote_spec.rb
286
+ - spec/models/python_python_package_content_spec.rb
288
287
  - spec/models/paginatedpython_python_repository_response_list_spec.rb
288
+ - spec/models/python_python_package_content_response_spec.rb
289
+ - spec/models/repair_spec.rb
290
+ - spec/models/paginatedpython_python_package_content_response_list_spec.rb
291
+ - spec/models/repository_sync_url_spec.rb
292
+ - spec/models/package_upload_spec.rb
293
+ - spec/models/patchedpython_python_distribution_spec.rb
294
+ - spec/models/unset_label_spec.rb
289
295
  - spec/models/paginated_repository_version_response_list_spec.rb
290
- - spec/models/async_operation_response_spec.rb
291
- - spec/models/repository_version_response_spec.rb
296
+ - spec/models/policy_enum_spec.rb
297
+ - spec/models/python_python_repository_response_spec.rb
298
+ - spec/models/patchedpython_python_repository_spec.rb
299
+ - spec/models/set_label_spec.rb
300
+ - spec/models/repository_add_remove_content_spec.rb
292
301
  - spec/models/paginatedpython_python_remote_response_list_spec.rb
302
+ - spec/models/python_python_publication_spec.rb
303
+ - spec/models/repository_version_response_spec.rb
304
+ - spec/models/python_python_publication_response_spec.rb
305
+ - spec/models/paginatedpython_python_distribution_response_list_spec.rb
306
+ - spec/models/python_python_distribution_response_spec.rb
307
+ - spec/models/set_label_response_spec.rb
308
+ - spec/models/unset_label_response_spec.rb
293
309
  - spec/models/paginatedpython_python_publication_response_list_spec.rb
294
310
  - spec/spec_helper.rb