pulp_python_client 3.0.0b10 → 3.0.0b11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +46 -33
- data/docs/ContentPackagesApi.md +52 -52
- data/docs/ContentSummary.md +3 -3
- data/docs/ContentSummaryResponse.md +21 -0
- data/docs/DistributionsPypiApi.md +108 -60
- data/docs/InlineResponse200.md +3 -3
- data/docs/InlineResponse2001.md +3 -3
- data/docs/InlineResponse2002.md +3 -3
- data/docs/InlineResponse2003.md +3 -3
- data/docs/InlineResponse2004.md +3 -3
- data/docs/InlineResponse2005.md +3 -3
- data/docs/PatchedpythonPythonDistribution.md +23 -0
- data/docs/PatchedpythonPythonRemote.md +43 -0
- data/docs/PatchedpythonPythonRepository.md +21 -0
- data/docs/PolicyEnum.md +16 -0
- data/docs/PublicationsPypiApi.md +40 -40
- data/docs/PythonBanderRemote.md +19 -0
- data/docs/PythonPythonDistribution.md +1 -7
- data/docs/PythonPythonDistributionResponse.md +29 -0
- data/docs/PythonPythonPackageContent.md +7 -15
- data/docs/PythonPythonPackageContentResponse.md +69 -0
- data/docs/PythonPythonPublication.md +2 -8
- data/docs/PythonPythonPublicationResponse.md +25 -0
- data/docs/PythonPythonRemote.md +4 -10
- data/docs/PythonPythonRemoteResponse.md +49 -0
- data/docs/PythonPythonRepository.md +4 -10
- data/docs/PythonPythonRepositoryResponse.md +29 -0
- data/docs/RemotesPythonApi.md +129 -69
- data/docs/RepositoriesPythonApi.md +97 -73
- data/docs/RepositoriesPythonVersionsApi.md +94 -62
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/RepositorySyncURL.md +1 -1
- data/docs/RepositoryVersion.md +1 -9
- data/docs/RepositoryVersionResponse.md +25 -0
- data/lib/pulp_python_client.rb +14 -2
- data/lib/pulp_python_client/api/content_packages_api.rb +70 -70
- data/lib/pulp_python_client/api/distributions_pypi_api.rb +153 -90
- data/lib/pulp_python_client/api/publications_pypi_api.rb +59 -59
- data/lib/pulp_python_client/api/remotes_python_api.rb +185 -108
- data/lib/pulp_python_client/api/repositories_python_api.rb +145 -118
- data/lib/pulp_python_client/api/repositories_python_versions_api.rb +137 -92
- data/lib/pulp_python_client/api_client.rb +2 -2
- data/lib/pulp_python_client/api_error.rb +2 -2
- data/lib/pulp_python_client/configuration.rb +3 -3
- data/lib/pulp_python_client/models/async_operation_response.rb +3 -2
- data/lib/pulp_python_client/models/content_summary.rb +9 -15
- data/lib/pulp_python_client/models/content_summary_response.rb +240 -0
- data/lib/pulp_python_client/models/inline_response200.rb +3 -13
- data/lib/pulp_python_client/models/inline_response2001.rb +3 -13
- data/lib/pulp_python_client/models/inline_response2002.rb +3 -13
- data/lib/pulp_python_client/models/inline_response2003.rb +3 -13
- data/lib/pulp_python_client/models/inline_response2004.rb +3 -13
- data/lib/pulp_python_client/models/inline_response2005.rb +3 -13
- data/lib/pulp_python_client/models/patchedpython_python_distribution.rb +240 -0
- data/lib/pulp_python_client/models/patchedpython_python_remote.rb +359 -0
- data/lib/pulp_python_client/models/patchedpython_python_repository.rb +229 -0
- data/lib/pulp_python_client/models/policy_enum.rb +37 -0
- data/lib/pulp_python_client/models/python_bander_remote.rb +228 -0
- data/lib/pulp_python_client/models/python_python_distribution.rb +4 -85
- data/lib/pulp_python_client/models/python_python_distribution_response.rb +279 -0
- data/lib/pulp_python_client/models/python_python_package_content.rb +28 -136
- data/lib/pulp_python_client/models/python_python_package_content_response.rb +467 -0
- data/lib/pulp_python_client/models/python_python_publication.rb +7 -37
- data/lib/pulp_python_client/models/python_python_publication_response.rb +248 -0
- data/lib/pulp_python_client/models/python_python_remote.rb +7 -199
- data/lib/pulp_python_client/models/python_python_remote_response.rb +398 -0
- data/lib/pulp_python_client/models/python_python_repository.rb +18 -78
- data/lib/pulp_python_client/models/python_python_repository_response.rb +271 -0
- data/lib/pulp_python_client/models/repository_add_remove_content.rb +5 -4
- data/lib/pulp_python_client/models/repository_sync_url.rb +3 -8
- data/lib/pulp_python_client/models/repository_version.rb +7 -43
- data/lib/pulp_python_client/models/repository_version_response.rb +246 -0
- data/lib/pulp_python_client/version.rb +3 -3
- data/pulp_python_client.gemspec +4 -4
- data/spec/api/content_packages_api_spec.rb +24 -24
- data/spec/api/distributions_pypi_api_spec.rb +39 -18
- data/spec/api/publications_pypi_api_spec.rb +14 -14
- data/spec/api/remotes_python_api_spec.rb +49 -22
- data/spec/api/repositories_python_api_spec.rb +28 -19
- data/spec/api/repositories_python_versions_api_spec.rb +38 -23
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/async_operation_response_spec.rb +2 -2
- data/spec/models/content_summary_response_spec.rb +53 -0
- data/spec/models/content_summary_spec.rb +2 -2
- data/spec/models/inline_response2001_spec.rb +2 -2
- data/spec/models/inline_response2002_spec.rb +2 -2
- data/spec/models/inline_response2003_spec.rb +2 -2
- data/spec/models/inline_response2004_spec.rb +2 -2
- data/spec/models/inline_response2005_spec.rb +2 -2
- data/spec/models/inline_response200_spec.rb +2 -2
- data/spec/models/patchedpython_python_distribution_spec.rb +59 -0
- data/spec/models/patchedpython_python_remote_spec.rb +119 -0
- data/spec/models/patchedpython_python_repository_spec.rb +53 -0
- data/spec/models/policy_enum_spec.rb +35 -0
- data/spec/models/python_bander_remote_spec.rb +47 -0
- data/spec/models/python_python_distribution_response_spec.rb +77 -0
- data/spec/models/python_python_distribution_spec.rb +2 -20
- data/spec/models/python_python_package_content_response_spec.rb +197 -0
- data/spec/models/python_python_package_content_spec.rb +5 -29
- data/spec/models/python_python_publication_response_spec.rb +65 -0
- data/spec/models/python_python_publication_spec.rb +2 -20
- data/spec/models/python_python_remote_response_spec.rb +137 -0
- data/spec/models/python_python_remote_spec.rb +2 -24
- data/spec/models/python_python_repository_response_spec.rb +77 -0
- data/spec/models/python_python_repository_spec.rb +5 -23
- data/spec/models/repository_add_remove_content_spec.rb +2 -2
- data/spec/models/repository_sync_url_spec.rb +2 -2
- data/spec/models/repository_version_response_spec.rb +65 -0
- data/spec/models/repository_version_spec.rb +2 -26
- data/spec/spec_helper.rb +2 -2
- metadata +52 -4
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
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
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
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
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -0,0 +1,65 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpPythonClient::RepositoryVersionResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'RepositoryVersionResponse' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpPythonClient::RepositoryVersionResponse.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of RepositoryVersionResponse' do
|
31
|
+
it 'should create an instance of RepositoryVersionResponse' do
|
32
|
+
expect(@instance).to be_instance_of(PulpPythonClient::RepositoryVersionResponse)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "pulp_href"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "pulp_created"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "number"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "base_version"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
describe 'test attribute "content_summary"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
end
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
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
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -32,34 +32,10 @@ describe 'RepositoryVersion' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpPythonClient::RepositoryVersion)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "pulp_href"' do
|
36
|
-
it 'should work' do
|
37
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
-
end
|
39
|
-
end
|
40
|
-
|
41
|
-
describe 'test attribute "pulp_created"' do
|
42
|
-
it 'should work' do
|
43
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
|
-
describe 'test attribute "number"' do
|
48
|
-
it 'should work' do
|
49
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
-
end
|
51
|
-
end
|
52
|
-
|
53
35
|
describe 'test attribute "base_version"' do
|
54
36
|
it 'should work' do
|
55
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
38
|
end
|
57
39
|
end
|
58
40
|
|
59
|
-
describe 'test attribute "content_summary"' do
|
60
|
-
it 'should work' do
|
61
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
-
end
|
63
|
-
end
|
64
|
-
|
65
41
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
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
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
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.0.
|
4
|
+
version: 3.0.0b11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-08-
|
11
|
+
date: 2020-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -64,9 +64,9 @@ dependencies:
|
|
64
64
|
- - "~>"
|
65
65
|
- !ruby/object:Gem::Version
|
66
66
|
version: '3.6'
|
67
|
-
description:
|
67
|
+
description: Fetch, Upload, Organize, and Distribute Software Packages
|
68
68
|
email:
|
69
|
-
-
|
69
|
+
- pulp-list@redhat.com
|
70
70
|
executables: []
|
71
71
|
extensions: []
|
72
72
|
extra_rdoc_files: []
|
@@ -77,6 +77,7 @@ files:
|
|
77
77
|
- docs/AsyncOperationResponse.md
|
78
78
|
- docs/ContentPackagesApi.md
|
79
79
|
- docs/ContentSummary.md
|
80
|
+
- docs/ContentSummaryResponse.md
|
80
81
|
- docs/DistributionsPypiApi.md
|
81
82
|
- docs/InlineResponse200.md
|
82
83
|
- docs/InlineResponse2001.md
|
@@ -84,18 +85,29 @@ files:
|
|
84
85
|
- docs/InlineResponse2003.md
|
85
86
|
- docs/InlineResponse2004.md
|
86
87
|
- docs/InlineResponse2005.md
|
88
|
+
- docs/PatchedpythonPythonDistribution.md
|
89
|
+
- docs/PatchedpythonPythonRemote.md
|
90
|
+
- docs/PatchedpythonPythonRepository.md
|
91
|
+
- docs/PolicyEnum.md
|
87
92
|
- docs/PublicationsPypiApi.md
|
93
|
+
- docs/PythonBanderRemote.md
|
88
94
|
- docs/PythonPythonDistribution.md
|
95
|
+
- docs/PythonPythonDistributionResponse.md
|
89
96
|
- docs/PythonPythonPackageContent.md
|
97
|
+
- docs/PythonPythonPackageContentResponse.md
|
90
98
|
- docs/PythonPythonPublication.md
|
99
|
+
- docs/PythonPythonPublicationResponse.md
|
91
100
|
- docs/PythonPythonRemote.md
|
101
|
+
- docs/PythonPythonRemoteResponse.md
|
92
102
|
- docs/PythonPythonRepository.md
|
103
|
+
- docs/PythonPythonRepositoryResponse.md
|
93
104
|
- docs/RemotesPythonApi.md
|
94
105
|
- docs/RepositoriesPythonApi.md
|
95
106
|
- docs/RepositoriesPythonVersionsApi.md
|
96
107
|
- docs/RepositoryAddRemoveContent.md
|
97
108
|
- docs/RepositorySyncURL.md
|
98
109
|
- docs/RepositoryVersion.md
|
110
|
+
- docs/RepositoryVersionResponse.md
|
99
111
|
- git_push.sh
|
100
112
|
- lib/pulp_python_client.rb
|
101
113
|
- lib/pulp_python_client/api/content_packages_api.rb
|
@@ -109,20 +121,32 @@ files:
|
|
109
121
|
- lib/pulp_python_client/configuration.rb
|
110
122
|
- lib/pulp_python_client/models/async_operation_response.rb
|
111
123
|
- lib/pulp_python_client/models/content_summary.rb
|
124
|
+
- lib/pulp_python_client/models/content_summary_response.rb
|
112
125
|
- lib/pulp_python_client/models/inline_response200.rb
|
113
126
|
- lib/pulp_python_client/models/inline_response2001.rb
|
114
127
|
- lib/pulp_python_client/models/inline_response2002.rb
|
115
128
|
- lib/pulp_python_client/models/inline_response2003.rb
|
116
129
|
- lib/pulp_python_client/models/inline_response2004.rb
|
117
130
|
- lib/pulp_python_client/models/inline_response2005.rb
|
131
|
+
- lib/pulp_python_client/models/patchedpython_python_distribution.rb
|
132
|
+
- lib/pulp_python_client/models/patchedpython_python_remote.rb
|
133
|
+
- lib/pulp_python_client/models/patchedpython_python_repository.rb
|
134
|
+
- lib/pulp_python_client/models/policy_enum.rb
|
135
|
+
- lib/pulp_python_client/models/python_bander_remote.rb
|
118
136
|
- lib/pulp_python_client/models/python_python_distribution.rb
|
137
|
+
- lib/pulp_python_client/models/python_python_distribution_response.rb
|
119
138
|
- lib/pulp_python_client/models/python_python_package_content.rb
|
139
|
+
- lib/pulp_python_client/models/python_python_package_content_response.rb
|
120
140
|
- lib/pulp_python_client/models/python_python_publication.rb
|
141
|
+
- lib/pulp_python_client/models/python_python_publication_response.rb
|
121
142
|
- lib/pulp_python_client/models/python_python_remote.rb
|
143
|
+
- lib/pulp_python_client/models/python_python_remote_response.rb
|
122
144
|
- lib/pulp_python_client/models/python_python_repository.rb
|
145
|
+
- lib/pulp_python_client/models/python_python_repository_response.rb
|
123
146
|
- lib/pulp_python_client/models/repository_add_remove_content.rb
|
124
147
|
- lib/pulp_python_client/models/repository_sync_url.rb
|
125
148
|
- lib/pulp_python_client/models/repository_version.rb
|
149
|
+
- lib/pulp_python_client/models/repository_version_response.rb
|
126
150
|
- lib/pulp_python_client/version.rb
|
127
151
|
- pulp_python_client.gemspec
|
128
152
|
- spec/api/content_packages_api_spec.rb
|
@@ -134,6 +158,7 @@ files:
|
|
134
158
|
- spec/api_client_spec.rb
|
135
159
|
- spec/configuration_spec.rb
|
136
160
|
- spec/models/async_operation_response_spec.rb
|
161
|
+
- spec/models/content_summary_response_spec.rb
|
137
162
|
- spec/models/content_summary_spec.rb
|
138
163
|
- spec/models/inline_response2001_spec.rb
|
139
164
|
- spec/models/inline_response2002_spec.rb
|
@@ -141,13 +166,24 @@ files:
|
|
141
166
|
- spec/models/inline_response2004_spec.rb
|
142
167
|
- spec/models/inline_response2005_spec.rb
|
143
168
|
- spec/models/inline_response200_spec.rb
|
169
|
+
- spec/models/patchedpython_python_distribution_spec.rb
|
170
|
+
- spec/models/patchedpython_python_remote_spec.rb
|
171
|
+
- spec/models/patchedpython_python_repository_spec.rb
|
172
|
+
- spec/models/policy_enum_spec.rb
|
173
|
+
- spec/models/python_bander_remote_spec.rb
|
174
|
+
- spec/models/python_python_distribution_response_spec.rb
|
144
175
|
- spec/models/python_python_distribution_spec.rb
|
176
|
+
- spec/models/python_python_package_content_response_spec.rb
|
145
177
|
- spec/models/python_python_package_content_spec.rb
|
178
|
+
- spec/models/python_python_publication_response_spec.rb
|
146
179
|
- spec/models/python_python_publication_spec.rb
|
180
|
+
- spec/models/python_python_remote_response_spec.rb
|
147
181
|
- spec/models/python_python_remote_spec.rb
|
182
|
+
- spec/models/python_python_repository_response_spec.rb
|
148
183
|
- spec/models/python_python_repository_spec.rb
|
149
184
|
- spec/models/repository_add_remove_content_spec.rb
|
150
185
|
- spec/models/repository_sync_url_spec.rb
|
186
|
+
- spec/models/repository_version_response_spec.rb
|
151
187
|
- spec/models/repository_version_spec.rb
|
152
188
|
- spec/spec_helper.rb
|
153
189
|
homepage: https://openapi-generator.tech
|
@@ -183,16 +219,28 @@ test_files:
|
|
183
219
|
- spec/api_client_spec.rb
|
184
220
|
- spec/configuration_spec.rb
|
185
221
|
- spec/models/inline_response2004_spec.rb
|
222
|
+
- spec/models/content_summary_response_spec.rb
|
186
223
|
- spec/models/repository_add_remove_content_spec.rb
|
187
224
|
- spec/models/python_python_distribution_spec.rb
|
225
|
+
- spec/models/python_python_repository_response_spec.rb
|
226
|
+
- spec/models/patchedpython_python_distribution_spec.rb
|
188
227
|
- spec/models/python_python_package_content_spec.rb
|
228
|
+
- spec/models/python_python_package_content_response_spec.rb
|
189
229
|
- spec/models/python_python_remote_spec.rb
|
190
230
|
- spec/models/async_operation_response_spec.rb
|
231
|
+
- spec/models/policy_enum_spec.rb
|
191
232
|
- spec/models/content_summary_spec.rb
|
233
|
+
- spec/models/python_bander_remote_spec.rb
|
234
|
+
- spec/models/python_python_publication_response_spec.rb
|
192
235
|
- spec/models/inline_response2005_spec.rb
|
193
236
|
- spec/models/repository_version_spec.rb
|
237
|
+
- spec/models/python_python_distribution_response_spec.rb
|
194
238
|
- spec/models/python_python_publication_spec.rb
|
239
|
+
- spec/models/patchedpython_python_remote_spec.rb
|
195
240
|
- spec/models/inline_response2003_spec.rb
|
241
|
+
- spec/models/repository_version_response_spec.rb
|
242
|
+
- spec/models/patchedpython_python_repository_spec.rb
|
243
|
+
- spec/models/python_python_remote_response_spec.rb
|
196
244
|
- spec/models/inline_response2001_spec.rb
|
197
245
|
- spec/models/python_python_repository_spec.rb
|
198
246
|
- spec/models/inline_response2002_spec.rb
|