pulp_gem_client 0.7.6 → 0.8.1
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 +11 -6
- data/docs/ContentGemApi.md +13 -3
- data/docs/RemoteNetworkConfig.md +50 -0
- data/docs/RemoteNetworkConfigResponse.md +40 -0
- data/docs/RepositorySyncURL.md +1 -1
- data/lib/pulp_gem_client/api/content_gem_api.rb +22 -3
- data/lib/pulp_gem_client/models/nested_role.rb +1 -1
- data/lib/pulp_gem_client/models/nested_role_response.rb +1 -1
- data/lib/pulp_gem_client/models/remote_network_config.rb +588 -0
- data/lib/pulp_gem_client/models/remote_network_config_response.rb +413 -0
- data/lib/pulp_gem_client/models/repository_add_remove_content.rb +1 -1
- data/lib/pulp_gem_client/models/repository_sync_url.rb +1 -1
- data/lib/pulp_gem_client/models/repository_version_response.rb +1 -1
- data/lib/pulp_gem_client/version.rb +1 -1
- data/lib/pulp_gem_client.rb +2 -0
- data/spec/api/content_gem_api_spec.rb +6 -1
- data/spec/models/remote_network_config_response_spec.rb +102 -0
- data/spec/models/remote_network_config_spec.rb +132 -0
- metadata +39 -34
|
@@ -0,0 +1,132 @@
|
|
|
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
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for PulpGemClient::RemoteNetworkConfig
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe PulpGemClient::RemoteNetworkConfig do
|
|
21
|
+
let(:instance) { PulpGemClient::RemoteNetworkConfig.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of RemoteNetworkConfig' do
|
|
24
|
+
it 'should create an instance of RemoteNetworkConfig' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(PulpGemClient::RemoteNetworkConfig)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "ca_cert"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "client_cert"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "client_key"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "tls_validation"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "proxy_url"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
describe 'test attribute "proxy_username"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
describe 'test attribute "proxy_password"' do
|
|
67
|
+
it 'should work' do
|
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
describe 'test attribute "username"' do
|
|
73
|
+
it 'should work' do
|
|
74
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
describe 'test attribute "password"' do
|
|
79
|
+
it 'should work' do
|
|
80
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
describe 'test attribute "max_retries"' do
|
|
85
|
+
it 'should work' do
|
|
86
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
87
|
+
end
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
describe 'test attribute "total_timeout"' do
|
|
91
|
+
it 'should work' do
|
|
92
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
93
|
+
end
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
describe 'test attribute "connect_timeout"' do
|
|
97
|
+
it 'should work' do
|
|
98
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
99
|
+
end
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
describe 'test attribute "sock_connect_timeout"' do
|
|
103
|
+
it 'should work' do
|
|
104
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
105
|
+
end
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
describe 'test attribute "sock_read_timeout"' do
|
|
109
|
+
it 'should work' do
|
|
110
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
111
|
+
end
|
|
112
|
+
end
|
|
113
|
+
|
|
114
|
+
describe 'test attribute "headers"' do
|
|
115
|
+
it 'should work' do
|
|
116
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
117
|
+
end
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
describe 'test attribute "download_concurrency"' do
|
|
121
|
+
it 'should work' do
|
|
122
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
123
|
+
end
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
describe 'test attribute "rate_limit"' do
|
|
127
|
+
it 'should work' do
|
|
128
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
129
|
+
end
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
end
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pulp_gem_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.8.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: faraday
|
|
@@ -117,6 +116,8 @@ files:
|
|
|
117
116
|
- docs/PatchedgemGemRepository.md
|
|
118
117
|
- docs/PolicyEnum.md
|
|
119
118
|
- docs/PublicationsGemApi.md
|
|
119
|
+
- docs/RemoteNetworkConfig.md
|
|
120
|
+
- docs/RemoteNetworkConfigResponse.md
|
|
120
121
|
- docs/RemotesGemApi.md
|
|
121
122
|
- docs/Repair.md
|
|
122
123
|
- docs/RepositoriesGemApi.md
|
|
@@ -164,6 +165,8 @@ files:
|
|
|
164
165
|
- lib/pulp_gem_client/models/patchedgem_gem_remote.rb
|
|
165
166
|
- lib/pulp_gem_client/models/patchedgem_gem_repository.rb
|
|
166
167
|
- lib/pulp_gem_client/models/policy_enum.rb
|
|
168
|
+
- lib/pulp_gem_client/models/remote_network_config.rb
|
|
169
|
+
- lib/pulp_gem_client/models/remote_network_config_response.rb
|
|
167
170
|
- lib/pulp_gem_client/models/repair.rb
|
|
168
171
|
- lib/pulp_gem_client/models/repository_add_remove_content.rb
|
|
169
172
|
- lib/pulp_gem_client/models/repository_sync_url.rb
|
|
@@ -206,6 +209,8 @@ files:
|
|
|
206
209
|
- spec/models/patchedgem_gem_remote_spec.rb
|
|
207
210
|
- spec/models/patchedgem_gem_repository_spec.rb
|
|
208
211
|
- spec/models/policy_enum_spec.rb
|
|
212
|
+
- spec/models/remote_network_config_response_spec.rb
|
|
213
|
+
- spec/models/remote_network_config_spec.rb
|
|
209
214
|
- spec/models/repair_spec.rb
|
|
210
215
|
- spec/models/repository_add_remove_content_spec.rb
|
|
211
216
|
- spec/models/repository_sync_url_spec.rb
|
|
@@ -219,7 +224,6 @@ homepage: https://github.com/pulp/pulp_gem
|
|
|
219
224
|
licenses:
|
|
220
225
|
- GPLv2+
|
|
221
226
|
metadata: {}
|
|
222
|
-
post_install_message:
|
|
223
227
|
rdoc_options: []
|
|
224
228
|
require_paths:
|
|
225
229
|
- lib
|
|
@@ -234,49 +238,50 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
234
238
|
- !ruby/object:Gem::Version
|
|
235
239
|
version: '0'
|
|
236
240
|
requirements: []
|
|
237
|
-
rubygems_version: 3.
|
|
238
|
-
signing_key:
|
|
241
|
+
rubygems_version: 3.6.7
|
|
239
242
|
specification_version: 4
|
|
240
243
|
summary: Pulp 3 API Ruby Gem
|
|
241
244
|
test_files:
|
|
242
|
-
- spec/api/repositories_gem_versions_api_spec.rb
|
|
243
|
-
- spec/api/distributions_gem_api_spec.rb
|
|
244
245
|
- spec/api/content_gem_api_spec.rb
|
|
246
|
+
- spec/api/distributions_gem_api_spec.rb
|
|
247
|
+
- spec/api/publications_gem_api_spec.rb
|
|
245
248
|
- spec/api/remotes_gem_api_spec.rb
|
|
246
249
|
- spec/api/repositories_gem_api_spec.rb
|
|
247
|
-
- spec/api/
|
|
248
|
-
- spec/models/
|
|
249
|
-
- spec/models/
|
|
250
|
-
- spec/models/repair_spec.rb
|
|
251
|
-
- spec/models/gem_gem_remote_response_hidden_fields_inner_spec.rb
|
|
250
|
+
- spec/api/repositories_gem_versions_api_spec.rb
|
|
251
|
+
- spec/models/async_operation_response_spec.rb
|
|
252
|
+
- spec/models/content_summary_response_spec.rb
|
|
252
253
|
- spec/models/gem_gem_content_response_spec.rb
|
|
253
|
-
- spec/models/
|
|
254
|
-
- spec/models/
|
|
254
|
+
- spec/models/gem_gem_distribution_response_spec.rb
|
|
255
|
+
- spec/models/gem_gem_distribution_spec.rb
|
|
256
|
+
- spec/models/gem_gem_publication_response_spec.rb
|
|
257
|
+
- spec/models/gem_gem_publication_spec.rb
|
|
258
|
+
- spec/models/gem_gem_remote_response_hidden_fields_inner_spec.rb
|
|
259
|
+
- spec/models/gem_gem_remote_response_spec.rb
|
|
255
260
|
- spec/models/gem_gem_remote_spec.rb
|
|
256
|
-
- spec/models/my_permissions_response_spec.rb
|
|
257
|
-
- spec/models/policy_enum_spec.rb
|
|
258
261
|
- spec/models/gem_gem_repository_response_spec.rb
|
|
259
|
-
- spec/models/
|
|
260
|
-
- spec/models/
|
|
261
|
-
- spec/models/
|
|
262
|
-
- spec/models/
|
|
262
|
+
- spec/models/gem_gem_repository_spec.rb
|
|
263
|
+
- spec/models/my_permissions_response_spec.rb
|
|
264
|
+
- spec/models/nested_role_response_spec.rb
|
|
265
|
+
- spec/models/nested_role_spec.rb
|
|
266
|
+
- spec/models/object_roles_response_spec.rb
|
|
263
267
|
- spec/models/paginated_repository_version_response_list_spec.rb
|
|
264
|
-
- spec/models/
|
|
268
|
+
- spec/models/paginatedgem_gem_content_response_list_spec.rb
|
|
269
|
+
- spec/models/paginatedgem_gem_distribution_response_list_spec.rb
|
|
270
|
+
- spec/models/paginatedgem_gem_publication_response_list_spec.rb
|
|
271
|
+
- spec/models/paginatedgem_gem_remote_response_list_spec.rb
|
|
265
272
|
- spec/models/paginatedgem_gem_repository_response_list_spec.rb
|
|
266
|
-
- spec/models/
|
|
267
|
-
- spec/models/unset_label_response_spec.rb
|
|
268
|
-
- spec/models/gem_gem_distribution_response_spec.rb
|
|
273
|
+
- spec/models/patchedgem_gem_distribution_spec.rb
|
|
269
274
|
- spec/models/patchedgem_gem_remote_spec.rb
|
|
270
|
-
- spec/models/
|
|
271
|
-
- spec/models/
|
|
272
|
-
- spec/models/
|
|
273
|
-
- spec/models/
|
|
275
|
+
- spec/models/patchedgem_gem_repository_spec.rb
|
|
276
|
+
- spec/models/policy_enum_spec.rb
|
|
277
|
+
- spec/models/remote_network_config_response_spec.rb
|
|
278
|
+
- spec/models/remote_network_config_spec.rb
|
|
279
|
+
- spec/models/repair_spec.rb
|
|
280
|
+
- spec/models/repository_add_remove_content_spec.rb
|
|
281
|
+
- spec/models/repository_sync_url_spec.rb
|
|
274
282
|
- spec/models/repository_version_response_spec.rb
|
|
275
283
|
- spec/models/set_label_response_spec.rb
|
|
276
|
-
- spec/models/repository_sync_url_spec.rb
|
|
277
|
-
- spec/models/repository_add_remove_content_spec.rb
|
|
278
|
-
- spec/models/content_summary_response_spec.rb
|
|
279
|
-
- spec/models/gem_gem_repository_spec.rb
|
|
280
|
-
- spec/models/paginatedgem_gem_remote_response_list_spec.rb
|
|
281
284
|
- spec/models/set_label_spec.rb
|
|
285
|
+
- spec/models/unset_label_response_spec.rb
|
|
286
|
+
- spec/models/unset_label_spec.rb
|
|
282
287
|
- spec/spec_helper.rb
|