pulp_deb_client 2.16.0 → 2.18.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -6
  3. data/docs/Copy.md +21 -0
  4. data/docs/DebAptRemote.md +1 -1
  5. data/docs/DebAptRemoteResponse.md +1 -1
  6. data/docs/DebCopyApi.md +62 -0
  7. data/docs/PatcheddebAptRemote.md +1 -1
  8. data/docs/Repair.md +17 -0
  9. data/docs/RepositoriesAptVersionsApi.md +4 -4
  10. data/lib/pulp_deb_client/api/content_generic_contents_api.rb +4 -0
  11. data/lib/pulp_deb_client/api/content_installer_packages_api.rb +4 -0
  12. data/lib/pulp_deb_client/api/content_packages_api.rb +4 -0
  13. data/lib/pulp_deb_client/api/deb_copy_api.rb +86 -0
  14. data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +9 -9
  15. data/lib/pulp_deb_client/api_client.rb +1 -4
  16. data/lib/pulp_deb_client/configuration.rb +1 -0
  17. data/lib/pulp_deb_client/models/{content_summary.rb → copy.rb} +33 -42
  18. data/lib/pulp_deb_client/models/deb_apt_distribution.rb +38 -0
  19. data/lib/pulp_deb_client/models/deb_apt_remote.rb +223 -1
  20. data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +1 -1
  21. data/lib/pulp_deb_client/models/deb_apt_repository.rb +34 -0
  22. data/lib/pulp_deb_client/models/deb_base_package.rb +15 -0
  23. data/lib/pulp_deb_client/models/deb_generic_content.rb +19 -0
  24. data/lib/pulp_deb_client/models/deb_installer_file_index.rb +53 -0
  25. data/lib/pulp_deb_client/models/deb_package_index.rb +45 -0
  26. data/lib/pulp_deb_client/models/deb_release.rb +57 -0
  27. data/lib/pulp_deb_client/models/deb_release_architecture.rb +19 -0
  28. data/lib/pulp_deb_client/models/deb_release_component.rb +19 -0
  29. data/lib/pulp_deb_client/models/deb_release_file.rb +64 -0
  30. data/lib/pulp_deb_client/models/patcheddeb_apt_distribution.rb +30 -0
  31. data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +211 -1
  32. data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +30 -0
  33. data/lib/pulp_deb_client/models/{repository_version.rb → repair.rb} +13 -12
  34. data/lib/pulp_deb_client/version.rb +1 -1
  35. data/lib/pulp_deb_client.rb +3 -2
  36. data/pulp_deb_client.gemspec +1 -1
  37. data/spec/api/deb_copy_api_spec.rb +47 -0
  38. data/spec/api/repositories_apt_versions_api_spec.rb +1 -1
  39. data/spec/models/{content_summary_spec.rb → copy_spec.rb} +9 -9
  40. data/spec/models/{repository_version_spec.rb → repair_spec.rb} +7 -7
  41. metadata +73 -63
  42. data/docs/ContentSummary.md +0 -21
  43. data/docs/RepositoryVersion.md +0 -17
@@ -14,37 +14,37 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for PulpDebClient::ContentSummary
17
+ # Unit tests for PulpDebClient::Copy
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe 'ContentSummary' do
20
+ describe 'Copy' do
21
21
  before do
22
22
  # run before each test
23
- @instance = PulpDebClient::ContentSummary.new
23
+ @instance = PulpDebClient::Copy.new
24
24
  end
25
25
 
26
26
  after do
27
27
  # run after each test
28
28
  end
29
29
 
30
- describe 'test an instance of ContentSummary' do
31
- it 'should create an instance of ContentSummary' do
32
- expect(@instance).to be_instance_of(PulpDebClient::ContentSummary)
30
+ describe 'test an instance of Copy' do
31
+ it 'should create an instance of Copy' do
32
+ expect(@instance).to be_instance_of(PulpDebClient::Copy)
33
33
  end
34
34
  end
35
- describe 'test attribute "added"' do
35
+ describe 'test attribute "config"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "removed"' do
41
+ describe 'test attribute "structured"' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "present"' do
47
+ describe 'test attribute "dependency_solving"' do
48
48
  it 'should work' do
49
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
@@ -14,25 +14,25 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for PulpDebClient::RepositoryVersion
17
+ # Unit tests for PulpDebClient::Repair
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe 'RepositoryVersion' do
20
+ describe 'Repair' do
21
21
  before do
22
22
  # run before each test
23
- @instance = PulpDebClient::RepositoryVersion.new
23
+ @instance = PulpDebClient::Repair.new
24
24
  end
25
25
 
26
26
  after do
27
27
  # run after each test
28
28
  end
29
29
 
30
- describe 'test an instance of RepositoryVersion' do
31
- it 'should create an instance of RepositoryVersion' do
32
- expect(@instance).to be_instance_of(PulpDebClient::RepositoryVersion)
30
+ describe 'test an instance of Repair' do
31
+ it 'should create an instance of Repair' do
32
+ expect(@instance).to be_instance_of(PulpDebClient::Repair)
33
33
  end
34
34
  end
35
- describe 'test attribute "base_version"' do
35
+ describe 'test attribute "verify_checksums"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulp_deb_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.16.0
4
+ version: 2.18.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: 2021-10-28 00:00:00.000000000 Z
11
+ date: 2022-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.14.0
19
+ version: '0.17'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 1.9.0
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - ">="
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '0.17'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: 0.14.0
32
+ version: 1.9.0
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: json
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -85,8 +91,8 @@ files:
85
91
  - docs/ContentReleaseComponentsApi.md
86
92
  - docs/ContentReleaseFilesApi.md
87
93
  - docs/ContentReleasesApi.md
88
- - docs/ContentSummary.md
89
94
  - docs/ContentSummaryResponse.md
95
+ - docs/Copy.md
90
96
  - docs/DebAptDistribution.md
91
97
  - docs/DebAptDistributionResponse.md
92
98
  - docs/DebAptPublication.md
@@ -97,6 +103,7 @@ files:
97
103
  - docs/DebAptRepositoryResponse.md
98
104
  - docs/DebBasePackage.md
99
105
  - docs/DebBasePackageResponse.md
106
+ - docs/DebCopyApi.md
100
107
  - docs/DebGenericContent.md
101
108
  - docs/DebGenericContentResponse.md
102
109
  - docs/DebInstallerFileIndex.md
@@ -138,11 +145,11 @@ files:
138
145
  - docs/PublicationsAptApi.md
139
146
  - docs/PublicationsVerbatimApi.md
140
147
  - docs/RemotesAptApi.md
148
+ - docs/Repair.md
141
149
  - docs/RepositoriesAptApi.md
142
150
  - docs/RepositoriesAptVersionsApi.md
143
151
  - docs/RepositoryAddRemoveContent.md
144
152
  - docs/RepositorySyncURL.md
145
- - docs/RepositoryVersion.md
146
153
  - docs/RepositoryVersionResponse.md
147
154
  - git_push.sh
148
155
  - lib/pulp_deb_client.rb
@@ -156,6 +163,7 @@ files:
156
163
  - lib/pulp_deb_client/api/content_release_components_api.rb
157
164
  - lib/pulp_deb_client/api/content_release_files_api.rb
158
165
  - lib/pulp_deb_client/api/content_releases_api.rb
166
+ - lib/pulp_deb_client/api/deb_copy_api.rb
159
167
  - lib/pulp_deb_client/api/distributions_apt_api.rb
160
168
  - lib/pulp_deb_client/api/publications_apt_api.rb
161
169
  - lib/pulp_deb_client/api/publications_verbatim_api.rb
@@ -166,8 +174,8 @@ files:
166
174
  - lib/pulp_deb_client/api_error.rb
167
175
  - lib/pulp_deb_client/configuration.rb
168
176
  - lib/pulp_deb_client/models/async_operation_response.rb
169
- - lib/pulp_deb_client/models/content_summary.rb
170
177
  - lib/pulp_deb_client/models/content_summary_response.rb
178
+ - lib/pulp_deb_client/models/copy.rb
171
179
  - lib/pulp_deb_client/models/deb_apt_distribution.rb
172
180
  - lib/pulp_deb_client/models/deb_apt_distribution_response.rb
173
181
  - lib/pulp_deb_client/models/deb_apt_publication.rb
@@ -215,9 +223,9 @@ files:
215
223
  - lib/pulp_deb_client/models/patcheddeb_apt_remote.rb
216
224
  - lib/pulp_deb_client/models/patcheddeb_apt_repository.rb
217
225
  - lib/pulp_deb_client/models/policy_enum.rb
226
+ - lib/pulp_deb_client/models/repair.rb
218
227
  - lib/pulp_deb_client/models/repository_add_remove_content.rb
219
228
  - lib/pulp_deb_client/models/repository_sync_url.rb
220
- - lib/pulp_deb_client/models/repository_version.rb
221
229
  - lib/pulp_deb_client/models/repository_version_response.rb
222
230
  - lib/pulp_deb_client/version.rb
223
231
  - pulp_deb_client.gemspec
@@ -231,6 +239,7 @@ files:
231
239
  - spec/api/content_release_components_api_spec.rb
232
240
  - spec/api/content_release_files_api_spec.rb
233
241
  - spec/api/content_releases_api_spec.rb
242
+ - spec/api/deb_copy_api_spec.rb
234
243
  - spec/api/distributions_apt_api_spec.rb
235
244
  - spec/api/publications_apt_api_spec.rb
236
245
  - spec/api/publications_verbatim_api_spec.rb
@@ -241,7 +250,7 @@ files:
241
250
  - spec/configuration_spec.rb
242
251
  - spec/models/async_operation_response_spec.rb
243
252
  - spec/models/content_summary_response_spec.rb
244
- - spec/models/content_summary_spec.rb
253
+ - spec/models/copy_spec.rb
245
254
  - spec/models/deb_apt_distribution_response_spec.rb
246
255
  - spec/models/deb_apt_distribution_spec.rb
247
256
  - spec/models/deb_apt_publication_response_spec.rb
@@ -289,10 +298,10 @@ files:
289
298
  - spec/models/patcheddeb_apt_remote_spec.rb
290
299
  - spec/models/patcheddeb_apt_repository_spec.rb
291
300
  - spec/models/policy_enum_spec.rb
301
+ - spec/models/repair_spec.rb
292
302
  - spec/models/repository_add_remove_content_spec.rb
293
303
  - spec/models/repository_sync_url_spec.rb
294
304
  - spec/models/repository_version_response_spec.rb
295
- - spec/models/repository_version_spec.rb
296
305
  - spec/spec_helper.rb
297
306
  homepage: https://openapi-generator.tech
298
307
  licenses:
@@ -318,76 +327,77 @@ signing_key:
318
327
  specification_version: 4
319
328
  summary: Pulp 3 API Ruby Gem
320
329
  test_files:
321
- - spec/api/publications_verbatim_api_spec.rb
322
- - spec/api/content_release_files_api_spec.rb
323
- - spec/api/publications_apt_api_spec.rb
324
330
  - spec/api/content_installer_packages_api_spec.rb
331
+ - spec/api/content_release_files_api_spec.rb
325
332
  - spec/api/content_releases_api_spec.rb
326
- - spec/api/content_installer_file_indices_api_spec.rb
333
+ - spec/api/content_release_components_api_spec.rb
327
334
  - spec/api/repositories_apt_api_spec.rb
328
- - spec/api/content_package_indices_api_spec.rb
335
+ - spec/api/distributions_apt_api_spec.rb
329
336
  - spec/api/repositories_apt_versions_api_spec.rb
330
- - spec/api/content_package_release_components_api_spec.rb
331
- - spec/api/content_generic_contents_api_spec.rb
337
+ - spec/api/content_package_indices_api_spec.rb
332
338
  - spec/api/content_release_architectures_api_spec.rb
339
+ - spec/api/content_package_release_components_api_spec.rb
333
340
  - spec/api/content_packages_api_spec.rb
334
- - spec/api/content_release_components_api_spec.rb
335
- - spec/api/distributions_apt_api_spec.rb
341
+ - spec/api/publications_verbatim_api_spec.rb
342
+ - spec/api/publications_apt_api_spec.rb
336
343
  - spec/api/remotes_apt_api_spec.rb
344
+ - spec/api/content_generic_contents_api_spec.rb
345
+ - spec/api/deb_copy_api_spec.rb
346
+ - spec/api/content_installer_file_indices_api_spec.rb
337
347
  - spec/api_client_spec.rb
338
348
  - spec/configuration_spec.rb
339
- - spec/models/deb_apt_distribution_response_spec.rb
340
- - spec/models/content_summary_response_spec.rb
341
- - spec/models/deb_apt_publication_response_spec.rb
342
- - spec/models/deb_apt_distribution_spec.rb
343
- - spec/models/paginateddeb_package_release_component_response_list_spec.rb
344
- - spec/models/paginateddeb_verbatim_publication_response_list_spec.rb
345
- - spec/models/deb_release_file_response_spec.rb
346
- - spec/models/patcheddeb_apt_distribution_spec.rb
347
- - spec/models/paginateddeb_apt_remote_response_list_spec.rb
348
- - spec/models/async_operation_response_spec.rb
349
- - spec/models/deb_package_release_component_spec.rb
350
- - spec/models/paginateddeb_release_architecture_response_list_spec.rb
351
349
  - spec/models/paginateddeb_release_component_response_list_spec.rb
352
- - spec/models/deb_verbatim_publication_response_spec.rb
353
- - spec/models/deb_release_response_spec.rb
354
- - spec/models/deb_release_architecture_spec.rb
355
350
  - spec/models/deb_release_architecture_response_spec.rb
356
- - spec/models/deb_package_release_component_response_spec.rb
357
- - spec/models/deb_generic_content_spec.rb
358
- - spec/models/paginateddeb_release_file_response_list_spec.rb
359
- - spec/models/content_summary_spec.rb
360
- - spec/models/deb_release_spec.rb
361
351
  - spec/models/deb_base_package_response_spec.rb
352
+ - spec/models/deb_apt_distribution_response_spec.rb
353
+ - spec/models/deb_apt_distribution_spec.rb
354
+ - spec/models/deb_verbatim_publication_response_spec.rb
355
+ - spec/models/copy_spec.rb
362
356
  - spec/models/deb_apt_remote_response_spec.rb
363
- - spec/models/deb_package_index_spec.rb
364
- - spec/models/deb_package_index_response_spec.rb
365
- - spec/models/deb_release_file_spec.rb
366
- - spec/models/policy_enum_spec.rb
367
- - spec/models/deb_base_package_spec.rb
368
- - spec/models/deb_apt_repository_response_spec.rb
369
- - spec/models/repository_sync_url_spec.rb
357
+ - spec/models/paginateddeb_apt_publication_response_list_spec.rb
358
+ - spec/models/deb_generic_content_response_spec.rb
359
+ - spec/models/deb_apt_publication_response_spec.rb
360
+ - spec/models/patcheddeb_apt_repository_spec.rb
370
361
  - spec/models/deb_verbatim_publication_spec.rb
371
- - spec/models/repository_version_spec.rb
372
- - spec/models/paginateddeb_base_package_response_list_spec.rb
373
- - spec/models/deb_release_component_response_spec.rb
374
- - spec/models/paginateddeb_generic_content_response_list_spec.rb
375
- - spec/models/deb_apt_remote_spec.rb
362
+ - spec/models/paginateddeb_apt_remote_response_list_spec.rb
376
363
  - spec/models/repository_add_remove_content_spec.rb
377
- - spec/models/paginateddeb_apt_distribution_response_list_spec.rb
378
364
  - spec/models/deb_installer_file_index_spec.rb
379
- - spec/models/paginated_repository_version_response_list_spec.rb
380
- - spec/models/paginateddeb_package_index_response_list_spec.rb
365
+ - spec/models/repository_sync_url_spec.rb
366
+ - spec/models/repair_spec.rb
367
+ - spec/models/deb_base_package_spec.rb
368
+ - spec/models/deb_package_index_spec.rb
381
369
  - spec/models/paginateddeb_apt_repository_response_list_spec.rb
370
+ - spec/models/content_summary_response_spec.rb
382
371
  - spec/models/deb_installer_file_index_response_spec.rb
383
- - spec/models/deb_generic_content_response_spec.rb
384
- - spec/models/paginateddeb_release_response_list_spec.rb
385
- - spec/models/deb_apt_publication_spec.rb
386
- - spec/models/repository_version_response_spec.rb
372
+ - spec/models/paginateddeb_release_architecture_response_list_spec.rb
373
+ - spec/models/paginateddeb_apt_distribution_response_list_spec.rb
374
+ - spec/models/deb_release_spec.rb
387
375
  - spec/models/deb_apt_repository_spec.rb
388
- - spec/models/patcheddeb_apt_repository_spec.rb
389
376
  - spec/models/deb_release_component_spec.rb
390
- - spec/models/patcheddeb_apt_remote_spec.rb
377
+ - spec/models/deb_package_release_component_response_spec.rb
378
+ - spec/models/async_operation_response_spec.rb
379
+ - spec/models/deb_apt_remote_spec.rb
380
+ - spec/models/deb_release_architecture_spec.rb
381
+ - spec/models/deb_package_release_component_spec.rb
382
+ - spec/models/policy_enum_spec.rb
383
+ - spec/models/deb_release_file_spec.rb
384
+ - spec/models/paginateddeb_release_file_response_list_spec.rb
385
+ - spec/models/deb_apt_publication_spec.rb
386
+ - spec/models/paginateddeb_package_index_response_list_spec.rb
387
+ - spec/models/paginateddeb_package_release_component_response_list_spec.rb
391
388
  - spec/models/paginateddeb_installer_file_index_response_list_spec.rb
392
- - spec/models/paginateddeb_apt_publication_response_list_spec.rb
389
+ - spec/models/deb_apt_repository_response_spec.rb
390
+ - spec/models/paginated_repository_version_response_list_spec.rb
391
+ - spec/models/deb_release_response_spec.rb
392
+ - spec/models/patcheddeb_apt_distribution_spec.rb
393
+ - spec/models/repository_version_response_spec.rb
394
+ - spec/models/patcheddeb_apt_remote_spec.rb
395
+ - spec/models/deb_package_index_response_spec.rb
396
+ - spec/models/paginateddeb_base_package_response_list_spec.rb
397
+ - spec/models/paginateddeb_generic_content_response_list_spec.rb
398
+ - spec/models/deb_release_component_response_spec.rb
399
+ - spec/models/deb_generic_content_spec.rb
400
+ - spec/models/deb_release_file_response_spec.rb
401
+ - spec/models/paginateddeb_verbatim_publication_response_list_spec.rb
402
+ - spec/models/paginateddeb_release_response_list_spec.rb
393
403
  - spec/spec_helper.rb
@@ -1,21 +0,0 @@
1
- # PulpDebClient::ContentSummary
2
-
3
- ## Properties
4
-
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **added** | **Hash&lt;String, Object&gt;** | |
8
- **removed** | **Hash&lt;String, Object&gt;** | |
9
- **present** | **Hash&lt;String, Object&gt;** | |
10
-
11
- ## Code Sample
12
-
13
- ```ruby
14
- require 'PulpDebClient'
15
-
16
- instance = PulpDebClient::ContentSummary.new(added: null,
17
- removed: null,
18
- present: null)
19
- ```
20
-
21
-
@@ -1,17 +0,0 @@
1
- # PulpDebClient::RepositoryVersion
2
-
3
- ## Properties
4
-
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **base_version** | **String** | A repository version whose content was used as the initial set of content for this repository version | [optional]
8
-
9
- ## Code Sample
10
-
11
- ```ruby
12
- require 'PulpDebClient'
13
-
14
- instance = PulpDebClient::RepositoryVersion.new(base_version: null)
15
- ```
16
-
17
-