pulp_npm_client 0.1.0a5.dev1659933075 → 0.1.0a5.dev1660191382

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b0bdb72702c935306b86ea19e587f73cd133b19aaeeffb81d3f7710a790df4ac
4
- data.tar.gz: 230f1521ffbe7e2973bc928314557d41208726260c23c63d610616ddaafa2bc5
3
+ metadata.gz: ee2aaf93fd04b3d36ddcc5195aa8e1583b0d09e56abac09e0dc5c35eef078800
4
+ data.tar.gz: 0c5e8f06ba060836fab301fd86c7bbba1317b4a93278681b97231b16672ad1f8
5
5
  SHA512:
6
- metadata.gz: 691fe0548d26df3d519b63e672ab19f8af13209ff4e044acaad30c9b27c86fe37d43293e2e5bab767e7aedc26a140116e36194a6e9c8eabd7093f9861eab015b
7
- data.tar.gz: f269479dd35c1c7715303b4630f7396e112958b4dae6a5617e17e9beed9ec231c568da9f6342e69c95afa696e5c86a6c1866c09ad3117831f5560282f040e683
6
+ metadata.gz: fe51323b39b59568e5b7675dbd89af62fc6a965fbfcd2a0f321eaf6f654a2790f093b708a3411715b7aed03fad772be10228bd41fb4d6992bfc2468dfb5f318c
7
+ data.tar.gz: f87f60dda6b3cee3e20bd76612b98febe1358cd1da4a84ec5f0ce127f2c87dc7427d28e944f2797f1ce6b7fec1c64404af2964045f5131eeb2dc4852fdc7be20
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.1.0a5.dev1659933075
10
+ - Package version: 0.1.0a5.dev1660191382
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
13
13
 
@@ -24,16 +24,16 @@ gem build pulp_npm_client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./pulp_npm_client-0.1.0a5.dev1659933075.gem
27
+ gem install ./pulp_npm_client-0.1.0a5.dev1660191382.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_npm_client-0.1.0a5.dev1659933075.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_npm_client-0.1.0a5.dev1660191382.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'pulp_npm_client', '~> 0.1.0a5.dev1659933075'
36
+ gem 'pulp_npm_client', '~> 0.1.0a5.dev1660191382'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -152,6 +152,7 @@ opts = {
152
152
  offset: 56, # Integer | The initial index from which to return the results.
153
153
  ordering: ['ordering_example'], # Array<String> | Ordering
154
154
  pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
155
+ remote: 'remote_example', # String | Foreign Key referenced by HREF
155
156
  fields: 'fields_example', # String | A list of fields to include in the response.
156
157
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
157
158
  }
@@ -179,6 +180,7 @@ Name | Type | Description | Notes
179
180
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
180
181
  **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering | [optional]
181
182
  **pulp_label_select** | **String**| Filter labels by search string | [optional]
183
+ **remote** | [**String**](.md)| Foreign Key referenced by HREF | [optional]
182
184
  **fields** | **String**| A list of fields to include in the response. | [optional]
183
185
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
184
186
 
@@ -157,6 +157,7 @@ module PulpNpmClient
157
157
  # @option opts [Integer] :offset The initial index from which to return the results.
158
158
  # @option opts [Array<String>] :ordering Ordering
159
159
  # @option opts [String] :pulp_label_select Filter labels by search string
160
+ # @option opts [String] :remote Foreign Key referenced by HREF
160
161
  # @option opts [String] :fields A list of fields to include in the response.
161
162
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
162
163
  # @return [PaginatednpmNpmRepositoryResponseList]
@@ -177,6 +178,7 @@ module PulpNpmClient
177
178
  # @option opts [Integer] :offset The initial index from which to return the results.
178
179
  # @option opts [Array<String>] :ordering Ordering
179
180
  # @option opts [String] :pulp_label_select Filter labels by search string
181
+ # @option opts [String] :remote Foreign Key referenced by HREF
180
182
  # @option opts [String] :fields A list of fields to include in the response.
181
183
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
182
184
  # @return [Array<(PaginatednpmNpmRepositoryResponseList, Integer, Hash)>] PaginatednpmNpmRepositoryResponseList data, response status code and response headers
@@ -202,6 +204,7 @@ module PulpNpmClient
202
204
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
203
205
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
204
206
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
207
+ query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
205
208
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
206
209
  query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
207
210
 
@@ -142,7 +142,7 @@ module PulpNpmClient
142
142
  if @api_client.config.client_side_validation && npm_npm_repository_href.nil?
143
143
  fail ArgumentError, "Missing the required parameter 'npm_npm_repository_href' when calling RepositoriesNpmVersionsApi.list"
144
144
  end
145
- allowable_values = ["-added_memberships", "-base_version", "-complete", "-counts", "-distribution", "-group_roles", "-number", "-pk", "-publication", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-removed_memberships", "-repository", "-user_roles", "-versions", "added_memberships", "base_version", "complete", "counts", "distribution", "group_roles", "number", "pk", "publication", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "removed_memberships", "repository", "user_roles", "versions"]
145
+ allowable_values = ["-added_memberships", "-base_version", "-complete", "-counts", "-distribution", "-group_roles", "-info", "-number", "-pk", "-publication", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-removed_memberships", "-repository", "-user_roles", "-versions", "added_memberships", "base_version", "complete", "counts", "distribution", "group_roles", "info", "number", "pk", "publication", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "removed_memberships", "repository", "user_roles", "versions"]
146
146
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
147
147
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
148
148
  end
@@ -154,7 +154,7 @@ module PulpNpmClient
154
154
  case value
155
155
  when ::File, ::Tempfile
156
156
  # TODO hardcode to application/octet-stream, need better way to detect content type
157
- data[key] = Faraday::UploadIO.new(value.path, 'application/octet-stream', value.path)
157
+ data[key] = Faraday::FilePart.new(value.path, 'application/octet-stream', value.path)
158
158
  when ::Array, nil
159
159
  # let Faraday handle Array and nil parameters
160
160
  data[key] = value
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpNpmClient
14
- VERSION = '0.1.0a5.dev1659933075'
14
+ VERSION = '0.1.0a5.dev1660191382'
15
15
  end
@@ -27,7 +27,7 @@ Gem::Specification.new do |s|
27
27
  s.license = 'GPLv2+'
28
28
  s.required_ruby_version = ">= 1.9"
29
29
 
30
- s.add_runtime_dependency 'faraday', '>= 0.17', '< 1.9.0'
30
+ s.add_runtime_dependency 'faraday', '>= 0.17', '< 2.0'
31
31
  s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
32
32
 
33
33
  s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
@@ -69,6 +69,7 @@ describe 'RepositoriesNpmApi' do
69
69
  # @option opts [Integer] :offset The initial index from which to return the results.
70
70
  # @option opts [Array<String>] :ordering Ordering
71
71
  # @option opts [String] :pulp_label_select Filter labels by search string
72
+ # @option opts [String] :remote Foreign Key referenced by HREF
72
73
  # @option opts [String] :fields A list of fields to include in the response.
73
74
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
74
75
  # @return [PaginatednpmNpmRepositoryResponseList]
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.1.0a5.dev1659933075
4
+ version: 0.1.0a5.dev1660191382
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-08 00:00:00.000000000 Z
11
+ date: 2022-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '0.17'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: 1.9.0
22
+ version: '2.0'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '0.17'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: 1.9.0
32
+ version: '2.0'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: json
35
35
  requirement: !ruby/object:Gem::Requirement