pulp_file_client 3.57.1 → 3.58.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7d0c74c408290daf66af84976578466f4436c8495646a0f1e084f51bb7a7b45c
|
|
4
|
+
data.tar.gz: 9abafcbf268a46587ae297933aa1bd6d384a9995265dc7edf094ddc5e85ad6a1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 86b58762afa704b4c648279edd66f27ca4eef61566b9b94e0d0e9534becd08beb6aaec6989013da0b6030d95a85ee6d62ecf2b531f9270d1733fa7383acb0845
|
|
7
|
+
data.tar.gz: 33dee60aad85cec958cbbc6fe4bf4eb59d425268862867a2cc3fa1d696cd9ab592cfb75658f8e31dac6d9e4a880cd0d930a046f837aa25729e468548821c3d97
|
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: 3.
|
|
10
|
+
- Package version: 3.58.0
|
|
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-3.
|
|
27
|
+
gem install ./pulp_file_client-3.58.0.gem
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
(for development, run `gem install --dev ./pulp_file_client-3.
|
|
30
|
+
(for development, run `gem install --dev ./pulp_file_client-3.58.0.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', '~> 3.
|
|
36
|
+
gem 'pulp_file_client', '~> 3.58.0'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
|
11
11
|
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
|
12
12
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
|
13
|
+
**no_content_change_since** | **String** | Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. | [optional] [readonly]
|
|
13
14
|
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
|
14
15
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
15
16
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
@@ -27,6 +28,7 @@ instance = PulpFileClient::FileFileDistributionResponse.new(pulp_href: null,
|
|
|
27
28
|
base_path: null,
|
|
28
29
|
base_url: null,
|
|
29
30
|
content_guard: null,
|
|
31
|
+
no_content_change_since: null,
|
|
30
32
|
hidden: null,
|
|
31
33
|
pulp_labels: null,
|
|
32
34
|
name: null,
|
|
@@ -32,6 +32,9 @@ module PulpFileClient
|
|
|
32
32
|
# An optional content-guard.
|
|
33
33
|
attr_accessor :content_guard
|
|
34
34
|
|
|
35
|
+
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
36
|
+
attr_accessor :no_content_change_since
|
|
37
|
+
|
|
35
38
|
# Whether this distribution should be shown in the content app.
|
|
36
39
|
attr_accessor :hidden
|
|
37
40
|
|
|
@@ -55,6 +58,7 @@ module PulpFileClient
|
|
|
55
58
|
:'base_path' => :'base_path',
|
|
56
59
|
:'base_url' => :'base_url',
|
|
57
60
|
:'content_guard' => :'content_guard',
|
|
61
|
+
:'no_content_change_since' => :'no_content_change_since',
|
|
58
62
|
:'hidden' => :'hidden',
|
|
59
63
|
:'pulp_labels' => :'pulp_labels',
|
|
60
64
|
:'name' => :'name',
|
|
@@ -72,6 +76,7 @@ module PulpFileClient
|
|
|
72
76
|
:'base_path' => :'String',
|
|
73
77
|
:'base_url' => :'String',
|
|
74
78
|
:'content_guard' => :'String',
|
|
79
|
+
:'no_content_change_since' => :'String',
|
|
75
80
|
:'hidden' => :'Boolean',
|
|
76
81
|
:'pulp_labels' => :'Hash<String, String>',
|
|
77
82
|
:'name' => :'String',
|
|
@@ -128,6 +133,10 @@ module PulpFileClient
|
|
|
128
133
|
self.content_guard = attributes[:'content_guard']
|
|
129
134
|
end
|
|
130
135
|
|
|
136
|
+
if attributes.key?(:'no_content_change_since')
|
|
137
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
138
|
+
end
|
|
139
|
+
|
|
131
140
|
if attributes.key?(:'hidden')
|
|
132
141
|
self.hidden = attributes[:'hidden']
|
|
133
142
|
else
|
|
@@ -187,6 +196,7 @@ module PulpFileClient
|
|
|
187
196
|
base_path == o.base_path &&
|
|
188
197
|
base_url == o.base_url &&
|
|
189
198
|
content_guard == o.content_guard &&
|
|
199
|
+
no_content_change_since == o.no_content_change_since &&
|
|
190
200
|
hidden == o.hidden &&
|
|
191
201
|
pulp_labels == o.pulp_labels &&
|
|
192
202
|
name == o.name &&
|
|
@@ -203,7 +213,7 @@ module PulpFileClient
|
|
|
203
213
|
# Calculates hash code according to all attributes.
|
|
204
214
|
# @return [Integer] Hash code
|
|
205
215
|
def hash
|
|
206
|
-
[pulp_href, pulp_created, pulp_last_updated, base_path, base_url, content_guard, hidden, pulp_labels, name, repository, publication].hash
|
|
216
|
+
[pulp_href, pulp_created, pulp_last_updated, base_path, base_url, content_guard, no_content_change_since, hidden, pulp_labels, name, repository, publication].hash
|
|
207
217
|
end
|
|
208
218
|
|
|
209
219
|
# Builds the object from hash
|
|
@@ -68,6 +68,12 @@ describe 'FileFileDistributionResponse' do
|
|
|
68
68
|
end
|
|
69
69
|
end
|
|
70
70
|
|
|
71
|
+
describe 'test attribute "no_content_change_since"' do
|
|
72
|
+
it 'should work' do
|
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
|
|
71
77
|
describe 'test attribute "hidden"' do
|
|
72
78
|
it 'should work' do
|
|
73
79
|
# 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: 3.
|
|
4
|
+
version: 3.58.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-08-
|
|
11
|
+
date: 2024-08-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|