pulp_deb_client 2.14.1 → 2.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/docs/ContentGenericContentsApi.md +1 -1
- data/docs/ContentInstallerFileIndicesApi.md +1 -1
- data/docs/ContentInstallerPackagesApi.md +1 -1
- data/docs/ContentPackageIndicesApi.md +1 -1
- data/docs/ContentPackageReleaseComponentsApi.md +1 -1
- data/docs/ContentPackagesApi.md +1 -1
- data/docs/ContentReleaseArchitecturesApi.md +1 -1
- data/docs/ContentReleaseComponentsApi.md +1 -1
- data/docs/ContentReleaseFilesApi.md +1 -1
- data/docs/ContentReleasesApi.md +1 -1
- data/docs/DebAptRepository.md +3 -3
- data/docs/DebAptRepositoryResponse.md +3 -3
- data/docs/DistributionsAptApi.md +1 -1
- data/docs/PatcheddebAptRepository.md +3 -3
- data/docs/PublicationsAptApi.md +1 -1
- data/docs/PublicationsVerbatimApi.md +1 -1
- data/docs/RemotesAptApi.md +1 -1
- data/docs/RepositoriesAptApi.md +1 -1
- data/docs/RepositoriesAptVersionsApi.md +1 -1
- data/lib/pulp_deb_client/configuration.rb +2 -2
- data/lib/pulp_deb_client/models/deb_apt_repository.rb +17 -16
- data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +17 -16
- data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +17 -16
- data/lib/pulp_deb_client/version.rb +1 -1
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/deb_apt_repository_response_spec.rb +1 -1
- data/spec/models/deb_apt_repository_spec.rb +1 -1
- data/spec/models/patcheddeb_apt_repository_spec.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f5b70b0383f95e0313330514907298d65bc2a5b93f5fa006e1aafda4614c249
|
4
|
+
data.tar.gz: 770fbea5d53c0e1a449803672881d71296adcafcf163f8921d1e85be84c667e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 729efed4a2f886611fa0bf1815df8d62881c612aacc0d09aff0a2960a219a828c6497f6971f1e8db22981256e95d4ea3619aba8661c84801b2bb9276d410cf75
|
7
|
+
data.tar.gz: c70b06f932b5ec39e4d9bf05127c9bdfb50ae1c516a21e672d61eee95f20af8721f193ea705d5842b5c3f3f467543d68c1f4e3d036f29f89a9e1353f5567b21c
|
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.
|
10
|
+
- Package version: 2.15.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_deb_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_deb_client-2.
|
27
|
+
gem install ./pulp_deb_client-2.15.0.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_deb_client-2.
|
30
|
+
(for development, run `gem install --dev ./pulp_deb_client-2.15.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_deb_client', '~> 2.
|
36
|
+
gem 'pulp_deb_client', '~> 2.15.0'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -84,7 +84,7 @@ end
|
|
84
84
|
|
85
85
|
## Documentation for API Endpoints
|
86
86
|
|
87
|
-
All URIs are relative to *
|
87
|
+
All URIs are relative to *https://pulp*
|
88
88
|
|
89
89
|
Class | Method | HTTP request | Description
|
90
90
|
------------ | ------------- | ------------- | -------------
|
data/docs/ContentPackagesApi.md
CHANGED
data/docs/ContentReleasesApi.md
CHANGED
data/docs/DebAptRepository.md
CHANGED
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
|
|
7
7
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
8
8
|
**name** | **String** | A unique name for this repository. |
|
9
9
|
**description** | **String** | An optional description. | [optional]
|
10
|
-
**
|
11
|
-
**remote** | **String** |
|
10
|
+
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
11
|
+
**remote** | **String** | An optional remote to use by default when syncing. | [optional]
|
12
12
|
|
13
13
|
## Code Sample
|
14
14
|
|
@@ -18,7 +18,7 @@ require 'PulpDebClient'
|
|
18
18
|
instance = PulpDebClient::DebAptRepository.new(pulp_labels: null,
|
19
19
|
name: null,
|
20
20
|
description: null,
|
21
|
-
|
21
|
+
retain_repo_versions: null,
|
22
22
|
remote: null)
|
23
23
|
```
|
24
24
|
|
@@ -11,8 +11,8 @@ Name | Type | Description | Notes
|
|
11
11
|
**latest_version_href** | **String** | | [optional] [readonly]
|
12
12
|
**name** | **String** | A unique name for this repository. |
|
13
13
|
**description** | **String** | An optional description. | [optional]
|
14
|
-
**
|
15
|
-
**remote** | **String** |
|
14
|
+
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
15
|
+
**remote** | **String** | An optional remote to use by default when syncing. | [optional]
|
16
16
|
|
17
17
|
## Code Sample
|
18
18
|
|
@@ -26,7 +26,7 @@ instance = PulpDebClient::DebAptRepositoryResponse.new(pulp_href: null,
|
|
26
26
|
latest_version_href: null,
|
27
27
|
name: null,
|
28
28
|
description: null,
|
29
|
-
|
29
|
+
retain_repo_versions: null,
|
30
30
|
remote: null)
|
31
31
|
```
|
32
32
|
|
data/docs/DistributionsAptApi.md
CHANGED
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
|
|
7
7
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
8
8
|
**name** | **String** | A unique name for this repository. | [optional]
|
9
9
|
**description** | **String** | An optional description. | [optional]
|
10
|
-
**
|
11
|
-
**remote** | **String** |
|
10
|
+
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
11
|
+
**remote** | **String** | An optional remote to use by default when syncing. | [optional]
|
12
12
|
|
13
13
|
## Code Sample
|
14
14
|
|
@@ -18,7 +18,7 @@ require 'PulpDebClient'
|
|
18
18
|
instance = PulpDebClient::PatcheddebAptRepository.new(pulp_labels: null,
|
19
19
|
name: null,
|
20
20
|
description: null,
|
21
|
-
|
21
|
+
retain_repo_versions: null,
|
22
22
|
remote: null)
|
23
23
|
```
|
24
24
|
|
data/docs/PublicationsAptApi.md
CHANGED
data/docs/RemotesAptApi.md
CHANGED
data/docs/RepositoriesAptApi.md
CHANGED
@@ -127,7 +127,7 @@ module PulpDebClient
|
|
127
127
|
attr_accessor :force_ending_format
|
128
128
|
|
129
129
|
def initialize
|
130
|
-
@scheme = '
|
130
|
+
@scheme = 'https'
|
131
131
|
@host = 'pulp'
|
132
132
|
@base_path = ''
|
133
133
|
@api_key = {}
|
@@ -209,7 +209,7 @@ module PulpDebClient
|
|
209
209
|
def server_settings
|
210
210
|
[
|
211
211
|
{
|
212
|
-
url: "
|
212
|
+
url: "https://pulp/",
|
213
213
|
description: "No description provided",
|
214
214
|
}
|
215
215
|
]
|
@@ -24,8 +24,9 @@ module PulpDebClient
|
|
24
24
|
attr_accessor :description
|
25
25
|
|
26
26
|
# Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
|
27
|
-
attr_accessor :
|
27
|
+
attr_accessor :retain_repo_versions
|
28
28
|
|
29
|
+
# An optional remote to use by default when syncing.
|
29
30
|
attr_accessor :remote
|
30
31
|
|
31
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -34,7 +35,7 @@ module PulpDebClient
|
|
34
35
|
:'pulp_labels' => :'pulp_labels',
|
35
36
|
:'name' => :'name',
|
36
37
|
:'description' => :'description',
|
37
|
-
:'
|
38
|
+
:'retain_repo_versions' => :'retain_repo_versions',
|
38
39
|
:'remote' => :'remote'
|
39
40
|
}
|
40
41
|
end
|
@@ -45,7 +46,7 @@ module PulpDebClient
|
|
45
46
|
:'pulp_labels' => :'Object',
|
46
47
|
:'name' => :'String',
|
47
48
|
:'description' => :'String',
|
48
|
-
:'
|
49
|
+
:'retain_repo_versions' => :'Integer',
|
49
50
|
:'remote' => :'String'
|
50
51
|
}
|
51
52
|
end
|
@@ -54,7 +55,7 @@ module PulpDebClient
|
|
54
55
|
def self.openapi_nullable
|
55
56
|
Set.new([
|
56
57
|
:'description',
|
57
|
-
:'
|
58
|
+
:'retain_repo_versions',
|
58
59
|
:'remote'
|
59
60
|
])
|
60
61
|
end
|
@@ -86,8 +87,8 @@ module PulpDebClient
|
|
86
87
|
self.description = attributes[:'description']
|
87
88
|
end
|
88
89
|
|
89
|
-
if attributes.key?(:'
|
90
|
-
self.
|
90
|
+
if attributes.key?(:'retain_repo_versions')
|
91
|
+
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
91
92
|
end
|
92
93
|
|
93
94
|
if attributes.key?(:'remote')
|
@@ -103,8 +104,8 @@ module PulpDebClient
|
|
103
104
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
104
105
|
end
|
105
106
|
|
106
|
-
if !@
|
107
|
-
invalid_properties.push('invalid value for "
|
107
|
+
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
108
|
+
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
108
109
|
end
|
109
110
|
|
110
111
|
invalid_properties
|
@@ -114,18 +115,18 @@ module PulpDebClient
|
|
114
115
|
# @return true if the model is valid
|
115
116
|
def valid?
|
116
117
|
return false if @name.nil?
|
117
|
-
return false if !@
|
118
|
+
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
118
119
|
true
|
119
120
|
end
|
120
121
|
|
121
122
|
# Custom attribute writer method with validation
|
122
|
-
# @param [Object]
|
123
|
-
def
|
124
|
-
if !
|
125
|
-
fail ArgumentError, 'invalid value for "
|
123
|
+
# @param [Object] retain_repo_versions Value to be assigned
|
124
|
+
def retain_repo_versions=(retain_repo_versions)
|
125
|
+
if !retain_repo_versions.nil? && retain_repo_versions < 1
|
126
|
+
fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
|
126
127
|
end
|
127
128
|
|
128
|
-
@
|
129
|
+
@retain_repo_versions = retain_repo_versions
|
129
130
|
end
|
130
131
|
|
131
132
|
# Checks equality by comparing each attribute.
|
@@ -136,7 +137,7 @@ module PulpDebClient
|
|
136
137
|
pulp_labels == o.pulp_labels &&
|
137
138
|
name == o.name &&
|
138
139
|
description == o.description &&
|
139
|
-
|
140
|
+
retain_repo_versions == o.retain_repo_versions &&
|
140
141
|
remote == o.remote
|
141
142
|
end
|
142
143
|
|
@@ -149,7 +150,7 @@ module PulpDebClient
|
|
149
150
|
# Calculates hash code according to all attributes.
|
150
151
|
# @return [Integer] Hash code
|
151
152
|
def hash
|
152
|
-
[pulp_labels, name, description,
|
153
|
+
[pulp_labels, name, description, retain_repo_versions, remote].hash
|
153
154
|
end
|
154
155
|
|
155
156
|
# Builds the object from hash
|
@@ -33,8 +33,9 @@ module PulpDebClient
|
|
33
33
|
attr_accessor :description
|
34
34
|
|
35
35
|
# Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
|
36
|
-
attr_accessor :
|
36
|
+
attr_accessor :retain_repo_versions
|
37
37
|
|
38
|
+
# An optional remote to use by default when syncing.
|
38
39
|
attr_accessor :remote
|
39
40
|
|
40
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -47,7 +48,7 @@ module PulpDebClient
|
|
47
48
|
:'latest_version_href' => :'latest_version_href',
|
48
49
|
:'name' => :'name',
|
49
50
|
:'description' => :'description',
|
50
|
-
:'
|
51
|
+
:'retain_repo_versions' => :'retain_repo_versions',
|
51
52
|
:'remote' => :'remote'
|
52
53
|
}
|
53
54
|
end
|
@@ -62,7 +63,7 @@ module PulpDebClient
|
|
62
63
|
:'latest_version_href' => :'String',
|
63
64
|
:'name' => :'String',
|
64
65
|
:'description' => :'String',
|
65
|
-
:'
|
66
|
+
:'retain_repo_versions' => :'Integer',
|
66
67
|
:'remote' => :'String'
|
67
68
|
}
|
68
69
|
end
|
@@ -71,7 +72,7 @@ module PulpDebClient
|
|
71
72
|
def self.openapi_nullable
|
72
73
|
Set.new([
|
73
74
|
:'description',
|
74
|
-
:'
|
75
|
+
:'retain_repo_versions',
|
75
76
|
:'remote'
|
76
77
|
])
|
77
78
|
end
|
@@ -119,8 +120,8 @@ module PulpDebClient
|
|
119
120
|
self.description = attributes[:'description']
|
120
121
|
end
|
121
122
|
|
122
|
-
if attributes.key?(:'
|
123
|
-
self.
|
123
|
+
if attributes.key?(:'retain_repo_versions')
|
124
|
+
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
124
125
|
end
|
125
126
|
|
126
127
|
if attributes.key?(:'remote')
|
@@ -136,8 +137,8 @@ module PulpDebClient
|
|
136
137
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
137
138
|
end
|
138
139
|
|
139
|
-
if !@
|
140
|
-
invalid_properties.push('invalid value for "
|
140
|
+
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
141
|
+
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
141
142
|
end
|
142
143
|
|
143
144
|
invalid_properties
|
@@ -147,18 +148,18 @@ module PulpDebClient
|
|
147
148
|
# @return true if the model is valid
|
148
149
|
def valid?
|
149
150
|
return false if @name.nil?
|
150
|
-
return false if !@
|
151
|
+
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
151
152
|
true
|
152
153
|
end
|
153
154
|
|
154
155
|
# Custom attribute writer method with validation
|
155
|
-
# @param [Object]
|
156
|
-
def
|
157
|
-
if !
|
158
|
-
fail ArgumentError, 'invalid value for "
|
156
|
+
# @param [Object] retain_repo_versions Value to be assigned
|
157
|
+
def retain_repo_versions=(retain_repo_versions)
|
158
|
+
if !retain_repo_versions.nil? && retain_repo_versions < 1
|
159
|
+
fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
|
159
160
|
end
|
160
161
|
|
161
|
-
@
|
162
|
+
@retain_repo_versions = retain_repo_versions
|
162
163
|
end
|
163
164
|
|
164
165
|
# Checks equality by comparing each attribute.
|
@@ -173,7 +174,7 @@ module PulpDebClient
|
|
173
174
|
latest_version_href == o.latest_version_href &&
|
174
175
|
name == o.name &&
|
175
176
|
description == o.description &&
|
176
|
-
|
177
|
+
retain_repo_versions == o.retain_repo_versions &&
|
177
178
|
remote == o.remote
|
178
179
|
end
|
179
180
|
|
@@ -186,7 +187,7 @@ module PulpDebClient
|
|
186
187
|
# Calculates hash code according to all attributes.
|
187
188
|
# @return [Integer] Hash code
|
188
189
|
def hash
|
189
|
-
[pulp_href, pulp_created, versions_href, pulp_labels, latest_version_href, name, description,
|
190
|
+
[pulp_href, pulp_created, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote].hash
|
190
191
|
end
|
191
192
|
|
192
193
|
# Builds the object from hash
|
@@ -24,8 +24,9 @@ module PulpDebClient
|
|
24
24
|
attr_accessor :description
|
25
25
|
|
26
26
|
# Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
|
27
|
-
attr_accessor :
|
27
|
+
attr_accessor :retain_repo_versions
|
28
28
|
|
29
|
+
# An optional remote to use by default when syncing.
|
29
30
|
attr_accessor :remote
|
30
31
|
|
31
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -34,7 +35,7 @@ module PulpDebClient
|
|
34
35
|
:'pulp_labels' => :'pulp_labels',
|
35
36
|
:'name' => :'name',
|
36
37
|
:'description' => :'description',
|
37
|
-
:'
|
38
|
+
:'retain_repo_versions' => :'retain_repo_versions',
|
38
39
|
:'remote' => :'remote'
|
39
40
|
}
|
40
41
|
end
|
@@ -45,7 +46,7 @@ module PulpDebClient
|
|
45
46
|
:'pulp_labels' => :'Object',
|
46
47
|
:'name' => :'String',
|
47
48
|
:'description' => :'String',
|
48
|
-
:'
|
49
|
+
:'retain_repo_versions' => :'Integer',
|
49
50
|
:'remote' => :'String'
|
50
51
|
}
|
51
52
|
end
|
@@ -54,7 +55,7 @@ module PulpDebClient
|
|
54
55
|
def self.openapi_nullable
|
55
56
|
Set.new([
|
56
57
|
:'description',
|
57
|
-
:'
|
58
|
+
:'retain_repo_versions',
|
58
59
|
:'remote'
|
59
60
|
])
|
60
61
|
end
|
@@ -86,8 +87,8 @@ module PulpDebClient
|
|
86
87
|
self.description = attributes[:'description']
|
87
88
|
end
|
88
89
|
|
89
|
-
if attributes.key?(:'
|
90
|
-
self.
|
90
|
+
if attributes.key?(:'retain_repo_versions')
|
91
|
+
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
91
92
|
end
|
92
93
|
|
93
94
|
if attributes.key?(:'remote')
|
@@ -99,8 +100,8 @@ module PulpDebClient
|
|
99
100
|
# @return Array for valid properties with the reasons
|
100
101
|
def list_invalid_properties
|
101
102
|
invalid_properties = Array.new
|
102
|
-
if !@
|
103
|
-
invalid_properties.push('invalid value for "
|
103
|
+
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
104
|
+
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
104
105
|
end
|
105
106
|
|
106
107
|
invalid_properties
|
@@ -109,18 +110,18 @@ module PulpDebClient
|
|
109
110
|
# Check to see if the all the properties in the model are valid
|
110
111
|
# @return true if the model is valid
|
111
112
|
def valid?
|
112
|
-
return false if !@
|
113
|
+
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
113
114
|
true
|
114
115
|
end
|
115
116
|
|
116
117
|
# Custom attribute writer method with validation
|
117
|
-
# @param [Object]
|
118
|
-
def
|
119
|
-
if !
|
120
|
-
fail ArgumentError, 'invalid value for "
|
118
|
+
# @param [Object] retain_repo_versions Value to be assigned
|
119
|
+
def retain_repo_versions=(retain_repo_versions)
|
120
|
+
if !retain_repo_versions.nil? && retain_repo_versions < 1
|
121
|
+
fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
|
121
122
|
end
|
122
123
|
|
123
|
-
@
|
124
|
+
@retain_repo_versions = retain_repo_versions
|
124
125
|
end
|
125
126
|
|
126
127
|
# Checks equality by comparing each attribute.
|
@@ -131,7 +132,7 @@ module PulpDebClient
|
|
131
132
|
pulp_labels == o.pulp_labels &&
|
132
133
|
name == o.name &&
|
133
134
|
description == o.description &&
|
134
|
-
|
135
|
+
retain_repo_versions == o.retain_repo_versions &&
|
135
136
|
remote == o.remote
|
136
137
|
end
|
137
138
|
|
@@ -144,7 +145,7 @@ module PulpDebClient
|
|
144
145
|
# Calculates hash code according to all attributes.
|
145
146
|
# @return [Integer] Hash code
|
146
147
|
def hash
|
147
|
-
[pulp_labels, name, description,
|
148
|
+
[pulp_labels, name, description, retain_repo_versions, remote].hash
|
148
149
|
end
|
149
150
|
|
150
151
|
# Builds the object from hash
|
data/spec/configuration_spec.rb
CHANGED
@@ -18,7 +18,7 @@ describe PulpDebClient::Configuration do
|
|
18
18
|
before(:each) do
|
19
19
|
# uncomment below to setup host and base_path
|
20
20
|
# require 'URI'
|
21
|
-
# uri = URI.parse("
|
21
|
+
# uri = URI.parse("https://pulp")
|
22
22
|
# PulpDebClient.configure do |c|
|
23
23
|
# c.host = uri.host
|
24
24
|
# c.base_path = uri.path
|
@@ -28,14 +28,14 @@ describe PulpDebClient::Configuration do
|
|
28
28
|
describe '#base_url' do
|
29
29
|
it 'should have the default value' do
|
30
30
|
# uncomment below to test default value of the base path
|
31
|
-
# expect(config.base_url).to eq("
|
31
|
+
# expect(config.base_url).to eq("https://pulp")
|
32
32
|
end
|
33
33
|
|
34
34
|
it 'should remove trailing slashes' do
|
35
35
|
[nil, '', '/', '//'].each do |base_path|
|
36
36
|
config.base_path = base_path
|
37
37
|
# uncomment below to test trailing slashes
|
38
|
-
# expect(config.base_url).to eq("
|
38
|
+
# expect(config.base_url).to eq("https://pulp")
|
39
39
|
end
|
40
40
|
end
|
41
41
|
end
|
@@ -74,7 +74,7 @@ describe 'DebAptRepositoryResponse' do
|
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
77
|
-
describe 'test attribute "
|
77
|
+
describe 'test attribute "retain_repo_versions"' do
|
78
78
|
it 'should work' do
|
79
79
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
80
|
end
|
@@ -50,7 +50,7 @@ describe 'DebAptRepository' do
|
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
-
describe 'test attribute "
|
53
|
+
describe 'test attribute "retain_repo_versions"' do
|
54
54
|
it 'should work' do
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
56
|
end
|
@@ -50,7 +50,7 @@ describe 'PatcheddebAptRepository' do
|
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
-
describe 'test attribute "
|
53
|
+
describe 'test attribute "retain_repo_versions"' do
|
54
54
|
it 'should work' do
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
56
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_deb_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.15.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: 2021-
|
11
|
+
date: 2021-08-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|