pulp_file_client 3.49.59 → 3.50.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 +6 -9
- data/docs/AcsFileApi.md +15 -51
- data/docs/ContentFilesApi.md +1 -7
- data/docs/DistributionsFileApi.md +17 -57
- data/docs/PublicationsFileApi.md +9 -33
- data/docs/RemotesFileApi.md +17 -57
- data/docs/RepositoriesFileApi.md +21 -69
- data/docs/RepositoriesFileVersionsApi.md +5 -17
- data/lib/pulp_file_client/api/acs_file_api.rb +0 -33
- data/lib/pulp_file_client/api/content_files_api.rb +0 -9
- data/lib/pulp_file_client/api/distributions_file_api.rb +0 -36
- data/lib/pulp_file_client/api/publications_file_api.rb +0 -24
- data/lib/pulp_file_client/api/remotes_file_api.rb +0 -36
- data/lib/pulp_file_client/api/repositories_file_api.rb +0 -42
- data/lib/pulp_file_client/api/repositories_file_versions_api.rb +0 -12
- data/lib/pulp_file_client/configuration.rb +2 -2
- data/lib/pulp_file_client/version.rb +1 -1
- data/spec/api/acs_file_api_spec.rb +0 -11
- data/spec/api/content_files_api_spec.rb +0 -3
- data/spec/api/distributions_file_api_spec.rb +0 -12
- data/spec/api/publications_file_api_spec.rb +0 -8
- data/spec/api/remotes_file_api_spec.rb +0 -12
- data/spec/api/repositories_file_api_spec.rb +0 -14
- data/spec/api/repositories_file_versions_api_spec.rb +0 -4
- data/spec/configuration_spec.rb +3 -3
- metadata +52 -52
|
@@ -38,7 +38,6 @@ describe 'PublicationsFileApi' do
|
|
|
38
38
|
# @param file_file_publication_href
|
|
39
39
|
# @param nested_role
|
|
40
40
|
# @param [Hash] opts the optional parameters
|
|
41
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
42
41
|
# @return [NestedRoleResponse]
|
|
43
42
|
describe 'add_role test' do
|
|
44
43
|
it 'should work' do
|
|
@@ -51,7 +50,6 @@ describe 'PublicationsFileApi' do
|
|
|
51
50
|
# Trigger an asynchronous task to publish file content.
|
|
52
51
|
# @param file_file_publication
|
|
53
52
|
# @param [Hash] opts the optional parameters
|
|
54
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
55
53
|
# @return [AsyncOperationResponse]
|
|
56
54
|
describe 'create test' do
|
|
57
55
|
it 'should work' do
|
|
@@ -64,7 +62,6 @@ describe 'PublicationsFileApi' do
|
|
|
64
62
|
# A FilePublication contains metadata about all the File Content in a particular File Repository Version. Once a FilePublication has been created, it can be hosted using the File Distribution API.
|
|
65
63
|
# @param file_file_publication_href
|
|
66
64
|
# @param [Hash] opts the optional parameters
|
|
67
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
68
65
|
# @return [nil]
|
|
69
66
|
describe 'delete test' do
|
|
70
67
|
it 'should work' do
|
|
@@ -76,7 +73,6 @@ describe 'PublicationsFileApi' do
|
|
|
76
73
|
# List file publications
|
|
77
74
|
# A FilePublication contains metadata about all the File Content in a particular File Repository Version. Once a FilePublication has been created, it can be hosted using the File Distribution API.
|
|
78
75
|
# @param [Hash] opts the optional parameters
|
|
79
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
80
76
|
# @option opts [String] :content Content Unit referenced by HREF
|
|
81
77
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
|
82
78
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
@@ -107,7 +103,6 @@ describe 'PublicationsFileApi' do
|
|
|
107
103
|
# List roles assigned to this object.
|
|
108
104
|
# @param file_file_publication_href
|
|
109
105
|
# @param [Hash] opts the optional parameters
|
|
110
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
111
106
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
112
107
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
113
108
|
# @return [ObjectRolesResponse]
|
|
@@ -122,7 +117,6 @@ describe 'PublicationsFileApi' do
|
|
|
122
117
|
# List permissions available to the current user on this object.
|
|
123
118
|
# @param file_file_publication_href
|
|
124
119
|
# @param [Hash] opts the optional parameters
|
|
125
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
126
120
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
127
121
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
128
122
|
# @return [MyPermissionsResponse]
|
|
@@ -137,7 +131,6 @@ describe 'PublicationsFileApi' do
|
|
|
137
131
|
# A FilePublication contains metadata about all the File Content in a particular File Repository Version. Once a FilePublication has been created, it can be hosted using the File Distribution API.
|
|
138
132
|
# @param file_file_publication_href
|
|
139
133
|
# @param [Hash] opts the optional parameters
|
|
140
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
141
134
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
142
135
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
143
136
|
# @return [FileFilePublicationResponse]
|
|
@@ -153,7 +146,6 @@ describe 'PublicationsFileApi' do
|
|
|
153
146
|
# @param file_file_publication_href
|
|
154
147
|
# @param nested_role
|
|
155
148
|
# @param [Hash] opts the optional parameters
|
|
156
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
157
149
|
# @return [NestedRoleResponse]
|
|
158
150
|
describe 'remove_role test' do
|
|
159
151
|
it 'should work' do
|
|
@@ -38,7 +38,6 @@ describe 'RemotesFileApi' do
|
|
|
38
38
|
# @param file_file_remote_href
|
|
39
39
|
# @param nested_role
|
|
40
40
|
# @param [Hash] opts the optional parameters
|
|
41
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
42
41
|
# @return [NestedRoleResponse]
|
|
43
42
|
describe 'add_role test' do
|
|
44
43
|
it 'should work' do
|
|
@@ -51,7 +50,6 @@ describe 'RemotesFileApi' do
|
|
|
51
50
|
# FileRemote represents an external source of File Content. The target url of a FileRemote must contain a file manifest, which contains the metadata for all files at the source.
|
|
52
51
|
# @param file_file_remote
|
|
53
52
|
# @param [Hash] opts the optional parameters
|
|
54
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
55
53
|
# @return [FileFileRemoteResponse]
|
|
56
54
|
describe 'create test' do
|
|
57
55
|
it 'should work' do
|
|
@@ -64,7 +62,6 @@ describe 'RemotesFileApi' do
|
|
|
64
62
|
# Trigger an asynchronous delete task
|
|
65
63
|
# @param file_file_remote_href
|
|
66
64
|
# @param [Hash] opts the optional parameters
|
|
67
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
68
65
|
# @return [AsyncOperationResponse]
|
|
69
66
|
describe 'delete test' do
|
|
70
67
|
it 'should work' do
|
|
@@ -76,7 +73,6 @@ describe 'RemotesFileApi' do
|
|
|
76
73
|
# List file remotes
|
|
77
74
|
# FileRemote represents an external source of File Content. The target url of a FileRemote must contain a file manifest, which contains the metadata for all files at the source.
|
|
78
75
|
# @param [Hash] opts the optional parameters
|
|
79
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
80
76
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
81
77
|
# @option opts [String] :name Filter results where name matches value
|
|
82
78
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -113,7 +109,6 @@ describe 'RemotesFileApi' do
|
|
|
113
109
|
# List roles assigned to this object.
|
|
114
110
|
# @param file_file_remote_href
|
|
115
111
|
# @param [Hash] opts the optional parameters
|
|
116
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
117
112
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
118
113
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
119
114
|
# @return [ObjectRolesResponse]
|
|
@@ -128,7 +123,6 @@ describe 'RemotesFileApi' do
|
|
|
128
123
|
# List permissions available to the current user on this object.
|
|
129
124
|
# @param file_file_remote_href
|
|
130
125
|
# @param [Hash] opts the optional parameters
|
|
131
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
132
126
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
133
127
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
134
128
|
# @return [MyPermissionsResponse]
|
|
@@ -144,7 +138,6 @@ describe 'RemotesFileApi' do
|
|
|
144
138
|
# @param file_file_remote_href
|
|
145
139
|
# @param patchedfile_file_remote
|
|
146
140
|
# @param [Hash] opts the optional parameters
|
|
147
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
148
141
|
# @return [AsyncOperationResponse]
|
|
149
142
|
describe 'partial_update test' do
|
|
150
143
|
it 'should work' do
|
|
@@ -157,7 +150,6 @@ describe 'RemotesFileApi' do
|
|
|
157
150
|
# FileRemote represents an external source of File Content. The target url of a FileRemote must contain a file manifest, which contains the metadata for all files at the source.
|
|
158
151
|
# @param file_file_remote_href
|
|
159
152
|
# @param [Hash] opts the optional parameters
|
|
160
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
161
153
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
162
154
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
163
155
|
# @return [FileFileRemoteResponse]
|
|
@@ -173,7 +165,6 @@ describe 'RemotesFileApi' do
|
|
|
173
165
|
# @param file_file_remote_href
|
|
174
166
|
# @param nested_role
|
|
175
167
|
# @param [Hash] opts the optional parameters
|
|
176
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
177
168
|
# @return [NestedRoleResponse]
|
|
178
169
|
describe 'remove_role test' do
|
|
179
170
|
it 'should work' do
|
|
@@ -187,7 +178,6 @@ describe 'RemotesFileApi' do
|
|
|
187
178
|
# @param file_file_remote_href
|
|
188
179
|
# @param set_label
|
|
189
180
|
# @param [Hash] opts the optional parameters
|
|
190
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
191
181
|
# @return [SetLabelResponse]
|
|
192
182
|
describe 'set_label test' do
|
|
193
183
|
it 'should work' do
|
|
@@ -201,7 +191,6 @@ describe 'RemotesFileApi' do
|
|
|
201
191
|
# @param file_file_remote_href
|
|
202
192
|
# @param unset_label
|
|
203
193
|
# @param [Hash] opts the optional parameters
|
|
204
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
205
194
|
# @return [UnsetLabelResponse]
|
|
206
195
|
describe 'unset_label test' do
|
|
207
196
|
it 'should work' do
|
|
@@ -215,7 +204,6 @@ describe 'RemotesFileApi' do
|
|
|
215
204
|
# @param file_file_remote_href
|
|
216
205
|
# @param file_file_remote
|
|
217
206
|
# @param [Hash] opts the optional parameters
|
|
218
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
219
207
|
# @return [AsyncOperationResponse]
|
|
220
208
|
describe 'update test' do
|
|
221
209
|
it 'should work' do
|
|
@@ -38,7 +38,6 @@ describe 'RepositoriesFileApi' do
|
|
|
38
38
|
# @param file_file_repository_href
|
|
39
39
|
# @param nested_role
|
|
40
40
|
# @param [Hash] opts the optional parameters
|
|
41
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
42
41
|
# @return [NestedRoleResponse]
|
|
43
42
|
describe 'add_role test' do
|
|
44
43
|
it 'should work' do
|
|
@@ -51,7 +50,6 @@ describe 'RepositoriesFileApi' do
|
|
|
51
50
|
# FileRepository represents a single file repository, to which content can be synced, added, or removed.
|
|
52
51
|
# @param file_file_repository
|
|
53
52
|
# @param [Hash] opts the optional parameters
|
|
54
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
55
53
|
# @return [FileFileRepositoryResponse]
|
|
56
54
|
describe 'create test' do
|
|
57
55
|
it 'should work' do
|
|
@@ -64,7 +62,6 @@ describe 'RepositoriesFileApi' do
|
|
|
64
62
|
# Trigger an asynchronous delete task
|
|
65
63
|
# @param file_file_repository_href
|
|
66
64
|
# @param [Hash] opts the optional parameters
|
|
67
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
68
65
|
# @return [AsyncOperationResponse]
|
|
69
66
|
describe 'delete test' do
|
|
70
67
|
it 'should work' do
|
|
@@ -76,7 +73,6 @@ describe 'RepositoriesFileApi' do
|
|
|
76
73
|
# List file repositorys
|
|
77
74
|
# FileRepository represents a single file repository, to which content can be synced, added, or removed.
|
|
78
75
|
# @param [Hash] opts the optional parameters
|
|
79
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
80
76
|
# @option opts [String] :latest_with_content Content Unit referenced by HREF
|
|
81
77
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
82
78
|
# @option opts [String] :name Filter results where name matches value
|
|
@@ -118,7 +114,6 @@ describe 'RepositoriesFileApi' do
|
|
|
118
114
|
# List roles assigned to this object.
|
|
119
115
|
# @param file_file_repository_href
|
|
120
116
|
# @param [Hash] opts the optional parameters
|
|
121
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
122
117
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
123
118
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
124
119
|
# @return [ObjectRolesResponse]
|
|
@@ -134,7 +129,6 @@ describe 'RepositoriesFileApi' do
|
|
|
134
129
|
# @param file_file_repository_href
|
|
135
130
|
# @param repository_add_remove_content
|
|
136
131
|
# @param [Hash] opts the optional parameters
|
|
137
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
138
132
|
# @return [AsyncOperationResponse]
|
|
139
133
|
describe 'modify test' do
|
|
140
134
|
it 'should work' do
|
|
@@ -147,7 +141,6 @@ describe 'RepositoriesFileApi' do
|
|
|
147
141
|
# List permissions available to the current user on this object.
|
|
148
142
|
# @param file_file_repository_href
|
|
149
143
|
# @param [Hash] opts the optional parameters
|
|
150
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
151
144
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
152
145
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
153
146
|
# @return [MyPermissionsResponse]
|
|
@@ -163,7 +156,6 @@ describe 'RepositoriesFileApi' do
|
|
|
163
156
|
# @param file_file_repository_href
|
|
164
157
|
# @param patchedfile_file_repository
|
|
165
158
|
# @param [Hash] opts the optional parameters
|
|
166
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
167
159
|
# @return [AsyncOperationResponse]
|
|
168
160
|
describe 'partial_update test' do
|
|
169
161
|
it 'should work' do
|
|
@@ -176,7 +168,6 @@ describe 'RepositoriesFileApi' do
|
|
|
176
168
|
# FileRepository represents a single file repository, to which content can be synced, added, or removed.
|
|
177
169
|
# @param file_file_repository_href
|
|
178
170
|
# @param [Hash] opts the optional parameters
|
|
179
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
180
171
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
181
172
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
182
173
|
# @return [FileFileRepositoryResponse]
|
|
@@ -192,7 +183,6 @@ describe 'RepositoriesFileApi' do
|
|
|
192
183
|
# @param file_file_repository_href
|
|
193
184
|
# @param nested_role
|
|
194
185
|
# @param [Hash] opts the optional parameters
|
|
195
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
196
186
|
# @return [NestedRoleResponse]
|
|
197
187
|
describe 'remove_role test' do
|
|
198
188
|
it 'should work' do
|
|
@@ -206,7 +196,6 @@ describe 'RepositoriesFileApi' do
|
|
|
206
196
|
# @param file_file_repository_href
|
|
207
197
|
# @param set_label
|
|
208
198
|
# @param [Hash] opts the optional parameters
|
|
209
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
210
199
|
# @return [SetLabelResponse]
|
|
211
200
|
describe 'set_label test' do
|
|
212
201
|
it 'should work' do
|
|
@@ -220,7 +209,6 @@ describe 'RepositoriesFileApi' do
|
|
|
220
209
|
# @param file_file_repository_href
|
|
221
210
|
# @param repository_sync_url
|
|
222
211
|
# @param [Hash] opts the optional parameters
|
|
223
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
224
212
|
# @return [AsyncOperationResponse]
|
|
225
213
|
describe 'sync test' do
|
|
226
214
|
it 'should work' do
|
|
@@ -234,7 +222,6 @@ describe 'RepositoriesFileApi' do
|
|
|
234
222
|
# @param file_file_repository_href
|
|
235
223
|
# @param unset_label
|
|
236
224
|
# @param [Hash] opts the optional parameters
|
|
237
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
238
225
|
# @return [UnsetLabelResponse]
|
|
239
226
|
describe 'unset_label test' do
|
|
240
227
|
it 'should work' do
|
|
@@ -248,7 +235,6 @@ describe 'RepositoriesFileApi' do
|
|
|
248
235
|
# @param file_file_repository_href
|
|
249
236
|
# @param file_file_repository
|
|
250
237
|
# @param [Hash] opts the optional parameters
|
|
251
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
252
238
|
# @return [AsyncOperationResponse]
|
|
253
239
|
describe 'update test' do
|
|
254
240
|
it 'should work' do
|
|
@@ -37,7 +37,6 @@ describe 'RepositoriesFileVersionsApi' do
|
|
|
37
37
|
# Trigger an asynchronous task to delete a repository version.
|
|
38
38
|
# @param file_file_repository_version_href
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
41
40
|
# @return [AsyncOperationResponse]
|
|
42
41
|
describe 'delete test' do
|
|
43
42
|
it 'should work' do
|
|
@@ -50,7 +49,6 @@ describe 'RepositoriesFileVersionsApi' do
|
|
|
50
49
|
# FileRepositoryVersion represents a single file repository version.
|
|
51
50
|
# @param file_file_repository_href
|
|
52
51
|
# @param [Hash] opts the optional parameters
|
|
53
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
54
52
|
# @option opts [String] :content Content Unit referenced by HREF
|
|
55
53
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
|
56
54
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
@@ -84,7 +82,6 @@ describe 'RepositoriesFileVersionsApi' do
|
|
|
84
82
|
# FileRepositoryVersion represents a single file repository version.
|
|
85
83
|
# @param file_file_repository_version_href
|
|
86
84
|
# @param [Hash] opts the optional parameters
|
|
87
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
88
85
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
89
86
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
90
87
|
# @return [RepositoryVersionResponse]
|
|
@@ -99,7 +96,6 @@ describe 'RepositoriesFileVersionsApi' do
|
|
|
99
96
|
# @param file_file_repository_version_href
|
|
100
97
|
# @param repair
|
|
101
98
|
# @param [Hash] opts the optional parameters
|
|
102
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
103
99
|
# @return [AsyncOperationResponse]
|
|
104
100
|
describe 'repair test' do
|
|
105
101
|
it 'should work' do
|
data/spec/configuration_spec.rb
CHANGED
|
@@ -18,7 +18,7 @@ describe PulpFileClient::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
|
# PulpFileClient.configure do |c|
|
|
23
23
|
# c.host = uri.host
|
|
24
24
|
# c.base_path = uri.path
|
|
@@ -28,14 +28,14 @@ describe PulpFileClient::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_file_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.50.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: 2024-03-26 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
|
|
@@ -234,7 +234,7 @@ homepage: https://github.com/pulp/pulp_file
|
|
|
234
234
|
licenses:
|
|
235
235
|
- GPLv2+
|
|
236
236
|
metadata: {}
|
|
237
|
-
post_install_message:
|
|
237
|
+
post_install_message:
|
|
238
238
|
rdoc_options: []
|
|
239
239
|
require_paths:
|
|
240
240
|
- lib
|
|
@@ -249,58 +249,58 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
249
249
|
- !ruby/object:Gem::Version
|
|
250
250
|
version: '0'
|
|
251
251
|
requirements: []
|
|
252
|
-
rubygems_version: 3.
|
|
253
|
-
signing_key:
|
|
252
|
+
rubygems_version: 3.0.3.1
|
|
253
|
+
signing_key:
|
|
254
254
|
specification_version: 4
|
|
255
255
|
summary: Pulp 3 API Ruby Gem
|
|
256
256
|
test_files:
|
|
257
257
|
- spec/api/repositories_file_api_spec.rb
|
|
258
|
-
- spec/api/distributions_file_api_spec.rb
|
|
259
|
-
- spec/api/repositories_file_versions_api_spec.rb
|
|
260
258
|
- spec/api/remotes_file_api_spec.rb
|
|
259
|
+
- spec/api/distributions_file_api_spec.rb
|
|
260
|
+
- spec/api/acs_file_api_spec.rb
|
|
261
261
|
- spec/api/publications_file_api_spec.rb
|
|
262
|
+
- spec/api/repositories_file_versions_api_spec.rb
|
|
262
263
|
- spec/api/content_files_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/object_roles_response_spec.rb
|
|
267
|
-
- spec/models/nested_role_spec.rb
|
|
268
266
|
- spec/models/unset_label_response_spec.rb
|
|
269
|
-
- spec/models/
|
|
270
|
-
- spec/models/paginatedfile_file_alternate_content_source_response_list_spec.rb
|
|
271
|
-
- spec/models/paginatedfile_file_content_response_list_spec.rb
|
|
272
|
-
- spec/models/file_file_distribution_response_spec.rb
|
|
273
|
-
- spec/models/repository_add_remove_content_spec.rb
|
|
274
|
-
- spec/models/file_file_alternate_content_source_response_spec.rb
|
|
275
|
-
- spec/models/async_operation_response_spec.rb
|
|
276
|
-
- spec/models/file_file_remote_spec.rb
|
|
277
|
-
- spec/models/file_file_remote_response_hidden_fields_spec.rb
|
|
267
|
+
- spec/models/my_permissions_response_spec.rb
|
|
278
268
|
- spec/models/policy_enum_spec.rb
|
|
279
|
-
- spec/models/
|
|
269
|
+
- spec/models/repair_spec.rb
|
|
270
|
+
- spec/models/patchedfile_file_remote_spec.rb
|
|
271
|
+
- spec/models/file_file_remote_response_hidden_fields_spec.rb
|
|
272
|
+
- spec/models/paginatedfile_file_distribution_response_list_spec.rb
|
|
280
273
|
- spec/models/paginatedfile_file_repository_response_list_spec.rb
|
|
281
|
-
- spec/models/
|
|
282
|
-
- spec/models/
|
|
283
|
-
- spec/models/
|
|
274
|
+
- spec/models/file_file_distribution_response_spec.rb
|
|
275
|
+
- spec/models/paginated_repository_version_response_list_spec.rb
|
|
276
|
+
- spec/models/repository_sync_url_spec.rb
|
|
277
|
+
- spec/models/set_label_spec.rb
|
|
278
|
+
- spec/models/file_file_repository_spec.rb
|
|
279
|
+
- spec/models/object_roles_response_spec.rb
|
|
284
280
|
- spec/models/file_file_remote_response_spec.rb
|
|
281
|
+
- spec/models/patchedfile_file_alternate_content_source_spec.rb
|
|
282
|
+
- spec/models/repository_add_remove_content_spec.rb
|
|
285
283
|
- spec/models/file_file_publication_spec.rb
|
|
286
|
-
- spec/models/file_file_repository_response_spec.rb
|
|
287
|
-
- spec/models/file_file_content_response_spec.rb
|
|
288
|
-
- spec/models/file_file_distribution_spec.rb
|
|
289
|
-
- spec/models/unset_label_spec.rb
|
|
290
|
-
- spec/models/content_summary_response_spec.rb
|
|
291
284
|
- spec/models/file_file_publication_response_spec.rb
|
|
292
|
-
- spec/models/
|
|
293
|
-
- spec/models/
|
|
294
|
-
- spec/models/
|
|
285
|
+
- spec/models/async_operation_response_spec.rb
|
|
286
|
+
- spec/models/paginatedfile_file_content_response_list_spec.rb
|
|
287
|
+
- spec/models/patchedfile_file_distribution_spec.rb
|
|
288
|
+
- spec/models/file_file_content_spec.rb
|
|
289
|
+
- spec/models/patchedfile_file_repository_spec.rb
|
|
290
|
+
- spec/models/task_group_operation_response_spec.rb
|
|
291
|
+
- spec/models/file_file_content_response_spec.rb
|
|
292
|
+
- spec/models/file_file_repository_response_spec.rb
|
|
293
|
+
- spec/models/paginatedfile_file_alternate_content_source_response_list_spec.rb
|
|
295
294
|
- spec/models/paginatedfile_file_remote_response_list_spec.rb
|
|
295
|
+
- spec/models/repository_version_response_spec.rb
|
|
296
296
|
- spec/models/nested_role_response_spec.rb
|
|
297
|
-
- spec/models/
|
|
298
|
-
- spec/models/
|
|
299
|
-
- spec/models/my_permissions_response_spec.rb
|
|
300
|
-
- spec/models/repair_spec.rb
|
|
301
|
-
- spec/models/paginatedfile_file_distribution_response_list_spec.rb
|
|
302
|
-
- spec/models/file_file_repository_spec.rb
|
|
303
|
-
- spec/models/set_label_spec.rb
|
|
297
|
+
- spec/models/set_label_response_spec.rb
|
|
298
|
+
- spec/models/file_file_alternate_content_source_response_spec.rb
|
|
304
299
|
- spec/models/paginatedfile_file_publication_response_list_spec.rb
|
|
305
|
-
- spec/models/
|
|
300
|
+
- spec/models/content_summary_response_spec.rb
|
|
301
|
+
- spec/models/file_file_distribution_spec.rb
|
|
302
|
+
- spec/models/unset_label_spec.rb
|
|
303
|
+
- spec/models/nested_role_spec.rb
|
|
304
|
+
- spec/models/file_file_remote_spec.rb
|
|
305
|
+
- spec/models/file_file_alternate_content_source_spec.rb
|
|
306
306
|
- spec/spec_helper.rb
|