pulpcore_client 3.24.1 → 3.26.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 +4 -4
- data/README.md +4 -4
- data/docs/ArtifactDistributionResponse.md +9 -9
- data/docs/RepositoriesApi.md +4 -0
- data/lib/pulpcore_client/api/repositories_api.rb +6 -0
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +38 -38
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/api/repositories_api_spec.rb +2 -0
- data/spec/models/artifact_distribution_response_spec.rb +6 -6
- metadata +143 -143
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 111486a06f0a75c40b0ab80c54a6457b0486477a2ce532e68f0f38e65278da96
|
|
4
|
+
data.tar.gz: 22d46635adac767b27e0db87271642c0cc5ea21e09704bd3fd0aff285ae24273
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2e90ba92d6e82b840da23a7081ba105b98d613542cc0b34e01d15cc55676813e176553f1af884f1ba32197493e6fb315854104384c5932ad0bdac0ec40934a11
|
|
7
|
+
data.tar.gz: b8a78abd9161402ffb7c8ac4ce19795b1976b9e7a7a5de301457c40995cfcad731995a0ba24c7b7764fd6d7dc152f523bcd4d0224f2c0cd4412ca694bb199712
|
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.26.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 pulpcore_client.gemspec
|
|
|
24
24
|
Then either install the gem locally:
|
|
25
25
|
|
|
26
26
|
```shell
|
|
27
|
-
gem install ./pulpcore_client-3.
|
|
27
|
+
gem install ./pulpcore_client-3.26.0.gem
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
(for development, run `gem install --dev ./pulpcore_client-3.
|
|
30
|
+
(for development, run `gem install --dev ./pulpcore_client-3.26.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 'pulpcore_client', '~> 3.
|
|
36
|
+
gem 'pulpcore_client', '~> 3.26.0'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -4,26 +4,26 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**content_guard** | **String** | An optional content-guard. | [optional]
|
|
8
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
9
7
|
**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\") |
|
|
10
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
11
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
12
|
-
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
|
13
9
|
**pulp_href** | **String** | | [optional] [readonly]
|
|
10
|
+
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
|
11
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
12
|
+
**content_guard** | **String** | An optional content-guard. | [optional]
|
|
13
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
14
14
|
|
|
15
15
|
## Code Sample
|
|
16
16
|
|
|
17
17
|
```ruby
|
|
18
18
|
require 'PulpcoreClient'
|
|
19
19
|
|
|
20
|
-
instance = PulpcoreClient::ArtifactDistributionResponse.new(
|
|
21
|
-
name: null,
|
|
22
|
-
base_path: null,
|
|
20
|
+
instance = PulpcoreClient::ArtifactDistributionResponse.new(base_path: null,
|
|
23
21
|
pulp_created: null,
|
|
24
|
-
|
|
22
|
+
pulp_href: null,
|
|
25
23
|
base_url: null,
|
|
26
|
-
|
|
24
|
+
pulp_labels: null,
|
|
25
|
+
content_guard: null,
|
|
26
|
+
name: null)
|
|
27
27
|
```
|
|
28
28
|
|
|
29
29
|
|
data/docs/RepositoriesApi.md
CHANGED
|
@@ -30,6 +30,7 @@ end
|
|
|
30
30
|
|
|
31
31
|
api_instance = PulpcoreClient::RepositoriesApi.new
|
|
32
32
|
opts = {
|
|
33
|
+
latest_with_content: 'latest_with_content_example', # String | Content Unit referenced by HREF
|
|
33
34
|
limit: 56, # Integer | Number of results to return per page.
|
|
34
35
|
name: 'name_example', # String | Filter results where name matches value
|
|
35
36
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
|
@@ -51,6 +52,7 @@ opts = {
|
|
|
51
52
|
retain_repo_versions__lte: 56, # Integer | Filter results where retain_repo_versions is less than or equal to value
|
|
52
53
|
retain_repo_versions__ne: 56, # Integer | Filter results where retain_repo_versions not equal to value
|
|
53
54
|
retain_repo_versions__range: [56], # Array<Integer> | Filter results where retain_repo_versions is between two comma separated values
|
|
55
|
+
with_content: 'with_content_example', # String | Content Unit referenced by HREF
|
|
54
56
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
55
57
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
56
58
|
}
|
|
@@ -69,6 +71,7 @@ end
|
|
|
69
71
|
|
|
70
72
|
Name | Type | Description | Notes
|
|
71
73
|
------------- | ------------- | ------------- | -------------
|
|
74
|
+
**latest_with_content** | **String**| Content Unit referenced by HREF | [optional]
|
|
72
75
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
73
76
|
**name** | **String**| Filter results where name matches value | [optional]
|
|
74
77
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
|
@@ -90,6 +93,7 @@ Name | Type | Description | Notes
|
|
|
90
93
|
**retain_repo_versions__lte** | **Integer**| Filter results where retain_repo_versions is less than or equal to value | [optional]
|
|
91
94
|
**retain_repo_versions__ne** | **Integer**| Filter results where retain_repo_versions not equal to value | [optional]
|
|
92
95
|
**retain_repo_versions__range** | [**Array<Integer>**](Integer.md)| Filter results where retain_repo_versions is between two comma separated values | [optional]
|
|
96
|
+
**with_content** | **String**| Content Unit referenced by HREF | [optional]
|
|
93
97
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
94
98
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
95
99
|
|
|
@@ -22,6 +22,7 @@ module PulpcoreClient
|
|
|
22
22
|
# List repositories
|
|
23
23
|
# Endpoint to list all repositories.
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
|
+
# @option opts [String] :latest_with_content Content Unit referenced by HREF
|
|
25
26
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
26
27
|
# @option opts [String] :name Filter results where name matches value
|
|
27
28
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -43,6 +44,7 @@ module PulpcoreClient
|
|
|
43
44
|
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
|
44
45
|
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
|
45
46
|
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
|
47
|
+
# @option opts [String] :with_content Content Unit referenced by HREF
|
|
46
48
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
47
49
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
48
50
|
# @return [PaginatedRepositoryResponseList]
|
|
@@ -54,6 +56,7 @@ module PulpcoreClient
|
|
|
54
56
|
# List repositories
|
|
55
57
|
# Endpoint to list all repositories.
|
|
56
58
|
# @param [Hash] opts the optional parameters
|
|
59
|
+
# @option opts [String] :latest_with_content Content Unit referenced by HREF
|
|
57
60
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
58
61
|
# @option opts [String] :name Filter results where name matches value
|
|
59
62
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -75,6 +78,7 @@ module PulpcoreClient
|
|
|
75
78
|
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
|
76
79
|
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
|
77
80
|
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
|
81
|
+
# @option opts [String] :with_content Content Unit referenced by HREF
|
|
78
82
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
79
83
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
80
84
|
# @return [Array<(PaginatedRepositoryResponseList, Integer, Hash)>] PaginatedRepositoryResponseList data, response status code and response headers
|
|
@@ -95,6 +99,7 @@ module PulpcoreClient
|
|
|
95
99
|
|
|
96
100
|
# query parameters
|
|
97
101
|
query_params = opts[:query_params] || {}
|
|
102
|
+
query_params[:'latest_with_content'] = opts[:'latest_with_content'] if !opts[:'latest_with_content'].nil?
|
|
98
103
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
99
104
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
|
100
105
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
|
@@ -116,6 +121,7 @@ module PulpcoreClient
|
|
|
116
121
|
query_params[:'retain_repo_versions__lte'] = opts[:'retain_repo_versions__lte'] if !opts[:'retain_repo_versions__lte'].nil?
|
|
117
122
|
query_params[:'retain_repo_versions__ne'] = opts[:'retain_repo_versions__ne'] if !opts[:'retain_repo_versions__ne'].nil?
|
|
118
123
|
query_params[:'retain_repo_versions__range'] = @api_client.build_collection_param(opts[:'retain_repo_versions__range'], :csv) if !opts[:'retain_repo_versions__range'].nil?
|
|
124
|
+
query_params[:'with_content'] = opts[:'with_content'] if !opts[:'with_content'].nil?
|
|
119
125
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
120
126
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
121
127
|
|
|
@@ -15,48 +15,48 @@ require 'date'
|
|
|
15
15
|
module PulpcoreClient
|
|
16
16
|
# A serializer for ArtifactDistribution.
|
|
17
17
|
class ArtifactDistributionResponse
|
|
18
|
-
# An optional content-guard.
|
|
19
|
-
attr_accessor :content_guard
|
|
20
|
-
|
|
21
|
-
# A unique name. Ex, `rawhide` and `stable`.
|
|
22
|
-
attr_accessor :name
|
|
23
|
-
|
|
24
18
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
25
19
|
attr_accessor :base_path
|
|
26
20
|
|
|
27
21
|
# Timestamp of creation.
|
|
28
22
|
attr_accessor :pulp_created
|
|
29
23
|
|
|
30
|
-
attr_accessor :
|
|
24
|
+
attr_accessor :pulp_href
|
|
31
25
|
|
|
32
26
|
# The URL for accessing the publication as defined by this distribution.
|
|
33
27
|
attr_accessor :base_url
|
|
34
28
|
|
|
35
|
-
attr_accessor :
|
|
29
|
+
attr_accessor :pulp_labels
|
|
30
|
+
|
|
31
|
+
# An optional content-guard.
|
|
32
|
+
attr_accessor :content_guard
|
|
33
|
+
|
|
34
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
35
|
+
attr_accessor :name
|
|
36
36
|
|
|
37
37
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
38
38
|
def self.attribute_map
|
|
39
39
|
{
|
|
40
|
-
:'content_guard' => :'content_guard',
|
|
41
|
-
:'name' => :'name',
|
|
42
40
|
:'base_path' => :'base_path',
|
|
43
41
|
:'pulp_created' => :'pulp_created',
|
|
44
|
-
:'
|
|
42
|
+
:'pulp_href' => :'pulp_href',
|
|
45
43
|
:'base_url' => :'base_url',
|
|
46
|
-
:'
|
|
44
|
+
:'pulp_labels' => :'pulp_labels',
|
|
45
|
+
:'content_guard' => :'content_guard',
|
|
46
|
+
:'name' => :'name'
|
|
47
47
|
}
|
|
48
48
|
end
|
|
49
49
|
|
|
50
50
|
# Attribute type mapping.
|
|
51
51
|
def self.openapi_types
|
|
52
52
|
{
|
|
53
|
-
:'content_guard' => :'String',
|
|
54
|
-
:'name' => :'String',
|
|
55
53
|
:'base_path' => :'String',
|
|
56
54
|
:'pulp_created' => :'DateTime',
|
|
57
|
-
:'
|
|
55
|
+
:'pulp_href' => :'String',
|
|
58
56
|
:'base_url' => :'String',
|
|
59
|
-
:'
|
|
57
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
58
|
+
:'content_guard' => :'String',
|
|
59
|
+
:'name' => :'String'
|
|
60
60
|
}
|
|
61
61
|
end
|
|
62
62
|
|
|
@@ -82,14 +82,6 @@ module PulpcoreClient
|
|
|
82
82
|
h[k.to_sym] = v
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
if attributes.key?(:'content_guard')
|
|
86
|
-
self.content_guard = attributes[:'content_guard']
|
|
87
|
-
end
|
|
88
|
-
|
|
89
|
-
if attributes.key?(:'name')
|
|
90
|
-
self.name = attributes[:'name']
|
|
91
|
-
end
|
|
92
|
-
|
|
93
85
|
if attributes.key?(:'base_path')
|
|
94
86
|
self.base_path = attributes[:'base_path']
|
|
95
87
|
end
|
|
@@ -98,18 +90,26 @@ module PulpcoreClient
|
|
|
98
90
|
self.pulp_created = attributes[:'pulp_created']
|
|
99
91
|
end
|
|
100
92
|
|
|
93
|
+
if attributes.key?(:'pulp_href')
|
|
94
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
if attributes.key?(:'base_url')
|
|
98
|
+
self.base_url = attributes[:'base_url']
|
|
99
|
+
end
|
|
100
|
+
|
|
101
101
|
if attributes.key?(:'pulp_labels')
|
|
102
102
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
103
103
|
self.pulp_labels = value
|
|
104
104
|
end
|
|
105
105
|
end
|
|
106
106
|
|
|
107
|
-
if attributes.key?(:'
|
|
108
|
-
self.
|
|
107
|
+
if attributes.key?(:'content_guard')
|
|
108
|
+
self.content_guard = attributes[:'content_guard']
|
|
109
109
|
end
|
|
110
110
|
|
|
111
|
-
if attributes.key?(:'
|
|
112
|
-
self.
|
|
111
|
+
if attributes.key?(:'name')
|
|
112
|
+
self.name = attributes[:'name']
|
|
113
113
|
end
|
|
114
114
|
end
|
|
115
115
|
|
|
@@ -117,22 +117,22 @@ module PulpcoreClient
|
|
|
117
117
|
# @return Array for valid properties with the reasons
|
|
118
118
|
def list_invalid_properties
|
|
119
119
|
invalid_properties = Array.new
|
|
120
|
-
if @name.nil?
|
|
121
|
-
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
122
|
-
end
|
|
123
|
-
|
|
124
120
|
if @base_path.nil?
|
|
125
121
|
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
|
126
122
|
end
|
|
127
123
|
|
|
124
|
+
if @name.nil?
|
|
125
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
126
|
+
end
|
|
127
|
+
|
|
128
128
|
invalid_properties
|
|
129
129
|
end
|
|
130
130
|
|
|
131
131
|
# Check to see if the all the properties in the model are valid
|
|
132
132
|
# @return true if the model is valid
|
|
133
133
|
def valid?
|
|
134
|
-
return false if @name.nil?
|
|
135
134
|
return false if @base_path.nil?
|
|
135
|
+
return false if @name.nil?
|
|
136
136
|
true
|
|
137
137
|
end
|
|
138
138
|
|
|
@@ -141,13 +141,13 @@ module PulpcoreClient
|
|
|
141
141
|
def ==(o)
|
|
142
142
|
return true if self.equal?(o)
|
|
143
143
|
self.class == o.class &&
|
|
144
|
-
content_guard == o.content_guard &&
|
|
145
|
-
name == o.name &&
|
|
146
144
|
base_path == o.base_path &&
|
|
147
145
|
pulp_created == o.pulp_created &&
|
|
148
|
-
|
|
146
|
+
pulp_href == o.pulp_href &&
|
|
149
147
|
base_url == o.base_url &&
|
|
150
|
-
|
|
148
|
+
pulp_labels == o.pulp_labels &&
|
|
149
|
+
content_guard == o.content_guard &&
|
|
150
|
+
name == o.name
|
|
151
151
|
end
|
|
152
152
|
|
|
153
153
|
# @see the `==` method
|
|
@@ -159,7 +159,7 @@ module PulpcoreClient
|
|
|
159
159
|
# Calculates hash code according to all attributes.
|
|
160
160
|
# @return [Integer] Hash code
|
|
161
161
|
def hash
|
|
162
|
-
[
|
|
162
|
+
[base_path, pulp_created, pulp_href, base_url, pulp_labels, content_guard, name].hash
|
|
163
163
|
end
|
|
164
164
|
|
|
165
165
|
# Builds the object from hash
|
|
@@ -36,6 +36,7 @@ describe 'RepositoriesApi' do
|
|
|
36
36
|
# List repositories
|
|
37
37
|
# Endpoint to list all repositories.
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
39
|
+
# @option opts [String] :latest_with_content Content Unit referenced by HREF
|
|
39
40
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
40
41
|
# @option opts [String] :name Filter results where name matches value
|
|
41
42
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -57,6 +58,7 @@ describe 'RepositoriesApi' do
|
|
|
57
58
|
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
|
58
59
|
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
|
59
60
|
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
|
61
|
+
# @option opts [String] :with_content Content Unit referenced by HREF
|
|
60
62
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
61
63
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
62
64
|
# @return [PaginatedRepositoryResponseList]
|
|
@@ -32,25 +32,25 @@ describe 'ArtifactDistributionResponse' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(PulpcoreClient::ArtifactDistributionResponse)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "base_path"' do
|
|
36
36
|
it 'should work' do
|
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
-
describe 'test attribute "
|
|
41
|
+
describe 'test attribute "pulp_created"' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
44
|
end
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
-
describe 'test attribute "
|
|
47
|
+
describe 'test attribute "pulp_href"' do
|
|
48
48
|
it 'should work' do
|
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
50
|
end
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
-
describe 'test attribute "
|
|
53
|
+
describe 'test attribute "base_url"' 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
|
|
@@ -62,13 +62,13 @@ describe 'ArtifactDistributionResponse' do
|
|
|
62
62
|
end
|
|
63
63
|
end
|
|
64
64
|
|
|
65
|
-
describe 'test attribute "
|
|
65
|
+
describe 'test attribute "content_guard"' do
|
|
66
66
|
it 'should work' do
|
|
67
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
68
68
|
end
|
|
69
69
|
end
|
|
70
70
|
|
|
71
|
-
describe 'test attribute "
|
|
71
|
+
describe 'test attribute "name"' do
|
|
72
72
|
it 'should work' do
|
|
73
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
74
74
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pulpcore_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.26.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: 2023-05-
|
|
11
|
+
date: 2023-05-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -617,174 +617,174 @@ signing_key:
|
|
|
617
617
|
specification_version: 4
|
|
618
618
|
summary: Pulp 3 API Ruby Gem
|
|
619
619
|
test_files:
|
|
620
|
-
- spec/api/
|
|
621
|
-
- spec/api/exporters_pulp_exports_api_spec.rb
|
|
622
|
-
- spec/api/contentguards_content_redirect_api_spec.rb
|
|
623
|
-
- spec/api/exporters_filesystem_exports_api_spec.rb
|
|
624
|
-
- spec/api/task_groups_api_spec.rb
|
|
625
|
-
- spec/api/repositories_api_spec.rb
|
|
626
|
-
- spec/api/uploads_api_spec.rb
|
|
627
|
-
- spec/api/upstream_pulps_api_spec.rb
|
|
620
|
+
- spec/api/signing_services_api_spec.rb
|
|
628
621
|
- spec/api/groups_users_api_spec.rb
|
|
629
|
-
- spec/api/
|
|
622
|
+
- spec/api/workers_api_spec.rb
|
|
623
|
+
- spec/api/groups_roles_api_spec.rb
|
|
624
|
+
- spec/api/remotes_api_spec.rb
|
|
625
|
+
- spec/api/artifacts_api_spec.rb
|
|
626
|
+
- spec/api/contentguards_api_spec.rb
|
|
627
|
+
- spec/api/distributions_api_spec.rb
|
|
630
628
|
- spec/api/importers_pulp_imports_api_spec.rb
|
|
631
629
|
- spec/api/orphans_cleanup_api_spec.rb
|
|
632
|
-
- spec/api/
|
|
633
|
-
- spec/api/content_api_spec.rb
|
|
630
|
+
- spec/api/orphans_api_spec.rb
|
|
634
631
|
- spec/api/roles_api_spec.rb
|
|
632
|
+
- spec/api/uploads_api_spec.rb
|
|
633
|
+
- spec/api/exporters_filesystem_api_spec.rb
|
|
634
|
+
- spec/api/repositories_api_spec.rb
|
|
635
|
+
- spec/api/status_api_spec.rb
|
|
636
|
+
- spec/api/contentguards_rbac_api_spec.rb
|
|
637
|
+
- spec/api/repository_versions_api_spec.rb
|
|
638
|
+
- spec/api/content_api_spec.rb
|
|
639
|
+
- spec/api/groups_api_spec.rb
|
|
640
|
+
- spec/api/upstream_pulps_api_spec.rb
|
|
641
|
+
- spec/api/distributions_artifacts_api_spec.rb
|
|
642
|
+
- spec/api/importers_pulp_api_spec.rb
|
|
643
|
+
- spec/api/exporters_pulp_exports_api_spec.rb
|
|
635
644
|
- spec/api/repositories_reclaim_space_api_spec.rb
|
|
636
|
-
- spec/api/task_schedules_api_spec.rb
|
|
637
|
-
- spec/api/distributions_api_spec.rb
|
|
638
|
-
- spec/api/groups_roles_api_spec.rb
|
|
639
|
-
- spec/api/exporters_pulp_api_spec.rb
|
|
640
645
|
- spec/api/publications_api_spec.rb
|
|
641
|
-
- spec/api/
|
|
642
|
-
- spec/api/importers_pulp_api_spec.rb
|
|
643
|
-
- spec/api/signing_services_api_spec.rb
|
|
644
|
-
- spec/api/workers_api_spec.rb
|
|
645
|
-
- spec/api/artifacts_api_spec.rb
|
|
646
|
-
- spec/api/tasks_api_spec.rb
|
|
647
|
-
- spec/api/domains_api_spec.rb
|
|
648
|
-
- spec/api/exporters_filesystem_api_spec.rb
|
|
649
|
-
- spec/api/users_roles_api_spec.rb
|
|
646
|
+
- spec/api/repair_api_spec.rb
|
|
650
647
|
- spec/api/importers_pulp_import_check_api_spec.rb
|
|
651
|
-
- spec/api/
|
|
648
|
+
- spec/api/domains_api_spec.rb
|
|
649
|
+
- spec/api/tasks_api_spec.rb
|
|
650
|
+
- spec/api/access_policies_api_spec.rb
|
|
652
651
|
- spec/api/users_api_spec.rb
|
|
653
|
-
- spec/api/
|
|
654
|
-
- spec/api/
|
|
655
|
-
- spec/api/
|
|
656
|
-
- spec/api/
|
|
657
|
-
- spec/api/
|
|
652
|
+
- spec/api/contentguards_content_redirect_api_spec.rb
|
|
653
|
+
- spec/api/users_roles_api_spec.rb
|
|
654
|
+
- spec/api/exporters_pulp_api_spec.rb
|
|
655
|
+
- spec/api/task_schedules_api_spec.rb
|
|
656
|
+
- spec/api/task_groups_api_spec.rb
|
|
657
|
+
- spec/api/exporters_filesystem_exports_api_spec.rb
|
|
658
658
|
- spec/api_client_spec.rb
|
|
659
659
|
- spec/configuration_spec.rb
|
|
660
|
-
- spec/models/
|
|
661
|
-
- spec/models/
|
|
662
|
-
- spec/models/
|
|
663
|
-
- spec/models/
|
|
664
|
-
- spec/models/
|
|
665
|
-
- spec/models/
|
|
666
|
-
- spec/models/
|
|
660
|
+
- spec/models/reclaim_space_spec.rb
|
|
661
|
+
- spec/models/content_redirect_content_guard_response_spec.rb
|
|
662
|
+
- spec/models/paginated_task_group_response_list_spec.rb
|
|
663
|
+
- spec/models/group_role_response_spec.rb
|
|
664
|
+
- spec/models/paginated_group_response_list_spec.rb
|
|
665
|
+
- spec/models/paginated_content_redirect_content_guard_response_list_spec.rb
|
|
666
|
+
- spec/models/pulp_exporter_spec.rb
|
|
667
|
+
- spec/models/content_guard_response_spec.rb
|
|
667
668
|
- spec/models/patched_role_spec.rb
|
|
668
|
-
- spec/models/
|
|
669
|
-
- spec/models/
|
|
670
|
-
- spec/models/
|
|
671
|
-
- spec/models/
|
|
672
|
-
- spec/models/
|
|
673
|
-
- spec/models/
|
|
674
|
-
- spec/models/
|
|
675
|
-
- spec/models/status_response_spec.rb
|
|
676
|
-
- spec/models/role_response_spec.rb
|
|
677
|
-
- spec/models/version_response_spec.rb
|
|
669
|
+
- spec/models/nested_role_response_spec.rb
|
|
670
|
+
- spec/models/group_response_spec.rb
|
|
671
|
+
- spec/models/import_response_spec.rb
|
|
672
|
+
- spec/models/content_summary_response_spec.rb
|
|
673
|
+
- spec/models/paginated_task_response_list_spec.rb
|
|
674
|
+
- spec/models/pulp_import_spec.rb
|
|
675
|
+
- spec/models/rbac_content_guard_spec.rb
|
|
678
676
|
- spec/models/task_response_spec.rb
|
|
679
|
-
- spec/models/
|
|
680
|
-
- spec/models/
|
|
681
|
-
- spec/models/
|
|
682
|
-
- spec/models/
|
|
677
|
+
- spec/models/rbac_content_guard_response_spec.rb
|
|
678
|
+
- spec/models/role_response_spec.rb
|
|
679
|
+
- spec/models/paginated_access_policy_response_list_spec.rb
|
|
680
|
+
- spec/models/pulp_export_spec.rb
|
|
681
|
+
- spec/models/filesystem_exporter_spec.rb
|
|
682
|
+
- spec/models/artifact_response_spec.rb
|
|
683
|
+
- spec/models/paginated_rbac_content_guard_response_list_spec.rb
|
|
683
684
|
- spec/models/filesystem_export_spec.rb
|
|
685
|
+
- spec/models/patched_task_cancel_spec.rb
|
|
686
|
+
- spec/models/pulp_importer_response_spec.rb
|
|
687
|
+
- spec/models/purge_spec.rb
|
|
688
|
+
- spec/models/object_roles_response_spec.rb
|
|
689
|
+
- spec/models/task_group_operation_response_spec.rb
|
|
690
|
+
- spec/models/group_spec.rb
|
|
684
691
|
- spec/models/upload_detail_response_spec.rb
|
|
692
|
+
- spec/models/patched_user_spec.rb
|
|
693
|
+
- spec/models/group_user_response_spec.rb
|
|
694
|
+
- spec/models/filesystem_exporter_response_spec.rb
|
|
695
|
+
- spec/models/paginated_signing_service_response_list_spec.rb
|
|
696
|
+
- spec/models/storage_response_spec.rb
|
|
685
697
|
- spec/models/paginated_role_response_list_spec.rb
|
|
686
|
-
- spec/models/
|
|
687
|
-
- spec/models/
|
|
688
|
-
- spec/models/
|
|
689
|
-
- spec/models/async_operation_response_spec.rb
|
|
698
|
+
- spec/models/upload_commit_spec.rb
|
|
699
|
+
- spec/models/status_response_spec.rb
|
|
700
|
+
- spec/models/task_schedule_response_spec.rb
|
|
690
701
|
- spec/models/content_redirect_content_guard_spec.rb
|
|
691
|
-
- spec/models/paginated_group_role_response_list_spec.rb
|
|
692
|
-
- spec/models/group_role_spec.rb
|
|
693
|
-
- spec/models/evaluation_response_spec.rb
|
|
694
|
-
- spec/models/content_summary_response_spec.rb
|
|
695
|
-
- spec/models/pulp_import_check_response_spec.rb
|
|
696
|
-
- spec/models/paginated_filesystem_export_response_list_spec.rb
|
|
697
|
-
- spec/models/domain_spec.rb
|
|
698
|
-
- spec/models/paginated_publication_response_list_spec.rb
|
|
699
|
-
- spec/models/upstream_pulp_spec.rb
|
|
700
|
-
- spec/models/role_spec.rb
|
|
701
|
-
- spec/models/paginated_rbac_content_guard_response_list_spec.rb
|
|
702
|
-
- spec/models/paginated_content_redirect_content_guard_response_list_spec.rb
|
|
703
|
-
- spec/models/pulp_exporter_response_spec.rb
|
|
704
|
-
- spec/models/remote_response_spec.rb
|
|
705
|
-
- spec/models/filesystem_exporter_response_spec.rb
|
|
706
|
-
- spec/models/paginated_multiple_artifact_content_response_list_spec.rb
|
|
707
|
-
- spec/models/policy_enum_spec.rb
|
|
708
702
|
- spec/models/paginated_filesystem_exporter_response_list_spec.rb
|
|
709
|
-
- spec/models/
|
|
703
|
+
- spec/models/paginated_content_guard_response_list_spec.rb
|
|
704
|
+
- spec/models/paginated_group_user_response_list_spec.rb
|
|
705
|
+
- spec/models/patched_domain_spec.rb
|
|
706
|
+
- spec/models/multiple_artifact_content_response_spec.rb
|
|
707
|
+
- spec/models/paginated_repository_response_list_spec.rb
|
|
708
|
+
- spec/models/patched_rbac_content_guard_spec.rb
|
|
709
|
+
- spec/models/paginated_import_response_list_spec.rb
|
|
710
|
+
- spec/models/orphans_cleanup_spec.rb
|
|
710
711
|
- spec/models/nested_role_spec.rb
|
|
711
|
-
- spec/models/
|
|
712
|
-
- spec/models/
|
|
713
|
-
- spec/models/
|
|
712
|
+
- spec/models/pulp_exporter_response_spec.rb
|
|
713
|
+
- spec/models/paginated_multiple_artifact_content_response_list_spec.rb
|
|
714
|
+
- spec/models/paginated_upstream_pulp_response_list_spec.rb
|
|
715
|
+
- spec/models/access_policy_spec.rb
|
|
716
|
+
- spec/models/paginated_domain_response_list_spec.rb
|
|
717
|
+
- spec/models/paginated_pulp_export_response_list_spec.rb
|
|
718
|
+
- spec/models/paginated_user_response_list_spec.rb
|
|
719
|
+
- spec/models/pulp_import_check_spec.rb
|
|
720
|
+
- spec/models/user_response_spec.rb
|
|
721
|
+
- spec/models/filesystem_export_response_spec.rb
|
|
722
|
+
- spec/models/content_settings_response_spec.rb
|
|
723
|
+
- spec/models/role_spec.rb
|
|
724
|
+
- spec/models/paginated_group_role_response_list_spec.rb
|
|
725
|
+
- spec/models/domain_spec.rb
|
|
726
|
+
- spec/models/repair_spec.rb
|
|
727
|
+
- spec/models/group_user_spec.rb
|
|
728
|
+
- spec/models/task_group_response_spec.rb
|
|
729
|
+
- spec/models/worker_response_spec.rb
|
|
714
730
|
- spec/models/patched_upstream_pulp_spec.rb
|
|
715
|
-
- spec/models/
|
|
716
|
-
- spec/models/
|
|
731
|
+
- spec/models/patched_content_redirect_content_guard_spec.rb
|
|
732
|
+
- spec/models/paginated_upload_response_list_spec.rb
|
|
733
|
+
- spec/models/group_role_spec.rb
|
|
734
|
+
- spec/models/paginated_user_role_response_list_spec.rb
|
|
735
|
+
- spec/models/policy_enum_spec.rb
|
|
736
|
+
- spec/models/artifact_spec.rb
|
|
737
|
+
- spec/models/distribution_response_spec.rb
|
|
738
|
+
- spec/models/database_connection_response_spec.rb
|
|
717
739
|
- spec/models/paginated_task_schedule_response_list_spec.rb
|
|
740
|
+
- spec/models/remote_response_spec.rb
|
|
741
|
+
- spec/models/user_role_response_spec.rb
|
|
742
|
+
- spec/models/group_progress_report_response_spec.rb
|
|
743
|
+
- spec/models/upload_chunk_response_spec.rb
|
|
744
|
+
- spec/models/my_permissions_response_spec.rb
|
|
745
|
+
- spec/models/user_group_spec.rb
|
|
746
|
+
- spec/models/paginated_distribution_response_list_spec.rb
|
|
747
|
+
- spec/models/artifact_distribution_response_spec.rb
|
|
748
|
+
- spec/models/publication_response_spec.rb
|
|
749
|
+
- spec/models/content_app_status_response_spec.rb
|
|
750
|
+
- spec/models/user_role_spec.rb
|
|
751
|
+
- spec/models/storage_class_enum_spec.rb
|
|
752
|
+
- spec/models/signing_service_response_spec.rb
|
|
718
753
|
- spec/models/paginated_artifact_response_list_spec.rb
|
|
719
|
-
- spec/models/artifact_spec.rb
|
|
720
754
|
- spec/models/minimal_task_response_spec.rb
|
|
721
|
-
- spec/models/
|
|
722
|
-
- spec/models/group_role_response_spec.rb
|
|
723
|
-
- spec/models/pulp_import_check_spec.rb
|
|
724
|
-
- spec/models/rbac_content_guard_spec.rb
|
|
725
|
-
- spec/models/paginated_pulp_importer_response_list_spec.rb
|
|
726
|
-
- spec/models/purge_spec.rb
|
|
727
|
-
- spec/models/paginated_remote_response_list_spec.rb
|
|
728
|
-
- spec/models/object_roles_response_spec.rb
|
|
729
|
-
- spec/models/filesystem_exporter_spec.rb
|
|
730
|
-
- spec/models/user_role_spec.rb
|
|
731
|
-
- spec/models/paginated_content_guard_response_list_spec.rb
|
|
732
|
-
- spec/models/publication_response_spec.rb
|
|
733
|
-
- spec/models/user_role_response_spec.rb
|
|
755
|
+
- spec/models/upload_chunk_spec.rb
|
|
734
756
|
- spec/models/user_group_response_spec.rb
|
|
735
|
-
- spec/models/
|
|
757
|
+
- spec/models/domain_response_spec.rb
|
|
736
758
|
- spec/models/method_enum_spec.rb
|
|
737
|
-
- spec/models/
|
|
759
|
+
- spec/models/patched_pulp_exporter_spec.rb
|
|
760
|
+
- spec/models/upstream_pulp_spec.rb
|
|
761
|
+
- spec/models/progress_report_response_spec.rb
|
|
762
|
+
- spec/models/paginated_repository_version_response_list_spec.rb
|
|
763
|
+
- spec/models/upstream_pulp_response_spec.rb
|
|
764
|
+
- spec/models/paginated_remote_response_list_spec.rb
|
|
765
|
+
- spec/models/async_operation_response_spec.rb
|
|
738
766
|
- spec/models/paginated_artifact_distribution_response_list_spec.rb
|
|
767
|
+
- spec/models/patched_group_spec.rb
|
|
768
|
+
- spec/models/evaluation_response_spec.rb
|
|
769
|
+
- spec/models/paginated_publication_response_list_spec.rb
|
|
770
|
+
- spec/models/patched_filesystem_exporter_spec.rb
|
|
771
|
+
- spec/models/repository_version_response_spec.rb
|
|
772
|
+
- spec/models/remote_response_hidden_fields_spec.rb
|
|
773
|
+
- spec/models/paginated_pulp_importer_response_list_spec.rb
|
|
774
|
+
- spec/models/repository_response_spec.rb
|
|
775
|
+
- spec/models/version_response_spec.rb
|
|
776
|
+
- spec/models/user_spec.rb
|
|
777
|
+
- spec/models/states_enum_spec.rb
|
|
739
778
|
- spec/models/pulp_importer_spec.rb
|
|
740
|
-
- spec/models/
|
|
741
|
-
- spec/models/
|
|
742
|
-
- spec/models/progress_report_response_spec.rb
|
|
743
|
-
- spec/models/upload_commit_spec.rb
|
|
744
|
-
- spec/models/database_connection_response_spec.rb
|
|
745
|
-
- spec/models/patched_rbac_content_guard_spec.rb
|
|
746
|
-
- spec/models/pulp_import_spec.rb
|
|
779
|
+
- spec/models/paginated_filesystem_export_response_list_spec.rb
|
|
780
|
+
- spec/models/upload_response_spec.rb
|
|
747
781
|
- spec/models/paginated_pulp_exporter_response_list_spec.rb
|
|
748
|
-
- spec/models/
|
|
749
|
-
- spec/models/
|
|
750
|
-
- spec/models/
|
|
751
|
-
- spec/models/
|
|
752
|
-
- spec/models/
|
|
753
|
-
- spec/models/
|
|
754
|
-
- spec/models/upload_chunk_response_spec.rb
|
|
755
|
-
- spec/models/paginated_group_user_response_list_spec.rb
|
|
756
|
-
- spec/models/paginated_distribution_response_list_spec.rb
|
|
782
|
+
- spec/models/paginated_worker_response_list_spec.rb
|
|
783
|
+
- spec/models/pulp_import_check_response_spec.rb
|
|
784
|
+
- spec/models/redis_connection_response_spec.rb
|
|
785
|
+
- spec/models/pulp_export_response_spec.rb
|
|
786
|
+
- spec/models/patched_pulp_importer_spec.rb
|
|
787
|
+
- spec/models/patched_access_policy_spec.rb
|
|
757
788
|
- spec/models/upload_spec.rb
|
|
758
|
-
- spec/models/content_guard_response_spec.rb
|
|
759
|
-
- spec/models/task_group_operation_response_spec.rb
|
|
760
|
-
- spec/models/patched_pulp_exporter_spec.rb
|
|
761
|
-
- spec/models/paginated_task_response_list_spec.rb
|
|
762
|
-
- spec/models/pulp_export_spec.rb
|
|
763
|
-
- spec/models/states_enum_spec.rb
|
|
764
|
-
- spec/models/nested_role_response_spec.rb
|
|
765
|
-
- spec/models/patched_content_redirect_content_guard_spec.rb
|
|
766
|
-
- spec/models/task_schedule_response_spec.rb
|
|
767
|
-
- spec/models/orphans_cleanup_spec.rb
|
|
768
|
-
- spec/models/storage_response_spec.rb
|
|
769
|
-
- spec/models/patched_task_cancel_spec.rb
|
|
770
|
-
- spec/models/content_redirect_content_guard_response_spec.rb
|
|
771
|
-
- spec/models/repair_spec.rb
|
|
772
|
-
- spec/models/paginated_domain_response_list_spec.rb
|
|
773
|
-
- spec/models/rbac_content_guard_response_spec.rb
|
|
774
|
-
- spec/models/upload_chunk_spec.rb
|
|
775
789
|
- spec/models/access_policy_response_spec.rb
|
|
776
|
-
- spec/models/access_policy_spec.rb
|
|
777
|
-
- spec/models/paginated_import_response_list_spec.rb
|
|
778
|
-
- spec/models/patched_pulp_importer_spec.rb
|
|
779
|
-
- spec/models/paginated_task_group_response_list_spec.rb
|
|
780
|
-
- spec/models/paginated_repository_response_list_spec.rb
|
|
781
|
-
- spec/models/paginated_user_role_response_list_spec.rb
|
|
782
|
-
- spec/models/artifact_response_spec.rb
|
|
783
|
-
- spec/models/reclaim_space_spec.rb
|
|
784
|
-
- spec/models/upload_response_spec.rb
|
|
785
|
-
- spec/models/signing_service_response_spec.rb
|
|
786
|
-
- spec/models/content_app_status_response_spec.rb
|
|
787
|
-
- spec/models/group_spec.rb
|
|
788
|
-
- spec/models/patched_user_spec.rb
|
|
789
|
-
- spec/models/paginated_user_response_list_spec.rb
|
|
790
790
|
- spec/spec_helper.rb
|