pulp_ostree_client 2.0.0a7.dev1659931361 → 2.0.0a7.dev1660193254
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pulp_ostree_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/RepositoriesOstreeApi.md +2 -0
- data/lib/pulp_ostree_client/api/repositories_ostree_api.rb +3 -0
- data/lib/pulp_ostree_client/api/repositories_ostree_versions_api.rb +1 -1
- data/lib/pulp_ostree_client/api_client.rb +1 -1
- data/lib/pulp_ostree_client/version.rb +1 -1
- data/pulp_ostree_client.gemspec +1 -1
- data/spec/api/repositories_ostree_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: ea49d22cb19d6d0cd11621da2fd40de768cd7c530bb7d59c1ee89759ed911faf
|
4
|
+
data.tar.gz: c5c6a95010583158676d840a02af62d947312b090e137353c896289c958aae6a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1abe9d0be92efa3748b44115d307dc43cba8b9b65edbe7f264b16b1794c03227d1006c0540733bbb3a2cc8351477851e534b885ff39ff3e9eee57b588181e87d
|
7
|
+
data.tar.gz: 9c60a057e4ef1787b59413b83c19eb5618c53e3a1fb13e88a4fc0d5496974348b65d7f232f759568c3282561484bd2d69cc7e203c321213ab7fb2d975df69504
|
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: 2.0.0a7.
|
10
|
+
- Package version: 2.0.0a7.dev1660193254
|
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_ostree_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_ostree_client-2.0.0a7.
|
27
|
+
gem install ./pulp_ostree_client-2.0.0a7.dev1660193254.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_ostree_client-2.0.0a7.
|
30
|
+
(for development, run `gem install --dev ./pulp_ostree_client-2.0.0a7.dev1660193254.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_ostree_client', '~> 2.0.0a7.
|
36
|
+
gem 'pulp_ostree_client', '~> 2.0.0a7.dev1660193254'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -264,6 +264,7 @@ opts = {
|
|
264
264
|
offset: 56, # Integer | The initial index from which to return the results.
|
265
265
|
ordering: ['ordering_example'], # Array<String> | Ordering
|
266
266
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
267
|
+
remote: 'remote_example', # String | Foreign Key referenced by HREF
|
267
268
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
268
269
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
269
270
|
}
|
@@ -291,6 +292,7 @@ Name | Type | Description | Notes
|
|
291
292
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
292
293
|
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
293
294
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
295
|
+
**remote** | [**String**](.md)| Foreign Key referenced by HREF | [optional]
|
294
296
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
295
297
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
296
298
|
|
@@ -297,6 +297,7 @@ module PulpOstreeClient
|
|
297
297
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
298
298
|
# @option opts [Array<String>] :ordering Ordering
|
299
299
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
300
|
+
# @option opts [String] :remote Foreign Key referenced by HREF
|
300
301
|
# @option opts [String] :fields A list of fields to include in the response.
|
301
302
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
302
303
|
# @return [PaginatedostreeOstreeRepositoryResponseList]
|
@@ -317,6 +318,7 @@ module PulpOstreeClient
|
|
317
318
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
318
319
|
# @option opts [Array<String>] :ordering Ordering
|
319
320
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
321
|
+
# @option opts [String] :remote Foreign Key referenced by HREF
|
320
322
|
# @option opts [String] :fields A list of fields to include in the response.
|
321
323
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
322
324
|
# @return [Array<(PaginatedostreeOstreeRepositoryResponseList, Integer, Hash)>] PaginatedostreeOstreeRepositoryResponseList data, response status code and response headers
|
@@ -342,6 +344,7 @@ module PulpOstreeClient
|
|
342
344
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
343
345
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
344
346
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
347
|
+
query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
|
345
348
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
346
349
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
347
350
|
|
@@ -142,7 +142,7 @@ module PulpOstreeClient
|
|
142
142
|
if @api_client.config.client_side_validation && ostree_ostree_repository_href.nil?
|
143
143
|
fail ArgumentError, "Missing the required parameter 'ostree_ostree_repository_href' when calling RepositoriesOstreeVersionsApi.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 PulpOstreeClient
|
|
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_ostree_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'
|
@@ -95,6 +95,7 @@ describe 'RepositoriesOstreeApi' do
|
|
95
95
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
96
96
|
# @option opts [Array<String>] :ordering Ordering
|
97
97
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
98
|
+
# @option opts [String] :remote Foreign Key referenced by HREF
|
98
99
|
# @option opts [String] :fields A list of fields to include in the response.
|
99
100
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
100
101
|
# @return [PaginatedostreeOstreeRepositoryResponseList]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_ostree_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0a7.
|
4
|
+
version: 2.0.0a7.dev1660193254
|
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-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:
|
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
|