pulp_file_client 1.10.2 → 1.10.3

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: 47de37614c23fbd69461e0c6a367494fb66d8d7a68dc9d4140a895153f0aeff7
4
- data.tar.gz: 4e3d3e6294b201513762f6daf66d8f58b80f6fb608f5a61a66bdc250791362c6
3
+ metadata.gz: 3d636b6987e05edf1f7aa8c3113c17ac4bafbc8946d93932560c38469efb5a23
4
+ data.tar.gz: 6c5cd074828f29d92f4521232636eb5758352ee1261bb0645da25792069da9df
5
5
  SHA512:
6
- metadata.gz: 8bdb9af86ca46c03d6bdd7b25f5b07caeda8141ec9f02eeb812f48e0594dc4ed56fd9f6a6482bb91be0aa06aa6006c0b622093aeea6cbd3b26bc0db7b8a5d80f
7
- data.tar.gz: dc767658f24d380eedcf2d3a5a934e85d47ea2e930dbe0507751a46d708d2ef183048667f403d557cfc4aaad81046142200e7df3a57857791296c25d407d6c44
6
+ metadata.gz: 3b04a67aec5f8f80bad95d140c5be357cf6f15d040a66d988378bbeb6a469476e2002fbe551b2ad9432220212a85b0dcda1235d2deb63c9880cbce3463f5ca8a
7
+ data.tar.gz: 36c5c0235b24b0a121088b49d0514f8a24a861bb7c497bd7d1012407281832d26ba5cb7a4dc7e2026235ecdbed100ee4f3d5fd794c1d2b287f1f1028f11630e2
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: 1.10.2
10
+ - Package version: 1.10.3
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_file_client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./pulp_file_client-1.10.2.gem
27
+ gem install ./pulp_file_client-1.10.3.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_file_client-1.10.2.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_file_client-1.10.3.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_file_client', '~> 1.10.2'
36
+ gem 'pulp_file_client', '~> 1.10.3'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -118,9 +118,6 @@ module PulpFileClient
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 PulpFileClient
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 PulpFileClient
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 PulpFileClient
14
- VERSION = '1.10.2'
14
+ VERSION = '1.10.3'
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulp_file_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.2
4
+ version: 1.10.3
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-02-23 00:00:00.000000000 Z
11
+ date: 2022-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -231,45 +231,45 @@ signing_key:
231
231
  specification_version: 4
232
232
  summary: Pulp 3 API Ruby Gem
233
233
  test_files:
234
- - spec/api/repositories_file_api_spec.rb
235
- - spec/api/content_files_api_spec.rb
234
+ - spec/api/publications_file_api_spec.rb
236
235
  - spec/api/repositories_file_versions_api_spec.rb
237
236
  - spec/api/distributions_file_api_spec.rb
237
+ - spec/api/content_files_api_spec.rb
238
+ - spec/api/repositories_file_api_spec.rb
238
239
  - spec/api/acs_file_api_spec.rb
239
240
  - spec/api/remotes_file_api_spec.rb
240
- - spec/api/publications_file_api_spec.rb
241
241
  - spec/api_client_spec.rb
242
242
  - spec/configuration_spec.rb
243
- - spec/models/file_file_repository_spec.rb
244
- - spec/models/repository_version_response_spec.rb
245
- - spec/models/patchedfile_file_remote_spec.rb
246
- - spec/models/async_operation_response_spec.rb
247
- - spec/models/file_file_distribution_spec.rb
243
+ - spec/models/paginatedfile_file_alternate_content_source_response_list_spec.rb
248
244
  - spec/models/paginated_repository_version_response_list_spec.rb
249
- - spec/models/file_file_publication_spec.rb
250
- - spec/models/content_summary_response_spec.rb
251
- - spec/models/paginatedfile_file_publication_response_list_spec.rb
252
- - spec/models/file_file_remote_response_spec.rb
253
- - spec/models/paginatedfile_file_content_response_list_spec.rb
254
- - spec/models/paginatedfile_file_distribution_response_list_spec.rb
255
- - spec/models/file_file_content_spec.rb
256
- - spec/models/task_group_operation_response_spec.rb
257
245
  - spec/models/paginatedfile_file_repository_response_list_spec.rb
246
+ - spec/models/patchedfile_file_repository_spec.rb
247
+ - spec/models/paginatedfile_file_publication_response_list_spec.rb
248
+ - spec/models/repository_version_spec.rb
249
+ - spec/models/patchedfile_file_distribution_spec.rb
250
+ - spec/models/paginatedfile_file_remote_response_list_spec.rb
258
251
  - spec/models/file_file_repository_response_spec.rb
252
+ - spec/models/file_file_distribution_response_spec.rb
253
+ - spec/models/patchedfile_file_alternate_content_source_spec.rb
254
+ - spec/models/content_summary_response_spec.rb
255
+ - spec/models/paginatedfile_file_distribution_response_list_spec.rb
256
+ - spec/models/file_file_publication_spec.rb
257
+ - spec/models/file_file_remote_response_spec.rb
258
+ - spec/models/repository_add_remove_content_spec.rb
259
259
  - spec/models/policy_enum_spec.rb
260
- - spec/models/file_file_alternate_content_source_response_spec.rb
261
260
  - spec/models/content_summary_spec.rb
262
- - spec/models/paginatedfile_file_alternate_content_source_response_list_spec.rb
263
- - spec/models/file_file_content_response_spec.rb
264
- - spec/models/paginatedfile_file_remote_response_list_spec.rb
265
- - spec/models/patchedfile_file_alternate_content_source_spec.rb
266
- - spec/models/repository_version_spec.rb
267
- - spec/models/patchedfile_file_repository_spec.rb
268
- - spec/models/file_file_publication_response_spec.rb
269
- - spec/models/file_file_distribution_response_spec.rb
270
- - spec/models/patchedfile_file_distribution_spec.rb
261
+ - spec/models/task_group_operation_response_spec.rb
271
262
  - spec/models/file_file_alternate_content_source_spec.rb
272
- - spec/models/file_file_remote_spec.rb
273
- - spec/models/repository_add_remove_content_spec.rb
263
+ - spec/models/async_operation_response_spec.rb
274
264
  - spec/models/repository_sync_url_spec.rb
265
+ - spec/models/file_file_alternate_content_source_response_spec.rb
266
+ - spec/models/file_file_publication_response_spec.rb
267
+ - spec/models/file_file_content_spec.rb
268
+ - spec/models/patchedfile_file_remote_spec.rb
269
+ - spec/models/file_file_remote_spec.rb
270
+ - spec/models/repository_version_response_spec.rb
271
+ - spec/models/file_file_repository_spec.rb
272
+ - spec/models/file_file_content_response_spec.rb
273
+ - spec/models/paginatedfile_file_content_response_list_spec.rb
274
+ - spec/models/file_file_distribution_spec.rb
275
275
  - spec/spec_helper.rb