pulp_file_client 1.12.0.dev1659847998 → 1.12.0.dev1660105607
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 +4 -4
- data/README.md +4 -4
- data/docs/RepositoriesFileApi.md +2 -0
- data/lib/pulp_file_client/api/repositories_file_api.rb +3 -0
- data/lib/pulp_file_client/api_client.rb +1 -1
- data/lib/pulp_file_client/version.rb +1 -1
- data/pulp_file_client.gemspec +1 -1
- data/spec/api/repositories_file_api_spec.rb +1 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32c32642ea409d7dcce2066c5337b37368477e685c180996158e84beb75ee832
|
4
|
+
data.tar.gz: 6dbadbbc3becd352454a90c9efcb6e742f1312e0947e313aa4f3a2508e8f31fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 684f6af518a3f1e1c9588c9d9c4bec92c6859501f3808db0ef774ad2edb12dcd58b8cb4efd672eea159ed46986d73930afc1c36f258638ccc7cfff5c97f21f52
|
7
|
+
data.tar.gz: 6389f37f10c43da4d721f0c0aeacb287a41859817d54bbcdc006bfdc4d76e4ff42a2475e083e41898dd7eb053bdbb446a857564ee5030b382678af2cc2d8675f
|
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.
|
10
|
+
- Package version: 1.12.0.dev1660105607
|
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.
|
27
|
+
gem install ./pulp_file_client-1.12.0.dev1660105607.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_file_client-1.12.0.
|
30
|
+
(for development, run `gem install --dev ./pulp_file_client-1.12.0.dev1660105607.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.
|
36
|
+
gem 'pulp_file_client', '~> 1.12.0.dev1660105607'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
data/docs/RepositoriesFileApi.md
CHANGED
@@ -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<String>**](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
|
|
@@ -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::
|
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
|
data/pulp_file_client.gemspec
CHANGED
@@ -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', '<
|
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.
|
4
|
+
version: 1.12.0.dev1660105607
|
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-
|
11
|
+
date: 2022-08-10 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:
|
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:
|
32
|
+
version: '2.0'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: json
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|