pulpcore_client 3.7.5.post0 → 3.7.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/README.md +4 -4
- data/docs/PulpExportResponse.md +1 -1
- data/lib/pulpcore_client/api/access_policies_api.rb +1 -1
- data/lib/pulpcore_client/api/artifacts_api.rb +1 -1
- data/lib/pulpcore_client/api/exporters_core_exports_api.rb +1 -1
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +1 -1
- data/lib/pulpcore_client/api/groups_api.rb +1 -1
- data/lib/pulpcore_client/api/groups_model_permissions_api.rb +1 -1
- data/lib/pulpcore_client/api/groups_object_permissions_api.rb +1 -1
- data/lib/pulpcore_client/api/groups_users_api.rb +1 -1
- data/lib/pulpcore_client/api/importers_core_imports_api.rb +1 -1
- data/lib/pulpcore_client/api/importers_pulp_api.rb +1 -1
- data/lib/pulpcore_client/api/orphans_api.rb +1 -1
- data/lib/pulpcore_client/api/signing_services_api.rb +1 -1
- data/lib/pulpcore_client/api/status_api.rb +1 -1
- data/lib/pulpcore_client/api/task_groups_api.rb +1 -1
- data/lib/pulpcore_client/api/tasks_api.rb +1 -1
- data/lib/pulpcore_client/api/uploads_api.rb +1 -1
- data/lib/pulpcore_client/api/users_api.rb +1 -1
- data/lib/pulpcore_client/api/workers_api.rb +1 -1
- data/lib/pulpcore_client/api_client.rb +12 -8
- data/lib/pulpcore_client/api_error.rb +1 -1
- data/lib/pulpcore_client/configuration.rb +8 -1
- data/lib/pulpcore_client/models/access_policy.rb +1 -1
- data/lib/pulpcore_client/models/access_policy_response.rb +1 -1
- data/lib/pulpcore_client/models/artifact.rb +1 -1
- data/lib/pulpcore_client/models/artifact_response.rb +1 -1
- data/lib/pulpcore_client/models/async_operation_response.rb +1 -1
- data/lib/pulpcore_client/models/content_app_status_response.rb +1 -1
- data/lib/pulpcore_client/models/database_connection_response.rb +1 -1
- data/lib/pulpcore_client/models/group.rb +1 -1
- data/lib/pulpcore_client/models/group_progress_report_response.rb +1 -1
- data/lib/pulpcore_client/models/group_response.rb +1 -1
- data/lib/pulpcore_client/models/group_user.rb +1 -1
- data/lib/pulpcore_client/models/group_user_response.rb +1 -1
- data/lib/pulpcore_client/models/import_response.rb +1 -1
- data/lib/pulpcore_client/models/inline_response200.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2001.rb +1 -1
- data/lib/pulpcore_client/models/inline_response20010.rb +1 -1
- data/lib/pulpcore_client/models/inline_response20011.rb +1 -1
- data/lib/pulpcore_client/models/inline_response20012.rb +1 -1
- data/lib/pulpcore_client/models/inline_response20013.rb +1 -1
- data/lib/pulpcore_client/models/inline_response20014.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2002.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2003.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2004.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2005.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2006.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2007.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2008.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2009.rb +1 -1
- data/lib/pulpcore_client/models/patched_access_policy.rb +1 -1
- data/lib/pulpcore_client/models/patched_group.rb +1 -1
- data/lib/pulpcore_client/models/patched_pulp_exporter.rb +1 -1
- data/lib/pulpcore_client/models/patched_pulp_importer.rb +1 -1
- data/lib/pulpcore_client/models/patched_task_cancel.rb +1 -1
- data/lib/pulpcore_client/models/permission_response.rb +1 -1
- data/lib/pulpcore_client/models/progress_report_response.rb +1 -1
- data/lib/pulpcore_client/models/pulp_export.rb +1 -1
- data/lib/pulpcore_client/models/pulp_export_response.rb +2 -2
- data/lib/pulpcore_client/models/pulp_exporter.rb +1 -1
- data/lib/pulpcore_client/models/pulp_exporter_response.rb +1 -1
- data/lib/pulpcore_client/models/pulp_import.rb +1 -1
- data/lib/pulpcore_client/models/pulp_importer.rb +1 -1
- data/lib/pulpcore_client/models/pulp_importer_response.rb +1 -1
- data/lib/pulpcore_client/models/redis_connection_response.rb +1 -1
- data/lib/pulpcore_client/models/signing_service_response.rb +1 -1
- data/lib/pulpcore_client/models/status_response.rb +1 -1
- data/lib/pulpcore_client/models/storage_response.rb +1 -1
- data/lib/pulpcore_client/models/task_group_response.rb +1 -1
- data/lib/pulpcore_client/models/task_response.rb +1 -1
- data/lib/pulpcore_client/models/upload.rb +1 -1
- data/lib/pulpcore_client/models/upload_chunk.rb +1 -1
- data/lib/pulpcore_client/models/upload_chunk_response.rb +1 -1
- data/lib/pulpcore_client/models/upload_commit.rb +1 -1
- data/lib/pulpcore_client/models/upload_detail_response.rb +1 -1
- data/lib/pulpcore_client/models/upload_response.rb +1 -1
- data/lib/pulpcore_client/models/user_group_response.rb +1 -1
- data/lib/pulpcore_client/models/user_response.rb +1 -1
- data/lib/pulpcore_client/models/version_response.rb +1 -1
- data/lib/pulpcore_client/models/worker_response.rb +1 -1
- data/lib/pulpcore_client/version.rb +2 -2
- data/lib/pulpcore_client.rb +1 -1
- data/pulpcore_client.gemspec +1 -1
- data/spec/api/access_policies_api_spec.rb +1 -1
- data/spec/api/artifacts_api_spec.rb +1 -1
- data/spec/api/exporters_core_exports_api_spec.rb +1 -1
- data/spec/api/exporters_pulp_api_spec.rb +1 -1
- data/spec/api/groups_api_spec.rb +1 -1
- data/spec/api/groups_model_permissions_api_spec.rb +1 -1
- data/spec/api/groups_object_permissions_api_spec.rb +1 -1
- data/spec/api/groups_users_api_spec.rb +1 -1
- data/spec/api/importers_core_imports_api_spec.rb +1 -1
- data/spec/api/importers_pulp_api_spec.rb +1 -1
- data/spec/api/orphans_api_spec.rb +1 -1
- data/spec/api/signing_services_api_spec.rb +1 -1
- data/spec/api/status_api_spec.rb +1 -1
- data/spec/api/task_groups_api_spec.rb +1 -1
- data/spec/api/tasks_api_spec.rb +1 -1
- data/spec/api/uploads_api_spec.rb +1 -1
- data/spec/api/users_api_spec.rb +1 -1
- data/spec/api/workers_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/access_policy_response_spec.rb +1 -1
- data/spec/models/access_policy_spec.rb +1 -1
- data/spec/models/artifact_response_spec.rb +1 -1
- data/spec/models/artifact_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/content_app_status_response_spec.rb +1 -1
- data/spec/models/database_connection_response_spec.rb +1 -1
- data/spec/models/group_progress_report_response_spec.rb +1 -1
- data/spec/models/group_response_spec.rb +1 -1
- data/spec/models/group_spec.rb +1 -1
- data/spec/models/group_user_response_spec.rb +1 -1
- data/spec/models/group_user_spec.rb +1 -1
- data/spec/models/import_response_spec.rb +1 -1
- data/spec/models/inline_response20010_spec.rb +1 -1
- data/spec/models/inline_response20011_spec.rb +1 -1
- data/spec/models/inline_response20012_spec.rb +1 -1
- data/spec/models/inline_response20013_spec.rb +1 -1
- data/spec/models/inline_response20014_spec.rb +1 -1
- data/spec/models/inline_response2001_spec.rb +1 -1
- data/spec/models/inline_response2002_spec.rb +1 -1
- data/spec/models/inline_response2003_spec.rb +1 -1
- data/spec/models/inline_response2004_spec.rb +1 -1
- data/spec/models/inline_response2005_spec.rb +1 -1
- data/spec/models/inline_response2006_spec.rb +1 -1
- data/spec/models/inline_response2007_spec.rb +1 -1
- data/spec/models/inline_response2008_spec.rb +1 -1
- data/spec/models/inline_response2009_spec.rb +1 -1
- data/spec/models/inline_response200_spec.rb +1 -1
- data/spec/models/patched_access_policy_spec.rb +1 -1
- data/spec/models/patched_group_spec.rb +1 -1
- data/spec/models/patched_pulp_exporter_spec.rb +1 -1
- data/spec/models/patched_pulp_importer_spec.rb +1 -1
- data/spec/models/patched_task_cancel_spec.rb +1 -1
- data/spec/models/permission_response_spec.rb +1 -1
- data/spec/models/progress_report_response_spec.rb +1 -1
- data/spec/models/pulp_export_response_spec.rb +1 -1
- data/spec/models/pulp_export_spec.rb +1 -1
- data/spec/models/pulp_exporter_response_spec.rb +1 -1
- data/spec/models/pulp_exporter_spec.rb +1 -1
- data/spec/models/pulp_import_spec.rb +1 -1
- data/spec/models/pulp_importer_response_spec.rb +1 -1
- data/spec/models/pulp_importer_spec.rb +1 -1
- data/spec/models/redis_connection_response_spec.rb +1 -1
- data/spec/models/signing_service_response_spec.rb +1 -1
- data/spec/models/status_response_spec.rb +1 -1
- data/spec/models/storage_response_spec.rb +1 -1
- data/spec/models/task_group_response_spec.rb +1 -1
- data/spec/models/task_response_spec.rb +1 -1
- data/spec/models/upload_chunk_response_spec.rb +1 -1
- data/spec/models/upload_chunk_spec.rb +1 -1
- data/spec/models/upload_commit_spec.rb +1 -1
- data/spec/models/upload_detail_response_spec.rb +1 -1
- data/spec/models/upload_response_spec.rb +1 -1
- data/spec/models/upload_spec.rb +1 -1
- data/spec/models/user_group_response_spec.rb +1 -1
- data/spec/models/user_response_spec.rb +1 -1
- data/spec/models/version_response_spec.rb +1 -1
- data/spec/models/worker_response_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +64 -64
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ffcc47c1f5c2bd3e59e8ee51661734ebf7a4c7aa70ae92e906f346ffbfcefb2
|
4
|
+
data.tar.gz: 59e00369d735d65efbc58911acd8822240b12133d5fa67a43cfea1623ec321e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be368e25569a48acff7d85e3d222a9e90cbb757f01915242547a88769a350e8d4e898dd8ce14a1bb4c5af911b5f7f9cb57833af8ce61874e7edb5be4130b2d4b
|
7
|
+
data.tar.gz: 251cc8df80be3da05443fc8eeab9f88f636286203b2f852803cb46f1990e2656f3bec7adc075287f7dc446f29d17d952ea392a180046c7a8ab27241e502551c2
|
data/Gemfile
CHANGED
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: 3.7.
|
10
|
+
- Package version: 3.7.8
|
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 pulpcore_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulpcore_client-3.7.
|
27
|
+
gem install ./pulpcore_client-3.7.8.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulpcore_client-3.7.
|
30
|
+
(for development, run `gem install --dev ./pulpcore_client-3.7.8.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 'pulpcore_client', '~> 3.7.
|
36
|
+
gem 'pulpcore_client', '~> 3.7.8'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
data/docs/PulpExportResponse.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
9
|
**task** | **String** | A URI of the task that ran the Export. | [optional]
|
10
|
-
**exported_resources** | **Array<
|
10
|
+
**exported_resources** | [**Array<AnyType>**](AnyType.md) | Resources that were exported. | [optional] [readonly]
|
11
11
|
**params** | [**Object**](.md) | Any additional parameters that were used to create the export. | [optional] [readonly]
|
12
12
|
**output_file_info** | [**Object**](.md) | Dictionary of filename: sha256hash entries for export-output-file(s) | [optional] [readonly]
|
13
13
|
**toc_info** | [**Object**](.md) | Filename and sha256-checksum of table-of-contents for this export | [optional] [readonly]
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -53,8 +53,10 @@ module PulpcoreClient
|
|
53
53
|
:client_cert => @config.ssl_client_cert,
|
54
54
|
:client_key => @config.ssl_client_key
|
55
55
|
}
|
56
|
-
|
57
|
-
|
56
|
+
request_options = {
|
57
|
+
:params_encoder => @config.params_encoder
|
58
|
+
}
|
59
|
+
connection = Faraday.new(:url => config.base_url, :ssl => ssl_options, :request => request_options) do |conn|
|
58
60
|
conn.basic_auth(config.username, config.password)
|
59
61
|
if opts[:header_params]["Content-Type"] == "multipart/form-data"
|
60
62
|
conn.request :multipart
|
@@ -285,11 +287,13 @@ module PulpcoreClient
|
|
285
287
|
tempfile.write(chunk)
|
286
288
|
end
|
287
289
|
request.on_complete do |response|
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
290
|
+
if tempfile
|
291
|
+
tempfile.close
|
292
|
+
@config.logger.info "Temp file written to #{tempfile.path}, please copy the file to a proper folder "\
|
293
|
+
"with e.g. `FileUtils.cp(tempfile.path, '/new/file/path')` otherwise the temp file "\
|
294
|
+
"will be deleted automatically with GC. It's also recommended to delete the temp file "\
|
295
|
+
"explicitly with `tempfile.delete`"
|
296
|
+
end
|
293
297
|
end
|
294
298
|
end
|
295
299
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -109,6 +109,12 @@ module PulpcoreClient
|
|
109
109
|
# Client private key file (for client certificate)
|
110
110
|
attr_accessor :ssl_client_key
|
111
111
|
|
112
|
+
# Set this to customize parameters encoder of array parameter.
|
113
|
+
# Default to nil. Faraday uses NestedParamsEncoder when nil.
|
114
|
+
#
|
115
|
+
# @see The params_encoder option of Faraday. Related source code:
|
116
|
+
# https://github.com/lostisland/faraday/tree/main/lib/faraday/encoders
|
117
|
+
attr_accessor :params_encoder
|
112
118
|
# Set this to customize parameters encoding of array parameter with multi collectionFormat.
|
113
119
|
# Default to nil.
|
114
120
|
#
|
@@ -133,6 +139,7 @@ module PulpcoreClient
|
|
133
139
|
@ssl_ca_file = nil
|
134
140
|
@ssl_client_cert = nil
|
135
141
|
@ssl_client_key = nil
|
142
|
+
@params_encoder = nil
|
136
143
|
@debugging = false
|
137
144
|
@inject_format = false
|
138
145
|
@force_ending_format = false
|