pulp_rpm_client 3.10.0 → 3.11.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: 1131b91e4de69b3f7ed602faac73e91d66ff501b57a32d3bb7a14ace2ebc6eb0
4
- data.tar.gz: 75a6dda090303508f75f566088195d2bece94df23b8cfc9063d22ecdbe6fad45
3
+ metadata.gz: cdf857673099dba05fd77f082635e3cf56e6b7fe4e6acd125effdf3fced4ec27
4
+ data.tar.gz: d674ce5353ecfc6e1d6bb03882107f2888ac4c8740d1ab827dacaefd8e5d125e
5
5
  SHA512:
6
- metadata.gz: e90ccf58c453132bb3ab536bb11e28bfba3f8a9aa7876aef6e0975e3024884feb42e9466d8fb2e463a56b906e3fba48c285de4391bf410de8636355dd502c87f
7
- data.tar.gz: 2d0a3ab81ed7d1a79cea0f95ce550ea6be2a19272eecca3a2fa0f4249210e19a363273b3c857e21e43e02bce0e7059c960a9a1684b02d074404ac8eefde3d3fb
6
+ metadata.gz: 8a5eb46052ffaddffca9dd080a46894c65a2ec1df0e5c1676c649a05485e470e3c23add8456967bf7c9343e4e63803180830db31602d87dea02db1f2c07860bf
7
+ data.tar.gz: 03cf3a885951ce6d8e133fe037c22aacc80753bf817dbc14e77113819fcef435699555336b2a585a36a5dda6ed0e71613421ef664333d7718937d6b261cf9349
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.0
10
+ - Package version: 3.11.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_rpm_client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./pulp_rpm_client-3.10.0.gem
27
+ gem install ./pulp_rpm_client-3.11.0.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_rpm_client-3.10.0.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_rpm_client-3.11.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_rpm_client', '~> 3.10.0'
36
+ gem 'pulp_rpm_client', '~> 3.11.0'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -12,7 +12,7 @@ Method | HTTP request | Description
12
12
 
13
13
  ## create
14
14
 
15
- > AsyncOperationResponse create(relative_path, name, stream, version, context, arch, artifacts, dependencies, opts)
15
+ > AsyncOperationResponse create(relative_path, name, stream, version, static_context, context, arch, artifacts, dependencies, opts)
16
16
 
17
17
  Create a modulemd
18
18
 
@@ -35,6 +35,7 @@ relative_path = 'relative_path_example' # String | Path where the artifact is lo
35
35
  name = 'name_example' # String | Modulemd name.
36
36
  stream = 'stream_example' # String | Stream name.
37
37
  version = 'version_example' # String | Modulemd version.
38
+ static_context = true # Boolean | Modulemd static-context flag.
38
39
  context = 'context_example' # String | Modulemd context.
39
40
  arch = 'arch_example' # String | Modulemd architecture.
40
41
  artifacts = nil # Object | Modulemd artifacts.
@@ -48,7 +49,7 @@ opts = {
48
49
 
49
50
  begin
50
51
  #Create a modulemd
51
- result = api_instance.create(relative_path, name, stream, version, context, arch, artifacts, dependencies, opts)
52
+ result = api_instance.create(relative_path, name, stream, version, static_context, context, arch, artifacts, dependencies, opts)
52
53
  p result
53
54
  rescue PulpRpmClient::ApiError => e
54
55
  puts "Exception when calling ContentModulemdsApi->create: #{e}"
@@ -64,6 +65,7 @@ Name | Type | Description | Notes
64
65
  **name** | **String**| Modulemd name. |
65
66
  **stream** | **String**| Stream name. |
66
67
  **version** | **String**| Modulemd version. |
68
+ **static_context** | **Boolean**| Modulemd static-context flag. |
67
69
  **context** | **String**| Modulemd context. |
68
70
  **arch** | **String**| Modulemd architecture. |
69
71
  **artifacts** | [**Object**](Object.md)| Modulemd artifacts. |
@@ -4,9 +4,9 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **added** | [**Object**](.md) | |
8
- **removed** | [**Object**](.md) | |
9
- **present** | [**Object**](.md) | |
7
+ **added** | **Hash<String, Object>** | |
8
+ **removed** | **Hash<String, Object>** | |
9
+ **present** | **Hash<String, Object>** | |
10
10
 
11
11
  ## Code Sample
12
12
 
@@ -4,9 +4,9 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **added** | [**Object**](.md) | |
8
- **removed** | [**Object**](.md) | |
9
- **present** | [**Object**](.md) | |
7
+ **added** | **Hash<String, Object>** | |
8
+ **removed** | **Hash<String, Object>** | |
9
+ **present** | **Hash<String, Object>** | |
10
10
 
11
11
  ## Code Sample
12
12
 
data/docs/RpmModulemd.md CHANGED
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
11
11
  **name** | **String** | Modulemd name. |
12
12
  **stream** | **String** | Stream name. |
13
13
  **version** | **String** | Modulemd version. |
14
+ **static_context** | **Boolean** | Modulemd static-context flag. |
14
15
  **context** | **String** | Modulemd context. |
15
16
  **arch** | **String** | Modulemd architecture. |
16
17
  **artifacts** | [**Object**](.md) | Modulemd artifacts. |
@@ -29,6 +30,7 @@ instance = PulpRpmClient::RpmModulemd.new(artifact: null,
29
30
  name: null,
30
31
  stream: null,
31
32
  version: null,
33
+ static_context: null,
32
34
  context: null,
33
35
  arch: null,
34
36
  artifacts: null,
@@ -16,6 +16,7 @@ Name | Type | Description | Notes
16
16
  **name** | **String** | Modulemd name. |
17
17
  **stream** | **String** | Stream name. |
18
18
  **version** | **String** | Modulemd version. |
19
+ **static_context** | **Boolean** | Modulemd static-context flag. |
19
20
  **context** | **String** | Modulemd context. |
20
21
  **arch** | **String** | Modulemd architecture. |
21
22
  **artifacts** | [**Object**](.md) | Modulemd artifacts. |
@@ -39,6 +40,7 @@ instance = PulpRpmClient::RpmModulemdResponse.new(pulp_href: null,
39
40
  name: null,
40
41
  stream: null,
41
42
  version: null,
43
+ static_context: null,
42
44
  context: null,
43
45
  arch: null,
44
46
  artifacts: null,
@@ -25,6 +25,7 @@ module PulpRpmClient
25
25
  # @param name [String] Modulemd name.
26
26
  # @param stream [String] Stream name.
27
27
  # @param version [String] Modulemd version.
28
+ # @param static_context [Boolean] Modulemd static-context flag.
28
29
  # @param context [String] Modulemd context.
29
30
  # @param arch [String] Modulemd architecture.
30
31
  # @param artifacts [Object] Modulemd artifacts.
@@ -35,8 +36,8 @@ module PulpRpmClient
35
36
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
36
37
  # @option opts [Array<String>] :packages Modulemd artifacts&#39; packages.
37
38
  # @return [AsyncOperationResponse]
38
- def create(relative_path, name, stream, version, context, arch, artifacts, dependencies, opts = {})
39
- data, _status_code, _headers = create_with_http_info(relative_path, name, stream, version, context, arch, artifacts, dependencies, opts)
39
+ def create(relative_path, name, stream, version, static_context, context, arch, artifacts, dependencies, opts = {})
40
+ data, _status_code, _headers = create_with_http_info(relative_path, name, stream, version, static_context, context, arch, artifacts, dependencies, opts)
40
41
  data
41
42
  end
42
43
 
@@ -46,6 +47,7 @@ module PulpRpmClient
46
47
  # @param name [String] Modulemd name.
47
48
  # @param stream [String] Stream name.
48
49
  # @param version [String] Modulemd version.
50
+ # @param static_context [Boolean] Modulemd static-context flag.
49
51
  # @param context [String] Modulemd context.
50
52
  # @param arch [String] Modulemd architecture.
51
53
  # @param artifacts [Object] Modulemd artifacts.
@@ -56,7 +58,7 @@ module PulpRpmClient
56
58
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
57
59
  # @option opts [Array<String>] :packages Modulemd artifacts&#39; packages.
58
60
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
59
- def create_with_http_info(relative_path, name, stream, version, context, arch, artifacts, dependencies, opts = {})
61
+ def create_with_http_info(relative_path, name, stream, version, static_context, context, arch, artifacts, dependencies, opts = {})
60
62
  if @api_client.config.debugging
61
63
  @api_client.config.logger.debug 'Calling API: ContentModulemdsApi.create ...'
62
64
  end
@@ -76,6 +78,10 @@ module PulpRpmClient
76
78
  if @api_client.config.client_side_validation && version.nil?
77
79
  fail ArgumentError, "Missing the required parameter 'version' when calling ContentModulemdsApi.create"
78
80
  end
81
+ # verify the required parameter 'static_context' is set
82
+ if @api_client.config.client_side_validation && static_context.nil?
83
+ fail ArgumentError, "Missing the required parameter 'static_context' when calling ContentModulemdsApi.create"
84
+ end
79
85
  # verify the required parameter 'context' is set
80
86
  if @api_client.config.client_side_validation && context.nil?
81
87
  fail ArgumentError, "Missing the required parameter 'context' when calling ContentModulemdsApi.create"
@@ -103,6 +109,7 @@ module PulpRpmClient
103
109
  form_params['name'] = name
104
110
  form_params['stream'] = stream
105
111
  form_params['version'] = version
112
+ form_params['static_context'] = static_context
106
113
  form_params['context'] = context
107
114
  form_params['arch'] = arch
108
115
  form_params['artifacts'] = artifacts
@@ -172,14 +172,6 @@ module PulpRpmClient
172
172
  if @api_client.config.client_side_validation && opts[:'checksum_type'] && !allowable_values.include?(opts[:'checksum_type'])
173
173
  fail ArgumentError, "invalid value for \"checksum_type\", must be one of #{allowable_values}"
174
174
  end
175
- allowable_values = ["md5", "sha1", "sha224", "sha256", "sha384", "sha512", "unknown"]
176
- if @api_client.config.client_side_validation && opts[:'checksum_type__in'] && !opts[:'checksum_type__in'].all? { |item| allowable_values.include?(item) }
177
- fail ArgumentError, "invalid value for \"checksum_type__in\", must include one of #{allowable_values}"
178
- end
179
- allowable_values = ["md5", "sha1", "sha224", "sha256", "sha384", "sha512", "unknown"]
180
- if @api_client.config.client_side_validation && opts[:'checksum_type__ne'] && !allowable_values.include?(opts[:'checksum_type__ne'])
181
- fail ArgumentError, "invalid value for \"checksum_type__ne\", must be one of #{allowable_values}"
182
- end
183
175
  # resource path
184
176
  local_var_path = '/pulp/api/v3/content/rpm/packages/'
185
177
 
@@ -142,26 +142,6 @@ module PulpRpmClient
142
142
  if @api_client.config.client_side_validation && rpm_rpm_repository_href.nil?
143
143
  fail ArgumentError, "Missing the required parameter 'rpm_rpm_repository_href' when calling RepositoriesRpmVersionsApi.list"
144
144
  end
145
- if @api_client.config.client_side_validation && !opts[:'number'].nil? && opts[:'number'] > 2147483647
146
- fail ArgumentError, 'invalid value for "opts[:"number"]" when calling RepositoriesRpmVersionsApi.list, must be smaller than or equal to 2147483647.'
147
- end
148
-
149
- if @api_client.config.client_side_validation && !opts[:'number__gt'].nil? && opts[:'number__gt'] > 2147483647
150
- fail ArgumentError, 'invalid value for "opts[:"number__gt"]" when calling RepositoriesRpmVersionsApi.list, must be smaller than or equal to 2147483647.'
151
- end
152
-
153
- if @api_client.config.client_side_validation && !opts[:'number__gte'].nil? && opts[:'number__gte'] > 2147483647
154
- fail ArgumentError, 'invalid value for "opts[:"number__gte"]" when calling RepositoriesRpmVersionsApi.list, must be smaller than or equal to 2147483647.'
155
- end
156
-
157
- if @api_client.config.client_side_validation && !opts[:'number__lt'].nil? && opts[:'number__lt'] > 2147483647
158
- fail ArgumentError, 'invalid value for "opts[:"number__lt"]" when calling RepositoriesRpmVersionsApi.list, must be smaller than or equal to 2147483647.'
159
- end
160
-
161
- if @api_client.config.client_side_validation && !opts[:'number__lte'].nil? && opts[:'number__lte'] > 2147483647
162
- fail ArgumentError, 'invalid value for "opts[:"number__lte"]" when calling RepositoriesRpmVersionsApi.list, must be smaller than or equal to 2147483647.'
163
- end
164
-
165
145
  # resource path
166
146
  local_var_path = '{rpm_rpm_repository_href}versions/'.sub('{' + 'rpm_rpm_repository_href' + '}', CGI.escape(rpm_rpm_repository_href.to_s).gsub('%2F', '/'))
167
147
 
@@ -33,9 +33,9 @@ module PulpRpmClient
33
33
  # Attribute type mapping.
34
34
  def self.openapi_types
35
35
  {
36
- :'added' => :'Object',
37
- :'removed' => :'Object',
38
- :'present' => :'Object'
36
+ :'added' => :'Hash<String, Object>',
37
+ :'removed' => :'Hash<String, Object>',
38
+ :'present' => :'Hash<String, Object>'
39
39
  }
40
40
  end
41
41
 
@@ -61,15 +61,21 @@ module PulpRpmClient
61
61
  }
62
62
 
63
63
  if attributes.key?(:'added')
64
- self.added = attributes[:'added']
64
+ if (value = attributes[:'added']).is_a?(Hash)
65
+ self.added = value
66
+ end
65
67
  end
66
68
 
67
69
  if attributes.key?(:'removed')
68
- self.removed = attributes[:'removed']
70
+ if (value = attributes[:'removed']).is_a?(Hash)
71
+ self.removed = value
72
+ end
69
73
  end
70
74
 
71
75
  if attributes.key?(:'present')
72
- self.present = attributes[:'present']
76
+ if (value = attributes[:'present']).is_a?(Hash)
77
+ self.present = value
78
+ end
73
79
  end
74
80
  end
75
81
 
@@ -33,9 +33,9 @@ module PulpRpmClient
33
33
  # Attribute type mapping.
34
34
  def self.openapi_types
35
35
  {
36
- :'added' => :'Object',
37
- :'removed' => :'Object',
38
- :'present' => :'Object'
36
+ :'added' => :'Hash<String, Object>',
37
+ :'removed' => :'Hash<String, Object>',
38
+ :'present' => :'Hash<String, Object>'
39
39
  }
40
40
  end
41
41
 
@@ -61,15 +61,21 @@ module PulpRpmClient
61
61
  }
62
62
 
63
63
  if attributes.key?(:'added')
64
- self.added = attributes[:'added']
64
+ if (value = attributes[:'added']).is_a?(Hash)
65
+ self.added = value
66
+ end
65
67
  end
66
68
 
67
69
  if attributes.key?(:'removed')
68
- self.removed = attributes[:'removed']
70
+ if (value = attributes[:'removed']).is_a?(Hash)
71
+ self.removed = value
72
+ end
69
73
  end
70
74
 
71
75
  if attributes.key?(:'present')
72
- self.present = attributes[:'present']
76
+ if (value = attributes[:'present']).is_a?(Hash)
77
+ self.present = value
78
+ end
73
79
  end
74
80
  end
75
81
 
@@ -36,6 +36,9 @@ module PulpRpmClient
36
36
  # Modulemd version.
37
37
  attr_accessor :version
38
38
 
39
+ # Modulemd static-context flag.
40
+ attr_accessor :static_context
41
+
39
42
  # Modulemd context.
40
43
  attr_accessor :context
41
44
 
@@ -61,6 +64,7 @@ module PulpRpmClient
61
64
  :'name' => :'name',
62
65
  :'stream' => :'stream',
63
66
  :'version' => :'version',
67
+ :'static_context' => :'static_context',
64
68
  :'context' => :'context',
65
69
  :'arch' => :'arch',
66
70
  :'artifacts' => :'artifacts',
@@ -79,6 +83,7 @@ module PulpRpmClient
79
83
  :'name' => :'String',
80
84
  :'stream' => :'String',
81
85
  :'version' => :'String',
86
+ :'static_context' => :'Boolean',
82
87
  :'context' => :'String',
83
88
  :'arch' => :'String',
84
89
  :'artifacts' => :'Object',
@@ -138,6 +143,10 @@ module PulpRpmClient
138
143
  self.version = attributes[:'version']
139
144
  end
140
145
 
146
+ if attributes.key?(:'static_context')
147
+ self.static_context = attributes[:'static_context']
148
+ end
149
+
141
150
  if attributes.key?(:'context')
142
151
  self.context = attributes[:'context']
143
152
  end
@@ -181,6 +190,10 @@ module PulpRpmClient
181
190
  invalid_properties.push('invalid value for "version", version cannot be nil.')
182
191
  end
183
192
 
193
+ if @static_context.nil?
194
+ invalid_properties.push('invalid value for "static_context", static_context cannot be nil.')
195
+ end
196
+
184
197
  if @context.nil?
185
198
  invalid_properties.push('invalid value for "context", context cannot be nil.')
186
199
  end
@@ -199,6 +212,7 @@ module PulpRpmClient
199
212
  return false if @name.nil?
200
213
  return false if @stream.nil?
201
214
  return false if @version.nil?
215
+ return false if @static_context.nil?
202
216
  return false if @context.nil?
203
217
  return false if @arch.nil?
204
218
  true
@@ -216,6 +230,7 @@ module PulpRpmClient
216
230
  name == o.name &&
217
231
  stream == o.stream &&
218
232
  version == o.version &&
233
+ static_context == o.static_context &&
219
234
  context == o.context &&
220
235
  arch == o.arch &&
221
236
  artifacts == o.artifacts &&
@@ -232,7 +247,7 @@ module PulpRpmClient
232
247
  # Calculates hash code according to all attributes.
233
248
  # @return [Integer] Hash code
234
249
  def hash
235
- [artifact, relative_path, file, repository, name, stream, version, context, arch, artifacts, dependencies, packages].hash
250
+ [artifact, relative_path, file, repository, name, stream, version, static_context, context, arch, artifacts, dependencies, packages].hash
236
251
  end
237
252
 
238
253
  # Builds the object from hash
@@ -50,6 +50,9 @@ module PulpRpmClient
50
50
  # Modulemd version.
51
51
  attr_accessor :version
52
52
 
53
+ # Modulemd static-context flag.
54
+ attr_accessor :static_context
55
+
53
56
  # Modulemd context.
54
57
  attr_accessor :context
55
58
 
@@ -80,6 +83,7 @@ module PulpRpmClient
80
83
  :'name' => :'name',
81
84
  :'stream' => :'stream',
82
85
  :'version' => :'version',
86
+ :'static_context' => :'static_context',
83
87
  :'context' => :'context',
84
88
  :'arch' => :'arch',
85
89
  :'artifacts' => :'artifacts',
@@ -103,6 +107,7 @@ module PulpRpmClient
103
107
  :'name' => :'String',
104
108
  :'stream' => :'String',
105
109
  :'version' => :'String',
110
+ :'static_context' => :'Boolean',
106
111
  :'context' => :'String',
107
112
  :'arch' => :'String',
108
113
  :'artifacts' => :'Object',
@@ -182,6 +187,10 @@ module PulpRpmClient
182
187
  self.version = attributes[:'version']
183
188
  end
184
189
 
190
+ if attributes.key?(:'static_context')
191
+ self.static_context = attributes[:'static_context']
192
+ end
193
+
185
194
  if attributes.key?(:'context')
186
195
  self.context = attributes[:'context']
187
196
  end
@@ -221,6 +230,10 @@ module PulpRpmClient
221
230
  invalid_properties.push('invalid value for "version", version cannot be nil.')
222
231
  end
223
232
 
233
+ if @static_context.nil?
234
+ invalid_properties.push('invalid value for "static_context", static_context cannot be nil.')
235
+ end
236
+
224
237
  if @context.nil?
225
238
  invalid_properties.push('invalid value for "context", context cannot be nil.')
226
239
  end
@@ -238,6 +251,7 @@ module PulpRpmClient
238
251
  return false if @name.nil?
239
252
  return false if @stream.nil?
240
253
  return false if @version.nil?
254
+ return false if @static_context.nil?
241
255
  return false if @context.nil?
242
256
  return false if @arch.nil?
243
257
  true
@@ -260,6 +274,7 @@ module PulpRpmClient
260
274
  name == o.name &&
261
275
  stream == o.stream &&
262
276
  version == o.version &&
277
+ static_context == o.static_context &&
263
278
  context == o.context &&
264
279
  arch == o.arch &&
265
280
  artifacts == o.artifacts &&
@@ -276,7 +291,7 @@ module PulpRpmClient
276
291
  # Calculates hash code according to all attributes.
277
292
  # @return [Integer] Hash code
278
293
  def hash
279
- [pulp_href, pulp_created, md5, sha1, sha224, sha256, sha384, sha512, artifact, name, stream, version, context, arch, artifacts, dependencies, packages].hash
294
+ [pulp_href, pulp_created, md5, sha1, sha224, sha256, sha384, sha512, artifact, name, stream, version, static_context, context, arch, artifacts, dependencies, packages].hash
280
295
  end
281
296
 
282
297
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.2.3
11
11
  =end
12
12
 
13
13
  module PulpRpmClient
14
- VERSION = '3.10.0'
14
+ VERSION = '3.11.0'
15
15
  end
@@ -39,6 +39,7 @@ describe 'ContentModulemdsApi' do
39
39
  # @param name Modulemd name.
40
40
  # @param stream Stream name.
41
41
  # @param version Modulemd version.
42
+ # @param static_context Modulemd static-context flag.
42
43
  # @param context Modulemd context.
43
44
  # @param arch Modulemd architecture.
44
45
  # @param artifacts Modulemd artifacts.
@@ -104,6 +104,12 @@ describe 'RpmModulemdResponse' do
104
104
  end
105
105
  end
106
106
 
107
+ describe 'test attribute "static_context"' do
108
+ it 'should work' do
109
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
110
+ end
111
+ end
112
+
107
113
  describe 'test attribute "context"' do
108
114
  it 'should work' do
109
115
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -74,6 +74,12 @@ describe 'RpmModulemd' do
74
74
  end
75
75
  end
76
76
 
77
+ describe 'test attribute "static_context"' 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 "context"' do
78
84
  it 'should work' do
79
85
  # 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_rpm_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.10.0
4
+ version: 3.11.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-03-25 00:00:00.000000000 Z
11
+ date: 2021-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -328,86 +328,86 @@ required_rubygems_version: !ruby/object:Gem::Requirement
328
328
  - !ruby/object:Gem::Version
329
329
  version: '0'
330
330
  requirements: []
331
- rubygems_version: 3.0.3
331
+ rubygems_version: 3.0.3.1
332
332
  signing_key:
333
333
  specification_version: 4
334
334
  summary: Pulp 3 API Ruby Gem
335
335
  test_files:
336
+ - spec/api/content_repo_metadata_files_api_spec.rb
337
+ - spec/api/content_packagecategories_api_spec.rb
338
+ - spec/api/content_packages_api_spec.rb
336
339
  - spec/api/remotes_rpm_api_spec.rb
340
+ - spec/api/content_modulemds_api_spec.rb
341
+ - spec/api/repositories_rpm_versions_api_spec.rb
337
342
  - spec/api/distributions_rpm_api_spec.rb
338
- - spec/api/content_packageenvironments_api_spec.rb
339
- - spec/api/content_distribution_trees_api_spec.rb
340
- - spec/api/repositories_rpm_api_spec.rb
343
+ - spec/api/publications_rpm_api_spec.rb
341
344
  - spec/api/content_packagelangpacks_api_spec.rb
345
+ - spec/api/content_advisories_api_spec.rb
346
+ - spec/api/repositories_rpm_api_spec.rb
342
347
  - spec/api/content_modulemd_defaults_api_spec.rb
348
+ - spec/api/content_distribution_trees_api_spec.rb
349
+ - spec/api/content_packageenvironments_api_spec.rb
343
350
  - spec/api/rpm_copy_api_spec.rb
344
351
  - spec/api/content_packagegroups_api_spec.rb
345
- - spec/api/content_packagecategories_api_spec.rb
346
- - spec/api/content_advisories_api_spec.rb
347
- - spec/api/content_repo_metadata_files_api_spec.rb
348
- - spec/api/content_modulemds_api_spec.rb
349
- - spec/api/publications_rpm_api_spec.rb
350
- - spec/api/content_packages_api_spec.rb
351
- - spec/api/repositories_rpm_versions_api_spec.rb
352
352
  - spec/api_client_spec.rb
353
353
  - spec/configuration_spec.rb
354
+ - spec/models/rpm_package_group_response_spec.rb
355
+ - spec/models/rpm_rpm_publication_spec.rb
356
+ - spec/models/paginatedrpm_distribution_tree_response_list_spec.rb
357
+ - spec/models/patchedrpm_rpm_distribution_spec.rb
358
+ - spec/models/patchedrpm_rpm_repository_spec.rb
359
+ - spec/models/paginatedrpm_rpm_repository_response_list_spec.rb
354
360
  - spec/models/rpm_package_category_response_spec.rb
355
- - spec/models/package_checksum_type_enum_spec.rb
356
361
  - spec/models/paginatedrpm_package_category_response_list_spec.rb
357
- - spec/models/artifact_response_spec.rb
358
- - spec/models/rpm_update_collection_response_spec.rb
362
+ - spec/models/rpm_rpm_distribution_response_spec.rb
363
+ - spec/models/repository_version_spec.rb
364
+ - spec/models/rpm_rpm_publication_response_spec.rb
365
+ - spec/models/copy_spec.rb
366
+ - spec/models/rpm_rpm_remote_response_spec.rb
367
+ - spec/models/paginatedrpm_repo_metadata_file_response_list_spec.rb
359
368
  - spec/models/rpm_rpm_repository_spec.rb
360
- - spec/models/repository_add_remove_content_spec.rb
361
- - spec/models/rpm_repo_metadata_file_response_spec.rb
362
- - spec/models/rpm_rpm_repository_response_spec.rb
363
- - spec/models/skip_types_enum_spec.rb
364
- - spec/models/rpm_package_response_spec.rb
365
- - spec/models/paginatedrpm_rpm_publication_response_list_spec.rb
366
- - spec/models/rpm_package_langpacks_response_spec.rb
367
- - spec/models/async_operation_response_spec.rb
368
- - spec/models/paginatedrpm_rpm_remote_response_list_spec.rb
369
- - spec/models/paginatedrpm_rpm_distribution_response_list_spec.rb
370
369
  - spec/models/addon_response_spec.rb
371
- - spec/models/rpm_rpm_remote_spec.rb
372
- - spec/models/patchedrpm_rpm_repository_spec.rb
373
- - spec/models/image_response_spec.rb
374
- - spec/models/patchedrpm_rpm_distribution_spec.rb
375
- - spec/models/checksum_response_spec.rb
376
370
  - spec/models/paginatedrpm_package_environment_response_list_spec.rb
371
+ - spec/models/paginatedrpm_modulemd_defaults_response_list_spec.rb
372
+ - spec/models/paginatedrpm_rpm_distribution_response_list_spec.rb
373
+ - spec/models/rpm_modulemd_defaults_spec.rb
374
+ - spec/models/skip_types_enum_spec.rb
375
+ - spec/models/patchedrpm_rpm_remote_spec.rb
377
376
  - spec/models/policy_enum_spec.rb
378
- - spec/models/repository_version_spec.rb
379
- - spec/models/content_summary_response_spec.rb
377
+ - spec/models/rpm_package_response_spec.rb
378
+ - spec/models/rpm_rpm_distribution_spec.rb
380
379
  - spec/models/paginatedrpm_package_group_response_list_spec.rb
381
- - spec/models/rpm_rpm_publication_spec.rb
382
- - spec/models/rpm_distribution_tree_response_spec.rb
383
- - spec/models/rpm_modulemd_defaults_response_spec.rb
380
+ - spec/models/rpm_rpm_remote_spec.rb
381
+ - spec/models/rpm_repo_metadata_file_response_spec.rb
382
+ - spec/models/artifact_response_spec.rb
384
383
  - spec/models/rpm_repository_sync_url_spec.rb
385
- - spec/models/rpm_package_environment_response_spec.rb
386
- - spec/models/rpm_update_collection_spec.rb
387
- - spec/models/paginatedrpm_package_langpacks_response_list_spec.rb
388
- - spec/models/paginatedrpm_distribution_tree_response_list_spec.rb
389
- - spec/models/repository_version_response_spec.rb
390
- - spec/models/rpm_rpm_publication_response_spec.rb
391
- - spec/models/paginatedrpm_modulemd_response_list_spec.rb
392
- - spec/models/variant_response_spec.rb
393
- - spec/models/paginatedrpm_update_record_response_list_spec.rb
394
384
  - spec/models/metadata_checksum_type_enum_spec.rb
395
- - spec/models/paginatedrpm_modulemd_defaults_response_list_spec.rb
396
- - spec/models/paginatedrpm_repo_metadata_file_response_list_spec.rb
397
- - spec/models/patchedrpm_rpm_remote_spec.rb
398
- - spec/models/paginatedrpm_rpm_repository_response_list_spec.rb
399
- - spec/models/rpm_modulemd_response_spec.rb
400
- - spec/models/rpm_modulemd_spec.rb
401
- - spec/models/rpm_rpm_distribution_response_spec.rb
385
+ - spec/models/repository_version_response_spec.rb
386
+ - spec/models/async_operation_response_spec.rb
387
+ - spec/models/repository_add_remove_content_spec.rb
388
+ - spec/models/rpm_modulemd_defaults_response_spec.rb
402
389
  - spec/models/rpm_update_record_response_spec.rb
390
+ - spec/models/rpm_package_langpacks_response_spec.rb
403
391
  - spec/models/content_summary_spec.rb
404
- - spec/models/rpm_package_group_response_spec.rb
405
- - spec/models/rpm_rpm_distribution_spec.rb
406
- - spec/models/copy_spec.rb
407
- - spec/models/rpm_package_spec.rb
408
- - spec/models/rpm_update_record_spec.rb
409
- - spec/models/rpm_modulemd_defaults_spec.rb
410
- - spec/models/rpm_rpm_remote_response_spec.rb
392
+ - spec/models/rpm_update_collection_response_spec.rb
393
+ - spec/models/rpm_distribution_tree_response_spec.rb
394
+ - spec/models/rpm_modulemd_spec.rb
395
+ - spec/models/content_summary_response_spec.rb
396
+ - spec/models/paginatedrpm_rpm_remote_response_list_spec.rb
397
+ - spec/models/paginatedrpm_update_record_response_list_spec.rb
398
+ - spec/models/paginatedrpm_rpm_publication_response_list_spec.rb
399
+ - spec/models/rpm_modulemd_response_spec.rb
400
+ - spec/models/rpm_rpm_repository_response_spec.rb
401
+ - spec/models/variant_response_spec.rb
411
402
  - spec/models/paginated_repository_version_response_list_spec.rb
403
+ - spec/models/rpm_package_environment_response_spec.rb
412
404
  - spec/models/paginatedrpm_package_response_list_spec.rb
405
+ - spec/models/rpm_update_collection_spec.rb
406
+ - spec/models/rpm_package_spec.rb
407
+ - spec/models/image_response_spec.rb
408
+ - spec/models/paginatedrpm_modulemd_response_list_spec.rb
409
+ - spec/models/paginatedrpm_package_langpacks_response_list_spec.rb
410
+ - spec/models/rpm_update_record_spec.rb
411
+ - spec/models/package_checksum_type_enum_spec.rb
412
+ - spec/models/checksum_response_spec.rb
413
413
  - spec/spec_helper.rb