pulp_npm_client 0.10.1 → 0.10.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1994300ff48a1760f2d6a7418f507e2a4cb256ceabd1661a05639ec171e336b2
4
- data.tar.gz: 5ff28caaf075324a5e39f0ef1929fbb26e99ddea4188f43df0b60864fd92489d
3
+ metadata.gz: 88c9f9dd55e57c89b6faa2dfbdd01f32b8a9452ebddd2589ae8f00a4054bd2d4
4
+ data.tar.gz: d55c5b29ff9b8219d09a48b2649962b3d3e8493a17442fe9173cbced683b09f6
5
5
  SHA512:
6
- metadata.gz: f6b40b5c838ddee2d99631574480daa34d285f4b2cfe3de359649ede8ccdd6b461ef7cd5dd4acdb9ec6076f49b202afd7ac78e64b96d4e0ff77edf20bf0b9684
7
- data.tar.gz: a28851a01ce240ff0c43f78559f56dca3efe1f482da6b651a939ed927a8d4e0687696e2434935948f02af641e38f308d4b18ee37ad67ca81c5f32b3fcdaef5a5
6
+ metadata.gz: fa4eb5199ec5f928e4a80b7e3b713dcc2d6b1f469a88de2ceb82726af4d33f98fb6ff038abba4374503ed9960f45637ab18dbefe82ca1a079fc2cbb86c8eb730
7
+ data.tar.gz: 35eba614d1e300e4294948031a7d2bf2714a225cebccd989abf0af8dfd5547a65dd97d530fe894a0c65fef2789a104b7a76dde12f3bfe51967072bc21f2695a7
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.1
10
+ - Package version: 0.10.2
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.10.1.gem
28
+ gem install ./pulp_npm_client-0.10.2.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./pulp_npm_client-0.10.1.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./pulp_npm_client-0.10.2.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.10.1'
37
+ gem 'pulp_npm_client', '~> 0.10.2'
38
38
 
39
39
  ### Install from Git
40
40
 
@@ -129,6 +129,7 @@ end
129
129
  api_instance = PulpNpmClient::ContentPackagesApi.new
130
130
  opts = {
131
131
  x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
132
+ added_between: ['inner_example'], # Array<String> |
132
133
  limit: 56, # Integer | Number of results to return per page.
133
134
  name: 'name_example', # String | Filter results where name matches value
134
135
  name__in: ['inner_example'], # Array<String> | Filter results where name is in a comma-separated list of values
@@ -140,6 +141,7 @@ opts = {
140
141
  pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
141
142
  pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
142
143
  q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
144
+ removed_between: ['inner_example'], # Array<String> |
143
145
  repository_version: 'repository_version_example', # String |
144
146
  repository_version_added: 'repository_version_added_example', # String |
145
147
  repository_version_removed: 'repository_version_removed_example', # String |
@@ -179,6 +181,7 @@ end
179
181
  | Name | Type | Description | Notes |
180
182
  | ---- | ---- | ----------- | ----- |
181
183
  | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
184
+ | **added_between** | [**Array&lt;String&gt;**](String.md) | | [optional] |
182
185
  | **limit** | **Integer** | Number of results to return per page. | [optional] |
183
186
  | **name** | **String** | Filter results where name matches value | [optional] |
184
187
  | **name__in** | [**Array&lt;String&gt;**](String.md) | Filter results where name is in a comma-separated list of values | [optional] |
@@ -190,6 +193,7 @@ end
190
193
  | **pulp_id__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
191
194
  | **pulp_label_select** | **String** | Filter labels by search string | [optional] |
192
195
  | **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
196
+ | **removed_between** | [**Array&lt;String&gt;**](String.md) | | [optional] |
193
197
  | **repository_version** | **String** | | [optional] |
194
198
  | **repository_version_added** | **String** | | [optional] |
195
199
  | **repository_version_removed** | **String** | | [optional] |
@@ -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 &#x60;&#x60;True&#x60;&#x60;, synchronization will remove all content that is not present in the remote repository. If &#x60;&#x60;False&#x60;&#x60;, sync will be additive only. | [optional][default to false] |
8
+ | **mirror** | **Boolean** | If &#x60;True&#x60;, synchronization will remove all content that is not present in the remote repository. If &#x60;False&#x60;, sync will be additive only. | [optional][default to false] |
9
9
 
10
10
  ## Example
11
11
 
@@ -137,6 +137,7 @@ module PulpNpmClient
137
137
  # A ViewSet for NpmPackage. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/npm/packages/ Also specify queryset and serializer for NpmPackage.
138
138
  # @param [Hash] opts the optional parameters
139
139
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
140
+ # @option opts [Array<String>] :added_between
140
141
  # @option opts [Integer] :limit Number of results to return per page.
141
142
  # @option opts [String] :name Filter results where name matches value
142
143
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
@@ -148,6 +149,7 @@ module PulpNpmClient
148
149
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
149
150
  # @option opts [String] :pulp_label_select Filter labels by search string
150
151
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
152
+ # @option opts [Array<String>] :removed_between
151
153
  # @option opts [String] :repository_version
152
154
  # @option opts [String] :repository_version_added
153
155
  # @option opts [String] :repository_version_removed
@@ -163,6 +165,7 @@ module PulpNpmClient
163
165
  # A ViewSet for NpmPackage. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/npm/packages/ Also specify queryset and serializer for NpmPackage.
164
166
  # @param [Hash] opts the optional parameters
165
167
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
168
+ # @option opts [Array<String>] :added_between
166
169
  # @option opts [Integer] :limit Number of results to return per page.
167
170
  # @option opts [String] :name Filter results where name matches value
168
171
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
@@ -174,6 +177,7 @@ module PulpNpmClient
174
177
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
175
178
  # @option opts [String] :pulp_label_select Filter labels by search string
176
179
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
180
+ # @option opts [Array<String>] :removed_between
177
181
  # @option opts [String] :repository_version
178
182
  # @option opts [String] :repository_version_added
179
183
  # @option opts [String] :repository_version_removed
@@ -193,6 +197,7 @@ module PulpNpmClient
193
197
 
194
198
  # query parameters
195
199
  query_params = opts[:query_params] || {}
200
+ query_params[:'added_between'] = @api_client.build_collection_param(opts[:'added_between'], :csv) if !opts[:'added_between'].nil?
196
201
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
197
202
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
198
203
  query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
@@ -204,6 +209,7 @@ module PulpNpmClient
204
209
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
205
210
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
206
211
  query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
212
+ query_params[:'removed_between'] = @api_client.build_collection_param(opts[:'removed_between'], :csv) if !opts[:'removed_between'].nil?
207
213
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
208
214
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
209
215
  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 PulpNpmClient
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.
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 PulpNpmClient
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.
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 PulpNpmClient
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.
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 PulpNpmClient
19
19
  # A remote to sync from. This will override a remote set on repository.
20
20
  attr_accessor :remote
21
21
 
22
- # If ``True``, synchronization will remove all content that is not present in the remote repository. If ``False``, sync will be additive only.
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 PulpNpmClient
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.
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
 
@@ -11,5 +11,5 @@ Generator version: 7.10.0
11
11
  =end
12
12
 
13
13
  module PulpNpmClient
14
- VERSION = '0.10.1'
14
+ VERSION = '0.10.2'
15
15
  end
@@ -60,6 +60,7 @@ describe 'ContentPackagesApi' do
60
60
  # A ViewSet for NpmPackage. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/npm/packages/ Also specify queryset and serializer for NpmPackage.
61
61
  # @param [Hash] opts the optional parameters
62
62
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
63
+ # @option opts [Array<String>] :added_between
63
64
  # @option opts [Integer] :limit Number of results to return per page.
64
65
  # @option opts [String] :name Filter results where name matches value
65
66
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
@@ -71,6 +72,7 @@ describe 'ContentPackagesApi' do
71
72
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
72
73
  # @option opts [String] :pulp_label_select Filter labels by search string
73
74
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
75
+ # @option opts [Array<String>] :removed_between
74
76
  # @option opts [String] :repository_version
75
77
  # @option opts [String] :repository_version_added
76
78
  # @option opts [String] :repository_version_removed
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulp_npm_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.1
4
+ version: 0.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-08-25 00:00:00.000000000 Z
11
+ date: 2026-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -242,45 +242,45 @@ signing_key:
242
242
  specification_version: 4
243
243
  summary: Pulp 3 API Ruby Gem
244
244
  test_files:
245
- - spec/api/remotes_npm_api_spec.rb
245
+ - spec/api/npm_whoami_api_spec.rb
246
+ - spec/api/content_packages_api_spec.rb
247
+ - spec/api/npm_api_spec.rb
248
+ - spec/api/repositories_npm_versions_api_spec.rb
246
249
  - spec/api/npm_ping_api_spec.rb
250
+ - spec/api/remotes_npm_api_spec.rb
247
251
  - spec/api/distributions_npm_api_spec.rb
248
- - spec/api/content_packages_api_spec.rb
249
- - spec/api/npm_whoami_api_spec.rb
250
252
  - spec/api/repositories_npm_api_spec.rb
251
- - spec/api/repositories_npm_versions_api_spec.rb
252
- - spec/api/npm_api_spec.rb
253
- - spec/models/paginatednpm_npm_repository_response_list_spec.rb
254
253
  - spec/models/paginatednpm_npm_remote_response_list_spec.rb
254
+ - spec/models/nested_role_spec.rb
255
+ - spec/models/npm_npm_remote_response_spec.rb
256
+ - spec/models/repository_add_remove_content_spec.rb
255
257
  - spec/models/content_summary_response_spec.rb
256
- - spec/models/npm_npm_distribution_response_spec.rb
257
258
  - spec/models/set_label_response_spec.rb
258
- - spec/models/patchednpm_npm_repository_spec.rb
259
- - spec/models/paginatednpm_npm_distribution_response_list_spec.rb
260
- - spec/models/policy_enum_spec.rb
261
- - spec/models/remote_network_config_response_spec.rb
262
- - spec/models/npm_npm_repository_spec.rb
263
- - spec/models/patchednpm_npm_distribution_spec.rb
264
- - spec/models/nested_role_response_spec.rb
265
- - spec/models/repository_add_remove_content_spec.rb
266
- - spec/models/nested_role_spec.rb
259
+ - spec/models/set_label_spec.rb
267
260
  - spec/models/repository_sync_url_spec.rb
268
- - spec/models/repository_version_response_spec.rb
269
- - spec/models/npm_npm_distribution_spec.rb
261
+ - spec/models/unset_label_response_spec.rb
270
262
  - spec/models/remote_network_config_spec.rb
271
- - spec/models/paginated_repository_version_response_list_spec.rb
272
- - spec/models/npm_package_response_spec.rb
263
+ - spec/models/patchednpm_npm_repository_spec.rb
264
+ - spec/models/npm_npm_repository_spec.rb
273
265
  - spec/models/async_operation_response_spec.rb
274
- - spec/models/patchednpm_npm_remote_spec.rb
275
- - spec/models/repair_spec.rb
266
+ - spec/models/npm_npm_remote_response_hidden_fields_inner_spec.rb
267
+ - spec/models/object_roles_response_spec.rb
268
+ - spec/models/paginated_repository_version_response_list_spec.rb
269
+ - spec/models/policy_enum_spec.rb
276
270
  - spec/models/npm_npm_repository_response_spec.rb
271
+ - spec/models/paginatednpm_npm_repository_response_list_spec.rb
272
+ - spec/models/paginatednpm_npm_distribution_response_list_spec.rb
273
+ - spec/models/patchednpm_npm_distribution_spec.rb
277
274
  - spec/models/npm_npm_remote_spec.rb
278
- - spec/models/unset_label_response_spec.rb
279
275
  - spec/models/unset_label_spec.rb
276
+ - spec/models/patchednpm_npm_remote_spec.rb
280
277
  - spec/models/my_permissions_response_spec.rb
281
- - spec/models/object_roles_response_spec.rb
282
- - spec/models/npm_npm_remote_response_hidden_fields_inner_spec.rb
283
- - spec/models/set_label_spec.rb
284
- - spec/models/npm_npm_remote_response_spec.rb
278
+ - spec/models/remote_network_config_response_spec.rb
279
+ - spec/models/nested_role_response_spec.rb
280
+ - spec/models/repair_spec.rb
281
+ - spec/models/repository_version_response_spec.rb
282
+ - spec/models/npm_npm_distribution_response_spec.rb
283
+ - spec/models/npm_package_response_spec.rb
285
284
  - spec/models/paginatednpm_package_response_list_spec.rb
285
+ - spec/models/npm_npm_distribution_spec.rb
286
286
  - spec/spec_helper.rb