pulp_npm_client 0.10.2 → 0.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 +4 -4
- data/docs/ContentPackagesApi.md +2 -2
- data/lib/pulp_npm_client/api/content_packages_api.rb +3 -3
- data/lib/pulp_npm_client/version.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +1 -1
- metadata +28 -31
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9d1d0a052b6272d899d9eddcf49941858545a97a83998123840ebc4dc63b7d38
|
|
4
|
+
data.tar.gz: 9860fbc6ad6f609a093c9eb7623b441029566cb75b9ec36e26272479316d84c5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '08ab40359b87caf6f56ea6ef4b955b7cc30bcb02ccc369321dec5a04906abdca9d20c753dd3e7f3b5ed8729f75f4b39cfda64903c4dcd984d007fb2df4eb5dcc'
|
|
7
|
+
data.tar.gz: e3f2e514a55d64b7dabc5451066958d45d0601ddebcfbc365cf9a81084d667d929cdd7069cce3b930b2a8e8bb7bd5649891182cd8bddb4fd2fff78d9b17d68b2
|
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.11.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_npm_client.gemspec
|
|
|
25
25
|
Then either install the gem locally:
|
|
26
26
|
|
|
27
27
|
```shell
|
|
28
|
-
gem install ./pulp_npm_client-0.
|
|
28
|
+
gem install ./pulp_npm_client-0.11.0.gem
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
(for development, run `gem install --dev ./pulp_npm_client-0.
|
|
31
|
+
(for development, run `gem install --dev ./pulp_npm_client-0.11.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_npm_client', '~> 0.
|
|
37
|
+
gem 'pulp_npm_client', '~> 0.11.0'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
data/docs/ContentPackagesApi.md
CHANGED
|
@@ -134,7 +134,7 @@ opts = {
|
|
|
134
134
|
name: 'name_example', # String | Filter results where name matches value
|
|
135
135
|
name__in: ['inner_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
|
136
136
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
137
|
-
ordering: ['-
|
|
137
|
+
ordering: ['-integrity'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `version` - Version * `-version` - Version (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `integrity` - Integrity * `-integrity` - Integrity (descending) * `shasum` - Shasum * `-shasum` - Shasum (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
138
138
|
orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
139
139
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
140
140
|
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
@@ -186,7 +186,7 @@ end
|
|
|
186
186
|
| **name** | **String** | Filter results where name matches value | [optional] |
|
|
187
187
|
| **name__in** | [**Array<String>**](String.md) | Filter results where name is in a comma-separated list of values | [optional] |
|
|
188
188
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
|
189
|
-
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `version` - Version * `-version` - Version (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
|
189
|
+
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `version` - Version * `-version` - Version (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `integrity` - Integrity * `-integrity` - Integrity (descending) * `shasum` - Shasum * `-shasum` - Shasum (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
|
190
190
|
| **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
|
|
191
191
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
192
192
|
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
@@ -142,7 +142,7 @@ module PulpNpmClient
|
|
|
142
142
|
# @option opts [String] :name Filter results where name matches value
|
|
143
143
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
144
144
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
145
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `version` - Version * `-version` - Version (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
145
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `version` - Version * `-version` - Version (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `integrity` - Integrity * `-integrity` - Integrity (descending) * `shasum` - Shasum * `-shasum` - Shasum (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
146
146
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
147
147
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
148
148
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
@@ -170,7 +170,7 @@ module PulpNpmClient
|
|
|
170
170
|
# @option opts [String] :name Filter results where name matches value
|
|
171
171
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
172
172
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
173
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `version` - Version * `-version` - Version (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
173
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `version` - Version * `-version` - Version (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `integrity` - Integrity * `-integrity` - Integrity (descending) * `shasum` - Shasum * `-shasum` - Shasum (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
174
174
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
175
175
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
176
176
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
@@ -188,7 +188,7 @@ module PulpNpmClient
|
|
|
188
188
|
if @api_client.config.debugging
|
|
189
189
|
@api_client.config.logger.debug 'Calling API: ContentPackagesApi.list ...'
|
|
190
190
|
end
|
|
191
|
-
allowable_values = ["-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-timestamp_of_interest", "-upstream_id", "-version", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "timestamp_of_interest", "upstream_id", "version"]
|
|
191
|
+
allowable_values = ["-integrity", "-manifest", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-shasum", "-timestamp_of_interest", "-upstream_id", "-version", "integrity", "manifest", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "shasum", "timestamp_of_interest", "upstream_id", "version"]
|
|
192
192
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
193
193
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
194
194
|
end
|
|
@@ -65,7 +65,7 @@ describe 'ContentPackagesApi' do
|
|
|
65
65
|
# @option opts [String] :name Filter results where name matches value
|
|
66
66
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
67
67
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
68
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `version` - Version * `-version` - Version (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
68
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `version` - Version * `-version` - Version (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `integrity` - Integrity * `-integrity` - Integrity (descending) * `shasum` - Shasum * `-shasum` - Shasum (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
69
69
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
70
70
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
71
71
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pulp_npm_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.11.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
|
|
@@ -222,7 +221,6 @@ homepage: https://github.com/pulp/pulp_npm
|
|
|
222
221
|
licenses:
|
|
223
222
|
- GPLv2+
|
|
224
223
|
metadata: {}
|
|
225
|
-
post_install_message:
|
|
226
224
|
rdoc_options: []
|
|
227
225
|
require_paths:
|
|
228
226
|
- lib
|
|
@@ -237,50 +235,49 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
237
235
|
- !ruby/object:Gem::Version
|
|
238
236
|
version: '0'
|
|
239
237
|
requirements: []
|
|
240
|
-
rubygems_version: 3.
|
|
241
|
-
signing_key:
|
|
238
|
+
rubygems_version: 3.6.7
|
|
242
239
|
specification_version: 4
|
|
243
240
|
summary: Pulp 3 API Ruby Gem
|
|
244
241
|
test_files:
|
|
245
|
-
- spec/api/npm_whoami_api_spec.rb
|
|
246
242
|
- spec/api/content_packages_api_spec.rb
|
|
243
|
+
- spec/api/distributions_npm_api_spec.rb
|
|
247
244
|
- spec/api/npm_api_spec.rb
|
|
248
|
-
- spec/api/repositories_npm_versions_api_spec.rb
|
|
249
245
|
- spec/api/npm_ping_api_spec.rb
|
|
246
|
+
- spec/api/npm_whoami_api_spec.rb
|
|
250
247
|
- spec/api/remotes_npm_api_spec.rb
|
|
251
|
-
- spec/api/distributions_npm_api_spec.rb
|
|
252
248
|
- spec/api/repositories_npm_api_spec.rb
|
|
253
|
-
- spec/
|
|
249
|
+
- spec/api/repositories_npm_versions_api_spec.rb
|
|
250
|
+
- spec/models/async_operation_response_spec.rb
|
|
251
|
+
- spec/models/content_summary_response_spec.rb
|
|
252
|
+
- spec/models/my_permissions_response_spec.rb
|
|
253
|
+
- spec/models/nested_role_response_spec.rb
|
|
254
254
|
- spec/models/nested_role_spec.rb
|
|
255
|
+
- spec/models/npm_npm_distribution_response_spec.rb
|
|
256
|
+
- spec/models/npm_npm_distribution_spec.rb
|
|
257
|
+
- spec/models/npm_npm_remote_response_hidden_fields_inner_spec.rb
|
|
255
258
|
- spec/models/npm_npm_remote_response_spec.rb
|
|
256
|
-
- spec/models/
|
|
257
|
-
- spec/models/
|
|
258
|
-
- spec/models/set_label_response_spec.rb
|
|
259
|
-
- spec/models/set_label_spec.rb
|
|
260
|
-
- spec/models/repository_sync_url_spec.rb
|
|
261
|
-
- spec/models/unset_label_response_spec.rb
|
|
262
|
-
- spec/models/remote_network_config_spec.rb
|
|
263
|
-
- spec/models/patchednpm_npm_repository_spec.rb
|
|
259
|
+
- spec/models/npm_npm_remote_spec.rb
|
|
260
|
+
- spec/models/npm_npm_repository_response_spec.rb
|
|
264
261
|
- spec/models/npm_npm_repository_spec.rb
|
|
265
|
-
- spec/models/
|
|
266
|
-
- spec/models/npm_npm_remote_response_hidden_fields_inner_spec.rb
|
|
262
|
+
- spec/models/npm_package_response_spec.rb
|
|
267
263
|
- spec/models/object_roles_response_spec.rb
|
|
268
264
|
- spec/models/paginated_repository_version_response_list_spec.rb
|
|
269
|
-
- spec/models/policy_enum_spec.rb
|
|
270
|
-
- spec/models/npm_npm_repository_response_spec.rb
|
|
271
|
-
- spec/models/paginatednpm_npm_repository_response_list_spec.rb
|
|
272
265
|
- spec/models/paginatednpm_npm_distribution_response_list_spec.rb
|
|
266
|
+
- spec/models/paginatednpm_npm_remote_response_list_spec.rb
|
|
267
|
+
- spec/models/paginatednpm_npm_repository_response_list_spec.rb
|
|
268
|
+
- spec/models/paginatednpm_package_response_list_spec.rb
|
|
273
269
|
- spec/models/patchednpm_npm_distribution_spec.rb
|
|
274
|
-
- spec/models/npm_npm_remote_spec.rb
|
|
275
|
-
- spec/models/unset_label_spec.rb
|
|
276
270
|
- spec/models/patchednpm_npm_remote_spec.rb
|
|
277
|
-
- spec/models/
|
|
271
|
+
- spec/models/patchednpm_npm_repository_spec.rb
|
|
272
|
+
- spec/models/policy_enum_spec.rb
|
|
278
273
|
- spec/models/remote_network_config_response_spec.rb
|
|
279
|
-
- spec/models/
|
|
274
|
+
- spec/models/remote_network_config_spec.rb
|
|
280
275
|
- spec/models/repair_spec.rb
|
|
276
|
+
- spec/models/repository_add_remove_content_spec.rb
|
|
277
|
+
- spec/models/repository_sync_url_spec.rb
|
|
281
278
|
- spec/models/repository_version_response_spec.rb
|
|
282
|
-
- spec/models/
|
|
283
|
-
- spec/models/
|
|
284
|
-
- spec/models/
|
|
285
|
-
- spec/models/
|
|
279
|
+
- spec/models/set_label_response_spec.rb
|
|
280
|
+
- spec/models/set_label_spec.rb
|
|
281
|
+
- spec/models/unset_label_response_spec.rb
|
|
282
|
+
- spec/models/unset_label_spec.rb
|
|
286
283
|
- spec/spec_helper.rb
|