pulp_python_client 3.10.1 → 3.11.0
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 +7 -7
- data/docs/ContentPackagesApi.md +5 -5
- data/docs/DistributionsPypiApi.md +1 -1
- data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
- data/docs/PaginatedpythonPythonDistributionResponseList.md +2 -2
- data/docs/PaginatedpythonPythonPackageContentResponseList.md +2 -2
- data/docs/PaginatedpythonPythonPublicationResponseList.md +2 -2
- data/docs/PaginatedpythonPythonRemoteResponseList.md +2 -2
- data/docs/PaginatedpythonPythonRepositoryResponseList.md +2 -2
- data/docs/PublicationsPypiApi.md +1 -1
- data/docs/PypiApi.md +1 -1
- data/docs/PypiLegacyApi.md +1 -1
- data/docs/PypiMetadataApi.md +1 -1
- data/docs/PypiSimpleApi.md +1 -1
- data/docs/PythonPythonPackageContent.md +2 -2
- data/docs/PythonPythonRemoteResponseHiddenFields.md +2 -2
- data/docs/RemotesPythonApi.md +1 -1
- data/docs/RepositoriesPythonApi.md +1 -1
- data/docs/RepositoriesPythonVersionsApi.md +1 -1
- data/lib/pulp_python_client/api/content_packages_api.rb +4 -4
- data/lib/pulp_python_client/configuration.rb +2 -2
- data/lib/pulp_python_client/models/paginated_repository_version_response_list.rb +0 -10
- data/lib/pulp_python_client/models/paginatedpython_python_distribution_response_list.rb +0 -10
- data/lib/pulp_python_client/models/paginatedpython_python_package_content_response_list.rb +0 -10
- data/lib/pulp_python_client/models/paginatedpython_python_publication_response_list.rb +0 -10
- data/lib/pulp_python_client/models/paginatedpython_python_remote_response_list.rb +0 -10
- data/lib/pulp_python_client/models/paginatedpython_python_repository_response_list.rb +0 -10
- data/lib/pulp_python_client/models/python_python_package_content.rb +2 -2
- data/lib/pulp_python_client/models/python_python_remote_response_hidden_fields.rb +0 -10
- data/lib/pulp_python_client/version.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +2 -2
- data/spec/configuration_spec.rb +3 -3
- metadata +52 -52
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac15138007e3c1e6a71126eefe3dcc59aba28172aa189ead2d046eb202fbdf3e
|
4
|
+
data.tar.gz: f246263cae4a945069c87fd0f0ff101d8971fb0d8f0b7400b593c52b36e03084
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 485432cb562c800b1a2c47df7f1507f321d8b9dd4e2e74f2f0a519d0d7e6404da2ea9a969b036e6226e3bb3a5b782cd77a017653839dee34b4a8812cb3a43d10
|
7
|
+
data.tar.gz: 716318072790d742e2752b3e3515a2c11c2d5b702e7f6680c9850050b55e1e84be9e1464c98a2e2084400ab381ca70d6a3b26ea77faf9da3448c41bcc0f4f35e
|
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.
|
10
|
+
- Package version: 3.11.0
|
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_python_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_python_client-3.
|
27
|
+
gem install ./pulp_python_client-3.11.0.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_python_client-3.
|
30
|
+
(for development, run `gem install --dev ./pulp_python_client-3.11.0.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_python_client', '~> 3.
|
36
|
+
gem 'pulp_python_client', '~> 3.11.0'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -69,8 +69,8 @@ relative_path = 'relative_path_example' # String | Path where the artifact is lo
|
|
69
69
|
opts = {
|
70
70
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
71
71
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
72
|
-
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the
|
73
|
-
upload: 'upload_example', # String | An uncommitted upload that may be turned into the
|
72
|
+
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the content unit.
|
73
|
+
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
74
74
|
sha256: '', # String | The SHA256 digest of this package.
|
75
75
|
summary: 'summary_example', # String | A one-line summary of what the package does.
|
76
76
|
description: 'description_example', # String | A longer description of the package that can run to several paragraphs.
|
@@ -107,7 +107,7 @@ end
|
|
107
107
|
|
108
108
|
## Documentation for API Endpoints
|
109
109
|
|
110
|
-
All URIs are relative to *http://
|
110
|
+
All URIs are relative to *http://pulp*
|
111
111
|
|
112
112
|
Class | Method | HTTP request | Description
|
113
113
|
------------ | ------------- | ------------- | -------------
|
data/docs/ContentPackagesApi.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpPythonClient::ContentPackagesApi
|
2
2
|
|
3
|
-
All URIs are relative to *http://
|
3
|
+
All URIs are relative to *http://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
@@ -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
|
sha256: '', # String | The SHA256 digest of this package.
|
41
41
|
summary: 'summary_example', # String | A one-line summary of what the package does.
|
42
42
|
description: 'description_example', # String | A longer description of the package that can run to several paragraphs.
|
@@ -78,8 +78,8 @@ Name | Type | Description | Notes
|
|
78
78
|
**relative_path** | **String**| Path where the artifact is located relative to distributions base_path |
|
79
79
|
**repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
|
80
80
|
**artifact** | **String**| Artifact file representing the physical content | [optional]
|
81
|
-
**file** | **File**| An uploaded file that may be turned into the
|
82
|
-
**upload** | **String**| An uncommitted upload that may be turned into the
|
81
|
+
**file** | **File**| An uploaded file that may be turned into the content unit. | [optional]
|
82
|
+
**upload** | **String**| An uncommitted upload that may be turned into the content unit. | [optional]
|
83
83
|
**sha256** | **String**| The SHA256 digest of this package. | [optional] [default to '']
|
84
84
|
**summary** | **String**| A one-line summary of what the package does. | [optional]
|
85
85
|
**description** | **String**| A longer description of the package that can run to several paragraphs. | [optional]
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | | [optional]
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<RepositoryVersionResponse>**](RepositoryVersionResponse.md) | |
|
10
|
+
**results** | [**Array<RepositoryVersionResponse>**](RepositoryVersionResponse.md) | | [optional]
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | | [optional]
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<PythonPythonDistributionResponse>**](PythonPythonDistributionResponse.md) | |
|
10
|
+
**results** | [**Array<PythonPythonDistributionResponse>**](PythonPythonDistributionResponse.md) | | [optional]
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | | [optional]
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<PythonPythonPackageContentResponse>**](PythonPythonPackageContentResponse.md) | |
|
10
|
+
**results** | [**Array<PythonPythonPackageContentResponse>**](PythonPythonPackageContentResponse.md) | | [optional]
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | | [optional]
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<PythonPythonPublicationResponse>**](PythonPythonPublicationResponse.md) | |
|
10
|
+
**results** | [**Array<PythonPythonPublicationResponse>**](PythonPythonPublicationResponse.md) | | [optional]
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | | [optional]
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<PythonPythonRemoteResponse>**](PythonPythonRemoteResponse.md) | |
|
10
|
+
**results** | [**Array<PythonPythonRemoteResponse>**](PythonPythonRemoteResponse.md) | | [optional]
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | | [optional]
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<PythonPythonRepositoryResponse>**](PythonPythonRepositoryResponse.md) | |
|
10
|
+
**results** | [**Array<PythonPythonRepositoryResponse>**](PythonPythonRepositoryResponse.md) | | [optional]
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/PublicationsPypiApi.md
CHANGED
data/docs/PypiApi.md
CHANGED
data/docs/PypiLegacyApi.md
CHANGED
data/docs/PypiMetadataApi.md
CHANGED
data/docs/PypiSimpleApi.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
|
**sha256** | **String** | The SHA256 digest of this package. | [optional] [default to '']
|
13
13
|
**summary** | **String** | A one-line summary of what the package does. | [optional]
|
14
14
|
**description** | **String** | A longer description of the package that can run to several paragraphs. | [optional]
|
@@ -4,8 +4,8 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**name** | **String** | |
|
8
|
-
**is_set** | **Boolean** | |
|
7
|
+
**name** | **String** | | [optional]
|
8
|
+
**is_set** | **Boolean** | | [optional]
|
9
9
|
|
10
10
|
## Code Sample
|
11
11
|
|
data/docs/RemotesPythonApi.md
CHANGED
@@ -25,8 +25,8 @@ module PulpPythonClient
|
|
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
|
# @option opts [String] :sha256 The SHA256 digest of this package. (default to '')
|
31
31
|
# @option opts [String] :summary A one-line summary of what the package does.
|
32
32
|
# @option opts [String] :description A longer description of the package that can run to several paragraphs.
|
@@ -61,8 +61,8 @@ module PulpPythonClient
|
|
61
61
|
# @param [Hash] opts the optional parameters
|
62
62
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
63
63
|
# @option opts [String] :artifact Artifact file representing the physical content
|
64
|
-
# @option opts [File] :file An uploaded file that may be turned into the
|
65
|
-
# @option opts [String] :upload An uncommitted upload that may be turned into the
|
64
|
+
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
65
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
66
66
|
# @option opts [String] :sha256 The SHA256 digest of this package.
|
67
67
|
# @option opts [String] :summary A one-line summary of what the package does.
|
68
68
|
# @option opts [String] :description A longer description of the package that can run to several paragraphs.
|
@@ -128,7 +128,7 @@ module PulpPythonClient
|
|
128
128
|
|
129
129
|
def initialize
|
130
130
|
@scheme = 'http'
|
131
|
-
@host = '
|
131
|
+
@host = 'pulp'
|
132
132
|
@base_path = ''
|
133
133
|
@api_key = {}
|
134
134
|
@api_key_prefix = {}
|
@@ -210,7 +210,7 @@ module PulpPythonClient
|
|
210
210
|
def server_settings
|
211
211
|
[
|
212
212
|
{
|
213
|
-
url: "http://
|
213
|
+
url: "http://pulp/",
|
214
214
|
description: "No description provided",
|
215
215
|
}
|
216
216
|
]
|
@@ -88,22 +88,12 @@ module PulpPythonClient
|
|
88
88
|
# @return Array for valid properties with the reasons
|
89
89
|
def list_invalid_properties
|
90
90
|
invalid_properties = Array.new
|
91
|
-
if @count.nil?
|
92
|
-
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
93
|
-
end
|
94
|
-
|
95
|
-
if @results.nil?
|
96
|
-
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
97
|
-
end
|
98
|
-
|
99
91
|
invalid_properties
|
100
92
|
end
|
101
93
|
|
102
94
|
# Check to see if the all the properties in the model are valid
|
103
95
|
# @return true if the model is valid
|
104
96
|
def valid?
|
105
|
-
return false if @count.nil?
|
106
|
-
return false if @results.nil?
|
107
97
|
true
|
108
98
|
end
|
109
99
|
|
@@ -88,22 +88,12 @@ module PulpPythonClient
|
|
88
88
|
# @return Array for valid properties with the reasons
|
89
89
|
def list_invalid_properties
|
90
90
|
invalid_properties = Array.new
|
91
|
-
if @count.nil?
|
92
|
-
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
93
|
-
end
|
94
|
-
|
95
|
-
if @results.nil?
|
96
|
-
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
97
|
-
end
|
98
|
-
|
99
91
|
invalid_properties
|
100
92
|
end
|
101
93
|
|
102
94
|
# Check to see if the all the properties in the model are valid
|
103
95
|
# @return true if the model is valid
|
104
96
|
def valid?
|
105
|
-
return false if @count.nil?
|
106
|
-
return false if @results.nil?
|
107
97
|
true
|
108
98
|
end
|
109
99
|
|
@@ -88,22 +88,12 @@ module PulpPythonClient
|
|
88
88
|
# @return Array for valid properties with the reasons
|
89
89
|
def list_invalid_properties
|
90
90
|
invalid_properties = Array.new
|
91
|
-
if @count.nil?
|
92
|
-
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
93
|
-
end
|
94
|
-
|
95
|
-
if @results.nil?
|
96
|
-
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
97
|
-
end
|
98
|
-
|
99
91
|
invalid_properties
|
100
92
|
end
|
101
93
|
|
102
94
|
# Check to see if the all the properties in the model are valid
|
103
95
|
# @return true if the model is valid
|
104
96
|
def valid?
|
105
|
-
return false if @count.nil?
|
106
|
-
return false if @results.nil?
|
107
97
|
true
|
108
98
|
end
|
109
99
|
|
@@ -88,22 +88,12 @@ module PulpPythonClient
|
|
88
88
|
# @return Array for valid properties with the reasons
|
89
89
|
def list_invalid_properties
|
90
90
|
invalid_properties = Array.new
|
91
|
-
if @count.nil?
|
92
|
-
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
93
|
-
end
|
94
|
-
|
95
|
-
if @results.nil?
|
96
|
-
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
97
|
-
end
|
98
|
-
|
99
91
|
invalid_properties
|
100
92
|
end
|
101
93
|
|
102
94
|
# Check to see if the all the properties in the model are valid
|
103
95
|
# @return true if the model is valid
|
104
96
|
def valid?
|
105
|
-
return false if @count.nil?
|
106
|
-
return false if @results.nil?
|
107
97
|
true
|
108
98
|
end
|
109
99
|
|
@@ -88,22 +88,12 @@ module PulpPythonClient
|
|
88
88
|
# @return Array for valid properties with the reasons
|
89
89
|
def list_invalid_properties
|
90
90
|
invalid_properties = Array.new
|
91
|
-
if @count.nil?
|
92
|
-
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
93
|
-
end
|
94
|
-
|
95
|
-
if @results.nil?
|
96
|
-
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
97
|
-
end
|
98
|
-
|
99
91
|
invalid_properties
|
100
92
|
end
|
101
93
|
|
102
94
|
# Check to see if the all the properties in the model are valid
|
103
95
|
# @return true if the model is valid
|
104
96
|
def valid?
|
105
|
-
return false if @count.nil?
|
106
|
-
return false if @results.nil?
|
107
97
|
true
|
108
98
|
end
|
109
99
|
|
@@ -88,22 +88,12 @@ module PulpPythonClient
|
|
88
88
|
# @return Array for valid properties with the reasons
|
89
89
|
def list_invalid_properties
|
90
90
|
invalid_properties = Array.new
|
91
|
-
if @count.nil?
|
92
|
-
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
93
|
-
end
|
94
|
-
|
95
|
-
if @results.nil?
|
96
|
-
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
97
|
-
end
|
98
|
-
|
99
91
|
invalid_properties
|
100
92
|
end
|
101
93
|
|
102
94
|
# Check to see if the all the properties in the model are valid
|
103
95
|
# @return true if the model is valid
|
104
96
|
def valid?
|
105
|
-
return false if @count.nil?
|
106
|
-
return false if @results.nil?
|
107
97
|
true
|
108
98
|
end
|
109
99
|
|
@@ -24,10 +24,10 @@ module PulpPythonClient
|
|
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
|
# The SHA256 digest of this package.
|
@@ -68,22 +68,12 @@ module PulpPythonClient
|
|
68
68
|
# @return Array for valid properties with the reasons
|
69
69
|
def list_invalid_properties
|
70
70
|
invalid_properties = Array.new
|
71
|
-
if @name.nil?
|
72
|
-
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
73
|
-
end
|
74
|
-
|
75
|
-
if @is_set.nil?
|
76
|
-
invalid_properties.push('invalid value for "is_set", is_set cannot be nil.')
|
77
|
-
end
|
78
|
-
|
79
71
|
invalid_properties
|
80
72
|
end
|
81
73
|
|
82
74
|
# Check to see if the all the properties in the model are valid
|
83
75
|
# @return true if the model is valid
|
84
76
|
def valid?
|
85
|
-
return false if @name.nil?
|
86
|
-
return false if @is_set.nil?
|
87
77
|
true
|
88
78
|
end
|
89
79
|
|
@@ -39,8 +39,8 @@ describe 'ContentPackagesApi' 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
|
# @option opts [String] :sha256 The SHA256 digest of this package.
|
45
45
|
# @option opts [String] :summary A one-line summary of what the package does.
|
46
46
|
# @option opts [String] :description A longer description of the package that can run to several paragraphs.
|
data/spec/configuration_spec.rb
CHANGED
@@ -18,7 +18,7 @@ describe PulpPythonClient::Configuration do
|
|
18
18
|
before(:each) do
|
19
19
|
# uncomment below to setup host and base_path
|
20
20
|
# require 'URI'
|
21
|
-
# uri = URI.parse("http://
|
21
|
+
# uri = URI.parse("http://pulp")
|
22
22
|
# PulpPythonClient.configure do |c|
|
23
23
|
# c.host = uri.host
|
24
24
|
# c.base_path = uri.path
|
@@ -28,14 +28,14 @@ describe PulpPythonClient::Configuration do
|
|
28
28
|
describe '#base_url' do
|
29
29
|
it 'should have the default value' do
|
30
30
|
# uncomment below to test default value of the base path
|
31
|
-
# expect(config.base_url).to eq("http://
|
31
|
+
# expect(config.base_url).to eq("http://pulp")
|
32
32
|
end
|
33
33
|
|
34
34
|
it 'should remove trailing slashes' do
|
35
35
|
[nil, '', '/', '//'].each do |base_path|
|
36
36
|
config.base_path = base_path
|
37
37
|
# uncomment below to test trailing slashes
|
38
|
-
# expect(config.base_url).to eq("http://
|
38
|
+
# expect(config.base_url).to eq("http://pulp")
|
39
39
|
end
|
40
40
|
end
|
41
41
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_python_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -34,42 +34,42 @@ dependencies:
|
|
34
34
|
name: json
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
|
-
- - "~>"
|
38
|
-
- !ruby/object:Gem::Version
|
39
|
-
version: '2.1'
|
40
37
|
- - ">="
|
41
38
|
- !ruby/object:Gem::Version
|
42
39
|
version: 2.1.0
|
40
|
+
- - "~>"
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '2.1'
|
43
43
|
type: :runtime
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
|
-
- - "~>"
|
48
|
-
- !ruby/object:Gem::Version
|
49
|
-
version: '2.1'
|
50
47
|
- - ">="
|
51
48
|
- !ruby/object:Gem::Version
|
52
49
|
version: 2.1.0
|
50
|
+
- - "~>"
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: '2.1'
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: rspec
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
56
56
|
requirements:
|
57
|
-
- - "~>"
|
58
|
-
- !ruby/object:Gem::Version
|
59
|
-
version: '3.6'
|
60
57
|
- - ">="
|
61
58
|
- !ruby/object:Gem::Version
|
62
59
|
version: 3.6.0
|
60
|
+
- - "~>"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '3.6'
|
63
63
|
type: :development
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
|
-
- - "~>"
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: '3.6'
|
70
67
|
- - ">="
|
71
68
|
- !ruby/object:Gem::Version
|
72
69
|
version: 3.6.0
|
70
|
+
- - "~>"
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: '3.6'
|
73
73
|
description: Fetch, Upload, Organize, and Distribute Software Packages
|
74
74
|
email:
|
75
75
|
- pulp-list@redhat.com
|
@@ -237,7 +237,7 @@ homepage: https://github.com/pulp/pulp_python
|
|
237
237
|
licenses:
|
238
238
|
- GPLv2+
|
239
239
|
metadata: {}
|
240
|
-
post_install_message:
|
240
|
+
post_install_message:
|
241
241
|
rdoc_options: []
|
242
242
|
require_paths:
|
243
243
|
- lib
|
@@ -252,59 +252,59 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
252
252
|
- !ruby/object:Gem::Version
|
253
253
|
version: '0'
|
254
254
|
requirements: []
|
255
|
-
rubygems_version: 3.
|
256
|
-
signing_key:
|
255
|
+
rubygems_version: 3.0.3.1
|
256
|
+
signing_key:
|
257
257
|
specification_version: 4
|
258
258
|
summary: Pulp 3 API Ruby Gem
|
259
259
|
test_files:
|
260
|
-
- spec/api/repositories_python_api_spec.rb
|
261
|
-
- spec/api/pypi_legacy_api_spec.rb
|
262
|
-
- spec/api/pypi_simple_api_spec.rb
|
263
|
-
- spec/api/pypi_metadata_api_spec.rb
|
264
260
|
- spec/api/remotes_python_api_spec.rb
|
261
|
+
- spec/api/pypi_simple_api_spec.rb
|
262
|
+
- spec/api/content_packages_api_spec.rb
|
265
263
|
- spec/api/publications_pypi_api_spec.rb
|
266
264
|
- spec/api/pypi_api_spec.rb
|
265
|
+
- spec/api/pypi_legacy_api_spec.rb
|
267
266
|
- spec/api/distributions_pypi_api_spec.rb
|
268
|
-
- spec/api/
|
267
|
+
- spec/api/repositories_python_api_spec.rb
|
269
268
|
- spec/api/repositories_python_versions_api_spec.rb
|
269
|
+
- spec/api/pypi_metadata_api_spec.rb
|
270
270
|
- spec/api_client_spec.rb
|
271
271
|
- spec/configuration_spec.rb
|
272
|
-
- spec/models/
|
272
|
+
- spec/models/exclude_platforms_enum_spec.rb
|
273
|
+
- spec/models/repository_sync_url_spec.rb
|
274
|
+
- spec/models/python_python_distribution_response_spec.rb
|
275
|
+
- spec/models/package_upload_task_response_spec.rb
|
276
|
+
- spec/models/python_python_remote_response_hidden_fields_spec.rb
|
277
|
+
- spec/models/package_types_enum_spec.rb
|
278
|
+
- spec/models/python_python_repository_response_spec.rb
|
273
279
|
- spec/models/unset_label_spec.rb
|
280
|
+
- spec/models/patchedpython_python_remote_spec.rb
|
281
|
+
- spec/models/summary_response_spec.rb
|
282
|
+
- spec/models/repository_version_response_spec.rb
|
274
283
|
- spec/models/python_python_remote_response_spec.rb
|
275
|
-
- spec/models/
|
276
|
-
- spec/models/
|
284
|
+
- spec/models/python_python_repository_spec.rb
|
285
|
+
- spec/models/package_metadata_response_spec.rb
|
286
|
+
- spec/models/patchedpython_python_repository_spec.rb
|
287
|
+
- spec/models/paginated_repository_version_response_list_spec.rb
|
288
|
+
- spec/models/paginatedpython_python_repository_response_list_spec.rb
|
289
|
+
- spec/models/set_label_spec.rb
|
290
|
+
- spec/models/content_summary_response_spec.rb
|
277
291
|
- spec/models/paginatedpython_python_distribution_response_list_spec.rb
|
278
|
-
- spec/models/
|
292
|
+
- spec/models/async_operation_response_spec.rb
|
293
|
+
- spec/models/python_python_remote_spec.rb
|
294
|
+
- spec/models/python_python_publication_response_spec.rb
|
295
|
+
- spec/models/python_bander_remote_spec.rb
|
296
|
+
- spec/models/python_python_publication_spec.rb
|
279
297
|
- spec/models/policy_enum_spec.rb
|
280
|
-
- spec/models/
|
281
|
-
- spec/models/paginated_repository_version_response_list_spec.rb
|
282
|
-
- spec/models/python_python_distribution_spec.rb
|
298
|
+
- spec/models/patchedpython_python_distribution_spec.rb
|
283
299
|
- spec/models/paginatedpython_python_publication_response_list_spec.rb
|
284
300
|
- spec/models/unset_label_response_spec.rb
|
285
|
-
- spec/models/
|
286
|
-
- spec/models/
|
287
|
-
- spec/models/
|
288
|
-
- spec/models/
|
289
|
-
- spec/models/python_python_package_content_response_spec.rb
|
290
|
-
- spec/models/exclude_platforms_enum_spec.rb
|
291
|
-
- spec/models/python_python_publication_spec.rb
|
292
|
-
- spec/models/content_summary_response_spec.rb
|
301
|
+
- spec/models/repair_spec.rb
|
302
|
+
- spec/models/paginatedpython_python_package_content_response_list_spec.rb
|
303
|
+
- spec/models/python_python_distribution_spec.rb
|
304
|
+
- spec/models/repository_add_remove_content_spec.rb
|
293
305
|
- spec/models/python_python_package_content_spec.rb
|
294
|
-
- spec/models/patchedpython_python_distribution_spec.rb
|
295
|
-
- spec/models/python_python_publication_response_spec.rb
|
296
306
|
- spec/models/paginatedpython_python_remote_response_list_spec.rb
|
297
|
-
- spec/models/package_metadata_response_spec.rb
|
298
|
-
- spec/models/async_operation_response_spec.rb
|
299
|
-
- spec/models/summary_response_spec.rb
|
300
|
-
- spec/models/repository_sync_url_spec.rb
|
301
307
|
- spec/models/package_upload_spec.rb
|
302
|
-
- spec/models/
|
303
|
-
- spec/models/
|
304
|
-
- spec/models/python_python_repository_spec.rb
|
305
|
-
- spec/models/repository_add_remove_content_spec.rb
|
306
|
-
- spec/models/patchedpython_python_remote_spec.rb
|
307
|
-
- spec/models/package_types_enum_spec.rb
|
308
|
-
- spec/models/paginatedpython_python_repository_response_list_spec.rb
|
309
|
-
- spec/models/python_python_distribution_response_spec.rb
|
308
|
+
- spec/models/set_label_response_spec.rb
|
309
|
+
- spec/models/python_python_package_content_response_spec.rb
|
310
310
|
- spec/spec_helper.rb
|