pulp_file_client 1.7.0.dev1617250606 → 1.7.0.dev1617421660
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/FileFileDistribution.md +2 -0
- data/docs/FileFileDistributionResponse.md +2 -0
- data/docs/PatchedfileFileDistribution.md +2 -0
- data/lib/pulp_file_client/models/file_file_distribution.rb +12 -1
- data/lib/pulp_file_client/models/file_file_distribution_response.rb +12 -1
- data/lib/pulp_file_client/models/patchedfile_file_distribution.rb +12 -1
- data/lib/pulp_file_client/version.rb +1 -1
- data/spec/models/file_file_distribution_response_spec.rb +6 -0
- data/spec/models/file_file_distribution_spec.rb +6 -0
- data/spec/models/patchedfile_file_distribution_spec.rb +6 -0
- metadata +31 -31
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a2b36aea7e710eddaee384d277e5f8c82503d4f29ee9523661dd3195233db8e
|
4
|
+
data.tar.gz: 9cc50b5b7861d61047e6960a810fc9d6869329a6fe1fd5c50325c6b261686385
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75ae3f22739c6446a537c4a639c65726a16ff498e916d677b836666140d3294499e4f4bdb63db13945b4a5d793fdf962190558b843febaabc9ef8a54e92d6ab8
|
7
|
+
data.tar.gz: 5d34a1c3e40f434e7af4d4cdaad14d7daaa08408c6fbc9e8905912c9ead2ac0f415bbecfb421297c7230c3bbb710e1eb13004ebc92cdd4a6ad8e8e43f8e9de11
|
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.7.0.
|
10
|
+
- Package version: 1.7.0.dev1617421660
|
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.7.0.
|
27
|
+
gem install ./pulp_file_client-1.7.0.dev1617421660.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_file_client-1.7.0.
|
30
|
+
(for development, run `gem install --dev ./pulp_file_client-1.7.0.dev1617421660.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.7.0.
|
36
|
+
gem 'pulp_file_client', '~> 1.7.0.dev1617421660'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|
8
8
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
9
9
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
10
10
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
11
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
11
12
|
**publication** | **String** | Publication to be served | [optional]
|
12
13
|
|
13
14
|
## Code Sample
|
@@ -19,6 +20,7 @@ instance = PulpFileClient::FileFileDistribution.new(base_path: null,
|
|
19
20
|
content_guard: null,
|
20
21
|
pulp_labels: null,
|
21
22
|
name: null,
|
23
|
+
repository: null,
|
22
24
|
publication: null)
|
23
25
|
```
|
24
26
|
|
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
|
|
11
11
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
12
12
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
13
13
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
14
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
14
15
|
**publication** | **String** | Publication to be served | [optional]
|
15
16
|
|
16
17
|
## Code Sample
|
@@ -25,6 +26,7 @@ instance = PulpFileClient::FileFileDistributionResponse.new(pulp_href: null,
|
|
25
26
|
content_guard: null,
|
26
27
|
pulp_labels: null,
|
27
28
|
name: null,
|
29
|
+
repository: null,
|
28
30
|
publication: null)
|
29
31
|
```
|
30
32
|
|
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|
8
8
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
9
9
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
10
10
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
11
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
11
12
|
**publication** | **String** | Publication to be served | [optional]
|
12
13
|
|
13
14
|
## Code Sample
|
@@ -19,6 +20,7 @@ instance = PulpFileClient::PatchedfileFileDistribution.new(base_path: null,
|
|
19
20
|
content_guard: null,
|
20
21
|
pulp_labels: null,
|
21
22
|
name: null,
|
23
|
+
repository: null,
|
22
24
|
publication: null)
|
23
25
|
```
|
24
26
|
|
@@ -26,6 +26,9 @@ module PulpFileClient
|
|
26
26
|
# A unique name. Ex, `rawhide` and `stable`.
|
27
27
|
attr_accessor :name
|
28
28
|
|
29
|
+
# The latest RepositoryVersion for this Repository will be served.
|
30
|
+
attr_accessor :repository
|
31
|
+
|
29
32
|
# Publication to be served
|
30
33
|
attr_accessor :publication
|
31
34
|
|
@@ -36,6 +39,7 @@ module PulpFileClient
|
|
36
39
|
:'content_guard' => :'content_guard',
|
37
40
|
:'pulp_labels' => :'pulp_labels',
|
38
41
|
:'name' => :'name',
|
42
|
+
:'repository' => :'repository',
|
39
43
|
:'publication' => :'publication'
|
40
44
|
}
|
41
45
|
end
|
@@ -47,6 +51,7 @@ module PulpFileClient
|
|
47
51
|
:'content_guard' => :'String',
|
48
52
|
:'pulp_labels' => :'Object',
|
49
53
|
:'name' => :'String',
|
54
|
+
:'repository' => :'String',
|
50
55
|
:'publication' => :'String'
|
51
56
|
}
|
52
57
|
end
|
@@ -55,6 +60,7 @@ module PulpFileClient
|
|
55
60
|
def self.openapi_nullable
|
56
61
|
Set.new([
|
57
62
|
:'content_guard',
|
63
|
+
:'repository',
|
58
64
|
:'publication'
|
59
65
|
])
|
60
66
|
end
|
@@ -90,6 +96,10 @@ module PulpFileClient
|
|
90
96
|
self.name = attributes[:'name']
|
91
97
|
end
|
92
98
|
|
99
|
+
if attributes.key?(:'repository')
|
100
|
+
self.repository = attributes[:'repository']
|
101
|
+
end
|
102
|
+
|
93
103
|
if attributes.key?(:'publication')
|
94
104
|
self.publication = attributes[:'publication']
|
95
105
|
end
|
@@ -127,6 +137,7 @@ module PulpFileClient
|
|
127
137
|
content_guard == o.content_guard &&
|
128
138
|
pulp_labels == o.pulp_labels &&
|
129
139
|
name == o.name &&
|
140
|
+
repository == o.repository &&
|
130
141
|
publication == o.publication
|
131
142
|
end
|
132
143
|
|
@@ -139,7 +150,7 @@ module PulpFileClient
|
|
139
150
|
# Calculates hash code according to all attributes.
|
140
151
|
# @return [Integer] Hash code
|
141
152
|
def hash
|
142
|
-
[base_path, content_guard, pulp_labels, name, publication].hash
|
153
|
+
[base_path, content_guard, pulp_labels, name, repository, publication].hash
|
143
154
|
end
|
144
155
|
|
145
156
|
# Builds the object from hash
|
@@ -34,6 +34,9 @@ module PulpFileClient
|
|
34
34
|
# A unique name. Ex, `rawhide` and `stable`.
|
35
35
|
attr_accessor :name
|
36
36
|
|
37
|
+
# The latest RepositoryVersion for this Repository will be served.
|
38
|
+
attr_accessor :repository
|
39
|
+
|
37
40
|
# Publication to be served
|
38
41
|
attr_accessor :publication
|
39
42
|
|
@@ -47,6 +50,7 @@ module PulpFileClient
|
|
47
50
|
:'content_guard' => :'content_guard',
|
48
51
|
:'pulp_labels' => :'pulp_labels',
|
49
52
|
:'name' => :'name',
|
53
|
+
:'repository' => :'repository',
|
50
54
|
:'publication' => :'publication'
|
51
55
|
}
|
52
56
|
end
|
@@ -61,6 +65,7 @@ module PulpFileClient
|
|
61
65
|
:'content_guard' => :'String',
|
62
66
|
:'pulp_labels' => :'Object',
|
63
67
|
:'name' => :'String',
|
68
|
+
:'repository' => :'String',
|
64
69
|
:'publication' => :'String'
|
65
70
|
}
|
66
71
|
end
|
@@ -69,6 +74,7 @@ module PulpFileClient
|
|
69
74
|
def self.openapi_nullable
|
70
75
|
Set.new([
|
71
76
|
:'content_guard',
|
77
|
+
:'repository',
|
72
78
|
:'publication'
|
73
79
|
])
|
74
80
|
end
|
@@ -116,6 +122,10 @@ module PulpFileClient
|
|
116
122
|
self.name = attributes[:'name']
|
117
123
|
end
|
118
124
|
|
125
|
+
if attributes.key?(:'repository')
|
126
|
+
self.repository = attributes[:'repository']
|
127
|
+
end
|
128
|
+
|
119
129
|
if attributes.key?(:'publication')
|
120
130
|
self.publication = attributes[:'publication']
|
121
131
|
end
|
@@ -156,6 +166,7 @@ module PulpFileClient
|
|
156
166
|
content_guard == o.content_guard &&
|
157
167
|
pulp_labels == o.pulp_labels &&
|
158
168
|
name == o.name &&
|
169
|
+
repository == o.repository &&
|
159
170
|
publication == o.publication
|
160
171
|
end
|
161
172
|
|
@@ -168,7 +179,7 @@ module PulpFileClient
|
|
168
179
|
# Calculates hash code according to all attributes.
|
169
180
|
# @return [Integer] Hash code
|
170
181
|
def hash
|
171
|
-
[pulp_href, pulp_created, base_path, base_url, content_guard, pulp_labels, name, publication].hash
|
182
|
+
[pulp_href, pulp_created, base_path, base_url, content_guard, pulp_labels, name, repository, publication].hash
|
172
183
|
end
|
173
184
|
|
174
185
|
# Builds the object from hash
|
@@ -26,6 +26,9 @@ module PulpFileClient
|
|
26
26
|
# A unique name. Ex, `rawhide` and `stable`.
|
27
27
|
attr_accessor :name
|
28
28
|
|
29
|
+
# The latest RepositoryVersion for this Repository will be served.
|
30
|
+
attr_accessor :repository
|
31
|
+
|
29
32
|
# Publication to be served
|
30
33
|
attr_accessor :publication
|
31
34
|
|
@@ -36,6 +39,7 @@ module PulpFileClient
|
|
36
39
|
:'content_guard' => :'content_guard',
|
37
40
|
:'pulp_labels' => :'pulp_labels',
|
38
41
|
:'name' => :'name',
|
42
|
+
:'repository' => :'repository',
|
39
43
|
:'publication' => :'publication'
|
40
44
|
}
|
41
45
|
end
|
@@ -47,6 +51,7 @@ module PulpFileClient
|
|
47
51
|
:'content_guard' => :'String',
|
48
52
|
:'pulp_labels' => :'Object',
|
49
53
|
:'name' => :'String',
|
54
|
+
:'repository' => :'String',
|
50
55
|
:'publication' => :'String'
|
51
56
|
}
|
52
57
|
end
|
@@ -55,6 +60,7 @@ module PulpFileClient
|
|
55
60
|
def self.openapi_nullable
|
56
61
|
Set.new([
|
57
62
|
:'content_guard',
|
63
|
+
:'repository',
|
58
64
|
:'publication'
|
59
65
|
])
|
60
66
|
end
|
@@ -90,6 +96,10 @@ module PulpFileClient
|
|
90
96
|
self.name = attributes[:'name']
|
91
97
|
end
|
92
98
|
|
99
|
+
if attributes.key?(:'repository')
|
100
|
+
self.repository = attributes[:'repository']
|
101
|
+
end
|
102
|
+
|
93
103
|
if attributes.key?(:'publication')
|
94
104
|
self.publication = attributes[:'publication']
|
95
105
|
end
|
@@ -117,6 +127,7 @@ module PulpFileClient
|
|
117
127
|
content_guard == o.content_guard &&
|
118
128
|
pulp_labels == o.pulp_labels &&
|
119
129
|
name == o.name &&
|
130
|
+
repository == o.repository &&
|
120
131
|
publication == o.publication
|
121
132
|
end
|
122
133
|
|
@@ -129,7 +140,7 @@ module PulpFileClient
|
|
129
140
|
# Calculates hash code according to all attributes.
|
130
141
|
# @return [Integer] Hash code
|
131
142
|
def hash
|
132
|
-
[base_path, content_guard, pulp_labels, name, publication].hash
|
143
|
+
[base_path, content_guard, pulp_labels, name, repository, publication].hash
|
133
144
|
end
|
134
145
|
|
135
146
|
# Builds the object from hash
|
@@ -74,6 +74,12 @@ describe 'FileFileDistributionResponse' do
|
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
77
|
+
describe 'test attribute "repository"' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
77
83
|
describe 'test attribute "publication"' do
|
78
84
|
it 'should work' do
|
79
85
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -56,6 +56,12 @@ describe 'FileFileDistribution' do
|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
+
describe 'test attribute "repository"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
59
65
|
describe 'test attribute "publication"' do
|
60
66
|
it 'should work' do
|
61
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -56,6 +56,12 @@ describe 'PatchedfileFileDistribution' do
|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
+
describe 'test attribute "repository"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
59
65
|
describe 'test attribute "publication"' do
|
60
66
|
it 'should work' do
|
61
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
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.7.0.
|
4
|
+
version: 1.7.0.dev1617421660
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-04-
|
11
|
+
date: 2021-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -234,48 +234,48 @@ signing_key:
|
|
234
234
|
specification_version: 4
|
235
235
|
summary: Pulp 3 API Ruby Gem
|
236
236
|
test_files:
|
237
|
+
- spec/api/exporters_file_exports_api_spec.rb
|
237
238
|
- spec/api/repositories_file_versions_api_spec.rb
|
239
|
+
- spec/api/distributions_file_api_spec.rb
|
240
|
+
- spec/api/exporters_filesystem_api_spec.rb
|
238
241
|
- spec/api/content_files_api_spec.rb
|
239
242
|
- spec/api/repositories_file_api_spec.rb
|
240
|
-
- spec/api/exporters_file_exports_api_spec.rb
|
241
243
|
- spec/api/remotes_file_api_spec.rb
|
242
|
-
- spec/api/distributions_file_api_spec.rb
|
243
244
|
- spec/api/publications_file_api_spec.rb
|
244
|
-
- spec/api/exporters_filesystem_api_spec.rb
|
245
245
|
- spec/api_client_spec.rb
|
246
246
|
- spec/configuration_spec.rb
|
247
|
-
- spec/models/
|
248
|
-
- spec/models/repository_add_remove_content_spec.rb
|
249
|
-
- spec/models/file_file_distribution_response_spec.rb
|
250
|
-
- spec/models/file_file_repository_response_spec.rb
|
251
|
-
- spec/models/file_file_filesystem_exporter_spec.rb
|
252
|
-
- spec/models/file_file_content_spec.rb
|
253
|
-
- spec/models/async_operation_response_spec.rb
|
254
|
-
- spec/models/paginatedfile_file_remote_response_list_spec.rb
|
255
|
-
- spec/models/file_file_publication_response_spec.rb
|
256
|
-
- spec/models/file_file_remote_response_spec.rb
|
247
|
+
- spec/models/repository_sync_url_spec.rb
|
257
248
|
- spec/models/file_file_filesystem_exporter_response_spec.rb
|
258
|
-
- spec/models/paginated_export_response_list_spec.rb
|
259
|
-
- spec/models/policy_enum_spec.rb
|
260
|
-
- spec/models/repository_version_spec.rb
|
261
|
-
- spec/models/paginatedfile_file_publication_response_list_spec.rb
|
262
|
-
- spec/models/export_response_spec.rb
|
263
|
-
- spec/models/content_summary_response_spec.rb
|
264
249
|
- spec/models/repository_version_response_spec.rb
|
265
|
-
- spec/models/file_file_distribution_spec.rb
|
266
|
-
- spec/models/publication_export_spec.rb
|
267
|
-
- spec/models/patchedfile_file_distribution_spec.rb
|
268
|
-
- spec/models/file_file_remote_spec.rb
|
269
250
|
- spec/models/paginatedfile_file_content_response_list_spec.rb
|
270
|
-
- spec/models/
|
271
|
-
- spec/models/
|
272
|
-
- spec/models/repository_sync_url_spec.rb
|
273
|
-
- spec/models/file_file_content_response_spec.rb
|
274
|
-
- spec/models/patchedfile_file_filesystem_exporter_spec.rb
|
251
|
+
- spec/models/file_file_repository_spec.rb
|
252
|
+
- spec/models/publication_export_spec.rb
|
275
253
|
- spec/models/file_file_publication_spec.rb
|
254
|
+
- spec/models/content_summary_response_spec.rb
|
255
|
+
- spec/models/patchedfile_file_filesystem_exporter_spec.rb
|
256
|
+
- spec/models/paginatedfile_file_filesystem_exporter_response_list_spec.rb
|
276
257
|
- spec/models/paginatedfile_file_distribution_response_list_spec.rb
|
258
|
+
- spec/models/paginatedfile_file_remote_response_list_spec.rb
|
259
|
+
- spec/models/patchedfile_file_repository_spec.rb
|
260
|
+
- spec/models/file_file_publication_response_spec.rb
|
261
|
+
- spec/models/export_response_spec.rb
|
262
|
+
- spec/models/paginatedfile_file_publication_response_list_spec.rb
|
277
263
|
- spec/models/content_summary_spec.rb
|
278
|
-
- spec/models/
|
264
|
+
- spec/models/file_file_content_spec.rb
|
265
|
+
- spec/models/repository_version_spec.rb
|
266
|
+
- spec/models/paginated_export_response_list_spec.rb
|
267
|
+
- spec/models/file_file_remote_response_spec.rb
|
279
268
|
- spec/models/paginatedfile_file_repository_response_list_spec.rb
|
269
|
+
- spec/models/policy_enum_spec.rb
|
270
|
+
- spec/models/file_file_distribution_response_spec.rb
|
271
|
+
- spec/models/patchedfile_file_distribution_spec.rb
|
272
|
+
- spec/models/repository_add_remove_content_spec.rb
|
273
|
+
- spec/models/async_operation_response_spec.rb
|
280
274
|
- spec/models/paginated_repository_version_response_list_spec.rb
|
275
|
+
- spec/models/file_file_content_response_spec.rb
|
276
|
+
- spec/models/patchedfile_file_remote_spec.rb
|
277
|
+
- spec/models/file_file_repository_response_spec.rb
|
278
|
+
- spec/models/file_file_filesystem_exporter_spec.rb
|
279
|
+
- spec/models/file_file_remote_spec.rb
|
280
|
+
- spec/models/file_file_distribution_spec.rb
|
281
281
|
- spec/spec_helper.rb
|