pulp_file_client 3.69.2 → 3.70.1

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 (154) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -7
  3. data/docs/AcsFileApi.md +343 -157
  4. data/docs/AsyncOperationResponse.md +8 -7
  5. data/docs/ContentFilesApi.md +114 -64
  6. data/docs/ContentSummaryResponse.md +12 -11
  7. data/docs/DistributionsFileApi.md +385 -182
  8. data/docs/FileFileAlternateContentSource.md +14 -13
  9. data/docs/FileFileAlternateContentSourceResponse.md +22 -21
  10. data/docs/FileFileContentResponse.md +30 -29
  11. data/docs/FileFileDistribution.md +20 -19
  12. data/docs/FileFileDistributionResponse.md +32 -31
  13. data/docs/FileFilePublication.md +12 -11
  14. data/docs/FileFilePublicationResponse.md +22 -21
  15. data/docs/FileFileRemote.md +48 -47
  16. data/docs/FileFileRemoteResponse.md +48 -47
  17. data/docs/FileFileRemoteResponseHiddenFieldsInner.md +20 -0
  18. data/docs/FileFileRepository.md +20 -19
  19. data/docs/FileFileRepositoryResponse.md +32 -31
  20. data/docs/MyPermissionsResponse.md +8 -7
  21. data/docs/NestedRole.md +12 -11
  22. data/docs/NestedRoleResponse.md +12 -11
  23. data/docs/ObjectRolesResponse.md +8 -7
  24. data/docs/PaginatedRepositoryVersionResponseList.md +14 -13
  25. data/docs/PaginatedfileFileAlternateContentSourceResponseList.md +14 -13
  26. data/docs/PaginatedfileFileContentResponseList.md +14 -13
  27. data/docs/PaginatedfileFileDistributionResponseList.md +14 -13
  28. data/docs/PaginatedfileFilePublicationResponseList.md +14 -13
  29. data/docs/PaginatedfileFileRemoteResponseList.md +14 -13
  30. data/docs/PaginatedfileFileRepositoryResponseList.md +14 -13
  31. data/docs/PatchedfileFileAlternateContentSource.md +14 -13
  32. data/docs/PatchedfileFileDistribution.md +20 -19
  33. data/docs/PatchedfileFileRemote.md +48 -47
  34. data/docs/PatchedfileFileRepository.md +20 -19
  35. data/docs/PolicyEnum.md +4 -5
  36. data/docs/PublicationsFileApi.md +267 -130
  37. data/docs/RemotesFileApi.md +389 -184
  38. data/docs/Repair.md +8 -7
  39. data/docs/RepositoriesFileApi.md +444 -207
  40. data/docs/RepositoriesFileVersionsApi.md +152 -82
  41. data/docs/RepositoryAddRemoveContent.md +12 -11
  42. data/docs/RepositorySyncURL.md +10 -9
  43. data/docs/RepositoryVersionResponse.md +22 -21
  44. data/docs/SetLabel.md +10 -9
  45. data/docs/SetLabelResponse.md +10 -9
  46. data/docs/TaskGroupOperationResponse.md +8 -7
  47. data/docs/UnsetLabel.md +8 -7
  48. data/docs/UnsetLabelResponse.md +10 -9
  49. data/lib/pulp_file_client/api/acs_file_api.rb +76 -50
  50. data/lib/pulp_file_client/api/content_files_api.rb +20 -14
  51. data/lib/pulp_file_client/api/distributions_file_api.rb +89 -56
  52. data/lib/pulp_file_client/api/publications_file_api.rb +67 -47
  53. data/lib/pulp_file_client/api/remotes_file_api.rb +104 -68
  54. data/lib/pulp_file_client/api/repositories_file_api.rb +107 -66
  55. data/lib/pulp_file_client/api/repositories_file_versions_api.rb +40 -30
  56. data/lib/pulp_file_client/api_client.rb +137 -102
  57. data/lib/pulp_file_client/api_error.rb +2 -1
  58. data/lib/pulp_file_client/configuration.rb +162 -21
  59. data/lib/pulp_file_client/models/async_operation_response.rb +32 -22
  60. data/lib/pulp_file_client/models/content_summary_response.rb +36 -22
  61. data/lib/pulp_file_client/models/file_file_alternate_content_source.rb +35 -23
  62. data/lib/pulp_file_client/models/file_file_alternate_content_source_response.rb +37 -25
  63. data/lib/pulp_file_client/models/file_file_content_response.rb +34 -24
  64. data/lib/pulp_file_client/models/file_file_distribution.rb +34 -22
  65. data/lib/pulp_file_client/models/file_file_distribution_response.rb +36 -24
  66. data/lib/pulp_file_client/models/file_file_publication.rb +30 -22
  67. data/lib/pulp_file_client/models/file_file_publication_response.rb +32 -24
  68. data/lib/pulp_file_client/models/file_file_remote.rb +56 -22
  69. data/lib/pulp_file_client/models/file_file_remote_response.rb +59 -25
  70. data/lib/pulp_file_client/models/{file_file_remote_response_hidden_fields.rb → file_file_remote_response_hidden_fields_inner.rb} +37 -25
  71. data/lib/pulp_file_client/models/file_file_repository.rb +32 -22
  72. data/lib/pulp_file_client/models/file_file_repository_response.rb +34 -24
  73. data/lib/pulp_file_client/models/my_permissions_response.rb +32 -22
  74. data/lib/pulp_file_client/models/nested_role.rb +32 -22
  75. data/lib/pulp_file_client/models/nested_role_response.rb +32 -22
  76. data/lib/pulp_file_client/models/object_roles_response.rb +32 -22
  77. data/lib/pulp_file_client/models/paginated_repository_version_response_list.rb +34 -22
  78. data/lib/pulp_file_client/models/paginatedfile_file_alternate_content_source_response_list.rb +34 -22
  79. data/lib/pulp_file_client/models/paginatedfile_file_content_response_list.rb +34 -22
  80. data/lib/pulp_file_client/models/paginatedfile_file_distribution_response_list.rb +34 -22
  81. data/lib/pulp_file_client/models/paginatedfile_file_publication_response_list.rb +34 -22
  82. data/lib/pulp_file_client/models/paginatedfile_file_remote_response_list.rb +34 -22
  83. data/lib/pulp_file_client/models/paginatedfile_file_repository_response_list.rb +34 -22
  84. data/lib/pulp_file_client/models/patchedfile_file_alternate_content_source.rb +36 -24
  85. data/lib/pulp_file_client/models/patchedfile_file_distribution.rb +40 -24
  86. data/lib/pulp_file_client/models/patchedfile_file_remote.rb +62 -24
  87. data/lib/pulp_file_client/models/patchedfile_file_repository.rb +35 -23
  88. data/lib/pulp_file_client/models/policy_enum.rb +8 -4
  89. data/lib/pulp_file_client/models/repair.rb +30 -22
  90. data/lib/pulp_file_client/models/repository_add_remove_content.rb +30 -22
  91. data/lib/pulp_file_client/models/repository_sync_url.rb +30 -22
  92. data/lib/pulp_file_client/models/repository_version_response.rb +32 -24
  93. data/lib/pulp_file_client/models/set_label.rb +34 -22
  94. data/lib/pulp_file_client/models/set_label_response.rb +34 -22
  95. data/lib/pulp_file_client/models/task_group_operation_response.rb +32 -22
  96. data/lib/pulp_file_client/models/unset_label.rb +32 -22
  97. data/lib/pulp_file_client/models/unset_label_response.rb +32 -22
  98. data/lib/pulp_file_client/version.rb +2 -2
  99. data/lib/pulp_file_client.rb +2 -3
  100. data/pulp_file_client.gemspec +9 -6
  101. data/spec/api/acs_file_api_spec.rb +12 -12
  102. data/spec/api/content_files_api_spec.rb +4 -4
  103. data/spec/api/distributions_file_api_spec.rb +13 -13
  104. data/spec/api/publications_file_api_spec.rb +16 -15
  105. data/spec/api/remotes_file_api_spec.rb +20 -19
  106. data/spec/api/repositories_file_api_spec.rb +15 -15
  107. data/spec/api/repositories_file_versions_api_spec.rb +12 -11
  108. data/spec/models/async_operation_response_spec.rb +7 -12
  109. data/spec/models/content_summary_response_spec.rb +9 -14
  110. data/spec/models/file_file_alternate_content_source_response_spec.rb +14 -19
  111. data/spec/models/file_file_alternate_content_source_spec.rb +10 -15
  112. data/spec/models/file_file_content_response_spec.rb +18 -23
  113. data/spec/models/file_file_distribution_response_spec.rb +19 -24
  114. data/spec/models/file_file_distribution_spec.rb +13 -18
  115. data/spec/models/file_file_publication_response_spec.rb +14 -19
  116. data/spec/models/file_file_publication_spec.rb +9 -14
  117. data/spec/models/{file_file_remote_response_hidden_fields_spec.rb → file_file_remote_response_hidden_fields_inner_spec.rb} +11 -16
  118. data/spec/models/file_file_remote_response_spec.rb +27 -32
  119. data/spec/models/file_file_remote_spec.rb +27 -32
  120. data/spec/models/file_file_repository_response_spec.rb +19 -24
  121. data/spec/models/file_file_repository_spec.rb +13 -18
  122. data/spec/models/my_permissions_response_spec.rb +7 -12
  123. data/spec/models/nested_role_response_spec.rb +9 -14
  124. data/spec/models/nested_role_spec.rb +9 -14
  125. data/spec/models/object_roles_response_spec.rb +7 -12
  126. data/spec/models/paginated_repository_version_response_list_spec.rb +10 -15
  127. data/spec/models/paginatedfile_file_alternate_content_source_response_list_spec.rb +10 -15
  128. data/spec/models/paginatedfile_file_content_response_list_spec.rb +10 -15
  129. data/spec/models/paginatedfile_file_distribution_response_list_spec.rb +10 -15
  130. data/spec/models/paginatedfile_file_publication_response_list_spec.rb +10 -15
  131. data/spec/models/paginatedfile_file_remote_response_list_spec.rb +10 -15
  132. data/spec/models/paginatedfile_file_repository_response_list_spec.rb +10 -15
  133. data/spec/models/patchedfile_file_alternate_content_source_spec.rb +10 -15
  134. data/spec/models/patchedfile_file_distribution_spec.rb +13 -18
  135. data/spec/models/patchedfile_file_remote_spec.rb +27 -32
  136. data/spec/models/patchedfile_file_repository_spec.rb +13 -18
  137. data/spec/models/policy_enum_spec.rb +6 -11
  138. data/spec/models/repair_spec.rb +7 -12
  139. data/spec/models/repository_add_remove_content_spec.rb +9 -14
  140. data/spec/models/repository_sync_url_spec.rb +8 -13
  141. data/spec/models/repository_version_response_spec.rb +14 -19
  142. data/spec/models/set_label_response_spec.rb +8 -13
  143. data/spec/models/set_label_spec.rb +8 -13
  144. data/spec/models/task_group_operation_response_spec.rb +7 -12
  145. data/spec/models/unset_label_response_spec.rb +8 -13
  146. data/spec/models/unset_label_spec.rb +7 -12
  147. data/spec/spec_helper.rb +1 -1
  148. metadata +77 -57
  149. data/docs/FileFileContent.md +0 -27
  150. data/docs/FileFileRemoteResponseHiddenFields.md +0 -19
  151. data/lib/pulp_file_client/models/file_file_content.rb +0 -297
  152. data/spec/api_client_spec.rb +0 -188
  153. data/spec/configuration_spec.rb +0 -42
  154. data/spec/models/file_file_content_spec.rb +0 -71
@@ -6,11 +6,12 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ Generator version: 7.10.0
10
10
 
11
11
  =end
12
12
 
13
13
  require 'date'
14
+ require 'time'
14
15
 
15
16
  module PulpFileClient
16
17
  # Serializer for synchronously setting a label.
@@ -24,6 +25,11 @@ module PulpFileClient
24
25
  }
25
26
  end
26
27
 
28
+ # Returns all the JSON keys this model knows about
29
+ def self.acceptable_attributes
30
+ attribute_map.values
31
+ end
32
+
27
33
  # Attribute type mapping.
28
34
  def self.openapi_types
29
35
  {
@@ -54,12 +60,15 @@ module PulpFileClient
54
60
 
55
61
  if attributes.key?(:'key')
56
62
  self.key = attributes[:'key']
63
+ else
64
+ self.key = nil
57
65
  end
58
66
  end
59
67
 
60
68
  # Show invalid properties with the reasons. Usually used together with valid?
61
69
  # @return Array for valid properties with the reasons
62
70
  def list_invalid_properties
71
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
63
72
  invalid_properties = Array.new
64
73
  if @key.nil?
65
74
  invalid_properties.push('invalid value for "key", key cannot be nil.')
@@ -80,6 +89,7 @@ module PulpFileClient
80
89
  # Check to see if the all the properties in the model are valid
81
90
  # @return true if the model is valid
82
91
  def valid?
92
+ warn '[DEPRECATED] the `valid?` method is obsolete'
83
93
  return false if @key.nil?
84
94
  return false if @key.to_s.length < 1
85
95
  return false if @key !~ Regexp.new(/^[-a-zA-Z0-9_]+$/)
@@ -129,37 +139,33 @@ module PulpFileClient
129
139
  # @param [Hash] attributes Model attributes in the form of hash
130
140
  # @return [Object] Returns the model itself
131
141
  def self.build_from_hash(attributes)
132
- new.build_from_hash(attributes)
133
- end
134
-
135
- # Builds the object from hash
136
- # @param [Hash] attributes Model attributes in the form of hash
137
- # @return [Object] Returns the model itself
138
- def build_from_hash(attributes)
139
142
  return nil unless attributes.is_a?(Hash)
140
- self.class.openapi_types.each_pair do |key, type|
141
- if type =~ /\AArray<(.*)>/i
143
+ attributes = attributes.transform_keys(&:to_sym)
144
+ transformed_hash = {}
145
+ openapi_types.each_pair do |key, type|
146
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
147
+ transformed_hash["#{key}"] = nil
148
+ elsif type =~ /\AArray<(.*)>/i
142
149
  # check to ensure the input is an array given that the attribute
143
150
  # is documented as an array but the input is not
144
- if attributes[self.class.attribute_map[key]].is_a?(Array)
145
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
151
+ if attributes[attribute_map[key]].is_a?(Array)
152
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
146
153
  end
147
- elsif !attributes[self.class.attribute_map[key]].nil?
148
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
149
- end # or else data not found in attributes(hash), not an issue as the data can be optional
154
+ elsif !attributes[attribute_map[key]].nil?
155
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
156
+ end
150
157
  end
151
-
152
- self
158
+ new(transformed_hash)
153
159
  end
154
160
 
155
161
  # Deserializes the data based on type
156
162
  # @param string type Data type
157
163
  # @param string value Value to be deserialized
158
164
  # @return [Object] Deserialized data
159
- def _deserialize(type, value)
165
+ def self._deserialize(type, value)
160
166
  case type.to_sym
161
- when :DateTime
162
- DateTime.parse(value)
167
+ when :Time
168
+ Time.parse(value)
163
169
  when :Date
164
170
  Date.parse(value)
165
171
  when :String
@@ -189,7 +195,9 @@ module PulpFileClient
189
195
  end
190
196
  end
191
197
  else # model
192
- PulpFileClient.const_get(type).build_from_hash(value)
198
+ # models (e.g. Pet) or oneOf
199
+ klass = PulpFileClient.const_get(type)
200
+ klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
193
201
  end
194
202
  end
195
203
 
@@ -215,7 +223,7 @@ module PulpFileClient
215
223
  is_nullable = self.class.openapi_nullable.include?(attr)
216
224
  next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
217
225
  end
218
-
226
+
219
227
  hash[param] = _to_hash(value)
220
228
  end
221
229
  hash
@@ -238,5 +246,7 @@ module PulpFileClient
238
246
  value
239
247
  end
240
248
  end
249
+
241
250
  end
251
+
242
252
  end
@@ -6,11 +6,12 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ Generator version: 7.10.0
10
10
 
11
11
  =end
12
12
 
13
13
  require 'date'
14
+ require 'time'
14
15
 
15
16
  module PulpFileClient
16
17
  # Serializer for synchronously setting a label.
@@ -27,6 +28,11 @@ module PulpFileClient
27
28
  }
28
29
  end
29
30
 
31
+ # Returns all the JSON keys this model knows about
32
+ def self.acceptable_attributes
33
+ attribute_map.values
34
+ end
35
+
30
36
  # Attribute type mapping.
31
37
  def self.openapi_types
32
38
  {
@@ -58,6 +64,8 @@ module PulpFileClient
58
64
 
59
65
  if attributes.key?(:'key')
60
66
  self.key = attributes[:'key']
67
+ else
68
+ self.key = nil
61
69
  end
62
70
 
63
71
  if attributes.key?(:'value')
@@ -68,6 +76,7 @@ module PulpFileClient
68
76
  # Show invalid properties with the reasons. Usually used together with valid?
69
77
  # @return Array for valid properties with the reasons
70
78
  def list_invalid_properties
79
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
71
80
  invalid_properties = Array.new
72
81
  if @key.nil?
73
82
  invalid_properties.push('invalid value for "key", key cannot be nil.')
@@ -84,6 +93,7 @@ module PulpFileClient
84
93
  # Check to see if the all the properties in the model are valid
85
94
  # @return true if the model is valid
86
95
  def valid?
96
+ warn '[DEPRECATED] the `valid?` method is obsolete'
87
97
  return false if @key.nil?
88
98
  return false if @key !~ Regexp.new(/^[-a-zA-Z0-9_]+$/)
89
99
  true
@@ -129,37 +139,33 @@ module PulpFileClient
129
139
  # @param [Hash] attributes Model attributes in the form of hash
130
140
  # @return [Object] Returns the model itself
131
141
  def self.build_from_hash(attributes)
132
- new.build_from_hash(attributes)
133
- end
134
-
135
- # Builds the object from hash
136
- # @param [Hash] attributes Model attributes in the form of hash
137
- # @return [Object] Returns the model itself
138
- def build_from_hash(attributes)
139
142
  return nil unless attributes.is_a?(Hash)
140
- self.class.openapi_types.each_pair do |key, type|
141
- if type =~ /\AArray<(.*)>/i
143
+ attributes = attributes.transform_keys(&:to_sym)
144
+ transformed_hash = {}
145
+ openapi_types.each_pair do |key, type|
146
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
147
+ transformed_hash["#{key}"] = nil
148
+ elsif type =~ /\AArray<(.*)>/i
142
149
  # check to ensure the input is an array given that the attribute
143
150
  # is documented as an array but the input is not
144
- if attributes[self.class.attribute_map[key]].is_a?(Array)
145
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
151
+ if attributes[attribute_map[key]].is_a?(Array)
152
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
146
153
  end
147
- elsif !attributes[self.class.attribute_map[key]].nil?
148
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
149
- end # or else data not found in attributes(hash), not an issue as the data can be optional
154
+ elsif !attributes[attribute_map[key]].nil?
155
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
156
+ end
150
157
  end
151
-
152
- self
158
+ new(transformed_hash)
153
159
  end
154
160
 
155
161
  # Deserializes the data based on type
156
162
  # @param string type Data type
157
163
  # @param string value Value to be deserialized
158
164
  # @return [Object] Deserialized data
159
- def _deserialize(type, value)
165
+ def self._deserialize(type, value)
160
166
  case type.to_sym
161
- when :DateTime
162
- DateTime.parse(value)
167
+ when :Time
168
+ Time.parse(value)
163
169
  when :Date
164
170
  Date.parse(value)
165
171
  when :String
@@ -189,7 +195,9 @@ module PulpFileClient
189
195
  end
190
196
  end
191
197
  else # model
192
- PulpFileClient.const_get(type).build_from_hash(value)
198
+ # models (e.g. Pet) or oneOf
199
+ klass = PulpFileClient.const_get(type)
200
+ klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
193
201
  end
194
202
  end
195
203
 
@@ -215,7 +223,7 @@ module PulpFileClient
215
223
  is_nullable = self.class.openapi_nullable.include?(attr)
216
224
  next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
217
225
  end
218
-
226
+
219
227
  hash[param] = _to_hash(value)
220
228
  end
221
229
  hash
@@ -238,5 +246,7 @@ module PulpFileClient
238
246
  value
239
247
  end
240
248
  end
249
+
241
250
  end
251
+
242
252
  end
@@ -6,10 +6,10 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ Generator version: 7.10.0
10
10
 
11
11
  =end
12
12
 
13
13
  module PulpFileClient
14
- VERSION = '3.69.2'
14
+ VERSION = '3.70.1'
15
15
  end
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ Generator version: 7.10.0
10
10
 
11
11
  =end
12
12
 
@@ -21,7 +21,6 @@ require 'pulp_file_client/models/async_operation_response'
21
21
  require 'pulp_file_client/models/content_summary_response'
22
22
  require 'pulp_file_client/models/file_file_alternate_content_source'
23
23
  require 'pulp_file_client/models/file_file_alternate_content_source_response'
24
- require 'pulp_file_client/models/file_file_content'
25
24
  require 'pulp_file_client/models/file_file_content_response'
26
25
  require 'pulp_file_client/models/file_file_distribution'
27
26
  require 'pulp_file_client/models/file_file_distribution_response'
@@ -29,7 +28,7 @@ require 'pulp_file_client/models/file_file_publication'
29
28
  require 'pulp_file_client/models/file_file_publication_response'
30
29
  require 'pulp_file_client/models/file_file_remote'
31
30
  require 'pulp_file_client/models/file_file_remote_response'
32
- require 'pulp_file_client/models/file_file_remote_response_hidden_fields'
31
+ require 'pulp_file_client/models/file_file_remote_response_hidden_fields_inner'
33
32
  require 'pulp_file_client/models/file_file_repository'
34
33
  require 'pulp_file_client/models/file_file_repository_response'
35
34
  require 'pulp_file_client/models/my_permissions_response'
@@ -8,7 +8,7 @@
8
8
  The version of the OpenAPI document: v3
9
9
  Contact: pulp-list@redhat.com
10
10
  Generated by: https://openapi-generator.tech
11
- OpenAPI Generator version: 4.3.1
11
+ Generator version: 7.10.0
12
12
 
13
13
  =end
14
14
 
@@ -24,11 +24,14 @@ Gem::Specification.new do |s|
24
24
  s.homepage = "https://github.com/pulp/pulp_file"
25
25
  s.summary = "Pulp 3 API Ruby Gem"
26
26
  s.description = "Fetch, Upload, Organize, and Distribute Software Packages"
27
- s.license = 'GPLv2+'
28
- s.required_ruby_version = ">= 1.9"
29
-
30
- s.add_runtime_dependency 'faraday', '>= 1.0.1', '< 2.0'
31
- s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
27
+ s.license = "GPLv2+"
28
+ s.required_ruby_version = ">= 2.7"
29
+ s.metadata = {}
30
+
31
+ s.add_runtime_dependency 'faraday-net_http', '>= 2.0', '< 3.1'
32
+ s.add_runtime_dependency 'faraday', '>= 1.0.1', '< 2.9'
33
+ s.add_runtime_dependency 'faraday-multipart'
34
+ s.add_runtime_dependency 'marcel'
32
35
 
33
36
  s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
34
37
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ Generator version: 7.10.0
10
10
 
11
11
  =end
12
12
 
@@ -41,7 +41,7 @@ describe 'AcsFileApi' do
41
41
  # @return [NestedRoleResponse]
42
42
  describe 'add_role test' do
43
43
  it 'should work' do
44
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
45
  end
46
46
  end
47
47
 
@@ -53,7 +53,7 @@ describe 'AcsFileApi' do
53
53
  # @return [FileFileAlternateContentSourceResponse]
54
54
  describe 'create test' do
55
55
  it 'should work' do
56
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
57
57
  end
58
58
  end
59
59
 
@@ -65,7 +65,7 @@ describe 'AcsFileApi' do
65
65
  # @return [AsyncOperationResponse]
66
66
  describe 'delete test' do
67
67
  it 'should work' do
68
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
69
69
  end
70
70
  end
71
71
 
@@ -94,7 +94,7 @@ describe 'AcsFileApi' do
94
94
  # @return [PaginatedfileFileAlternateContentSourceResponseList]
95
95
  describe 'list test' do
96
96
  it 'should work' do
97
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
97
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
98
98
  end
99
99
  end
100
100
 
@@ -108,7 +108,7 @@ describe 'AcsFileApi' do
108
108
  # @return [ObjectRolesResponse]
109
109
  describe 'list_roles test' do
110
110
  it 'should work' do
111
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
111
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
112
112
  end
113
113
  end
114
114
 
@@ -122,7 +122,7 @@ describe 'AcsFileApi' do
122
122
  # @return [MyPermissionsResponse]
123
123
  describe 'my_permissions test' do
124
124
  it 'should work' do
125
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
125
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
126
126
  end
127
127
  end
128
128
 
@@ -135,7 +135,7 @@ describe 'AcsFileApi' do
135
135
  # @return [AsyncOperationResponse]
136
136
  describe 'partial_update test' do
137
137
  it 'should work' do
138
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
138
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
139
139
  end
140
140
  end
141
141
 
@@ -149,7 +149,7 @@ describe 'AcsFileApi' do
149
149
  # @return [FileFileAlternateContentSourceResponse]
150
150
  describe 'read test' do
151
151
  it 'should work' do
152
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
152
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
153
153
  end
154
154
  end
155
155
 
@@ -161,7 +161,7 @@ describe 'AcsFileApi' do
161
161
  # @return [TaskGroupOperationResponse]
162
162
  describe 'refresh test' do
163
163
  it 'should work' do
164
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
164
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
165
165
  end
166
166
  end
167
167
 
@@ -174,7 +174,7 @@ describe 'AcsFileApi' do
174
174
  # @return [NestedRoleResponse]
175
175
  describe 'remove_role test' do
176
176
  it 'should work' do
177
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
177
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
178
178
  end
179
179
  end
180
180
 
@@ -187,7 +187,7 @@ describe 'AcsFileApi' do
187
187
  # @return [AsyncOperationResponse]
188
188
  describe 'update test' do
189
189
  it 'should work' do
190
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
190
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
191
191
  end
192
192
  end
193
193
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ Generator version: 7.10.0
10
10
 
11
11
  =end
12
12
 
@@ -45,7 +45,7 @@ describe 'ContentFilesApi' do
45
45
  # @return [AsyncOperationResponse]
46
46
  describe 'create test' do
47
47
  it 'should work' do
48
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
48
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
49
49
  end
50
50
  end
51
51
 
@@ -71,7 +71,7 @@ describe 'ContentFilesApi' do
71
71
  # @return [PaginatedfileFileContentResponseList]
72
72
  describe 'list test' do
73
73
  it 'should work' do
74
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
75
75
  end
76
76
  end
77
77
 
@@ -85,7 +85,7 @@ describe 'ContentFilesApi' do
85
85
  # @return [FileFileContentResponse]
86
86
  describe 'read test' do
87
87
  it 'should work' do
88
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
88
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
89
89
  end
90
90
  end
91
91
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ Generator version: 7.10.0
10
10
 
11
11
  =end
12
12
 
@@ -41,7 +41,7 @@ describe 'DistributionsFileApi' do
41
41
  # @return [NestedRoleResponse]
42
42
  describe 'add_role test' do
43
43
  it 'should work' do
44
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
45
  end
46
46
  end
47
47
 
@@ -53,7 +53,7 @@ describe 'DistributionsFileApi' do
53
53
  # @return [AsyncOperationResponse]
54
54
  describe 'create test' do
55
55
  it 'should work' do
56
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
57
57
  end
58
58
  end
59
59
 
@@ -65,7 +65,7 @@ describe 'DistributionsFileApi' do
65
65
  # @return [AsyncOperationResponse]
66
66
  describe 'delete test' do
67
67
  it 'should work' do
68
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
69
69
  end
70
70
  end
71
71
 
@@ -102,7 +102,7 @@ describe 'DistributionsFileApi' do
102
102
  # @return [PaginatedfileFileDistributionResponseList]
103
103
  describe 'list test' do
104
104
  it 'should work' do
105
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
105
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
106
106
  end
107
107
  end
108
108
 
@@ -116,7 +116,7 @@ describe 'DistributionsFileApi' do
116
116
  # @return [ObjectRolesResponse]
117
117
  describe 'list_roles test' do
118
118
  it 'should work' do
119
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
119
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
120
120
  end
121
121
  end
122
122
 
@@ -130,7 +130,7 @@ describe 'DistributionsFileApi' do
130
130
  # @return [MyPermissionsResponse]
131
131
  describe 'my_permissions test' do
132
132
  it 'should work' do
133
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
133
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
134
134
  end
135
135
  end
136
136
 
@@ -143,7 +143,7 @@ describe 'DistributionsFileApi' do
143
143
  # @return [AsyncOperationResponse]
144
144
  describe 'partial_update test' do
145
145
  it 'should work' do
146
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
146
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
147
147
  end
148
148
  end
149
149
 
@@ -157,7 +157,7 @@ describe 'DistributionsFileApi' do
157
157
  # @return [FileFileDistributionResponse]
158
158
  describe 'read test' do
159
159
  it 'should work' do
160
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
160
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
161
161
  end
162
162
  end
163
163
 
@@ -170,7 +170,7 @@ describe 'DistributionsFileApi' do
170
170
  # @return [NestedRoleResponse]
171
171
  describe 'remove_role test' do
172
172
  it 'should work' do
173
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
173
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
174
174
  end
175
175
  end
176
176
 
@@ -183,7 +183,7 @@ describe 'DistributionsFileApi' do
183
183
  # @return [SetLabelResponse]
184
184
  describe 'set_label test' do
185
185
  it 'should work' do
186
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
186
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
187
187
  end
188
188
  end
189
189
 
@@ -196,7 +196,7 @@ describe 'DistributionsFileApi' do
196
196
  # @return [UnsetLabelResponse]
197
197
  describe 'unset_label test' do
198
198
  it 'should work' do
199
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
199
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
200
200
  end
201
201
  end
202
202
 
@@ -209,7 +209,7 @@ describe 'DistributionsFileApi' do
209
209
  # @return [AsyncOperationResponse]
210
210
  describe 'update test' do
211
211
  it 'should work' do
212
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
212
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
213
213
  end
214
214
  end
215
215