pulp_file_client 1.15.1 → 3.40.41699622829
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ContentFilesApi.md +4 -4
- data/docs/FileFileContent.md +2 -2
- data/lib/pulp_file_client/api/content_files_api.rb +4 -4
- data/lib/pulp_file_client/models/file_file_content.rb +2 -2
- data/lib/pulp_file_client/version.rb +1 -1
- data/spec/api/content_files_api_spec.rb +2 -2
- metadata +36 -36
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 190698d9578b8e1e7c5e43e4dcba46e9040aa3b2605dfb532da6277a19874cff
|
4
|
+
data.tar.gz: e18f7b16ffced0d68a12c9f76c6358ee77d7cbe893cbd6612000eb0022e38836
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb78736ff8d36daef17589521e104475d0f8b93138f2059a8ad12bc201b7dc645ddc1f12fe7954850f4494adec3510e9d0d41aadb04b76556e8121588c371843
|
7
|
+
data.tar.gz: 9235f27a0c1805b50434e1ad9e610367fe9e38e109c7f3973a56f32843c206b75013ac7e9a19a4b556cbf6bcd836346b76eab3e3a8c6f5106c0865f1aa6a975e
|
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:
|
10
|
+
- Package version: 3.40.41699622829
|
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-
|
27
|
+
gem install ./pulp_file_client-3.40.41699622829.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_file_client-
|
30
|
+
(for development, run `gem install --dev ./pulp_file_client-3.40.41699622829.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', '~>
|
36
|
+
gem 'pulp_file_client', '~> 3.40.41699622829'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
data/docs/ContentFilesApi.md
CHANGED
@@ -35,8 +35,8 @@ relative_path = 'relative_path_example' # String | Path where the artifact is lo
|
|
35
35
|
opts = {
|
36
36
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
37
37
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
38
|
-
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the
|
39
|
-
upload: 'upload_example' # String | An uncommitted upload that may be turned into the
|
38
|
+
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the content unit.
|
39
|
+
upload: 'upload_example' # String | An uncommitted upload that may be turned into the content unit.
|
40
40
|
}
|
41
41
|
|
42
42
|
begin
|
@@ -56,8 +56,8 @@ Name | Type | Description | Notes
|
|
56
56
|
**relative_path** | **String**| Path where the artifact is located relative to distributions base_path |
|
57
57
|
**repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
|
58
58
|
**artifact** | **String**| Artifact file representing the physical content | [optional]
|
59
|
-
**file** | **File**| An uploaded file that may be turned into the
|
60
|
-
**upload** | **String**| An uncommitted upload that may be turned into the
|
59
|
+
**file** | **File**| An uploaded file that may be turned into the content unit. | [optional]
|
60
|
+
**upload** | **String**| An uncommitted upload that may be turned into the content unit. | [optional]
|
61
61
|
|
62
62
|
### Return type
|
63
63
|
|
data/docs/FileFileContent.md
CHANGED
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
|
|
7
7
|
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
8
8
|
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
9
9
|
**relative_path** | **String** | Path where the artifact is located relative to distributions base_path |
|
10
|
-
**file** | **File** | An uploaded file that may be turned into the
|
11
|
-
**upload** | **String** | An uncommitted upload that may be turned into the
|
10
|
+
**file** | **File** | An uploaded file that may be turned into the content unit. | [optional]
|
11
|
+
**upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional]
|
12
12
|
|
13
13
|
## Code Sample
|
14
14
|
|
@@ -25,8 +25,8 @@ module PulpFileClient
|
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
26
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
27
27
|
# @option opts [String] :artifact Artifact file representing the physical content
|
28
|
-
# @option opts [File] :file An uploaded file that may be turned into the
|
29
|
-
# @option opts [String] :upload An uncommitted upload that may be turned into the
|
28
|
+
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
29
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
30
30
|
# @return [AsyncOperationResponse]
|
31
31
|
def create(relative_path, opts = {})
|
32
32
|
data, _status_code, _headers = create_with_http_info(relative_path, opts)
|
@@ -39,8 +39,8 @@ module PulpFileClient
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
40
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
41
41
|
# @option opts [String] :artifact Artifact file representing the physical content
|
42
|
-
# @option opts [File] :file An uploaded file that may be turned into the
|
43
|
-
# @option opts [String] :upload An uncommitted upload that may be turned into the
|
42
|
+
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
43
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
44
44
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
45
45
|
def create_with_http_info(relative_path, opts = {})
|
46
46
|
if @api_client.config.debugging
|
@@ -24,10 +24,10 @@ module PulpFileClient
|
|
24
24
|
# Path where the artifact is located relative to distributions base_path
|
25
25
|
attr_accessor :relative_path
|
26
26
|
|
27
|
-
# An uploaded file that may be turned into the
|
27
|
+
# An uploaded file that may be turned into the content unit.
|
28
28
|
attr_accessor :file
|
29
29
|
|
30
|
-
# An uncommitted upload that may be turned into the
|
30
|
+
# An uncommitted upload that may be turned into the content unit.
|
31
31
|
attr_accessor :upload
|
32
32
|
|
33
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -39,8 +39,8 @@ describe 'ContentFilesApi' do
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
40
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
41
41
|
# @option opts [String] :artifact Artifact file representing the physical content
|
42
|
-
# @option opts [File] :file An uploaded file that may be turned into the
|
43
|
-
# @option opts [String] :upload An uncommitted upload that may be turned into the
|
42
|
+
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
43
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
44
44
|
# @return [AsyncOperationResponse]
|
45
45
|
describe 'create test' do
|
46
46
|
it 'should work' do
|
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:
|
4
|
+
version: 3.40.41699622829
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-10
|
11
|
+
date: 2023-11-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -254,53 +254,53 @@ signing_key:
|
|
254
254
|
specification_version: 4
|
255
255
|
summary: Pulp 3 API Ruby Gem
|
256
256
|
test_files:
|
257
|
-
- spec/api/remotes_file_api_spec.rb
|
258
|
-
- spec/api/acs_file_api_spec.rb
|
259
|
-
- spec/api/content_files_api_spec.rb
|
260
257
|
- spec/api/publications_file_api_spec.rb
|
261
|
-
- spec/api/repositories_file_versions_api_spec.rb
|
262
|
-
- spec/api/repositories_file_api_spec.rb
|
263
258
|
- spec/api/distributions_file_api_spec.rb
|
259
|
+
- spec/api/content_files_api_spec.rb
|
260
|
+
- spec/api/remotes_file_api_spec.rb
|
261
|
+
- spec/api/repositories_file_api_spec.rb
|
262
|
+
- spec/api/repositories_file_versions_api_spec.rb
|
263
|
+
- spec/api/acs_file_api_spec.rb
|
264
264
|
- spec/api_client_spec.rb
|
265
265
|
- spec/configuration_spec.rb
|
266
|
-
- spec/models/
|
267
|
-
- spec/models/object_roles_response_spec.rb
|
268
|
-
- spec/models/task_group_operation_response_spec.rb
|
269
|
-
- spec/models/repository_sync_url_spec.rb
|
266
|
+
- spec/models/paginatedfile_file_remote_response_list_spec.rb
|
270
267
|
- spec/models/my_permissions_response_spec.rb
|
271
|
-
- spec/models/
|
268
|
+
- spec/models/repository_sync_url_spec.rb
|
269
|
+
- spec/models/nested_role_response_spec.rb
|
270
|
+
- spec/models/file_file_distribution_response_spec.rb
|
271
|
+
- spec/models/file_file_remote_spec.rb
|
272
|
+
- spec/models/task_group_operation_response_spec.rb
|
273
|
+
- spec/models/file_file_content_spec.rb
|
272
274
|
- spec/models/unset_label_spec.rb
|
273
|
-
- spec/models/unset_label_response_spec.rb
|
274
|
-
- spec/models/file_file_repository_spec.rb
|
275
|
-
- spec/models/file_file_alternate_content_source_response_spec.rb
|
276
|
-
- spec/models/content_summary_response_spec.rb
|
277
275
|
- spec/models/file_file_remote_response_hidden_fields_spec.rb
|
276
|
+
- spec/models/repository_version_response_spec.rb
|
277
|
+
- spec/models/file_file_alternate_content_source_spec.rb
|
278
278
|
- spec/models/nested_role_spec.rb
|
279
|
-
- spec/models/paginatedfile_file_alternate_content_source_response_list_spec.rb
|
280
|
-
- spec/models/patchedfile_file_remote_spec.rb
|
281
|
-
- spec/models/paginatedfile_file_distribution_response_list_spec.rb
|
282
279
|
- spec/models/paginated_repository_version_response_list_spec.rb
|
280
|
+
- spec/models/paginatedfile_file_repository_response_list_spec.rb
|
281
|
+
- spec/models/set_label_spec.rb
|
282
|
+
- spec/models/file_file_remote_response_spec.rb
|
283
|
+
- spec/models/content_summary_response_spec.rb
|
284
|
+
- spec/models/file_file_repository_spec.rb
|
285
|
+
- spec/models/object_roles_response_spec.rb
|
286
|
+
- spec/models/paginatedfile_file_distribution_response_list_spec.rb
|
283
287
|
- spec/models/paginatedfile_file_publication_response_list_spec.rb
|
284
|
-
- spec/models/
|
285
|
-
- spec/models/
|
286
|
-
- spec/models/
|
288
|
+
- spec/models/async_operation_response_spec.rb
|
289
|
+
- spec/models/file_file_content_response_spec.rb
|
290
|
+
- spec/models/patchedfile_file_alternate_content_source_spec.rb
|
291
|
+
- spec/models/patchedfile_file_remote_spec.rb
|
287
292
|
- spec/models/patchedfile_file_distribution_spec.rb
|
293
|
+
- spec/models/policy_enum_spec.rb
|
294
|
+
- spec/models/patchedfile_file_repository_spec.rb
|
295
|
+
- spec/models/paginatedfile_file_content_response_list_spec.rb
|
296
|
+
- spec/models/unset_label_response_spec.rb
|
288
297
|
- spec/models/file_file_distribution_spec.rb
|
289
298
|
- spec/models/repair_spec.rb
|
290
|
-
- spec/models/
|
291
|
-
- spec/models/file_file_publication_spec.rb
|
292
|
-
- spec/models/set_label_spec.rb
|
299
|
+
- spec/models/file_file_alternate_content_source_response_spec.rb
|
293
300
|
- spec/models/file_file_repository_response_spec.rb
|
294
|
-
- spec/models/file_file_alternate_content_source_spec.rb
|
295
|
-
- spec/models/policy_enum_spec.rb
|
296
|
-
- spec/models/file_file_publication_response_spec.rb
|
297
|
-
- spec/models/patchedfile_file_repository_spec.rb
|
298
|
-
- spec/models/patchedfile_file_alternate_content_source_spec.rb
|
299
|
-
- spec/models/file_file_remote_spec.rb
|
300
|
-
- spec/models/repository_version_response_spec.rb
|
301
|
-
- spec/models/file_file_remote_response_spec.rb
|
302
|
-
- spec/models/file_file_content_response_spec.rb
|
303
|
-
- spec/models/paginatedfile_file_repository_response_list_spec.rb
|
304
301
|
- spec/models/repository_add_remove_content_spec.rb
|
305
|
-
- spec/models/
|
302
|
+
- spec/models/file_file_publication_spec.rb
|
303
|
+
- spec/models/paginatedfile_file_alternate_content_source_response_list_spec.rb
|
304
|
+
- spec/models/set_label_response_spec.rb
|
305
|
+
- spec/models/file_file_publication_response_spec.rb
|
306
306
|
- spec/spec_helper.rb
|