pulp_deb_client 2.15.1 → 2.16.2
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/DebPackageIndex.md +2 -2
- data/docs/DebPackageIndexResponse.md +2 -2
- data/lib/pulp_deb_client/api_client.rb +1 -4
- data/lib/pulp_deb_client/configuration.rb +1 -0
- data/lib/pulp_deb_client/models/deb_package_index.rb +0 -10
- data/lib/pulp_deb_client/models/deb_package_index_response.rb +0 -10
- data/lib/pulp_deb_client/version.rb +1 -1
- data/pulp_deb_client.gemspec +1 -1
- metadata +63 -57
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 704a51e8508a8602b7ff1f6662186c3a7f6db6e1d213e0cb2580750c4e32abe4
|
4
|
+
data.tar.gz: 6a2c8b315d822589e99a7606fa5d6258b317d4a4ac39346da3ca9e94d6c780da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa127c77c2563a7ae380c7f993068cb5e31fc8e1489af2aa80bbbc1024151ff007165eb79addab37e411338387de5fb1da99896d84a1487dd10d21f84c58c204
|
7
|
+
data.tar.gz: 8125693825f9aa06ddba4730dc1ea47c4cc4da822e99b43db4654b9be439174f829d98465f208e37e5613e0bdc161e9029eacad52ae8978a4b0e68591cbfef1b
|
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.
|
10
|
+
- Package version: 2.16.2
|
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.
|
27
|
+
gem install ./pulp_deb_client-2.16.2.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_deb_client-2.
|
30
|
+
(for development, run `gem install --dev ./pulp_deb_client-2.16.2.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.
|
36
|
+
gem 'pulp_deb_client', '~> 2.16.2'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
data/docs/DebPackageIndex.md
CHANGED
@@ -6,8 +6,8 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**artifacts** | [**Object**](.md) | A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/' |
|
8
8
|
**release** | **String** | Release this index file belongs to. |
|
9
|
-
**component** | **String** | Component of the component - architecture combination. |
|
10
|
-
**architecture** | **String** | Architecture of the component - architecture combination. |
|
9
|
+
**component** | **String** | Component of the component - architecture combination. | [optional]
|
10
|
+
**architecture** | **String** | Architecture of the component - architecture combination. | [optional]
|
11
11
|
**relative_path** | **String** | Path of file relative to url. | [optional]
|
12
12
|
|
13
13
|
## Code Sample
|
@@ -8,8 +8,8 @@ Name | Type | Description | Notes
|
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
9
|
**artifacts** | [**Object**](.md) | A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/' |
|
10
10
|
**release** | **String** | Release this index file belongs to. |
|
11
|
-
**component** | **String** | Component of the component - architecture combination. |
|
12
|
-
**architecture** | **String** | Architecture of the component - architecture combination. |
|
11
|
+
**component** | **String** | Component of the component - architecture combination. | [optional]
|
12
|
+
**architecture** | **String** | Architecture of the component - architecture combination. | [optional]
|
13
13
|
**relative_path** | **String** | Path of file relative to url. | [optional]
|
14
14
|
|
15
15
|
## Code Sample
|
@@ -118,9 +118,6 @@ module PulpDebClient
|
|
118
118
|
update_params_for_auth! header_params, query_params, opts[:auth_names]
|
119
119
|
|
120
120
|
req_opts = {
|
121
|
-
:method => http_method,
|
122
|
-
:headers => header_params,
|
123
|
-
:params => query_params,
|
124
121
|
:params_encoding => @config.params_encoding,
|
125
122
|
:timeout => @config.timeout,
|
126
123
|
:verbose => @config.debugging
|
@@ -128,13 +125,13 @@ module PulpDebClient
|
|
128
125
|
|
129
126
|
if [:post, :patch, :put, :delete].include?(http_method)
|
130
127
|
req_body = build_request_body(header_params, form_params, opts[:body])
|
131
|
-
req_opts.update :body => req_body
|
132
128
|
if @config.debugging
|
133
129
|
@config.logger.debug "HTTP request body param ~BEGIN~\n#{req_body}\n~END~\n"
|
134
130
|
end
|
135
131
|
end
|
136
132
|
request.headers = header_params
|
137
133
|
request.body = req_body
|
134
|
+
request.options = OpenStruct.new(req_opts)
|
138
135
|
request.url url
|
139
136
|
request.params = query_params
|
140
137
|
download_file(request) if opts[:return_type] == 'File'
|
@@ -106,14 +106,6 @@ module PulpDebClient
|
|
106
106
|
invalid_properties.push('invalid value for "release", release cannot be nil.')
|
107
107
|
end
|
108
108
|
|
109
|
-
if @component.nil?
|
110
|
-
invalid_properties.push('invalid value for "component", component cannot be nil.')
|
111
|
-
end
|
112
|
-
|
113
|
-
if @architecture.nil?
|
114
|
-
invalid_properties.push('invalid value for "architecture", architecture cannot be nil.')
|
115
|
-
end
|
116
|
-
|
117
109
|
invalid_properties
|
118
110
|
end
|
119
111
|
|
@@ -122,8 +114,6 @@ module PulpDebClient
|
|
122
114
|
def valid?
|
123
115
|
return false if @artifacts.nil?
|
124
116
|
return false if @release.nil?
|
125
|
-
return false if @component.nil?
|
126
|
-
return false if @architecture.nil?
|
127
117
|
true
|
128
118
|
end
|
129
119
|
|
@@ -123,14 +123,6 @@ module PulpDebClient
|
|
123
123
|
invalid_properties.push('invalid value for "release", release cannot be nil.')
|
124
124
|
end
|
125
125
|
|
126
|
-
if @component.nil?
|
127
|
-
invalid_properties.push('invalid value for "component", component cannot be nil.')
|
128
|
-
end
|
129
|
-
|
130
|
-
if @architecture.nil?
|
131
|
-
invalid_properties.push('invalid value for "architecture", architecture cannot be nil.')
|
132
|
-
end
|
133
|
-
|
134
126
|
invalid_properties
|
135
127
|
end
|
136
128
|
|
@@ -139,8 +131,6 @@ module PulpDebClient
|
|
139
131
|
def valid?
|
140
132
|
return false if @artifacts.nil?
|
141
133
|
return false if @release.nil?
|
142
|
-
return false if @component.nil?
|
143
|
-
return false if @architecture.nil?
|
144
134
|
true
|
145
135
|
end
|
146
136
|
|
data/pulp_deb_client.gemspec
CHANGED
@@ -27,7 +27,7 @@ Gem::Specification.new do |s|
|
|
27
27
|
s.license = 'GPL-2.0+'
|
28
28
|
s.required_ruby_version = ">= 1.9"
|
29
29
|
|
30
|
-
s.add_runtime_dependency 'faraday', '
|
30
|
+
s.add_runtime_dependency 'faraday', '~> 0.17', '< 1.9.0'
|
31
31
|
s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
|
32
32
|
|
33
33
|
s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
|
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.
|
4
|
+
version: 2.16.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
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.
|
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:
|
32
|
+
version: 1.9.0
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: json
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -318,76 +324,76 @@ signing_key:
|
|
318
324
|
specification_version: 4
|
319
325
|
summary: Pulp 3 API Ruby Gem
|
320
326
|
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
327
|
- spec/api/content_installer_packages_api_spec.rb
|
328
|
+
- spec/api/content_release_files_api_spec.rb
|
325
329
|
- spec/api/content_releases_api_spec.rb
|
326
|
-
- spec/api/
|
330
|
+
- spec/api/content_release_components_api_spec.rb
|
327
331
|
- spec/api/repositories_apt_api_spec.rb
|
328
|
-
- spec/api/
|
332
|
+
- spec/api/distributions_apt_api_spec.rb
|
329
333
|
- spec/api/repositories_apt_versions_api_spec.rb
|
330
|
-
- spec/api/
|
331
|
-
- spec/api/content_generic_contents_api_spec.rb
|
334
|
+
- spec/api/content_package_indices_api_spec.rb
|
332
335
|
- spec/api/content_release_architectures_api_spec.rb
|
336
|
+
- spec/api/content_package_release_components_api_spec.rb
|
333
337
|
- spec/api/content_packages_api_spec.rb
|
334
|
-
- spec/api/
|
335
|
-
- spec/api/
|
338
|
+
- spec/api/publications_verbatim_api_spec.rb
|
339
|
+
- spec/api/publications_apt_api_spec.rb
|
336
340
|
- spec/api/remotes_apt_api_spec.rb
|
341
|
+
- spec/api/content_generic_contents_api_spec.rb
|
342
|
+
- spec/api/content_installer_file_indices_api_spec.rb
|
337
343
|
- spec/api_client_spec.rb
|
338
344
|
- 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
345
|
- 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
346
|
- 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
347
|
- spec/models/deb_base_package_response_spec.rb
|
348
|
+
- spec/models/deb_apt_distribution_response_spec.rb
|
349
|
+
- spec/models/deb_apt_distribution_spec.rb
|
350
|
+
- spec/models/deb_verbatim_publication_response_spec.rb
|
362
351
|
- spec/models/deb_apt_remote_response_spec.rb
|
363
|
-
- spec/models/
|
364
|
-
- spec/models/
|
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
|
370
|
-
- spec/models/deb_verbatim_publication_spec.rb
|
352
|
+
- spec/models/paginateddeb_apt_publication_response_list_spec.rb
|
353
|
+
- spec/models/deb_generic_content_response_spec.rb
|
371
354
|
- spec/models/repository_version_spec.rb
|
372
|
-
- spec/models/
|
373
|
-
- spec/models/
|
374
|
-
- spec/models/
|
375
|
-
- spec/models/
|
355
|
+
- spec/models/deb_apt_publication_response_spec.rb
|
356
|
+
- spec/models/patcheddeb_apt_repository_spec.rb
|
357
|
+
- spec/models/deb_verbatim_publication_spec.rb
|
358
|
+
- spec/models/paginateddeb_apt_remote_response_list_spec.rb
|
376
359
|
- spec/models/repository_add_remove_content_spec.rb
|
377
|
-
- spec/models/paginateddeb_apt_distribution_response_list_spec.rb
|
378
360
|
- spec/models/deb_installer_file_index_spec.rb
|
379
|
-
- spec/models/
|
380
|
-
- spec/models/
|
361
|
+
- spec/models/repository_sync_url_spec.rb
|
362
|
+
- spec/models/deb_base_package_spec.rb
|
363
|
+
- spec/models/deb_package_index_spec.rb
|
381
364
|
- spec/models/paginateddeb_apt_repository_response_list_spec.rb
|
365
|
+
- spec/models/content_summary_response_spec.rb
|
382
366
|
- spec/models/deb_installer_file_index_response_spec.rb
|
383
|
-
- spec/models/
|
384
|
-
- spec/models/
|
385
|
-
- spec/models/
|
386
|
-
- spec/models/repository_version_response_spec.rb
|
367
|
+
- spec/models/paginateddeb_release_architecture_response_list_spec.rb
|
368
|
+
- spec/models/paginateddeb_apt_distribution_response_list_spec.rb
|
369
|
+
- spec/models/deb_release_spec.rb
|
387
370
|
- spec/models/deb_apt_repository_spec.rb
|
388
|
-
- spec/models/patcheddeb_apt_repository_spec.rb
|
389
371
|
- spec/models/deb_release_component_spec.rb
|
390
|
-
- spec/models/
|
372
|
+
- spec/models/deb_package_release_component_response_spec.rb
|
373
|
+
- spec/models/async_operation_response_spec.rb
|
374
|
+
- spec/models/deb_apt_remote_spec.rb
|
375
|
+
- spec/models/deb_release_architecture_spec.rb
|
376
|
+
- spec/models/deb_package_release_component_spec.rb
|
377
|
+
- spec/models/policy_enum_spec.rb
|
378
|
+
- spec/models/deb_release_file_spec.rb
|
379
|
+
- spec/models/paginateddeb_release_file_response_list_spec.rb
|
380
|
+
- spec/models/deb_apt_publication_spec.rb
|
381
|
+
- spec/models/paginateddeb_package_index_response_list_spec.rb
|
382
|
+
- spec/models/paginateddeb_package_release_component_response_list_spec.rb
|
391
383
|
- spec/models/paginateddeb_installer_file_index_response_list_spec.rb
|
392
|
-
- spec/models/
|
384
|
+
- spec/models/deb_apt_repository_response_spec.rb
|
385
|
+
- spec/models/paginated_repository_version_response_list_spec.rb
|
386
|
+
- spec/models/deb_release_response_spec.rb
|
387
|
+
- spec/models/patcheddeb_apt_distribution_spec.rb
|
388
|
+
- spec/models/repository_version_response_spec.rb
|
389
|
+
- spec/models/patcheddeb_apt_remote_spec.rb
|
390
|
+
- spec/models/deb_package_index_response_spec.rb
|
391
|
+
- spec/models/content_summary_spec.rb
|
392
|
+
- spec/models/paginateddeb_base_package_response_list_spec.rb
|
393
|
+
- spec/models/paginateddeb_generic_content_response_list_spec.rb
|
394
|
+
- spec/models/deb_release_component_response_spec.rb
|
395
|
+
- spec/models/deb_generic_content_spec.rb
|
396
|
+
- spec/models/deb_release_file_response_spec.rb
|
397
|
+
- spec/models/paginateddeb_verbatim_publication_response_list_spec.rb
|
398
|
+
- spec/models/paginateddeb_release_response_list_spec.rb
|
393
399
|
- spec/spec_helper.rb
|