pulp_gem_client 0.8.0 → 0.9.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 +4 -4
- data/docs/ContentGemApi.md +4 -0
- data/docs/RepositorySyncURL.md +1 -1
- data/lib/pulp_gem_client/api/content_gem_api.rb +6 -0
- 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/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/spec/api/content_gem_api_spec.rb +2 -0
- metadata +31 -34
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1ddb99161dc429558b756af362b2ca12e115fb81511775855cb32b32d426bd36
|
|
4
|
+
data.tar.gz: cf170fae318534bf90b0b7009558feed89ec9fe9f2be641063ccd8a902acf54d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3ec55fcefcef54aba206a8687a9d4977e082b5f67d288d66866b992330f861c04be374005d4c8e1f4e2a0614f2702cf6392532bef55e57f779ab972c137eb411
|
|
7
|
+
data.tar.gz: 737f7ad12a01d4ab2a2130b3c18add1b67ce98ba0bb24620da325b4297f2cbe300f1cbc8fe5eca28bc2b4755df2e5921fb9d0b0256614945103281d2be61bec5
|
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: 0.
|
|
10
|
+
- Package version: 0.9.0
|
|
11
11
|
- Generator version: 7.10.0
|
|
12
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
13
13
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
@@ -25,16 +25,16 @@ gem build pulp_gem_client.gemspec
|
|
|
25
25
|
Then either install the gem locally:
|
|
26
26
|
|
|
27
27
|
```shell
|
|
28
|
-
gem install ./pulp_gem_client-0.
|
|
28
|
+
gem install ./pulp_gem_client-0.9.0.gem
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
(for development, run `gem install --dev ./pulp_gem_client-0.
|
|
31
|
+
(for development, run `gem install --dev ./pulp_gem_client-0.9.0.gem` to install the development dependencies)
|
|
32
32
|
|
|
33
33
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
34
34
|
|
|
35
35
|
Finally add this to the Gemfile:
|
|
36
36
|
|
|
37
|
-
gem 'pulp_gem_client', '~> 0.
|
|
37
|
+
gem 'pulp_gem_client', '~> 0.9.0'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
data/docs/ContentGemApi.md
CHANGED
|
@@ -122,6 +122,7 @@ end
|
|
|
122
122
|
api_instance = PulpGemClient::ContentGemApi.new
|
|
123
123
|
opts = {
|
|
124
124
|
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
125
|
+
added_between: ['inner_example'], # Array<String> |
|
|
125
126
|
checksum: 'checksum_example', # String | Filter results where checksum matches value
|
|
126
127
|
limit: 56, # Integer | Number of results to return per page.
|
|
127
128
|
name: 'name_example', # String | Filter results where name matches value
|
|
@@ -134,6 +135,7 @@ opts = {
|
|
|
134
135
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
135
136
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
|
136
137
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
|
138
|
+
removed_between: ['inner_example'], # Array<String> |
|
|
137
139
|
repository_version: 'repository_version_example', # String |
|
|
138
140
|
repository_version_added: 'repository_version_added_example', # String |
|
|
139
141
|
repository_version_removed: 'repository_version_removed_example', # String |
|
|
@@ -174,6 +176,7 @@ end
|
|
|
174
176
|
| Name | Type | Description | Notes |
|
|
175
177
|
| ---- | ---- | ----------- | ----- |
|
|
176
178
|
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
179
|
+
| **added_between** | [**Array<String>**](String.md) | | [optional] |
|
|
177
180
|
| **checksum** | **String** | Filter results where checksum matches value | [optional] |
|
|
178
181
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
|
179
182
|
| **name** | **String** | Filter results where name matches value | [optional] |
|
|
@@ -186,6 +189,7 @@ end
|
|
|
186
189
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
187
190
|
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
|
188
191
|
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
|
192
|
+
| **removed_between** | [**Array<String>**](String.md) | | [optional] |
|
|
189
193
|
| **repository_version** | **String** | | [optional] |
|
|
190
194
|
| **repository_version_added** | **String** | | [optional] |
|
|
191
195
|
| **repository_version_removed** | **String** | | [optional] |
|
data/docs/RepositorySyncURL.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **remote** | **String** | A remote to sync from. This will override a remote set on repository. | [optional] |
|
|
8
|
-
| **mirror** | **Boolean** | If `
|
|
8
|
+
| **mirror** | **Boolean** | If `True`, synchronization will remove all content that is not present in the remote repository. If `False`, sync will be additive only. | [optional][default to false] |
|
|
9
9
|
|
|
10
10
|
## Example
|
|
11
11
|
|
|
@@ -116,6 +116,7 @@ module PulpGemClient
|
|
|
116
116
|
# A ViewSet for GemContent.
|
|
117
117
|
# @param [Hash] opts the optional parameters
|
|
118
118
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
119
|
+
# @option opts [Array<String>] :added_between
|
|
119
120
|
# @option opts [String] :checksum Filter results where checksum matches value
|
|
120
121
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
121
122
|
# @option opts [String] :name Filter results where name matches value
|
|
@@ -128,6 +129,7 @@ module PulpGemClient
|
|
|
128
129
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
129
130
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
130
131
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
132
|
+
# @option opts [Array<String>] :removed_between
|
|
131
133
|
# @option opts [String] :repository_version
|
|
132
134
|
# @option opts [String] :repository_version_added
|
|
133
135
|
# @option opts [String] :repository_version_removed
|
|
@@ -144,6 +146,7 @@ module PulpGemClient
|
|
|
144
146
|
# A ViewSet for GemContent.
|
|
145
147
|
# @param [Hash] opts the optional parameters
|
|
146
148
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
149
|
+
# @option opts [Array<String>] :added_between
|
|
147
150
|
# @option opts [String] :checksum Filter results where checksum matches value
|
|
148
151
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
149
152
|
# @option opts [String] :name Filter results where name matches value
|
|
@@ -156,6 +159,7 @@ module PulpGemClient
|
|
|
156
159
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
157
160
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
158
161
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
162
|
+
# @option opts [Array<String>] :removed_between
|
|
159
163
|
# @option opts [String] :repository_version
|
|
160
164
|
# @option opts [String] :repository_version_added
|
|
161
165
|
# @option opts [String] :repository_version_removed
|
|
@@ -176,6 +180,7 @@ module PulpGemClient
|
|
|
176
180
|
|
|
177
181
|
# query parameters
|
|
178
182
|
query_params = opts[:query_params] || {}
|
|
183
|
+
query_params[:'added_between'] = @api_client.build_collection_param(opts[:'added_between'], :csv) if !opts[:'added_between'].nil?
|
|
179
184
|
query_params[:'checksum'] = opts[:'checksum'] if !opts[:'checksum'].nil?
|
|
180
185
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
181
186
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
|
@@ -188,6 +193,7 @@ module PulpGemClient
|
|
|
188
193
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
|
189
194
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
|
190
195
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
|
196
|
+
query_params[:'removed_between'] = @api_client.build_collection_param(opts[:'removed_between'], :csv) if !opts[:'removed_between'].nil?
|
|
191
197
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
|
192
198
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
|
193
199
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PulpGemClient
|
|
17
|
-
# Serializer to add/remove object roles to/from users/groups. This is used in conjunction with
|
|
17
|
+
# Serializer to add/remove object roles to/from users/groups. This is used in conjunction with `pulpcore.app.viewsets.base.RolesMixin` and requires the underlying object to be passed as `content_object` in the context.
|
|
18
18
|
class NestedRole
|
|
19
19
|
attr_accessor :users
|
|
20
20
|
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PulpGemClient
|
|
17
|
-
# Serializer to add/remove object roles to/from users/groups. This is used in conjunction with
|
|
17
|
+
# Serializer to add/remove object roles to/from users/groups. This is used in conjunction with `pulpcore.app.viewsets.base.RolesMixin` and requires the underlying object to be passed as `content_object` in the context.
|
|
18
18
|
class NestedRoleResponse
|
|
19
19
|
attr_accessor :users
|
|
20
20
|
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PulpGemClient
|
|
17
|
-
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the
|
|
17
|
+
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the `ref_name` attribute in the ModelSerializers's `Meta` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|
|
18
18
|
class RepositoryAddRemoveContent
|
|
19
19
|
# A list of content units to add to a new repository version. This content is added after remove_content_units are removed.
|
|
20
20
|
attr_accessor :add_content_units
|
|
@@ -19,7 +19,7 @@ module PulpGemClient
|
|
|
19
19
|
# A remote to sync from. This will override a remote set on repository.
|
|
20
20
|
attr_accessor :remote
|
|
21
21
|
|
|
22
|
-
# If
|
|
22
|
+
# If `True`, synchronization will remove all content that is not present in the remote repository. If `False`, sync will be additive only.
|
|
23
23
|
attr_accessor :mirror
|
|
24
24
|
|
|
25
25
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PulpGemClient
|
|
17
|
-
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the
|
|
17
|
+
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the `ref_name` attribute in the ModelSerializers's `Meta` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|
|
18
18
|
class RepositoryVersionResponse
|
|
19
19
|
attr_accessor :pulp_href
|
|
20
20
|
|
|
@@ -57,6 +57,7 @@ describe 'ContentGemApi' do
|
|
|
57
57
|
# A ViewSet for GemContent.
|
|
58
58
|
# @param [Hash] opts the optional parameters
|
|
59
59
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
60
|
+
# @option opts [Array<String>] :added_between
|
|
60
61
|
# @option opts [String] :checksum Filter results where checksum matches value
|
|
61
62
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
62
63
|
# @option opts [String] :name Filter results where name matches value
|
|
@@ -69,6 +70,7 @@ describe 'ContentGemApi' do
|
|
|
69
70
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
70
71
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
71
72
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
73
|
+
# @option opts [Array<String>] :removed_between
|
|
72
74
|
# @option opts [String] :repository_version
|
|
73
75
|
# @option opts [String] :repository_version_added
|
|
74
76
|
# @option opts [String] :repository_version_removed
|
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.9.0
|
|
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
|
|
@@ -225,7 +224,6 @@ homepage: https://github.com/pulp/pulp_gem
|
|
|
225
224
|
licenses:
|
|
226
225
|
- GPLv2+
|
|
227
226
|
metadata: {}
|
|
228
|
-
post_install_message:
|
|
229
227
|
rdoc_options: []
|
|
230
228
|
require_paths:
|
|
231
229
|
- lib
|
|
@@ -240,51 +238,50 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
240
238
|
- !ruby/object:Gem::Version
|
|
241
239
|
version: '0'
|
|
242
240
|
requirements: []
|
|
243
|
-
rubygems_version: 3.
|
|
244
|
-
signing_key:
|
|
241
|
+
rubygems_version: 3.6.7
|
|
245
242
|
specification_version: 4
|
|
246
243
|
summary: Pulp 3 API Ruby Gem
|
|
247
244
|
test_files:
|
|
248
245
|
- spec/api/content_gem_api_spec.rb
|
|
249
|
-
- spec/api/remotes_gem_api_spec.rb
|
|
250
246
|
- spec/api/distributions_gem_api_spec.rb
|
|
247
|
+
- spec/api/publications_gem_api_spec.rb
|
|
248
|
+
- spec/api/remotes_gem_api_spec.rb
|
|
251
249
|
- spec/api/repositories_gem_api_spec.rb
|
|
252
250
|
- spec/api/repositories_gem_versions_api_spec.rb
|
|
253
|
-
- spec/api/publications_gem_api_spec.rb
|
|
254
|
-
- spec/models/paginatedgem_gem_content_response_list_spec.rb
|
|
255
|
-
- spec/models/nested_role_response_spec.rb
|
|
256
|
-
- spec/models/object_roles_response_spec.rb
|
|
257
|
-
- spec/models/paginatedgem_gem_remote_response_list_spec.rb
|
|
258
|
-
- spec/models/repository_add_remove_content_spec.rb
|
|
259
251
|
- spec/models/async_operation_response_spec.rb
|
|
260
|
-
- spec/models/paginated_repository_version_response_list_spec.rb
|
|
261
|
-
- spec/models/paginatedgem_gem_publication_response_list_spec.rb
|
|
262
|
-
- spec/models/set_label_spec.rb
|
|
263
|
-
- spec/models/remote_network_config_spec.rb
|
|
264
252
|
- spec/models/content_summary_response_spec.rb
|
|
265
|
-
- spec/models/
|
|
253
|
+
- spec/models/gem_gem_content_response_spec.rb
|
|
254
|
+
- spec/models/gem_gem_distribution_response_spec.rb
|
|
255
|
+
- spec/models/gem_gem_distribution_spec.rb
|
|
266
256
|
- spec/models/gem_gem_publication_response_spec.rb
|
|
267
|
-
- spec/models/patchedgem_gem_repository_spec.rb
|
|
268
|
-
- spec/models/gem_gem_remote_response_spec.rb
|
|
269
|
-
- spec/models/paginatedgem_gem_distribution_response_list_spec.rb
|
|
270
|
-
- spec/models/repository_sync_url_spec.rb
|
|
271
|
-
- spec/models/unset_label_spec.rb
|
|
272
257
|
- spec/models/gem_gem_publication_spec.rb
|
|
273
|
-
- spec/models/
|
|
274
|
-
- spec/models/
|
|
258
|
+
- spec/models/gem_gem_remote_response_hidden_fields_inner_spec.rb
|
|
259
|
+
- spec/models/gem_gem_remote_response_spec.rb
|
|
275
260
|
- spec/models/gem_gem_remote_spec.rb
|
|
261
|
+
- spec/models/gem_gem_repository_response_spec.rb
|
|
262
|
+
- spec/models/gem_gem_repository_spec.rb
|
|
263
|
+
- spec/models/my_permissions_response_spec.rb
|
|
264
|
+
- spec/models/nested_role_response_spec.rb
|
|
276
265
|
- spec/models/nested_role_spec.rb
|
|
266
|
+
- spec/models/object_roles_response_spec.rb
|
|
267
|
+
- spec/models/paginated_repository_version_response_list_spec.rb
|
|
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
|
|
272
|
+
- spec/models/paginatedgem_gem_repository_response_list_spec.rb
|
|
277
273
|
- spec/models/patchedgem_gem_distribution_spec.rb
|
|
278
|
-
- spec/models/repository_version_response_spec.rb
|
|
279
|
-
- spec/models/my_permissions_response_spec.rb
|
|
280
274
|
- spec/models/patchedgem_gem_remote_spec.rb
|
|
281
|
-
- spec/models/
|
|
275
|
+
- spec/models/patchedgem_gem_repository_spec.rb
|
|
282
276
|
- spec/models/policy_enum_spec.rb
|
|
283
|
-
- spec/models/
|
|
284
|
-
- spec/models/
|
|
285
|
-
- spec/models/gem_gem_repository_response_spec.rb
|
|
286
|
-
- spec/models/gem_gem_content_response_spec.rb
|
|
287
|
-
- spec/models/gem_gem_distribution_response_spec.rb
|
|
277
|
+
- spec/models/remote_network_config_response_spec.rb
|
|
278
|
+
- spec/models/remote_network_config_spec.rb
|
|
288
279
|
- spec/models/repair_spec.rb
|
|
289
|
-
- spec/models/
|
|
280
|
+
- spec/models/repository_add_remove_content_spec.rb
|
|
281
|
+
- spec/models/repository_sync_url_spec.rb
|
|
282
|
+
- spec/models/repository_version_response_spec.rb
|
|
283
|
+
- spec/models/set_label_response_spec.rb
|
|
284
|
+
- spec/models/set_label_spec.rb
|
|
285
|
+
- spec/models/unset_label_response_spec.rb
|
|
286
|
+
- spec/models/unset_label_spec.rb
|
|
290
287
|
- spec/spec_helper.rb
|