pulpcore_client 3.0.0rc3 → 3.0.0rc4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (82) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -9
  3. data/docs/Artifact.md +1 -3
  4. data/docs/ArtifactsApi.md +1 -3
  5. data/docs/UploadChunkDetail.md +19 -0
  6. data/docs/UploadDetail.md +25 -0
  7. data/docs/UploadsApi.md +12 -20
  8. data/lib/pulpcore_client/api/artifacts_api.rb +4 -7
  9. data/lib/pulpcore_client/api/orphans_api.rb +2 -2
  10. data/lib/pulpcore_client/api/repositories_api.rb +6 -6
  11. data/lib/pulpcore_client/api/repositories_versions_api.rb +6 -6
  12. data/lib/pulpcore_client/api/status_api.rb +2 -2
  13. data/lib/pulpcore_client/api/tasks_api.rb +5 -5
  14. data/lib/pulpcore_client/api/uploads_api.rb +22 -33
  15. data/lib/pulpcore_client/api/workers_api.rb +3 -3
  16. data/lib/pulpcore_client/api_client.rb +41 -27
  17. data/lib/pulpcore_client/api_error.rb +1 -1
  18. data/lib/pulpcore_client/configuration.rb +2 -5
  19. data/lib/pulpcore_client/models/artifact.rb +5 -15
  20. data/lib/pulpcore_client/models/async_operation_response.rb +1 -1
  21. data/lib/pulpcore_client/models/content_app_status.rb +1 -1
  22. data/lib/pulpcore_client/models/database_connection.rb +1 -1
  23. data/lib/pulpcore_client/models/inline_response200.rb +1 -1
  24. data/lib/pulpcore_client/models/inline_response2001.rb +1 -1
  25. data/lib/pulpcore_client/models/inline_response2002.rb +1 -1
  26. data/lib/pulpcore_client/models/inline_response2003.rb +1 -1
  27. data/lib/pulpcore_client/models/inline_response2004.rb +1 -1
  28. data/lib/pulpcore_client/models/inline_response2005.rb +1 -1
  29. data/lib/pulpcore_client/models/progress_report.rb +1 -1
  30. data/lib/pulpcore_client/models/redis_connection.rb +1 -1
  31. data/lib/pulpcore_client/models/repository.rb +1 -1
  32. data/lib/pulpcore_client/models/repository_version.rb +1 -1
  33. data/lib/pulpcore_client/models/repository_version_create.rb +1 -1
  34. data/lib/pulpcore_client/models/status.rb +1 -1
  35. data/lib/pulpcore_client/models/task.rb +1 -1
  36. data/lib/pulpcore_client/models/task_cancel.rb +1 -1
  37. data/lib/pulpcore_client/models/upload.rb +1 -1
  38. data/lib/pulpcore_client/models/upload_chunk_detail.rb +271 -0
  39. data/lib/pulpcore_client/models/upload_commit.rb +1 -1
  40. data/lib/pulpcore_client/models/upload_detail.rb +242 -0
  41. data/lib/pulpcore_client/models/version.rb +1 -1
  42. data/lib/pulpcore_client/models/worker.rb +1 -1
  43. data/lib/pulpcore_client/version.rb +2 -2
  44. data/lib/pulpcore_client.rb +3 -1
  45. data/pulpcore_client.gemspec +3 -7
  46. data/spec/api/artifacts_api_spec.rb +1 -2
  47. data/spec/api/orphans_api_spec.rb +1 -1
  48. data/spec/api/repositories_api_spec.rb +1 -1
  49. data/spec/api/repositories_versions_api_spec.rb +1 -1
  50. data/spec/api/status_api_spec.rb +1 -1
  51. data/spec/api/tasks_api_spec.rb +1 -1
  52. data/spec/api/uploads_api_spec.rb +5 -10
  53. data/spec/api/workers_api_spec.rb +1 -1
  54. data/spec/api_client_spec.rb +1 -1
  55. data/spec/configuration_spec.rb +1 -1
  56. data/spec/models/artifact_spec.rb +1 -7
  57. data/spec/models/async_operation_response_spec.rb +1 -1
  58. data/spec/models/content_app_status_spec.rb +1 -1
  59. data/spec/models/database_connection_spec.rb +1 -1
  60. data/spec/models/inline_response2001_spec.rb +1 -1
  61. data/spec/models/inline_response2002_spec.rb +1 -1
  62. data/spec/models/inline_response2003_spec.rb +1 -1
  63. data/spec/models/inline_response2004_spec.rb +1 -1
  64. data/spec/models/inline_response2005_spec.rb +1 -1
  65. data/spec/models/inline_response200_spec.rb +1 -1
  66. data/spec/models/progress_report_spec.rb +1 -1
  67. data/spec/models/redis_connection_spec.rb +1 -1
  68. data/spec/models/repository_spec.rb +1 -1
  69. data/spec/models/repository_version_create_spec.rb +1 -1
  70. data/spec/models/repository_version_spec.rb +1 -1
  71. data/spec/models/status_spec.rb +1 -1
  72. data/spec/models/task_cancel_spec.rb +1 -1
  73. data/spec/models/task_spec.rb +1 -1
  74. data/spec/models/upload_chunk_detail_spec.rb +47 -0
  75. data/spec/models/upload_commit_spec.rb +1 -1
  76. data/spec/models/upload_detail_spec.rb +65 -0
  77. data/spec/models/upload_spec.rb +1 -1
  78. data/spec/models/version_spec.rb +1 -1
  79. data/spec/models/worker_spec.rb +1 -1
  80. data/spec/spec_helper.rb +1 -1
  81. metadata +14 -93
  82. data/Gemfile.lock +0 -79
@@ -0,0 +1,271 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v3
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.0.2
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module PulpcoreClient
16
+ class UploadChunkDetail
17
+ attr_accessor :offset
18
+
19
+ attr_accessor :size
20
+
21
+ # Attribute mapping from ruby-style variable name to JSON key.
22
+ def self.attribute_map
23
+ {
24
+ :'offset' => :'offset',
25
+ :'size' => :'size'
26
+ }
27
+ end
28
+
29
+ # Attribute type mapping.
30
+ def self.openapi_types
31
+ {
32
+ :'offset' => :'Integer',
33
+ :'size' => :'Integer'
34
+ }
35
+ end
36
+
37
+ # Initializes the object
38
+ # @param [Hash] attributes Model attributes in the form of hash
39
+ def initialize(attributes = {})
40
+ if (!attributes.is_a?(Hash))
41
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpcoreClient::UploadChunkDetail` initialize method"
42
+ end
43
+
44
+ # check to see if the attribute exists and convert string to symbol for hash key
45
+ attributes = attributes.each_with_object({}) { |(k, v), h|
46
+ if (!self.class.attribute_map.key?(k.to_sym))
47
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpcoreClient::UploadChunkDetail`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
48
+ end
49
+ h[k.to_sym] = v
50
+ }
51
+
52
+ if attributes.key?(:'offset')
53
+ self.offset = attributes[:'offset']
54
+ end
55
+
56
+ if attributes.key?(:'size')
57
+ self.size = attributes[:'size']
58
+ end
59
+ end
60
+
61
+ # Show invalid properties with the reasons. Usually used together with valid?
62
+ # @return Array for valid properties with the reasons
63
+ def list_invalid_properties
64
+ invalid_properties = Array.new
65
+ if @offset.nil?
66
+ invalid_properties.push('invalid value for "offset", offset cannot be nil.')
67
+ end
68
+
69
+ if @offset > 9223372036854775807
70
+ invalid_properties.push('invalid value for "offset", must be smaller than or equal to 9223372036854775807.')
71
+ end
72
+
73
+ if @offset < -9223372036854775808
74
+ invalid_properties.push('invalid value for "offset", must be greater than or equal to -9223372036854775808.')
75
+ end
76
+
77
+ if @size.nil?
78
+ invalid_properties.push('invalid value for "size", size cannot be nil.')
79
+ end
80
+
81
+ if @size > 9223372036854775807
82
+ invalid_properties.push('invalid value for "size", must be smaller than or equal to 9223372036854775807.')
83
+ end
84
+
85
+ if @size < -9223372036854775808
86
+ invalid_properties.push('invalid value for "size", must be greater than or equal to -9223372036854775808.')
87
+ end
88
+
89
+ invalid_properties
90
+ end
91
+
92
+ # Check to see if the all the properties in the model are valid
93
+ # @return true if the model is valid
94
+ def valid?
95
+ return false if @offset.nil?
96
+ return false if @offset > 9223372036854775807
97
+ return false if @offset < -9223372036854775808
98
+ return false if @size.nil?
99
+ return false if @size > 9223372036854775807
100
+ return false if @size < -9223372036854775808
101
+ true
102
+ end
103
+
104
+ # Custom attribute writer method with validation
105
+ # @param [Object] offset Value to be assigned
106
+ def offset=(offset)
107
+ if offset.nil?
108
+ fail ArgumentError, 'offset cannot be nil'
109
+ end
110
+
111
+ if offset > 9223372036854775807
112
+ fail ArgumentError, 'invalid value for "offset", must be smaller than or equal to 9223372036854775807.'
113
+ end
114
+
115
+ if offset < -9223372036854775808
116
+ fail ArgumentError, 'invalid value for "offset", must be greater than or equal to -9223372036854775808.'
117
+ end
118
+
119
+ @offset = offset
120
+ end
121
+
122
+ # Custom attribute writer method with validation
123
+ # @param [Object] size Value to be assigned
124
+ def size=(size)
125
+ if size.nil?
126
+ fail ArgumentError, 'size cannot be nil'
127
+ end
128
+
129
+ if size > 9223372036854775807
130
+ fail ArgumentError, 'invalid value for "size", must be smaller than or equal to 9223372036854775807.'
131
+ end
132
+
133
+ if size < -9223372036854775808
134
+ fail ArgumentError, 'invalid value for "size", must be greater than or equal to -9223372036854775808.'
135
+ end
136
+
137
+ @size = size
138
+ end
139
+
140
+ # Checks equality by comparing each attribute.
141
+ # @param [Object] Object to be compared
142
+ def ==(o)
143
+ return true if self.equal?(o)
144
+ self.class == o.class &&
145
+ offset == o.offset &&
146
+ size == o.size
147
+ end
148
+
149
+ # @see the `==` method
150
+ # @param [Object] Object to be compared
151
+ def eql?(o)
152
+ self == o
153
+ end
154
+
155
+ # Calculates hash code according to all attributes.
156
+ # @return [Integer] Hash code
157
+ def hash
158
+ [offset, size].hash
159
+ end
160
+
161
+ # Builds the object from hash
162
+ # @param [Hash] attributes Model attributes in the form of hash
163
+ # @return [Object] Returns the model itself
164
+ def self.build_from_hash(attributes)
165
+ new.build_from_hash(attributes)
166
+ end
167
+
168
+ # Builds the object from hash
169
+ # @param [Hash] attributes Model attributes in the form of hash
170
+ # @return [Object] Returns the model itself
171
+ def build_from_hash(attributes)
172
+ return nil unless attributes.is_a?(Hash)
173
+ self.class.openapi_types.each_pair do |key, type|
174
+ if type =~ /\AArray<(.*)>/i
175
+ # check to ensure the input is an array given that the attribute
176
+ # is documented as an array but the input is not
177
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
178
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
179
+ end
180
+ elsif !attributes[self.class.attribute_map[key]].nil?
181
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
182
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
183
+ end
184
+
185
+ self
186
+ end
187
+
188
+ # Deserializes the data based on type
189
+ # @param string type Data type
190
+ # @param string value Value to be deserialized
191
+ # @return [Object] Deserialized data
192
+ def _deserialize(type, value)
193
+ case type.to_sym
194
+ when :DateTime
195
+ DateTime.parse(value)
196
+ when :Date
197
+ Date.parse(value)
198
+ when :String
199
+ value.to_s
200
+ when :Integer
201
+ value.to_i
202
+ when :Float
203
+ value.to_f
204
+ when :Boolean
205
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
206
+ true
207
+ else
208
+ false
209
+ end
210
+ when :Object
211
+ # generic object (usually a Hash), return directly
212
+ value
213
+ when /\AArray<(?<inner_type>.+)>\z/
214
+ inner_type = Regexp.last_match[:inner_type]
215
+ value.map { |v| _deserialize(inner_type, v) }
216
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
217
+ k_type = Regexp.last_match[:k_type]
218
+ v_type = Regexp.last_match[:v_type]
219
+ {}.tap do |hash|
220
+ value.each do |k, v|
221
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
222
+ end
223
+ end
224
+ else # model
225
+ PulpcoreClient.const_get(type).build_from_hash(value)
226
+ end
227
+ end
228
+
229
+ # Returns the string representation of the object
230
+ # @return [String] String presentation of the object
231
+ def to_s
232
+ to_hash.to_s
233
+ end
234
+
235
+ # to_body is an alias to to_hash (backward compatibility)
236
+ # @return [Hash] Returns the object in the form of hash
237
+ def to_body
238
+ to_hash
239
+ end
240
+
241
+ # Returns the object in the form of hash
242
+ # @return [Hash] Returns the object in the form of hash
243
+ def to_hash
244
+ hash = {}
245
+ self.class.attribute_map.each_pair do |attr, param|
246
+ value = self.send(attr)
247
+ next if value.nil?
248
+ hash[param] = _to_hash(value)
249
+ end
250
+ hash
251
+ end
252
+
253
+ # Outputs non-array value in the form of hash
254
+ # For object, use to_hash. Otherwise, just return the value
255
+ # @param [Object] value Any valid value
256
+ # @return [Hash] Returns the value in the form of hash
257
+ def _to_hash(value)
258
+ if value.is_a?(Array)
259
+ value.compact.map { |v| _to_hash(v) }
260
+ elsif value.is_a?(Hash)
261
+ {}.tap do |hash|
262
+ value.each { |k, v| hash[k] = _to_hash(v) }
263
+ end
264
+ elsif value.respond_to? :to_hash
265
+ value.to_hash
266
+ else
267
+ value
268
+ end
269
+ end
270
+ end
271
+ end
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.0
9
+ OpenAPI Generator version: 4.0.2
10
10
 
11
11
  =end
12
12
 
@@ -0,0 +1,242 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v3
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.0.2
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module PulpcoreClient
16
+ class UploadDetail
17
+ attr_accessor :_href
18
+
19
+ # Timestamp of creation.
20
+ attr_accessor :_created
21
+
22
+ # The size of the upload in bytes.
23
+ attr_accessor :size
24
+
25
+ # Timestamp when upload is committed.
26
+ attr_accessor :completed
27
+
28
+ attr_accessor :chunks
29
+
30
+ # Attribute mapping from ruby-style variable name to JSON key.
31
+ def self.attribute_map
32
+ {
33
+ :'_href' => :'_href',
34
+ :'_created' => :'_created',
35
+ :'size' => :'size',
36
+ :'completed' => :'completed',
37
+ :'chunks' => :'chunks'
38
+ }
39
+ end
40
+
41
+ # Attribute type mapping.
42
+ def self.openapi_types
43
+ {
44
+ :'_href' => :'String',
45
+ :'_created' => :'DateTime',
46
+ :'size' => :'Integer',
47
+ :'completed' => :'DateTime',
48
+ :'chunks' => :'Array<UploadChunkDetail>'
49
+ }
50
+ end
51
+
52
+ # Initializes the object
53
+ # @param [Hash] attributes Model attributes in the form of hash
54
+ def initialize(attributes = {})
55
+ if (!attributes.is_a?(Hash))
56
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpcoreClient::UploadDetail` initialize method"
57
+ end
58
+
59
+ # check to see if the attribute exists and convert string to symbol for hash key
60
+ attributes = attributes.each_with_object({}) { |(k, v), h|
61
+ if (!self.class.attribute_map.key?(k.to_sym))
62
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpcoreClient::UploadDetail`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
63
+ end
64
+ h[k.to_sym] = v
65
+ }
66
+
67
+ if attributes.key?(:'_href')
68
+ self._href = attributes[:'_href']
69
+ end
70
+
71
+ if attributes.key?(:'_created')
72
+ self._created = attributes[:'_created']
73
+ end
74
+
75
+ if attributes.key?(:'size')
76
+ self.size = attributes[:'size']
77
+ end
78
+
79
+ if attributes.key?(:'completed')
80
+ self.completed = attributes[:'completed']
81
+ end
82
+
83
+ if attributes.key?(:'chunks')
84
+ if (value = attributes[:'chunks']).is_a?(Array)
85
+ self.chunks = value
86
+ end
87
+ end
88
+ end
89
+
90
+ # Show invalid properties with the reasons. Usually used together with valid?
91
+ # @return Array for valid properties with the reasons
92
+ def list_invalid_properties
93
+ invalid_properties = Array.new
94
+ if @size.nil?
95
+ invalid_properties.push('invalid value for "size", size cannot be nil.')
96
+ end
97
+
98
+ invalid_properties
99
+ end
100
+
101
+ # Check to see if the all the properties in the model are valid
102
+ # @return true if the model is valid
103
+ def valid?
104
+ return false if @size.nil?
105
+ true
106
+ end
107
+
108
+ # Checks equality by comparing each attribute.
109
+ # @param [Object] Object to be compared
110
+ def ==(o)
111
+ return true if self.equal?(o)
112
+ self.class == o.class &&
113
+ _href == o._href &&
114
+ _created == o._created &&
115
+ size == o.size &&
116
+ completed == o.completed &&
117
+ chunks == o.chunks
118
+ end
119
+
120
+ # @see the `==` method
121
+ # @param [Object] Object to be compared
122
+ def eql?(o)
123
+ self == o
124
+ end
125
+
126
+ # Calculates hash code according to all attributes.
127
+ # @return [Integer] Hash code
128
+ def hash
129
+ [_href, _created, size, completed, chunks].hash
130
+ end
131
+
132
+ # Builds the object from hash
133
+ # @param [Hash] attributes Model attributes in the form of hash
134
+ # @return [Object] Returns the model itself
135
+ def self.build_from_hash(attributes)
136
+ new.build_from_hash(attributes)
137
+ end
138
+
139
+ # Builds the object from hash
140
+ # @param [Hash] attributes Model attributes in the form of hash
141
+ # @return [Object] Returns the model itself
142
+ def build_from_hash(attributes)
143
+ return nil unless attributes.is_a?(Hash)
144
+ self.class.openapi_types.each_pair do |key, type|
145
+ if type =~ /\AArray<(.*)>/i
146
+ # check to ensure the input is an array given that the attribute
147
+ # is documented as an array but the input is not
148
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
149
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
150
+ end
151
+ elsif !attributes[self.class.attribute_map[key]].nil?
152
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
153
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
154
+ end
155
+
156
+ self
157
+ end
158
+
159
+ # Deserializes the data based on type
160
+ # @param string type Data type
161
+ # @param string value Value to be deserialized
162
+ # @return [Object] Deserialized data
163
+ def _deserialize(type, value)
164
+ case type.to_sym
165
+ when :DateTime
166
+ DateTime.parse(value)
167
+ when :Date
168
+ Date.parse(value)
169
+ when :String
170
+ value.to_s
171
+ when :Integer
172
+ value.to_i
173
+ when :Float
174
+ value.to_f
175
+ when :Boolean
176
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
177
+ true
178
+ else
179
+ false
180
+ end
181
+ when :Object
182
+ # generic object (usually a Hash), return directly
183
+ value
184
+ when /\AArray<(?<inner_type>.+)>\z/
185
+ inner_type = Regexp.last_match[:inner_type]
186
+ value.map { |v| _deserialize(inner_type, v) }
187
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
188
+ k_type = Regexp.last_match[:k_type]
189
+ v_type = Regexp.last_match[:v_type]
190
+ {}.tap do |hash|
191
+ value.each do |k, v|
192
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
193
+ end
194
+ end
195
+ else # model
196
+ PulpcoreClient.const_get(type).build_from_hash(value)
197
+ end
198
+ end
199
+
200
+ # Returns the string representation of the object
201
+ # @return [String] String presentation of the object
202
+ def to_s
203
+ to_hash.to_s
204
+ end
205
+
206
+ # to_body is an alias to to_hash (backward compatibility)
207
+ # @return [Hash] Returns the object in the form of hash
208
+ def to_body
209
+ to_hash
210
+ end
211
+
212
+ # Returns the object in the form of hash
213
+ # @return [Hash] Returns the object in the form of hash
214
+ def to_hash
215
+ hash = {}
216
+ self.class.attribute_map.each_pair do |attr, param|
217
+ value = self.send(attr)
218
+ next if value.nil?
219
+ hash[param] = _to_hash(value)
220
+ end
221
+ hash
222
+ end
223
+
224
+ # Outputs non-array value in the form of hash
225
+ # For object, use to_hash. Otherwise, just return the value
226
+ # @param [Object] value Any valid value
227
+ # @return [Hash] Returns the value in the form of hash
228
+ def _to_hash(value)
229
+ if value.is_a?(Array)
230
+ value.compact.map { |v| _to_hash(v) }
231
+ elsif value.is_a?(Hash)
232
+ {}.tap do |hash|
233
+ value.each { |k, v| hash[k] = _to_hash(v) }
234
+ end
235
+ elsif value.respond_to? :to_hash
236
+ value.to_hash
237
+ else
238
+ value
239
+ end
240
+ end
241
+ end
242
+ end
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.0
9
+ OpenAPI Generator version: 4.0.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.0
9
+ OpenAPI Generator version: 4.0.2
10
10
 
11
11
  =end
12
12
 
@@ -6,10 +6,10 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.0
9
+ OpenAPI Generator version: 4.0.2
10
10
 
11
11
  =end
12
12
 
13
13
  module PulpcoreClient
14
- VERSION = '3.0.0rc3'
14
+ VERSION = '3.0.0rc4'
15
15
  end
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.0
9
+ OpenAPI Generator version: 4.0.2
10
10
 
11
11
  =end
12
12
 
@@ -36,7 +36,9 @@ require 'pulpcore_client/models/status'
36
36
  require 'pulpcore_client/models/task'
37
37
  require 'pulpcore_client/models/task_cancel'
38
38
  require 'pulpcore_client/models/upload'
39
+ require 'pulpcore_client/models/upload_chunk_detail'
39
40
  require 'pulpcore_client/models/upload_commit'
41
+ require 'pulpcore_client/models/upload_detail'
40
42
  require 'pulpcore_client/models/version'
41
43
  require 'pulpcore_client/models/worker'
42
44
 
@@ -8,7 +8,7 @@
8
8
  The version of the OpenAPI document: v3
9
9
 
10
10
  Generated by: https://openapi-generator.tech
11
- OpenAPI Generator version: 4.0.0
11
+ OpenAPI Generator version: 4.0.2
12
12
 
13
13
  =end
14
14
 
@@ -24,19 +24,15 @@ Gem::Specification.new do |s|
24
24
  s.homepage = "https://openapi-generator.tech"
25
25
  s.summary = "Pulp 3 API Ruby Gem"
26
26
  s.description = "No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)"
27
- s.license = 'GPLv2'
27
+ s.license = 'GPL-2.0'
28
28
  s.required_ruby_version = ">= 1.9"
29
29
 
30
- s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
30
+ s.add_runtime_dependency 'faraday', '>= 0.14.0'
31
31
  s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
32
32
 
33
33
  s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
34
34
  s.add_development_dependency 'vcr', '~> 3.0', '>= 3.0.1'
35
35
  s.add_development_dependency 'webmock', '~> 1.24', '>= 1.24.3'
36
- s.add_development_dependency 'autotest', '~> 4.4', '>= 4.4.6'
37
- s.add_development_dependency 'autotest-rails-pure', '~> 4.1', '>= 4.1.2'
38
- s.add_development_dependency 'autotest-growl', '~> 0.2', '>= 0.2.16'
39
- s.add_development_dependency 'autotest-fsevent', '~> 0.2', '>= 0.2.12'
40
36
 
41
37
  s.files = `find *`.split("\n").uniq.sort.select { |f| !f.empty? }
42
38
  s.test_files = `find spec/*`.split("\n")
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.0
9
+ OpenAPI Generator version: 4.0.2
10
10
 
11
11
  =end
12
12
 
@@ -43,7 +43,6 @@ describe 'ArtifactsApi' do
43
43
  # @option opts [String] :sha256 The SHA-256 checksum of the file if available.
44
44
  # @option opts [String] :sha384 The SHA-384 checksum of the file if available.
45
45
  # @option opts [String] :sha512 The SHA-512 checksum of the file if available.
46
- # @option opts [String] :upload An href for an Upload.
47
46
  # @return [Artifact]
48
47
  describe 'create test' do
49
48
  it 'should work' do
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.0
9
+ OpenAPI Generator version: 4.0.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.0
9
+ OpenAPI Generator version: 4.0.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.0
9
+ OpenAPI Generator version: 4.0.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.0
9
+ OpenAPI Generator version: 4.0.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.0
9
+ OpenAPI Generator version: 4.0.2
10
10
 
11
11
  =end
12
12