pulp_deb_client 3.5.2 → 3.6.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.
Files changed (79) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -4
  3. data/docs/ContentGenericContentsApi.md +22 -8
  4. data/docs/ContentInstallerFileIndicesApi.md +28 -12
  5. data/docs/ContentInstallerPackagesApi.md +22 -8
  6. data/docs/ContentPackageIndicesApi.md +28 -12
  7. data/docs/ContentPackageReleaseComponentsApi.md +28 -12
  8. data/docs/ContentPackagesApi.md +22 -8
  9. data/docs/ContentReleaseArchitecturesApi.md +28 -12
  10. data/docs/ContentReleaseComponentsApi.md +28 -12
  11. data/docs/ContentReleaseFilesApi.md +28 -12
  12. data/docs/ContentReleasesApi.md +28 -12
  13. data/docs/ContentSourceIndicesApi.md +28 -12
  14. data/docs/ContentSourcePackagesApi.md +28 -12
  15. data/docs/ContentSourceReleaseComponentsApi.md +28 -12
  16. data/docs/DebAptDistribution.md +3 -1
  17. data/docs/DebAptDistributionResponse.md +3 -1
  18. data/docs/DebAptPublication.md +2 -0
  19. data/docs/DebAptPublicationResponse.md +2 -0
  20. data/docs/DebCopyApi.md +8 -4
  21. data/docs/DistributionsAptApi.md +72 -32
  22. data/docs/PatcheddebAptDistribution.md +3 -1
  23. data/docs/PublicationsAptApi.md +40 -16
  24. data/docs/PublicationsVerbatimApi.md +40 -16
  25. data/docs/RemotesAptApi.md +72 -32
  26. data/docs/RepositoriesAptApi.md +88 -40
  27. data/docs/RepositoriesAptVersionsApi.md +22 -10
  28. data/lib/pulp_deb_client/api/content_generic_contents_api.rb +15 -0
  29. data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +15 -0
  30. data/lib/pulp_deb_client/api/content_installer_packages_api.rb +15 -0
  31. data/lib/pulp_deb_client/api/content_package_indices_api.rb +15 -0
  32. data/lib/pulp_deb_client/api/content_package_release_components_api.rb +15 -0
  33. data/lib/pulp_deb_client/api/content_packages_api.rb +15 -0
  34. data/lib/pulp_deb_client/api/content_release_architectures_api.rb +15 -0
  35. data/lib/pulp_deb_client/api/content_release_components_api.rb +15 -0
  36. data/lib/pulp_deb_client/api/content_release_files_api.rb +15 -0
  37. data/lib/pulp_deb_client/api/content_releases_api.rb +15 -0
  38. data/lib/pulp_deb_client/api/content_source_indices_api.rb +15 -0
  39. data/lib/pulp_deb_client/api/content_source_packages_api.rb +15 -0
  40. data/lib/pulp_deb_client/api/content_source_release_components_api.rb +15 -0
  41. data/lib/pulp_deb_client/api/deb_copy_api.rb +3 -0
  42. data/lib/pulp_deb_client/api/distributions_apt_api.rb +36 -0
  43. data/lib/pulp_deb_client/api/publications_apt_api.rb +24 -0
  44. data/lib/pulp_deb_client/api/publications_verbatim_api.rb +24 -0
  45. data/lib/pulp_deb_client/api/remotes_apt_api.rb +36 -0
  46. data/lib/pulp_deb_client/api/repositories_apt_api.rb +42 -0
  47. data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +15 -3
  48. data/lib/pulp_deb_client/models/deb_apt_distribution.rb +14 -5
  49. data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +14 -5
  50. data/lib/pulp_deb_client/models/deb_apt_publication.rb +10 -1
  51. data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +10 -1
  52. data/lib/pulp_deb_client/models/patcheddeb_apt_distribution.rb +14 -5
  53. data/lib/pulp_deb_client/version.rb +1 -1
  54. data/spec/api/content_generic_contents_api_spec.rb +5 -0
  55. data/spec/api/content_installer_file_indices_api_spec.rb +5 -0
  56. data/spec/api/content_installer_packages_api_spec.rb +5 -0
  57. data/spec/api/content_package_indices_api_spec.rb +5 -0
  58. data/spec/api/content_package_release_components_api_spec.rb +5 -0
  59. data/spec/api/content_packages_api_spec.rb +5 -0
  60. data/spec/api/content_release_architectures_api_spec.rb +5 -0
  61. data/spec/api/content_release_components_api_spec.rb +5 -0
  62. data/spec/api/content_release_files_api_spec.rb +5 -0
  63. data/spec/api/content_releases_api_spec.rb +5 -0
  64. data/spec/api/content_source_indices_api_spec.rb +5 -0
  65. data/spec/api/content_source_packages_api_spec.rb +5 -0
  66. data/spec/api/content_source_release_components_api_spec.rb +5 -0
  67. data/spec/api/deb_copy_api_spec.rb +1 -0
  68. data/spec/api/distributions_apt_api_spec.rb +12 -0
  69. data/spec/api/publications_apt_api_spec.rb +8 -0
  70. data/spec/api/publications_verbatim_api_spec.rb +8 -0
  71. data/spec/api/remotes_apt_api_spec.rb +12 -0
  72. data/spec/api/repositories_apt_api_spec.rb +14 -0
  73. data/spec/api/repositories_apt_versions_api_spec.rb +5 -1
  74. data/spec/models/deb_apt_distribution_response_spec.rb +6 -0
  75. data/spec/models/deb_apt_distribution_spec.rb +6 -0
  76. data/spec/models/deb_apt_publication_response_spec.rb +6 -0
  77. data/spec/models/deb_apt_publication_spec.rb +6 -0
  78. data/spec/models/patcheddeb_apt_distribution_spec.rb +6 -0
  79. metadata +75 -75
@@ -23,6 +23,7 @@ module PulpDebClient
23
23
  # Trigger an asynchronous task to delete a repository version.
24
24
  # @param deb_apt_repository_version_href [String]
25
25
  # @param [Hash] opts the optional parameters
26
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
26
27
  # @return [AsyncOperationResponse]
27
28
  def delete(deb_apt_repository_version_href, opts = {})
28
29
  data, _status_code, _headers = delete_with_http_info(deb_apt_repository_version_href, opts)
@@ -33,6 +34,7 @@ module PulpDebClient
33
34
  # Trigger an asynchronous task to delete a repository version.
34
35
  # @param deb_apt_repository_version_href [String]
35
36
  # @param [Hash] opts the optional parameters
37
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
36
38
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
37
39
  def delete_with_http_info(deb_apt_repository_version_href, opts = {})
38
40
  if @api_client.config.debugging
@@ -52,6 +54,7 @@ module PulpDebClient
52
54
  header_params = opts[:header_params] || {}
53
55
  # HTTP header 'Accept' (if needed)
54
56
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
57
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
55
58
 
56
59
  # form parameters
57
60
  form_params = opts[:form_params] || {}
@@ -86,6 +89,7 @@ module PulpDebClient
86
89
  # An AptRepositoryVersion represents a single APT repository version as stored by Pulp. It may be used as the basis for the creation of Pulp distributions in order to actually serve the content contained within the repository version.
87
90
  # @param deb_apt_repository_href [String]
88
91
  # @param [Hash] opts the optional parameters
92
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
89
93
  # @option opts [String] :content Content Unit referenced by HREF/PRN
90
94
  # @option opts [Array<String>] :content__in Multiple values may be separated by commas.
91
95
  # @option opts [Integer] :limit Number of results to return per page.
@@ -96,7 +100,7 @@ module PulpDebClient
96
100
  # @option opts [Integer] :number__lte Filter results where number is less than or equal to value
97
101
  # @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
98
102
  # @option opts [Integer] :offset The initial index from which to return the results.
99
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;number&#x60; - Number * &#x60;-number&#x60; - Number (descending) * &#x60;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;info&#x60; - Info * &#x60;-info&#x60; - Info (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
103
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;number&#x60; - Number * &#x60;-number&#x60; - Number (descending) * &#x60;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;info&#x60; - Info * &#x60;-info&#x60; - Info (descending) * &#x60;content_ids&#x60; - Content ids * &#x60;-content_ids&#x60; - Content ids (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
100
104
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
101
105
  # @option opts [Time] :pulp_created Filter results where pulp_created matches value
102
106
  # @option opts [Time] :pulp_created__gt Filter results where pulp_created is greater than value
@@ -119,6 +123,7 @@ module PulpDebClient
119
123
  # An AptRepositoryVersion represents a single APT repository version as stored by Pulp. It may be used as the basis for the creation of Pulp distributions in order to actually serve the content contained within the repository version.
120
124
  # @param deb_apt_repository_href [String]
121
125
  # @param [Hash] opts the optional parameters
126
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
122
127
  # @option opts [String] :content Content Unit referenced by HREF/PRN
123
128
  # @option opts [Array<String>] :content__in Multiple values may be separated by commas.
124
129
  # @option opts [Integer] :limit Number of results to return per page.
@@ -129,7 +134,7 @@ module PulpDebClient
129
134
  # @option opts [Integer] :number__lte Filter results where number is less than or equal to value
130
135
  # @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
131
136
  # @option opts [Integer] :offset The initial index from which to return the results.
132
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;number&#x60; - Number * &#x60;-number&#x60; - Number (descending) * &#x60;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;info&#x60; - Info * &#x60;-info&#x60; - Info (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
137
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;number&#x60; - Number * &#x60;-number&#x60; - Number (descending) * &#x60;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;info&#x60; - Info * &#x60;-info&#x60; - Info (descending) * &#x60;content_ids&#x60; - Content ids * &#x60;-content_ids&#x60; - Content ids (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
133
138
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
134
139
  # @option opts [Time] :pulp_created Filter results where pulp_created matches value
135
140
  # @option opts [Time] :pulp_created__gt Filter results where pulp_created is greater than value
@@ -151,7 +156,7 @@ module PulpDebClient
151
156
  if @api_client.config.client_side_validation && deb_apt_repository_href.nil?
152
157
  fail ArgumentError, "Missing the required parameter 'deb_apt_repository_href' when calling RepositoriesAptVersionsApi.list"
153
158
  end
154
- allowable_values = ["-complete", "-info", "-number", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "complete", "info", "number", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
159
+ allowable_values = ["-complete", "-content_ids", "-info", "-number", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "complete", "content_ids", "info", "number", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
155
160
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
156
161
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
157
162
  end
@@ -188,6 +193,7 @@ module PulpDebClient
188
193
  header_params = opts[:header_params] || {}
189
194
  # HTTP header 'Accept' (if needed)
190
195
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
196
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
191
197
 
192
198
  # form parameters
193
199
  form_params = opts[:form_params] || {}
@@ -222,6 +228,7 @@ module PulpDebClient
222
228
  # An AptRepositoryVersion represents a single APT repository version as stored by Pulp. It may be used as the basis for the creation of Pulp distributions in order to actually serve the content contained within the repository version.
223
229
  # @param deb_apt_repository_version_href [String]
224
230
  # @param [Hash] opts the optional parameters
231
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
225
232
  # @option opts [Array<String>] :fields A list of fields to include in the response.
226
233
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
227
234
  # @return [RepositoryVersionResponse]
@@ -234,6 +241,7 @@ module PulpDebClient
234
241
  # An AptRepositoryVersion represents a single APT repository version as stored by Pulp. It may be used as the basis for the creation of Pulp distributions in order to actually serve the content contained within the repository version.
235
242
  # @param deb_apt_repository_version_href [String]
236
243
  # @param [Hash] opts the optional parameters
244
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
237
245
  # @option opts [Array<String>] :fields A list of fields to include in the response.
238
246
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
239
247
  # @return [Array<(RepositoryVersionResponse, Integer, Hash)>] RepositoryVersionResponse data, response status code and response headers
@@ -257,6 +265,7 @@ module PulpDebClient
257
265
  header_params = opts[:header_params] || {}
258
266
  # HTTP header 'Accept' (if needed)
259
267
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
268
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
260
269
 
261
270
  # form parameters
262
271
  form_params = opts[:form_params] || {}
@@ -291,6 +300,7 @@ module PulpDebClient
291
300
  # @param deb_apt_repository_version_href [String]
292
301
  # @param repair [Repair]
293
302
  # @param [Hash] opts the optional parameters
303
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
294
304
  # @return [AsyncOperationResponse]
295
305
  def repair(deb_apt_repository_version_href, repair, opts = {})
296
306
  data, _status_code, _headers = repair_with_http_info(deb_apt_repository_version_href, repair, opts)
@@ -301,6 +311,7 @@ module PulpDebClient
301
311
  # @param deb_apt_repository_version_href [String]
302
312
  # @param repair [Repair]
303
313
  # @param [Hash] opts the optional parameters
314
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
304
315
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
305
316
  def repair_with_http_info(deb_apt_repository_version_href, repair, opts = {})
306
317
  if @api_client.config.debugging
@@ -329,6 +340,7 @@ module PulpDebClient
329
340
  if !content_type.nil?
330
341
  header_params['Content-Type'] = content_type
331
342
  end
343
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
332
344
 
333
345
  # form parameters
334
346
  form_params = opts[:form_params] || {}
@@ -36,6 +36,8 @@ module PulpDebClient
36
36
  # Publication to be served
37
37
  attr_accessor :publication
38
38
 
39
+ attr_accessor :checkpoint
40
+
39
41
  # Attribute mapping from ruby-style variable name to JSON key.
40
42
  def self.attribute_map
41
43
  {
@@ -45,7 +47,8 @@ module PulpDebClient
45
47
  :'pulp_labels' => :'pulp_labels',
46
48
  :'name' => :'name',
47
49
  :'repository' => :'repository',
48
- :'publication' => :'publication'
50
+ :'publication' => :'publication',
51
+ :'checkpoint' => :'checkpoint'
49
52
  }
50
53
  end
51
54
 
@@ -63,7 +66,8 @@ module PulpDebClient
63
66
  :'pulp_labels' => :'Hash<String, String>',
64
67
  :'name' => :'String',
65
68
  :'repository' => :'String',
66
- :'publication' => :'String'
69
+ :'publication' => :'String',
70
+ :'checkpoint' => :'Boolean'
67
71
  }
68
72
  end
69
73
 
@@ -72,7 +76,7 @@ module PulpDebClient
72
76
  Set.new([
73
77
  :'content_guard',
74
78
  :'repository',
75
- :'publication'
79
+ :'publication',
76
80
  ])
77
81
  end
78
82
 
@@ -126,6 +130,10 @@ module PulpDebClient
126
130
  if attributes.key?(:'publication')
127
131
  self.publication = attributes[:'publication']
128
132
  end
133
+
134
+ if attributes.key?(:'checkpoint')
135
+ self.checkpoint = attributes[:'checkpoint']
136
+ end
129
137
  end
130
138
 
131
139
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -202,7 +210,8 @@ module PulpDebClient
202
210
  pulp_labels == o.pulp_labels &&
203
211
  name == o.name &&
204
212
  repository == o.repository &&
205
- publication == o.publication
213
+ publication == o.publication &&
214
+ checkpoint == o.checkpoint
206
215
  end
207
216
 
208
217
  # @see the `==` method
@@ -214,7 +223,7 @@ module PulpDebClient
214
223
  # Calculates hash code according to all attributes.
215
224
  # @return [Integer] Hash code
216
225
  def hash
217
- [base_path, content_guard, hidden, pulp_labels, name, repository, publication].hash
226
+ [base_path, content_guard, hidden, pulp_labels, name, repository, publication, checkpoint].hash
218
227
  end
219
228
 
220
229
  # Builds the object from hash
@@ -53,6 +53,8 @@ module PulpDebClient
53
53
  # Publication to be served
54
54
  attr_accessor :publication
55
55
 
56
+ attr_accessor :checkpoint
57
+
56
58
  # Attribute mapping from ruby-style variable name to JSON key.
57
59
  def self.attribute_map
58
60
  {
@@ -68,7 +70,8 @@ module PulpDebClient
68
70
  :'pulp_labels' => :'pulp_labels',
69
71
  :'name' => :'name',
70
72
  :'repository' => :'repository',
71
- :'publication' => :'publication'
73
+ :'publication' => :'publication',
74
+ :'checkpoint' => :'checkpoint'
72
75
  }
73
76
  end
74
77
 
@@ -92,7 +95,8 @@ module PulpDebClient
92
95
  :'pulp_labels' => :'Hash<String, String>',
93
96
  :'name' => :'String',
94
97
  :'repository' => :'String',
95
- :'publication' => :'String'
98
+ :'publication' => :'String',
99
+ :'checkpoint' => :'Boolean'
96
100
  }
97
101
  end
98
102
 
@@ -101,7 +105,7 @@ module PulpDebClient
101
105
  Set.new([
102
106
  :'content_guard',
103
107
  :'repository',
104
- :'publication'
108
+ :'publication',
105
109
  ])
106
110
  end
107
111
 
@@ -179,6 +183,10 @@ module PulpDebClient
179
183
  if attributes.key?(:'publication')
180
184
  self.publication = attributes[:'publication']
181
185
  end
186
+
187
+ if attributes.key?(:'checkpoint')
188
+ self.checkpoint = attributes[:'checkpoint']
189
+ end
182
190
  end
183
191
 
184
192
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -223,7 +231,8 @@ module PulpDebClient
223
231
  pulp_labels == o.pulp_labels &&
224
232
  name == o.name &&
225
233
  repository == o.repository &&
226
- publication == o.publication
234
+ publication == o.publication &&
235
+ checkpoint == o.checkpoint
227
236
  end
228
237
 
229
238
  # @see the `==` method
@@ -235,7 +244,7 @@ module PulpDebClient
235
244
  # Calculates hash code according to all attributes.
236
245
  # @return [Integer] Hash code
237
246
  def hash
238
- [pulp_href, prn, pulp_created, pulp_last_updated, base_path, base_url, content_guard, no_content_change_since, hidden, pulp_labels, name, repository, publication].hash
247
+ [pulp_href, prn, pulp_created, pulp_last_updated, base_path, base_url, content_guard, no_content_change_since, hidden, pulp_labels, name, repository, publication, checkpoint].hash
239
248
  end
240
249
 
241
250
  # Builds the object from hash
@@ -27,6 +27,8 @@ module PulpDebClient
27
27
  # Activate structured publishing mode.
28
28
  attr_accessor :structured
29
29
 
30
+ attr_accessor :checkpoint
31
+
30
32
  # Sign Release files with this signing key
31
33
  attr_accessor :signing_service
32
34
 
@@ -39,6 +41,7 @@ module PulpDebClient
39
41
  :'repository' => :'repository',
40
42
  :'simple' => :'simple',
41
43
  :'structured' => :'structured',
44
+ :'checkpoint' => :'checkpoint',
42
45
  :'signing_service' => :'signing_service',
43
46
  :'publish_upstream_release_fields' => :'publish_upstream_release_fields'
44
47
  }
@@ -56,6 +59,7 @@ module PulpDebClient
56
59
  :'repository' => :'String',
57
60
  :'simple' => :'Boolean',
58
61
  :'structured' => :'Boolean',
62
+ :'checkpoint' => :'Boolean',
59
63
  :'signing_service' => :'String',
60
64
  :'publish_upstream_release_fields' => :'Boolean'
61
65
  }
@@ -102,6 +106,10 @@ module PulpDebClient
102
106
  self.structured = true
103
107
  end
104
108
 
109
+ if attributes.key?(:'checkpoint')
110
+ self.checkpoint = attributes[:'checkpoint']
111
+ end
112
+
105
113
  if attributes.key?(:'signing_service')
106
114
  self.signing_service = attributes[:'signing_service']
107
115
  end
@@ -135,6 +143,7 @@ module PulpDebClient
135
143
  repository == o.repository &&
136
144
  simple == o.simple &&
137
145
  structured == o.structured &&
146
+ checkpoint == o.checkpoint &&
138
147
  signing_service == o.signing_service &&
139
148
  publish_upstream_release_fields == o.publish_upstream_release_fields
140
149
  end
@@ -148,7 +157,7 @@ module PulpDebClient
148
157
  # Calculates hash code according to all attributes.
149
158
  # @return [Integer] Hash code
150
159
  def hash
151
- [repository_version, repository, simple, structured, signing_service, publish_upstream_release_fields].hash
160
+ [repository_version, repository, simple, structured, checkpoint, signing_service, publish_upstream_release_fields].hash
152
161
  end
153
162
 
154
163
  # Builds the object from hash
@@ -38,6 +38,8 @@ module PulpDebClient
38
38
  # Activate structured publishing mode.
39
39
  attr_accessor :structured
40
40
 
41
+ attr_accessor :checkpoint
42
+
41
43
  # Sign Release files with this signing key
42
44
  attr_accessor :signing_service
43
45
 
@@ -54,6 +56,7 @@ module PulpDebClient
54
56
  :'repository' => :'repository',
55
57
  :'simple' => :'simple',
56
58
  :'structured' => :'structured',
59
+ :'checkpoint' => :'checkpoint',
57
60
  :'signing_service' => :'signing_service',
58
61
  :'publish_upstream_release_fields' => :'publish_upstream_release_fields'
59
62
  }
@@ -75,6 +78,7 @@ module PulpDebClient
75
78
  :'repository' => :'String',
76
79
  :'simple' => :'Boolean',
77
80
  :'structured' => :'Boolean',
81
+ :'checkpoint' => :'Boolean',
78
82
  :'signing_service' => :'String',
79
83
  :'publish_upstream_release_fields' => :'Boolean'
80
84
  }
@@ -137,6 +141,10 @@ module PulpDebClient
137
141
  self.structured = true
138
142
  end
139
143
 
144
+ if attributes.key?(:'checkpoint')
145
+ self.checkpoint = attributes[:'checkpoint']
146
+ end
147
+
140
148
  if attributes.key?(:'signing_service')
141
149
  self.signing_service = attributes[:'signing_service']
142
150
  end
@@ -174,6 +182,7 @@ module PulpDebClient
174
182
  repository == o.repository &&
175
183
  simple == o.simple &&
176
184
  structured == o.structured &&
185
+ checkpoint == o.checkpoint &&
177
186
  signing_service == o.signing_service &&
178
187
  publish_upstream_release_fields == o.publish_upstream_release_fields
179
188
  end
@@ -187,7 +196,7 @@ module PulpDebClient
187
196
  # Calculates hash code according to all attributes.
188
197
  # @return [Integer] Hash code
189
198
  def hash
190
- [pulp_href, prn, pulp_created, pulp_last_updated, repository_version, repository, simple, structured, signing_service, publish_upstream_release_fields].hash
199
+ [pulp_href, prn, pulp_created, pulp_last_updated, repository_version, repository, simple, structured, checkpoint, signing_service, publish_upstream_release_fields].hash
191
200
  end
192
201
 
193
202
  # Builds the object from hash
@@ -36,6 +36,8 @@ module PulpDebClient
36
36
  # Publication to be served
37
37
  attr_accessor :publication
38
38
 
39
+ attr_accessor :checkpoint
40
+
39
41
  # Attribute mapping from ruby-style variable name to JSON key.
40
42
  def self.attribute_map
41
43
  {
@@ -45,7 +47,8 @@ module PulpDebClient
45
47
  :'pulp_labels' => :'pulp_labels',
46
48
  :'name' => :'name',
47
49
  :'repository' => :'repository',
48
- :'publication' => :'publication'
50
+ :'publication' => :'publication',
51
+ :'checkpoint' => :'checkpoint'
49
52
  }
50
53
  end
51
54
 
@@ -63,7 +66,8 @@ module PulpDebClient
63
66
  :'pulp_labels' => :'Hash<String, String>',
64
67
  :'name' => :'String',
65
68
  :'repository' => :'String',
66
- :'publication' => :'String'
69
+ :'publication' => :'String',
70
+ :'checkpoint' => :'Boolean'
67
71
  }
68
72
  end
69
73
 
@@ -72,7 +76,7 @@ module PulpDebClient
72
76
  Set.new([
73
77
  :'content_guard',
74
78
  :'repository',
75
- :'publication'
79
+ :'publication',
76
80
  ])
77
81
  end
78
82
 
@@ -122,6 +126,10 @@ module PulpDebClient
122
126
  if attributes.key?(:'publication')
123
127
  self.publication = attributes[:'publication']
124
128
  end
129
+
130
+ if attributes.key?(:'checkpoint')
131
+ self.checkpoint = attributes[:'checkpoint']
132
+ end
125
133
  end
126
134
 
127
135
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -188,7 +196,8 @@ module PulpDebClient
188
196
  pulp_labels == o.pulp_labels &&
189
197
  name == o.name &&
190
198
  repository == o.repository &&
191
- publication == o.publication
199
+ publication == o.publication &&
200
+ checkpoint == o.checkpoint
192
201
  end
193
202
 
194
203
  # @see the `==` method
@@ -200,7 +209,7 @@ module PulpDebClient
200
209
  # Calculates hash code according to all attributes.
201
210
  # @return [Integer] Hash code
202
211
  def hash
203
- [base_path, content_guard, hidden, pulp_labels, name, repository, publication].hash
212
+ [base_path, content_guard, hidden, pulp_labels, name, repository, publication, checkpoint].hash
204
213
  end
205
214
 
206
215
  # Builds the object from hash
@@ -11,5 +11,5 @@ Generator version: 7.10.0
11
11
  =end
12
12
 
13
13
  module PulpDebClient
14
- VERSION = '3.5.2'
14
+ VERSION = '3.6.0'
15
15
  end
@@ -37,6 +37,7 @@ describe 'ContentGenericContentsApi' do
37
37
  # Trigger an asynchronous task to create content,optionally create new repository version.
38
38
  # @param relative_path Path where the artifact is located relative to distributions base_path
39
39
  # @param [Hash] opts the optional parameters
40
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
40
41
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
41
42
  # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
42
43
  # @option opts [String] :artifact Artifact file representing the physical content
@@ -54,6 +55,7 @@ describe 'ContentGenericContentsApi' do
54
55
  # List generic contents
55
56
  # GenericContent is a catch all category for storing files not covered by any other type. Associated artifacts: Exactly one arbitrary file that does not match any other type. This is needed to store arbitrary files for use with the verbatim publisher. If you are not using the verbatim publisher, you may ignore this type.
56
57
  # @param [Hash] opts the optional parameters
58
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
57
59
  # @option opts [Integer] :limit Number of results to return per page.
58
60
  # @option opts [Integer] :offset The initial index from which to return the results.
59
61
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
@@ -82,6 +84,7 @@ describe 'ContentGenericContentsApi' do
82
84
  # GenericContent is a catch all category for storing files not covered by any other type. Associated artifacts: Exactly one arbitrary file that does not match any other type. This is needed to store arbitrary files for use with the verbatim publisher. If you are not using the verbatim publisher, you may ignore this type.
83
85
  # @param deb_generic_content_href
84
86
  # @param [Hash] opts the optional parameters
87
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
85
88
  # @option opts [Array<String>] :fields A list of fields to include in the response.
86
89
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
87
90
  # @return [DebGenericContentResponse]
@@ -97,6 +100,7 @@ describe 'ContentGenericContentsApi' do
97
100
  # @param deb_generic_content_href
98
101
  # @param set_label
99
102
  # @param [Hash] opts the optional parameters
103
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
100
104
  # @return [SetLabelResponse]
101
105
  describe 'set_label test' do
102
106
  it 'should work' do
@@ -110,6 +114,7 @@ describe 'ContentGenericContentsApi' do
110
114
  # @param deb_generic_content_href
111
115
  # @param unset_label
112
116
  # @param [Hash] opts the optional parameters
117
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
113
118
  # @return [UnsetLabelResponse]
114
119
  describe 'unset_label test' do
115
120
  it 'should work' do
@@ -37,6 +37,7 @@ describe 'ContentInstallerFileIndicesApi' do
37
37
  # An InstallerFileIndex represents the indices for a set of installer files. Associated artifacts: Exactly one &#39;SHA256SUMS&#39; and/or &#39;MD5SUMS&#39; file. Each InstallerFileIndes is associated with a single component-architecture combination within a single Release. Note that installer files are currently used exclusively for verbatim publications. The APT publisher (both simple and structured mode) does not make use of installer content.
38
38
  # @param deb_installer_file_index
39
39
  # @param [Hash] opts the optional parameters
40
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
40
41
  # @return [DebInstallerFileIndexResponse]
41
42
  describe 'create test' do
42
43
  it 'should work' do
@@ -48,6 +49,7 @@ describe 'ContentInstallerFileIndicesApi' do
48
49
  # List InstallerFileIndices
49
50
  # An InstallerFileIndex represents the indices for a set of installer files. Associated artifacts: Exactly one &#39;SHA256SUMS&#39; and/or &#39;MD5SUMS&#39; file. Each InstallerFileIndes is associated with a single component-architecture combination within a single Release. Note that installer files are currently used exclusively for verbatim publications. The APT publisher (both simple and structured mode) does not make use of installer content.
50
51
  # @param [Hash] opts the optional parameters
52
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
51
53
  # @option opts [String] :architecture Filter results where architecture matches value
52
54
  # @option opts [String] :component Filter results where component matches value
53
55
  # @option opts [Integer] :limit Number of results to return per page.
@@ -78,6 +80,7 @@ describe 'ContentInstallerFileIndicesApi' do
78
80
  # An InstallerFileIndex represents the indices for a set of installer files. Associated artifacts: Exactly one &#39;SHA256SUMS&#39; and/or &#39;MD5SUMS&#39; file. Each InstallerFileIndes is associated with a single component-architecture combination within a single Release. Note that installer files are currently used exclusively for verbatim publications. The APT publisher (both simple and structured mode) does not make use of installer content.
79
81
  # @param deb_installer_file_index_href
80
82
  # @param [Hash] opts the optional parameters
83
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
81
84
  # @option opts [Array<String>] :fields A list of fields to include in the response.
82
85
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
83
86
  # @return [DebInstallerFileIndexResponse]
@@ -93,6 +96,7 @@ describe 'ContentInstallerFileIndicesApi' do
93
96
  # @param deb_installer_file_index_href
94
97
  # @param set_label
95
98
  # @param [Hash] opts the optional parameters
99
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
96
100
  # @return [SetLabelResponse]
97
101
  describe 'set_label test' do
98
102
  it 'should work' do
@@ -106,6 +110,7 @@ describe 'ContentInstallerFileIndicesApi' do
106
110
  # @param deb_installer_file_index_href
107
111
  # @param unset_label
108
112
  # @param [Hash] opts the optional parameters
113
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
109
114
  # @return [UnsetLabelResponse]
110
115
  describe 'unset_label test' do
111
116
  it 'should work' do
@@ -36,6 +36,7 @@ describe 'ContentInstallerPackagesApi' do
36
36
  # Create an installer package
37
37
  # Trigger an asynchronous task to create content,optionally create new repository version.
38
38
  # @param [Hash] opts the optional parameters
39
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
39
40
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
40
41
  # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
41
42
  # @option opts [String] :artifact Artifact file representing the physical content
@@ -54,6 +55,7 @@ describe 'ContentInstallerPackagesApi' do
54
55
  # List installer packages
55
56
  # An InstallerPackage represents a &#39;.udeb&#39; installer package. Associated artifacts: Exactly one &#39;.udeb&#39; installer package file. Note that installer packages are currently used exclusively for verbatim publications. The APT publisher (both simple and structured mode) will not include these packages.
56
57
  # @param [Hash] opts the optional parameters
58
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
57
59
  # @option opts [String] :architecture Filter results where architecture matches value
58
60
  # @option opts [String] :auto_built_package Filter results where auto_built_package matches value
59
61
  # @option opts [Boolean] :build_essential Filter results where build_essential matches value * &#x60;True&#x60; - yes * &#x60;False&#x60; - no
@@ -97,6 +99,7 @@ describe 'ContentInstallerPackagesApi' do
97
99
  # An InstallerPackage represents a &#39;.udeb&#39; installer package. Associated artifacts: Exactly one &#39;.udeb&#39; installer package file. Note that installer packages are currently used exclusively for verbatim publications. The APT publisher (both simple and structured mode) will not include these packages.
98
100
  # @param deb_installer_package_href
99
101
  # @param [Hash] opts the optional parameters
102
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
100
103
  # @option opts [Array<String>] :fields A list of fields to include in the response.
101
104
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
102
105
  # @return [DebInstallerPackageResponse]
@@ -112,6 +115,7 @@ describe 'ContentInstallerPackagesApi' do
112
115
  # @param deb_installer_package_href
113
116
  # @param set_label
114
117
  # @param [Hash] opts the optional parameters
118
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
115
119
  # @return [SetLabelResponse]
116
120
  describe 'set_label test' do
117
121
  it 'should work' do
@@ -125,6 +129,7 @@ describe 'ContentInstallerPackagesApi' do
125
129
  # @param deb_installer_package_href
126
130
  # @param unset_label
127
131
  # @param [Hash] opts the optional parameters
132
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
128
133
  # @return [UnsetLabelResponse]
129
134
  describe 'unset_label test' do
130
135
  it 'should work' do
@@ -37,6 +37,7 @@ describe 'ContentPackageIndicesApi' do
37
37
  # A PackageIndex represents the package indices of a single component-architecture combination. Associated artifacts: Exactly one &#39;Packages&#39; file. May optionally include one or more of &#39;Packages.gz&#39;, &#39;Packages.xz&#39;, &#39;Release&#39;. If included, the &#39;Release&#39; file is a legacy per-component-and-architecture Release file. Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any &#39;Packages&#39; files it needs when creating the publication. It does not make use of PackageIndex content.
38
38
  # @param deb_package_index
39
39
  # @param [Hash] opts the optional parameters
40
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
40
41
  # @return [DebPackageIndexResponse]
41
42
  describe 'create test' do
42
43
  it 'should work' do
@@ -48,6 +49,7 @@ describe 'ContentPackageIndicesApi' do
48
49
  # List PackageIndices
49
50
  # A PackageIndex represents the package indices of a single component-architecture combination. Associated artifacts: Exactly one &#39;Packages&#39; file. May optionally include one or more of &#39;Packages.gz&#39;, &#39;Packages.xz&#39;, &#39;Release&#39;. If included, the &#39;Release&#39; file is a legacy per-component-and-architecture Release file. Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any &#39;Packages&#39; files it needs when creating the publication. It does not make use of PackageIndex content.
50
51
  # @param [Hash] opts the optional parameters
52
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
51
53
  # @option opts [String] :architecture Filter results where architecture matches value
52
54
  # @option opts [String] :component Filter results where component matches value
53
55
  # @option opts [Integer] :limit Number of results to return per page.
@@ -78,6 +80,7 @@ describe 'ContentPackageIndicesApi' do
78
80
  # A PackageIndex represents the package indices of a single component-architecture combination. Associated artifacts: Exactly one &#39;Packages&#39; file. May optionally include one or more of &#39;Packages.gz&#39;, &#39;Packages.xz&#39;, &#39;Release&#39;. If included, the &#39;Release&#39; file is a legacy per-component-and-architecture Release file. Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any &#39;Packages&#39; files it needs when creating the publication. It does not make use of PackageIndex content.
79
81
  # @param deb_package_index_href
80
82
  # @param [Hash] opts the optional parameters
83
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
81
84
  # @option opts [Array<String>] :fields A list of fields to include in the response.
82
85
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
83
86
  # @return [DebPackageIndexResponse]
@@ -93,6 +96,7 @@ describe 'ContentPackageIndicesApi' do
93
96
  # @param deb_package_index_href
94
97
  # @param set_label
95
98
  # @param [Hash] opts the optional parameters
99
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
96
100
  # @return [SetLabelResponse]
97
101
  describe 'set_label test' do
98
102
  it 'should work' do
@@ -106,6 +110,7 @@ describe 'ContentPackageIndicesApi' do
106
110
  # @param deb_package_index_href
107
111
  # @param unset_label
108
112
  # @param [Hash] opts the optional parameters
113
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
109
114
  # @return [UnsetLabelResponse]
110
115
  describe 'unset_label test' do
111
116
  it 'should work' do
@@ -37,6 +37,7 @@ describe 'ContentPackageReleaseComponentsApi' do
37
37
  # A PackageReleaseComponent associates a Package with a ReleaseComponent. Associated artifacts: None; contains only metadata. This simply stores the information which packages are part of which components.
38
38
  # @param deb_package_release_component
39
39
  # @param [Hash] opts the optional parameters
40
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
40
41
  # @return [DebPackageReleaseComponentResponse]
41
42
  describe 'create test' do
42
43
  it 'should work' do
@@ -48,6 +49,7 @@ describe 'ContentPackageReleaseComponentsApi' do
48
49
  # List package release components
49
50
  # A PackageReleaseComponent associates a Package with a ReleaseComponent. Associated artifacts: None; contains only metadata. This simply stores the information which packages are part of which components.
50
51
  # @param [Hash] opts the optional parameters
52
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
51
53
  # @option opts [Integer] :limit Number of results to return per page.
52
54
  # @option opts [Integer] :offset The initial index from which to return the results.
53
55
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
@@ -76,6 +78,7 @@ describe 'ContentPackageReleaseComponentsApi' do
76
78
  # A PackageReleaseComponent associates a Package with a ReleaseComponent. Associated artifacts: None; contains only metadata. This simply stores the information which packages are part of which components.
77
79
  # @param deb_package_release_component_href
78
80
  # @param [Hash] opts the optional parameters
81
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
79
82
  # @option opts [Array<String>] :fields A list of fields to include in the response.
80
83
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
81
84
  # @return [DebPackageReleaseComponentResponse]
@@ -91,6 +94,7 @@ describe 'ContentPackageReleaseComponentsApi' do
91
94
  # @param deb_package_release_component_href
92
95
  # @param set_label
93
96
  # @param [Hash] opts the optional parameters
97
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
94
98
  # @return [SetLabelResponse]
95
99
  describe 'set_label test' do
96
100
  it 'should work' do
@@ -104,6 +108,7 @@ describe 'ContentPackageReleaseComponentsApi' do
104
108
  # @param deb_package_release_component_href
105
109
  # @param unset_label
106
110
  # @param [Hash] opts the optional parameters
111
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
107
112
  # @return [UnsetLabelResponse]
108
113
  describe 'unset_label test' do
109
114
  it 'should work' do