pulp_file_client 1.12.0.dev1659933602 → 1.12.0.dev1660192802

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of pulp_file_client might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 608ca392fa1f5606d38ee8ec4c3f300c7c2e29944dece47f4ef117fd890be15d
4
- data.tar.gz: e4e0e22a6fc6c9d72cd97579faa366b655d4694b9e5de8f7fe25b2f7948ada89
3
+ metadata.gz: 16d9ff548eb50cfbe489a6f5db19d9c180c66c690ad940709b64f9b198281f81
4
+ data.tar.gz: 1bcce8a87721ee0227f149136b46075e2ed8cb26c5f0bf9d12b9f2a9d5d72c7c
5
5
  SHA512:
6
- metadata.gz: 930bba6bf665398d1da953821ed8c2308e9d0ff0d39d08652ba09429d14b709cc69bb173bbdc874fd3fe3777beb4864928cfdb76d4921ec970332c071d7be126
7
- data.tar.gz: 3959ccb72737148d5917240aba0d1b603c69d7b526989fbf6420254cc50f5ab1bad3f7ba57f21b460db5f4e562b026bd1f41f9e030a2ecfecb8c86f9bf9f4bfe
6
+ metadata.gz: 73f091daa2170d7a97fbf21952828c2aadff7dbe03c11fb9b4cc34d90fc7a7aa5cf3b319a176a60aee84dce839b0036845d6ed1a4b9e2b4011bd055bd7e164e6
7
+ data.tar.gz: f0e114194535b5f1a2bec85d371a8b56be24124c144b27a4ed5116311028e5bef784b542faacbd73ecaeda0097ae70847a00269e019177a36ec84df0eb503f3e
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: 1.12.0.dev1659933602
10
+ - Package version: 1.12.0.dev1660192802
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_file_client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./pulp_file_client-1.12.0.dev1659933602.gem
27
+ gem install ./pulp_file_client-1.12.0.dev1660192802.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_file_client-1.12.0.dev1659933602.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_file_client-1.12.0.dev1660192802.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_file_client', '~> 1.12.0.dev1659933602'
36
+ gem 'pulp_file_client', '~> 1.12.0.dev1660192802'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -210,6 +210,7 @@ opts = {
210
210
  offset: 56, # Integer | The initial index from which to return the results.
211
211
  ordering: ['ordering_example'], # Array<String> | Ordering
212
212
  pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
213
+ remote: 'remote_example', # String | Foreign Key referenced by HREF
213
214
  fields: 'fields_example', # String | A list of fields to include in the response.
214
215
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
215
216
  }
@@ -237,6 +238,7 @@ Name | Type | Description | Notes
237
238
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
238
239
  **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering | [optional]
239
240
  **pulp_label_select** | **String**| Filter labels by search string | [optional]
241
+ **remote** | [**String**](.md)| Foreign Key referenced by HREF | [optional]
240
242
  **fields** | **String**| A list of fields to include in the response. | [optional]
241
243
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
242
244
 
@@ -225,6 +225,7 @@ module PulpFileClient
225
225
  # @option opts [Integer] :offset The initial index from which to return the results.
226
226
  # @option opts [Array<String>] :ordering Ordering
227
227
  # @option opts [String] :pulp_label_select Filter labels by search string
228
+ # @option opts [String] :remote Foreign Key referenced by HREF
228
229
  # @option opts [String] :fields A list of fields to include in the response.
229
230
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
230
231
  # @return [PaginatedfileFileRepositoryResponseList]
@@ -245,6 +246,7 @@ module PulpFileClient
245
246
  # @option opts [Integer] :offset The initial index from which to return the results.
246
247
  # @option opts [Array<String>] :ordering Ordering
247
248
  # @option opts [String] :pulp_label_select Filter labels by search string
249
+ # @option opts [String] :remote Foreign Key referenced by HREF
248
250
  # @option opts [String] :fields A list of fields to include in the response.
249
251
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
250
252
  # @return [Array<(PaginatedfileFileRepositoryResponseList, Integer, Hash)>] PaginatedfileFileRepositoryResponseList data, response status code and response headers
@@ -270,6 +272,7 @@ module PulpFileClient
270
272
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
271
273
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
272
274
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
275
+ query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
273
276
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
274
277
  query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
275
278
 
@@ -142,7 +142,7 @@ module PulpFileClient
142
142
  if @api_client.config.client_side_validation && file_file_repository_href.nil?
143
143
  fail ArgumentError, "Missing the required parameter 'file_file_repository_href' when calling RepositoriesFileVersionsApi.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 PulpFileClient
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 PulpFileClient
14
- VERSION = '1.12.0.dev1659933602'
14
+ VERSION = '1.12.0.dev1660192802'
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'
@@ -81,6 +81,7 @@ describe 'RepositoriesFileApi' do
81
81
  # @option opts [Integer] :offset The initial index from which to return the results.
82
82
  # @option opts [Array<String>] :ordering Ordering
83
83
  # @option opts [String] :pulp_label_select Filter labels by search string
84
+ # @option opts [String] :remote Foreign Key referenced by HREF
84
85
  # @option opts [String] :fields A list of fields to include in the response.
85
86
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
86
87
  # @return [PaginatedfileFileRepositoryResponseList]
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: 1.12.0.dev1659933602
4
+ version: 1.12.0.dev1660192802
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