pulp_deb_client 2.11.0 → 2.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ContentSummary.md +3 -3
- data/docs/ContentSummaryResponse.md +3 -3
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +8 -0
- data/lib/pulp_deb_client/api/content_packages_api.rb +8 -0
- data/lib/pulp_deb_client/api/repositories_deb_versions_api.rb +20 -0
- data/lib/pulp_deb_client/models/content_summary.rb +6 -12
- data/lib/pulp_deb_client/models/content_summary_response.rb +6 -12
- data/lib/pulp_deb_client/version.rb +1 -1
- metadata +54 -54
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a9473242d9358242ee9233656f275ef22858b3760f6c161011ac8cd148850887
|
4
|
+
data.tar.gz: 65aa797d78591b94b5e11d200f535cf0e1289e19ca431725a82f2a5c64cde48b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa61d2f096131da9f779545831f21b65c813645e603dd2ddb1f01f9ee6af67d7f5dde39da91b3ef2d658ef64b9c9448aeab7d0bd4fea5eb08eac9aafffda8d66
|
7
|
+
data.tar.gz: 501bf8da93a519b645cebfe56f2d60e7b393ef097e188d1d686b19c5901c406c834d1329ddfab8af8c50cf16b7ea4099cc34332cbc4757cbcf1dec6eb48e33be
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: v3
|
10
|
-
- Package version: 2.11.
|
10
|
+
- Package version: 2.11.1
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build pulp_deb_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_deb_client-2.11.
|
27
|
+
gem install ./pulp_deb_client-2.11.1.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_deb_client-2.11.
|
30
|
+
(for development, run `gem install --dev ./pulp_deb_client-2.11.1.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'pulp_deb_client', '~> 2.11.
|
36
|
+
gem 'pulp_deb_client', '~> 2.11.1'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
data/docs/ContentSummary.md
CHANGED
@@ -4,9 +4,9 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**added** | **
|
8
|
-
**removed** | **
|
9
|
-
**present** | **
|
7
|
+
**added** | [**Object**](.md) | |
|
8
|
+
**removed** | [**Object**](.md) | |
|
9
|
+
**present** | [**Object**](.md) | |
|
10
10
|
|
11
11
|
## Code Sample
|
12
12
|
|
@@ -4,9 +4,9 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**added** | **
|
8
|
-
**removed** | **
|
9
|
-
**present** | **
|
7
|
+
**added** | [**Object**](.md) | |
|
8
|
+
**removed** | [**Object**](.md) | |
|
9
|
+
**present** | [**Object**](.md) | |
|
10
10
|
|
11
11
|
## Code Sample
|
12
12
|
|
@@ -164,6 +164,14 @@ module PulpDebClient
|
|
164
164
|
if @api_client.config.client_side_validation && opts[:'essential'] && !allowable_values.include?(opts[:'essential'])
|
165
165
|
fail ArgumentError, "invalid value for \"essential\", must be one of #{allowable_values}"
|
166
166
|
end
|
167
|
+
if @api_client.config.client_side_validation && !opts[:'installed_size'].nil? && opts[:'installed_size'] > 2147483647
|
168
|
+
fail ArgumentError, 'invalid value for "opts[:"installed_size"]" when calling ContentInstallerPackagesApi.list, must be smaller than or equal to 2147483647.'
|
169
|
+
end
|
170
|
+
|
171
|
+
if @api_client.config.client_side_validation && !opts[:'installed_size'].nil? && opts[:'installed_size'] < -2147483648
|
172
|
+
fail ArgumentError, 'invalid value for "opts[:"installed_size"]" when calling ContentInstallerPackagesApi.list, must be greater than or equal to -2147483648.'
|
173
|
+
end
|
174
|
+
|
167
175
|
allowable_values = ["allowed", "foreign", "no", "same"]
|
168
176
|
if @api_client.config.client_side_validation && opts[:'multi_arch'] && !allowable_values.include?(opts[:'multi_arch'])
|
169
177
|
fail ArgumentError, "invalid value for \"multi_arch\", must be one of #{allowable_values}"
|
@@ -166,6 +166,14 @@ module PulpDebClient
|
|
166
166
|
if @api_client.config.client_side_validation && opts[:'essential'] && !allowable_values.include?(opts[:'essential'])
|
167
167
|
fail ArgumentError, "invalid value for \"essential\", must be one of #{allowable_values}"
|
168
168
|
end
|
169
|
+
if @api_client.config.client_side_validation && !opts[:'installed_size'].nil? && opts[:'installed_size'] > 2147483647
|
170
|
+
fail ArgumentError, 'invalid value for "opts[:"installed_size"]" when calling ContentPackagesApi.list, must be smaller than or equal to 2147483647.'
|
171
|
+
end
|
172
|
+
|
173
|
+
if @api_client.config.client_side_validation && !opts[:'installed_size'].nil? && opts[:'installed_size'] < -2147483648
|
174
|
+
fail ArgumentError, 'invalid value for "opts[:"installed_size"]" when calling ContentPackagesApi.list, must be greater than or equal to -2147483648.'
|
175
|
+
end
|
176
|
+
|
169
177
|
allowable_values = ["allowed", "foreign", "no", "same"]
|
170
178
|
if @api_client.config.client_side_validation && opts[:'multi_arch'] && !allowable_values.include?(opts[:'multi_arch'])
|
171
179
|
fail ArgumentError, "invalid value for \"multi_arch\", must be one of #{allowable_values}"
|
@@ -142,6 +142,26 @@ module PulpDebClient
|
|
142
142
|
if @api_client.config.client_side_validation && deb_apt_repository_href.nil?
|
143
143
|
fail ArgumentError, "Missing the required parameter 'deb_apt_repository_href' when calling RepositoriesDebVersionsApi.list"
|
144
144
|
end
|
145
|
+
if @api_client.config.client_side_validation && !opts[:'number'].nil? && opts[:'number'] > 2147483647
|
146
|
+
fail ArgumentError, 'invalid value for "opts[:"number"]" when calling RepositoriesDebVersionsApi.list, must be smaller than or equal to 2147483647.'
|
147
|
+
end
|
148
|
+
|
149
|
+
if @api_client.config.client_side_validation && !opts[:'number__gt'].nil? && opts[:'number__gt'] > 2147483647
|
150
|
+
fail ArgumentError, 'invalid value for "opts[:"number__gt"]" when calling RepositoriesDebVersionsApi.list, must be smaller than or equal to 2147483647.'
|
151
|
+
end
|
152
|
+
|
153
|
+
if @api_client.config.client_side_validation && !opts[:'number__gte'].nil? && opts[:'number__gte'] > 2147483647
|
154
|
+
fail ArgumentError, 'invalid value for "opts[:"number__gte"]" when calling RepositoriesDebVersionsApi.list, must be smaller than or equal to 2147483647.'
|
155
|
+
end
|
156
|
+
|
157
|
+
if @api_client.config.client_side_validation && !opts[:'number__lt'].nil? && opts[:'number__lt'] > 2147483647
|
158
|
+
fail ArgumentError, 'invalid value for "opts[:"number__lt"]" when calling RepositoriesDebVersionsApi.list, must be smaller than or equal to 2147483647.'
|
159
|
+
end
|
160
|
+
|
161
|
+
if @api_client.config.client_side_validation && !opts[:'number__lte'].nil? && opts[:'number__lte'] > 2147483647
|
162
|
+
fail ArgumentError, 'invalid value for "opts[:"number__lte"]" when calling RepositoriesDebVersionsApi.list, must be smaller than or equal to 2147483647.'
|
163
|
+
end
|
164
|
+
|
145
165
|
# resource path
|
146
166
|
local_var_path = '{deb_apt_repository_href}versions/'.sub('{' + 'deb_apt_repository_href' + '}', CGI.escape(deb_apt_repository_href.to_s).gsub('%2F', '/'))
|
147
167
|
|
@@ -33,9 +33,9 @@ module PulpDebClient
|
|
33
33
|
# Attribute type mapping.
|
34
34
|
def self.openapi_types
|
35
35
|
{
|
36
|
-
:'added' => :'
|
37
|
-
:'removed' => :'
|
38
|
-
:'present' => :'
|
36
|
+
:'added' => :'Object',
|
37
|
+
:'removed' => :'Object',
|
38
|
+
:'present' => :'Object'
|
39
39
|
}
|
40
40
|
end
|
41
41
|
|
@@ -61,21 +61,15 @@ module PulpDebClient
|
|
61
61
|
}
|
62
62
|
|
63
63
|
if attributes.key?(:'added')
|
64
|
-
|
65
|
-
self.added = value
|
66
|
-
end
|
64
|
+
self.added = attributes[:'added']
|
67
65
|
end
|
68
66
|
|
69
67
|
if attributes.key?(:'removed')
|
70
|
-
|
71
|
-
self.removed = value
|
72
|
-
end
|
68
|
+
self.removed = attributes[:'removed']
|
73
69
|
end
|
74
70
|
|
75
71
|
if attributes.key?(:'present')
|
76
|
-
|
77
|
-
self.present = value
|
78
|
-
end
|
72
|
+
self.present = attributes[:'present']
|
79
73
|
end
|
80
74
|
end
|
81
75
|
|
@@ -33,9 +33,9 @@ module PulpDebClient
|
|
33
33
|
# Attribute type mapping.
|
34
34
|
def self.openapi_types
|
35
35
|
{
|
36
|
-
:'added' => :'
|
37
|
-
:'removed' => :'
|
38
|
-
:'present' => :'
|
36
|
+
:'added' => :'Object',
|
37
|
+
:'removed' => :'Object',
|
38
|
+
:'present' => :'Object'
|
39
39
|
}
|
40
40
|
end
|
41
41
|
|
@@ -61,21 +61,15 @@ module PulpDebClient
|
|
61
61
|
}
|
62
62
|
|
63
63
|
if attributes.key?(:'added')
|
64
|
-
|
65
|
-
self.added = value
|
66
|
-
end
|
64
|
+
self.added = attributes[:'added']
|
67
65
|
end
|
68
66
|
|
69
67
|
if attributes.key?(:'removed')
|
70
|
-
|
71
|
-
self.removed = value
|
72
|
-
end
|
68
|
+
self.removed = attributes[:'removed']
|
73
69
|
end
|
74
70
|
|
75
71
|
if attributes.key?(:'present')
|
76
|
-
|
77
|
-
self.present = value
|
78
|
-
end
|
72
|
+
self.present = attributes[:'present']
|
79
73
|
end
|
80
74
|
end
|
81
75
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_deb_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.11.
|
4
|
+
version: 2.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: 2021-
|
11
|
+
date: 2021-04-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -318,76 +318,76 @@ signing_key:
|
|
318
318
|
specification_version: 4
|
319
319
|
summary: Pulp 3 API Ruby Gem
|
320
320
|
test_files:
|
321
|
-
- spec/api/
|
321
|
+
- spec/api/content_package_indices_api_spec.rb
|
322
|
+
- spec/api/publications_verbatim_api_spec.rb
|
323
|
+
- spec/api/content_release_files_api_spec.rb
|
324
|
+
- spec/api/content_installer_file_indices_api_spec.rb
|
325
|
+
- spec/api/content_packages_api_spec.rb
|
326
|
+
- spec/api/publications_apt_api_spec.rb
|
322
327
|
- spec/api/remotes_apt_api_spec.rb
|
328
|
+
- spec/api/content_installer_packages_api_spec.rb
|
323
329
|
- spec/api/distributions_apt_api_spec.rb
|
324
|
-
- spec/api/
|
325
|
-
- spec/api/content_installer_file_indices_api_spec.rb
|
326
|
-
- spec/api/content_releases_api_spec.rb
|
327
|
-
- spec/api/content_release_files_api_spec.rb
|
328
|
-
- spec/api/publications_verbatim_api_spec.rb
|
330
|
+
- spec/api/content_generic_contents_api_spec.rb
|
329
331
|
- spec/api/content_release_components_api_spec.rb
|
330
332
|
- spec/api/repositories_deb_versions_api_spec.rb
|
331
|
-
- spec/api/
|
332
|
-
- spec/api/content_package_release_components_api_spec.rb
|
333
|
-
- spec/api/content_generic_contents_api_spec.rb
|
334
|
-
- spec/api/content_installer_packages_api_spec.rb
|
333
|
+
- spec/api/content_releases_api_spec.rb
|
335
334
|
- spec/api/repositories_apt_api_spec.rb
|
336
|
-
- spec/api/
|
335
|
+
- spec/api/content_package_release_components_api_spec.rb
|
336
|
+
- spec/api/content_release_architectures_api_spec.rb
|
337
337
|
- spec/api_client_spec.rb
|
338
338
|
- spec/configuration_spec.rb
|
339
|
-
- spec/models/deb_release_file_spec.rb
|
340
339
|
- spec/models/deb_apt_distribution_spec.rb
|
341
|
-
- spec/models/
|
340
|
+
- spec/models/deb_apt_publication_spec.rb
|
341
|
+
- spec/models/paginateddeb_apt_repository_response_list_spec.rb
|
342
|
+
- spec/models/deb_apt_remote_spec.rb
|
343
|
+
- spec/models/paginateddeb_apt_remote_response_list_spec.rb
|
344
|
+
- spec/models/repository_sync_url_spec.rb
|
345
|
+
- spec/models/deb_release_component_spec.rb
|
346
|
+
- spec/models/deb_generic_content_spec.rb
|
347
|
+
- spec/models/deb_verbatim_publication_response_spec.rb
|
348
|
+
- spec/models/repository_version_response_spec.rb
|
342
349
|
- spec/models/paginateddeb_verbatim_publication_response_list_spec.rb
|
343
|
-
- spec/models/
|
344
|
-
- spec/models/
|
345
|
-
- spec/models/
|
350
|
+
- spec/models/deb_installer_file_index_spec.rb
|
351
|
+
- spec/models/paginateddeb_package_release_component_response_list_spec.rb
|
352
|
+
- spec/models/paginateddeb_release_response_list_spec.rb
|
353
|
+
- spec/models/deb_verbatim_publication_spec.rb
|
354
|
+
- spec/models/patcheddeb_apt_repository_spec.rb
|
355
|
+
- spec/models/content_summary_response_spec.rb
|
356
|
+
- spec/models/deb_package_release_component_response_spec.rb
|
357
|
+
- spec/models/deb_release_component_response_spec.rb
|
346
358
|
- spec/models/paginateddeb_installer_file_index_response_list_spec.rb
|
347
|
-
- spec/models/
|
348
|
-
- spec/models/paginateddeb_generic_content_response_list_spec.rb
|
349
|
-
- spec/models/paginateddeb_release_component_response_list_spec.rb
|
350
|
-
- spec/models/paginateddeb_release_file_response_list_spec.rb
|
359
|
+
- spec/models/deb_package_index_response_spec.rb
|
351
360
|
- spec/models/paginateddeb_package_index_response_list_spec.rb
|
352
|
-
- spec/models/
|
353
|
-
- spec/models/
|
354
|
-
- spec/models/
|
355
|
-
- spec/models/
|
361
|
+
- spec/models/deb_apt_repository_spec.rb
|
362
|
+
- spec/models/patcheddeb_apt_distribution_spec.rb
|
363
|
+
- spec/models/deb_release_architecture_spec.rb
|
364
|
+
- spec/models/deb_generic_content_response_spec.rb
|
356
365
|
- spec/models/deb_release_spec.rb
|
366
|
+
- spec/models/paginateddeb_generic_content_response_list_spec.rb
|
367
|
+
- spec/models/content_summary_spec.rb
|
368
|
+
- spec/models/paginateddeb_release_file_response_list_spec.rb
|
357
369
|
- spec/models/paginateddeb_base_package_response_list_spec.rb
|
370
|
+
- spec/models/deb_base_package_spec.rb
|
371
|
+
- spec/models/deb_apt_repository_response_spec.rb
|
372
|
+
- spec/models/patcheddeb_apt_remote_spec.rb
|
358
373
|
- spec/models/deb_apt_publication_response_spec.rb
|
359
|
-
- spec/models/paginateddeb_apt_repository_response_list_spec.rb
|
360
|
-
- spec/models/async_operation_response_spec.rb
|
361
|
-
- spec/models/policy_enum_spec.rb
|
362
374
|
- spec/models/deb_installer_file_index_response_spec.rb
|
363
|
-
- spec/models/deb_verbatim_publication_response_spec.rb
|
364
375
|
- spec/models/repository_version_spec.rb
|
365
|
-
- spec/models/
|
366
|
-
- spec/models/
|
367
|
-
- spec/models/
|
368
|
-
- spec/models/paginateddeb_release_architecture_response_list_spec.rb
|
369
|
-
- spec/models/deb_release_file_response_spec.rb
|
370
|
-
- spec/models/patcheddeb_apt_repository_spec.rb
|
371
|
-
- spec/models/repository_version_response_spec.rb
|
372
|
-
- spec/models/deb_package_index_response_spec.rb
|
373
|
-
- spec/models/deb_verbatim_publication_spec.rb
|
374
|
-
- spec/models/deb_installer_file_index_spec.rb
|
375
|
-
- spec/models/deb_apt_remote_spec.rb
|
376
|
-
- spec/models/paginateddeb_package_release_component_response_list_spec.rb
|
377
|
-
- spec/models/deb_release_architecture_spec.rb
|
378
|
-
- spec/models/paginateddeb_apt_remote_response_list_spec.rb
|
379
|
-
- spec/models/repository_sync_url_spec.rb
|
380
|
-
- spec/models/patcheddeb_apt_remote_spec.rb
|
381
|
-
- spec/models/content_summary_spec.rb
|
376
|
+
- spec/models/deb_release_file_spec.rb
|
377
|
+
- spec/models/paginateddeb_release_component_response_list_spec.rb
|
378
|
+
- spec/models/deb_release_response_spec.rb
|
382
379
|
- spec/models/deb_apt_distribution_response_spec.rb
|
383
|
-
- spec/models/deb_apt_publication_spec.rb
|
384
380
|
- spec/models/deb_package_release_component_spec.rb
|
381
|
+
- spec/models/deb_release_file_response_spec.rb
|
382
|
+
- spec/models/paginateddeb_apt_distribution_response_list_spec.rb
|
383
|
+
- spec/models/policy_enum_spec.rb
|
384
|
+
- spec/models/paginateddeb_apt_publication_response_list_spec.rb
|
385
|
+
- spec/models/deb_release_architecture_response_spec.rb
|
386
|
+
- spec/models/paginateddeb_release_architecture_response_list_spec.rb
|
385
387
|
- spec/models/deb_base_package_response_spec.rb
|
386
|
-
- spec/models/
|
387
|
-
- spec/models/
|
388
|
-
- spec/models/deb_apt_remote_response_spec.rb
|
389
|
-
- spec/models/deb_release_component_response_spec.rb
|
390
|
-
- spec/models/deb_generic_content_spec.rb
|
388
|
+
- spec/models/repository_add_remove_content_spec.rb
|
389
|
+
- spec/models/async_operation_response_spec.rb
|
391
390
|
- spec/models/paginated_repository_version_response_list_spec.rb
|
392
|
-
- spec/models/
|
391
|
+
- spec/models/deb_package_index_spec.rb
|
392
|
+
- spec/models/deb_apt_remote_response_spec.rb
|
393
393
|
- spec/spec_helper.rb
|