pulp_deb_client 2.16.1 → 2.16.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 84a26dfee3c336ce1824c370feaecd6b8024049ddb8b4d32f683d5e6f19e8c84
4
- data.tar.gz: c07326c6141100bd1ac0def32a97c1bf9cf61057cc9ab8fcf69d7c3be1af0f58
3
+ metadata.gz: 704a51e8508a8602b7ff1f6662186c3a7f6db6e1d213e0cb2580750c4e32abe4
4
+ data.tar.gz: 6a2c8b315d822589e99a7606fa5d6258b317d4a4ac39346da3ca9e94d6c780da
5
5
  SHA512:
6
- metadata.gz: '08b89bbf84bf8f47fd953f52c4ea5b108fe28285c446d2fe35a940affa467e9f7bfd647e9b18bbf221012620be181f1d6cab82be16fe99b3f24874d8d78c9ff0'
7
- data.tar.gz: '0505855ad606450920776b9b7b5251684e40b5f6aa753634478cbea058225b4d3ee9eeda20d6641fb7f9920af88e8e33d1c9cf233db9778a9211ff36aa8521b1'
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.16.1
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.16.1.gem
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.16.1.gem` to install the development dependencies)
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.16.1'
36
+ gem 'pulp_deb_client', '~> 2.16.2'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -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'
@@ -140,6 +140,7 @@ module PulpDebClient
140
140
  @ssl_client_cert = nil
141
141
  @ssl_client_key = nil
142
142
  @params_encoder = nil
143
+ @timeout = 60
143
144
  @debugging = false
144
145
  @inject_format = false
145
146
  @force_ending_format = false
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpDebClient
14
- VERSION = '2.16.1'
14
+ VERSION = '2.16.2'
15
15
  end
@@ -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', '~> 1.0', '< 1.9.0'
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,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.16.1
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: 2022-01-13 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
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.0'
19
+ version: '0.17'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 1.9.0
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - "~>"
28
28
  - !ruby/object:Gem::Version
29
- version: '1.0'
29
+ version: '0.17'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 1.9.0
@@ -324,76 +324,76 @@ signing_key:
324
324
  specification_version: 4
325
325
  summary: Pulp 3 API Ruby Gem
326
326
  test_files:
327
- - spec/api/content_generic_contents_api_spec.rb
328
- - spec/api/repositories_apt_api_spec.rb
329
- - spec/api/publications_apt_api_spec.rb
330
- - spec/api/content_package_release_components_api_spec.rb
327
+ - spec/api/content_installer_packages_api_spec.rb
331
328
  - spec/api/content_release_files_api_spec.rb
332
329
  - spec/api/content_releases_api_spec.rb
333
- - spec/api/remotes_apt_api_spec.rb
330
+ - spec/api/content_release_components_api_spec.rb
331
+ - spec/api/repositories_apt_api_spec.rb
334
332
  - spec/api/distributions_apt_api_spec.rb
335
- - spec/api/content_installer_file_indices_api_spec.rb
336
333
  - spec/api/repositories_apt_versions_api_spec.rb
337
334
  - spec/api/content_package_indices_api_spec.rb
338
- - spec/api/content_release_components_api_spec.rb
339
- - spec/api/content_packages_api_spec.rb
340
- - spec/api/content_installer_packages_api_spec.rb
341
335
  - spec/api/content_release_architectures_api_spec.rb
336
+ - spec/api/content_package_release_components_api_spec.rb
337
+ - spec/api/content_packages_api_spec.rb
342
338
  - spec/api/publications_verbatim_api_spec.rb
339
+ - spec/api/publications_apt_api_spec.rb
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
343
343
  - spec/api_client_spec.rb
344
344
  - spec/configuration_spec.rb
345
+ - spec/models/paginateddeb_release_component_response_list_spec.rb
346
+ - spec/models/deb_release_architecture_response_spec.rb
345
347
  - spec/models/deb_base_package_response_spec.rb
346
348
  - spec/models/deb_apt_distribution_response_spec.rb
347
- - spec/models/deb_package_release_component_spec.rb
348
- - spec/models/paginateddeb_release_component_response_list_spec.rb
349
- - spec/models/deb_release_component_spec.rb
349
+ - spec/models/deb_apt_distribution_spec.rb
350
+ - spec/models/deb_verbatim_publication_response_spec.rb
350
351
  - spec/models/deb_apt_remote_response_spec.rb
351
- - spec/models/content_summary_response_spec.rb
352
+ - spec/models/paginateddeb_apt_publication_response_list_spec.rb
353
+ - spec/models/deb_generic_content_response_spec.rb
354
+ - spec/models/repository_version_spec.rb
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
352
358
  - spec/models/paginateddeb_apt_remote_response_list_spec.rb
353
- - spec/models/patcheddeb_apt_distribution_spec.rb
354
- - spec/models/paginateddeb_release_file_response_list_spec.rb
359
+ - spec/models/repository_add_remove_content_spec.rb
360
+ - spec/models/deb_installer_file_index_spec.rb
361
+ - spec/models/repository_sync_url_spec.rb
362
+ - spec/models/deb_base_package_spec.rb
363
+ - spec/models/deb_package_index_spec.rb
355
364
  - spec/models/paginateddeb_apt_repository_response_list_spec.rb
356
- - spec/models/deb_apt_publication_spec.rb
357
- - spec/models/deb_package_release_component_response_spec.rb
358
- - spec/models/deb_release_file_response_spec.rb
365
+ - spec/models/content_summary_response_spec.rb
366
+ - spec/models/deb_installer_file_index_response_spec.rb
359
367
  - spec/models/paginateddeb_release_architecture_response_list_spec.rb
360
- - spec/models/deb_verbatim_publication_response_spec.rb
361
- - spec/models/deb_apt_distribution_spec.rb
362
- - spec/models/deb_release_response_spec.rb
363
- - spec/models/paginated_repository_version_response_list_spec.rb
364
- - spec/models/deb_package_index_response_spec.rb
365
- - spec/models/deb_apt_repository_response_spec.rb
366
- - spec/models/repository_version_spec.rb
367
- - spec/models/paginateddeb_release_response_list_spec.rb
368
- - spec/models/deb_release_architecture_response_spec.rb
368
+ - spec/models/paginateddeb_apt_distribution_response_list_spec.rb
369
369
  - spec/models/deb_release_spec.rb
370
- - spec/models/deb_release_component_response_spec.rb
370
+ - spec/models/deb_apt_repository_spec.rb
371
+ - spec/models/deb_release_component_spec.rb
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
371
377
  - spec/models/policy_enum_spec.rb
372
- - spec/models/deb_verbatim_publication_spec.rb
373
- - spec/models/paginateddeb_base_package_response_list_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
383
+ - spec/models/paginateddeb_installer_file_index_response_list_spec.rb
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
374
389
  - spec/models/patcheddeb_apt_remote_spec.rb
375
- - spec/models/deb_apt_remote_spec.rb
390
+ - spec/models/deb_package_index_response_spec.rb
376
391
  - spec/models/content_summary_spec.rb
377
- - spec/models/deb_generic_content_response_spec.rb
378
- - spec/models/paginateddeb_installer_file_index_response_list_spec.rb
392
+ - spec/models/paginateddeb_base_package_response_list_spec.rb
379
393
  - spec/models/paginateddeb_generic_content_response_list_spec.rb
380
- - spec/models/deb_release_architecture_spec.rb
381
- - spec/models/repository_sync_url_spec.rb
382
- - spec/models/async_operation_response_spec.rb
394
+ - spec/models/deb_release_component_response_spec.rb
383
395
  - spec/models/deb_generic_content_spec.rb
384
- - spec/models/repository_version_response_spec.rb
385
- - spec/models/deb_apt_repository_spec.rb
386
- - spec/models/deb_base_package_spec.rb
387
- - spec/models/deb_release_file_spec.rb
388
- - spec/models/paginateddeb_package_index_response_list_spec.rb
389
- - spec/models/patcheddeb_apt_repository_spec.rb
390
- - spec/models/paginateddeb_apt_distribution_response_list_spec.rb
391
- - spec/models/deb_installer_file_index_spec.rb
396
+ - spec/models/deb_release_file_response_spec.rb
392
397
  - spec/models/paginateddeb_verbatim_publication_response_list_spec.rb
393
- - spec/models/paginateddeb_apt_publication_response_list_spec.rb
394
- - spec/models/deb_apt_publication_response_spec.rb
395
- - spec/models/deb_package_index_spec.rb
396
- - spec/models/deb_installer_file_index_response_spec.rb
397
- - spec/models/paginateddeb_package_release_component_response_list_spec.rb
398
- - spec/models/repository_add_remove_content_spec.rb
398
+ - spec/models/paginateddeb_release_response_list_spec.rb
399
399
  - spec/spec_helper.rb