pulp_python_client 3.6.1 → 3.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -6
  3. data/docs/ContentPackagesApi.md +4 -2
  4. data/docs/DistributionsPypiApi.md +2 -2
  5. data/docs/PatchedpythonPythonRemote.md +2 -2
  6. data/docs/PublicationsPypiApi.md +4 -2
  7. data/docs/PythonPythonPackageContent.md +2 -0
  8. data/docs/PythonPythonRemote.md +2 -2
  9. data/docs/RemotesPythonApi.md +2 -2
  10. data/docs/Repair.md +17 -0
  11. data/docs/RepositoriesPythonApi.md +2 -2
  12. data/docs/RepositoriesPythonVersionsApi.md +6 -6
  13. data/git_push.sh +58 -0
  14. data/lib/pulp_python_client/api/content_packages_api.rb +10 -3
  15. data/lib/pulp_python_client/api/distributions_pypi_api.rb +7 -3
  16. data/lib/pulp_python_client/api/publications_pypi_api.rb +10 -3
  17. data/lib/pulp_python_client/api/remotes_python_api.rb +7 -3
  18. data/lib/pulp_python_client/api/repositories_python_api.rb +7 -3
  19. data/lib/pulp_python_client/api/repositories_python_versions_api.rb +16 -12
  20. data/lib/pulp_python_client/api_client.rb +1 -1
  21. data/lib/pulp_python_client/models/patchedpython_python_remote.rb +2 -2
  22. data/lib/pulp_python_client/models/python_python_package_content.rb +11 -1
  23. data/lib/pulp_python_client/models/python_python_remote.rb +2 -2
  24. data/lib/pulp_python_client/models/{repository_version.rb → repair.rb} +13 -12
  25. data/lib/pulp_python_client/version.rb +1 -1
  26. data/lib/pulp_python_client.rb +1 -2
  27. data/pulp_python_client.gemspec +3 -3
  28. data/spec/api/content_packages_api_spec.rb +2 -1
  29. data/spec/api/distributions_pypi_api_spec.rb +1 -1
  30. data/spec/api/publications_pypi_api_spec.rb +2 -1
  31. data/spec/api/remotes_python_api_spec.rb +1 -1
  32. data/spec/api/repositories_python_api_spec.rb +1 -1
  33. data/spec/api/repositories_python_versions_api_spec.rb +2 -2
  34. data/spec/models/python_python_package_content_spec.rb +6 -0
  35. data/spec/models/{repository_version_spec.rb → repair_spec.rb} +7 -7
  36. metadata +46 -49
  37. data/docs/ContentSummary.md +0 -21
  38. data/docs/RepositoryVersion.md +0 -17
  39. data/lib/pulp_python_client/models/content_summary.rb +0 -246
  40. data/spec/models/content_summary_spec.rb +0 -53
@@ -95,7 +95,7 @@ module PulpPythonClient
95
95
  # @option opts [Integer] :number__lte Filter results where number is less than or equal to value
96
96
  # @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
97
97
  # @option opts [Integer] :offset The initial index from which to return the results.
98
- # @option opts [String] :ordering Which field to use when ordering the results.
98
+ # @option opts [Array<String>] :ordering Ordering
99
99
  # @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
100
100
  # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
101
101
  # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
@@ -124,7 +124,7 @@ module PulpPythonClient
124
124
  # @option opts [Integer] :number__lte Filter results where number is less than or equal to value
125
125
  # @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
126
126
  # @option opts [Integer] :offset The initial index from which to return the results.
127
- # @option opts [String] :ordering Which field to use when ordering the results.
127
+ # @option opts [Array<String>] :ordering Ordering
128
128
  # @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
129
129
  # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
130
130
  # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
@@ -142,6 +142,10 @@ module PulpPythonClient
142
142
  if @api_client.config.client_side_validation && python_python_repository_href.nil?
143
143
  fail ArgumentError, "Missing the required parameter 'python_python_repository_href' when calling RepositoriesPythonVersionsApi.list"
144
144
  end
145
+ allowable_values = ["-added_memberships", "-base_version", "-complete", "-counts", "-distribution", "-group_roles", "-number", "-pk", "-publication", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-removed_memberships", "-repository", "-user_roles", "-versions", "added_memberships", "base_version", "complete", "counts", "distribution", "group_roles", "number", "pk", "publication", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "removed_memberships", "repository", "user_roles", "versions"]
146
+ if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
147
+ fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
148
+ end
145
149
  # resource path
146
150
  local_var_path = '{python_python_repository_href}versions/'.sub('{' + 'python_python_repository_href' + '}', CGI.escape(python_python_repository_href.to_s).gsub('%2F', '/'))
147
151
 
@@ -157,7 +161,7 @@ module PulpPythonClient
157
161
  query_params[:'number__lte'] = opts[:'number__lte'] if !opts[:'number__lte'].nil?
158
162
  query_params[:'number__range'] = @api_client.build_collection_param(opts[:'number__range'], :csv) if !opts[:'number__range'].nil?
159
163
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
160
- query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
164
+ query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
161
165
  query_params[:'pulp_created'] = opts[:'pulp_created'] if !opts[:'pulp_created'].nil?
162
166
  query_params[:'pulp_created__gt'] = opts[:'pulp_created__gt'] if !opts[:'pulp_created__gt'].nil?
163
167
  query_params[:'pulp_created__gte'] = opts[:'pulp_created__gte'] if !opts[:'pulp_created__gte'].nil?
@@ -270,20 +274,20 @@ module PulpPythonClient
270
274
 
271
275
  # Trigger an asynchronous task to repair a repository version.
272
276
  # @param python_python_repository_version_href [String]
273
- # @param repository_version [RepositoryVersion]
277
+ # @param repair [Repair]
274
278
  # @param [Hash] opts the optional parameters
275
279
  # @return [AsyncOperationResponse]
276
- def repair(python_python_repository_version_href, repository_version, opts = {})
277
- data, _status_code, _headers = repair_with_http_info(python_python_repository_version_href, repository_version, opts)
280
+ def repair(python_python_repository_version_href, repair, opts = {})
281
+ data, _status_code, _headers = repair_with_http_info(python_python_repository_version_href, repair, opts)
278
282
  data
279
283
  end
280
284
 
281
285
  # Trigger an asynchronous task to repair a repository version.
282
286
  # @param python_python_repository_version_href [String]
283
- # @param repository_version [RepositoryVersion]
287
+ # @param repair [Repair]
284
288
  # @param [Hash] opts the optional parameters
285
289
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
286
- def repair_with_http_info(python_python_repository_version_href, repository_version, opts = {})
290
+ def repair_with_http_info(python_python_repository_version_href, repair, opts = {})
287
291
  if @api_client.config.debugging
288
292
  @api_client.config.logger.debug 'Calling API: RepositoriesPythonVersionsApi.repair ...'
289
293
  end
@@ -291,9 +295,9 @@ module PulpPythonClient
291
295
  if @api_client.config.client_side_validation && python_python_repository_version_href.nil?
292
296
  fail ArgumentError, "Missing the required parameter 'python_python_repository_version_href' when calling RepositoriesPythonVersionsApi.repair"
293
297
  end
294
- # verify the required parameter 'repository_version' is set
295
- if @api_client.config.client_side_validation && repository_version.nil?
296
- fail ArgumentError, "Missing the required parameter 'repository_version' when calling RepositoriesPythonVersionsApi.repair"
298
+ # verify the required parameter 'repair' is set
299
+ if @api_client.config.client_side_validation && repair.nil?
300
+ fail ArgumentError, "Missing the required parameter 'repair' when calling RepositoriesPythonVersionsApi.repair"
297
301
  end
298
302
  # resource path
299
303
  local_var_path = '{python_python_repository_version_href}repair/'.sub('{' + 'python_python_repository_version_href' + '}', CGI.escape(python_python_repository_version_href.to_s).gsub('%2F', '/'))
@@ -312,7 +316,7 @@ module PulpPythonClient
312
316
  form_params = opts[:form_params] || {}
313
317
 
314
318
  # http body (model)
315
- post_body = opts[:body] || @api_client.object_to_http_body(repository_version)
319
+ post_body = opts[:body] || @api_client.object_to_http_body(repair)
316
320
 
317
321
  # return_type
318
322
  return_type = opts[:return_type] || 'AsyncOperationResponse'
@@ -154,7 +154,7 @@ module PulpPythonClient
154
154
  case value
155
155
  when ::File, ::Tempfile
156
156
  # TODO hardcode to application/octet-stream, need better way to detect content type
157
- data[key] = Faraday::FilePart.new(value.path, 'application/octet-stream', value.path)
157
+ data[key] = Faraday::UploadIO.new(value.path, 'application/octet-stream', value.path)
158
158
  when ::Array, nil
159
159
  # let Faraday handle Array and nil parameters
160
160
  data[key] = value
@@ -39,13 +39,13 @@ module PulpPythonClient
39
39
  # The username to authenticte to the proxy.
40
40
  attr_accessor :proxy_username
41
41
 
42
- # The password to authenticte to the proxy.
42
+ # The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed.
43
43
  attr_accessor :proxy_password
44
44
 
45
45
  # The username to be used for authentication when syncing.
46
46
  attr_accessor :username
47
47
 
48
- # The password to be used for authentication when syncing.
48
+ # The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed.
49
49
  attr_accessor :password
50
50
 
51
51
  attr_accessor :pulp_labels
@@ -27,6 +27,9 @@ module PulpPythonClient
27
27
  # A URI of a repository the new content unit should be associated with.
28
28
  attr_accessor :repository
29
29
 
30
+ # An uncommitted upload that may be turned into the artifact of the content unit.
31
+ attr_accessor :upload
32
+
30
33
  # The SHA256 digest of this package.
31
34
  attr_accessor :sha256
32
35
 
@@ -100,6 +103,7 @@ module PulpPythonClient
100
103
  :'relative_path' => :'relative_path',
101
104
  :'file' => :'file',
102
105
  :'repository' => :'repository',
106
+ :'upload' => :'upload',
103
107
  :'sha256' => :'sha256',
104
108
  :'summary' => :'summary',
105
109
  :'description' => :'description',
@@ -132,6 +136,7 @@ module PulpPythonClient
132
136
  :'relative_path' => :'String',
133
137
  :'file' => :'File',
134
138
  :'repository' => :'String',
139
+ :'upload' => :'String',
135
140
  :'sha256' => :'String',
136
141
  :'summary' => :'String',
137
142
  :'description' => :'String',
@@ -194,6 +199,10 @@ module PulpPythonClient
194
199
  self.repository = attributes[:'repository']
195
200
  end
196
201
 
202
+ if attributes.key?(:'upload')
203
+ self.upload = attributes[:'upload']
204
+ end
205
+
197
206
  if attributes.key?(:'sha256')
198
207
  self.sha256 = attributes[:'sha256']
199
208
  else
@@ -346,6 +355,7 @@ module PulpPythonClient
346
355
  relative_path == o.relative_path &&
347
356
  file == o.file &&
348
357
  repository == o.repository &&
358
+ upload == o.upload &&
349
359
  sha256 == o.sha256 &&
350
360
  summary == o.summary &&
351
361
  description == o.description &&
@@ -379,7 +389,7 @@ module PulpPythonClient
379
389
  # Calculates hash code according to all attributes.
380
390
  # @return [Integer] Hash code
381
391
  def hash
382
- [artifact, relative_path, file, repository, sha256, summary, description, description_content_type, keywords, home_page, download_url, author, author_email, maintainer, maintainer_email, license, requires_python, project_url, project_urls, platform, supported_platform, requires_dist, provides_dist, obsoletes_dist, requires_external, classifiers].hash
392
+ [artifact, relative_path, file, repository, upload, sha256, summary, description, description_content_type, keywords, home_page, download_url, author, author_email, maintainer, maintainer_email, license, requires_python, project_url, project_urls, platform, supported_platform, requires_dist, provides_dist, obsoletes_dist, requires_external, classifiers].hash
383
393
  end
384
394
 
385
395
  # Builds the object from hash
@@ -39,13 +39,13 @@ module PulpPythonClient
39
39
  # The username to authenticte to the proxy.
40
40
  attr_accessor :proxy_username
41
41
 
42
- # The password to authenticte to the proxy.
42
+ # The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed.
43
43
  attr_accessor :proxy_password
44
44
 
45
45
  # The username to be used for authentication when syncing.
46
46
  attr_accessor :username
47
47
 
48
- # The password to be used for authentication when syncing.
48
+ # The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed.
49
49
  attr_accessor :password
50
50
 
51
51
  attr_accessor :pulp_labels
@@ -13,22 +13,21 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'date'
14
14
 
15
15
  module PulpPythonClient
16
- # Base serializer for use with :class:`pulpcore.app.models.Model` This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the ``ref_name`` attribute in the ModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
17
- class RepositoryVersion
18
- # A repository version whose content was used as the initial set of content for this repository version
19
- attr_accessor :base_version
16
+ class Repair
17
+ # Will verify that the checksum of all stored files matches what saved in the database. Otherwise only the existence of the files will be checked. Enabled by default
18
+ attr_accessor :verify_checksums
20
19
 
21
20
  # Attribute mapping from ruby-style variable name to JSON key.
22
21
  def self.attribute_map
23
22
  {
24
- :'base_version' => :'base_version'
23
+ :'verify_checksums' => :'verify_checksums'
25
24
  }
26
25
  end
27
26
 
28
27
  # Attribute type mapping.
29
28
  def self.openapi_types
30
29
  {
31
- :'base_version' => :'String'
30
+ :'verify_checksums' => :'Boolean'
32
31
  }
33
32
  end
34
33
 
@@ -42,19 +41,21 @@ module PulpPythonClient
42
41
  # @param [Hash] attributes Model attributes in the form of hash
43
42
  def initialize(attributes = {})
44
43
  if (!attributes.is_a?(Hash))
45
- fail ArgumentError, "The input argument (attributes) must be a hash in `PulpPythonClient::RepositoryVersion` initialize method"
44
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpPythonClient::Repair` initialize method"
46
45
  end
47
46
 
48
47
  # check to see if the attribute exists and convert string to symbol for hash key
49
48
  attributes = attributes.each_with_object({}) { |(k, v), h|
50
49
  if (!self.class.attribute_map.key?(k.to_sym))
51
- fail ArgumentError, "`#{k}` is not a valid attribute in `PulpPythonClient::RepositoryVersion`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
50
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpPythonClient::Repair`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
52
51
  end
53
52
  h[k.to_sym] = v
54
53
  }
55
54
 
56
- if attributes.key?(:'base_version')
57
- self.base_version = attributes[:'base_version']
55
+ if attributes.key?(:'verify_checksums')
56
+ self.verify_checksums = attributes[:'verify_checksums']
57
+ else
58
+ self.verify_checksums = true
58
59
  end
59
60
  end
60
61
 
@@ -76,7 +77,7 @@ module PulpPythonClient
76
77
  def ==(o)
77
78
  return true if self.equal?(o)
78
79
  self.class == o.class &&
79
- base_version == o.base_version
80
+ verify_checksums == o.verify_checksums
80
81
  end
81
82
 
82
83
  # @see the `==` method
@@ -88,7 +89,7 @@ module PulpPythonClient
88
89
  # Calculates hash code according to all attributes.
89
90
  # @return [Integer] Hash code
90
91
  def hash
91
- [base_version].hash
92
+ [verify_checksums].hash
92
93
  end
93
94
 
94
95
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpPythonClient
14
- VERSION = '3.6.1'
14
+ VERSION = '3.7.0'
15
15
  end
@@ -18,7 +18,6 @@ require 'pulp_python_client/configuration'
18
18
 
19
19
  # Models
20
20
  require 'pulp_python_client/models/async_operation_response'
21
- require 'pulp_python_client/models/content_summary'
22
21
  require 'pulp_python_client/models/content_summary_response'
23
22
  require 'pulp_python_client/models/exclude_platforms_enum'
24
23
  require 'pulp_python_client/models/package_metadata_response'
@@ -46,9 +45,9 @@ require 'pulp_python_client/models/python_python_remote'
46
45
  require 'pulp_python_client/models/python_python_remote_response'
47
46
  require 'pulp_python_client/models/python_python_repository'
48
47
  require 'pulp_python_client/models/python_python_repository_response'
48
+ require 'pulp_python_client/models/repair'
49
49
  require 'pulp_python_client/models/repository_add_remove_content'
50
50
  require 'pulp_python_client/models/repository_sync_url'
51
- require 'pulp_python_client/models/repository_version'
52
51
  require 'pulp_python_client/models/repository_version_response'
53
52
  require 'pulp_python_client/models/summary_response'
54
53
 
@@ -21,13 +21,13 @@ Gem::Specification.new do |s|
21
21
  s.platform = Gem::Platform::RUBY
22
22
  s.authors = ["OpenAPI-Generator"]
23
23
  s.email = ["pulp-list@redhat.com"]
24
- s.homepage = "https://github.com/pulp/pulp_python"
24
+ s.homepage = "https://openapi-generator.tech"
25
25
  s.summary = "Pulp 3 API Ruby Gem"
26
26
  s.description = "Fetch, Upload, Organize, and Distribute Software Packages"
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 'faraday', '>= 1.0.1', '< 2.0'
30
+ s.add_runtime_dependency 'faraday', '~> 0.17', '< 1.9.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'
@@ -40,6 +40,7 @@ describe 'ContentPackagesApi' do
40
40
  # @option opts [String] :artifact Artifact file representing the physical content
41
41
  # @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
42
42
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
43
+ # @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
43
44
  # @option opts [String] :sha256 The SHA256 digest of this package.
44
45
  # @option opts [String] :summary A one-line summary of what the package does.
45
46
  # @option opts [String] :description A longer description of the package that can run to several paragraphs.
@@ -84,7 +85,7 @@ describe 'ContentPackagesApi' do
84
85
  # @option opts [String] :name Filter results where name matches value
85
86
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
86
87
  # @option opts [Integer] :offset The initial index from which to return the results.
87
- # @option opts [String] :ordering Which field to use when ordering the results.
88
+ # @option opts [Array<String>] :ordering Ordering
88
89
  # @option opts [String] :packagetype Filter results where packagetype matches value
89
90
  # @option opts [Array<String>] :packagetype__in Filter results where packagetype is in a comma-separated list of values
90
91
  # @option opts [String] :repository_version Repository Version referenced by HREF
@@ -71,7 +71,7 @@ describe 'DistributionsPypiApi' do
71
71
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
72
72
  # @option opts [String] :name__startswith Filter results where name starts with value
73
73
  # @option opts [Integer] :offset The initial index from which to return the results.
74
- # @option opts [String] :ordering Which field to use when ordering the results.
74
+ # @option opts [Array<String>] :ordering Ordering
75
75
  # @option opts [String] :pulp_label_select Filter labels by search string
76
76
  # @option opts [String] :fields A list of fields to include in the response.
77
77
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
@@ -64,13 +64,14 @@ describe 'PublicationsPypiApi' do
64
64
  # @option opts [String] :content__in Content Unit referenced by HREF
65
65
  # @option opts [Integer] :limit Number of results to return per page.
66
66
  # @option opts [Integer] :offset The initial index from which to return the results.
67
- # @option opts [String] :ordering Which field to use when ordering the results.
67
+ # @option opts [Array<String>] :ordering Ordering
68
68
  # @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
69
69
  # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
70
70
  # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
71
71
  # @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
72
72
  # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
73
73
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
74
+ # @option opts [String] :repository Repository referenced by HREF
74
75
  # @option opts [String] :repository_version Repository Version referenced by HREF
75
76
  # @option opts [String] :fields A list of fields to include in the response.
76
77
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
@@ -81,7 +81,7 @@ describe 'RemotesPythonApi' do
81
81
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
82
82
  # @option opts [String] :name__startswith Filter results where name starts with value
83
83
  # @option opts [Integer] :offset The initial index from which to return the results.
84
- # @option opts [String] :ordering Which field to use when ordering the results.
84
+ # @option opts [Array<String>] :ordering Ordering
85
85
  # @option opts [String] :pulp_label_select Filter labels by search string
86
86
  # @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
87
87
  # @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
@@ -67,7 +67,7 @@ describe 'RepositoriesPythonApi' do
67
67
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
68
68
  # @option opts [String] :name__startswith Filter results where name starts with value
69
69
  # @option opts [Integer] :offset The initial index from which to return the results.
70
- # @option opts [String] :ordering Which field to use when ordering the results.
70
+ # @option opts [Array<String>] :ordering Ordering
71
71
  # @option opts [String] :pulp_label_select Filter labels by search string
72
72
  # @option opts [String] :fields A list of fields to include in the response.
73
73
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
@@ -59,7 +59,7 @@ describe 'RepositoriesPythonVersionsApi' do
59
59
  # @option opts [Integer] :number__lte Filter results where number is less than or equal to value
60
60
  # @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
61
61
  # @option opts [Integer] :offset The initial index from which to return the results.
62
- # @option opts [String] :ordering Which field to use when ordering the results.
62
+ # @option opts [Array<String>] :ordering Ordering
63
63
  # @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
64
64
  # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
65
65
  # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
@@ -92,7 +92,7 @@ describe 'RepositoriesPythonVersionsApi' do
92
92
  # unit tests for repair
93
93
  # Trigger an asynchronous task to repair a repository version.
94
94
  # @param python_python_repository_version_href
95
- # @param repository_version
95
+ # @param repair
96
96
  # @param [Hash] opts the optional parameters
97
97
  # @return [AsyncOperationResponse]
98
98
  describe 'repair test' do
@@ -56,6 +56,12 @@ describe 'PythonPythonPackageContent' do
56
56
  end
57
57
  end
58
58
 
59
+ describe 'test attribute "upload"' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ end
63
+ end
64
+
59
65
  describe 'test attribute "sha256"' do
60
66
  it 'should work' do
61
67
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -14,25 +14,25 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for PulpPythonClient::RepositoryVersion
17
+ # Unit tests for PulpPythonClient::Repair
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe 'RepositoryVersion' do
20
+ describe 'Repair' do
21
21
  before do
22
22
  # run before each test
23
- @instance = PulpPythonClient::RepositoryVersion.new
23
+ @instance = PulpPythonClient::Repair.new
24
24
  end
25
25
 
26
26
  after do
27
27
  # run after each test
28
28
  end
29
29
 
30
- describe 'test an instance of RepositoryVersion' do
31
- it 'should create an instance of RepositoryVersion' do
32
- expect(@instance).to be_instance_of(PulpPythonClient::RepositoryVersion)
30
+ describe 'test an instance of Repair' do
31
+ it 'should create an instance of Repair' do
32
+ expect(@instance).to be_instance_of(PulpPythonClient::Repair)
33
33
  end
34
34
  end
35
- describe 'test attribute "base_version"' do
35
+ describe 'test attribute "verify_checksums"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
metadata CHANGED
@@ -1,35 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulp_python_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.6.1
4
+ version: 3.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-19 00:00:00.000000000 Z
11
+ date: 2022-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.0.1
19
+ version: '0.17'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '2.0'
22
+ version: 1.9.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
- - - ">="
27
+ - - "~>"
28
28
  - !ruby/object:Gem::Version
29
- version: 1.0.1
29
+ version: '0.17'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '2.0'
32
+ version: 1.9.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: json
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -82,7 +82,6 @@ files:
82
82
  - Rakefile
83
83
  - docs/AsyncOperationResponse.md
84
84
  - docs/ContentPackagesApi.md
85
- - docs/ContentSummary.md
86
85
  - docs/ContentSummaryResponse.md
87
86
  - docs/DistributionsPypiApi.md
88
87
  - docs/ExcludePlatformsEnum.md
@@ -117,13 +116,14 @@ files:
117
116
  - docs/PythonPythonRepository.md
118
117
  - docs/PythonPythonRepositoryResponse.md
119
118
  - docs/RemotesPythonApi.md
119
+ - docs/Repair.md
120
120
  - docs/RepositoriesPythonApi.md
121
121
  - docs/RepositoriesPythonVersionsApi.md
122
122
  - docs/RepositoryAddRemoveContent.md
123
123
  - docs/RepositorySyncURL.md
124
- - docs/RepositoryVersion.md
125
124
  - docs/RepositoryVersionResponse.md
126
125
  - docs/SummaryResponse.md
126
+ - git_push.sh
127
127
  - lib/pulp_python_client.rb
128
128
  - lib/pulp_python_client/api/content_packages_api.rb
129
129
  - lib/pulp_python_client/api/distributions_pypi_api.rb
@@ -139,7 +139,6 @@ files:
139
139
  - lib/pulp_python_client/api_error.rb
140
140
  - lib/pulp_python_client/configuration.rb
141
141
  - lib/pulp_python_client/models/async_operation_response.rb
142
- - lib/pulp_python_client/models/content_summary.rb
143
142
  - lib/pulp_python_client/models/content_summary_response.rb
144
143
  - lib/pulp_python_client/models/exclude_platforms_enum.rb
145
144
  - lib/pulp_python_client/models/package_metadata_response.rb
@@ -167,9 +166,9 @@ files:
167
166
  - lib/pulp_python_client/models/python_python_remote_response.rb
168
167
  - lib/pulp_python_client/models/python_python_repository.rb
169
168
  - lib/pulp_python_client/models/python_python_repository_response.rb
169
+ - lib/pulp_python_client/models/repair.rb
170
170
  - lib/pulp_python_client/models/repository_add_remove_content.rb
171
171
  - lib/pulp_python_client/models/repository_sync_url.rb
172
- - lib/pulp_python_client/models/repository_version.rb
173
172
  - lib/pulp_python_client/models/repository_version_response.rb
174
173
  - lib/pulp_python_client/models/summary_response.rb
175
174
  - lib/pulp_python_client/version.rb
@@ -188,7 +187,6 @@ files:
188
187
  - spec/configuration_spec.rb
189
188
  - spec/models/async_operation_response_spec.rb
190
189
  - spec/models/content_summary_response_spec.rb
191
- - spec/models/content_summary_spec.rb
192
190
  - spec/models/exclude_platforms_enum_spec.rb
193
191
  - spec/models/package_metadata_response_spec.rb
194
192
  - spec/models/package_types_enum_spec.rb
@@ -215,15 +213,15 @@ files:
215
213
  - spec/models/python_python_remote_spec.rb
216
214
  - spec/models/python_python_repository_response_spec.rb
217
215
  - spec/models/python_python_repository_spec.rb
216
+ - spec/models/repair_spec.rb
218
217
  - spec/models/repository_add_remove_content_spec.rb
219
218
  - spec/models/repository_sync_url_spec.rb
220
219
  - spec/models/repository_version_response_spec.rb
221
- - spec/models/repository_version_spec.rb
222
220
  - spec/models/summary_response_spec.rb
223
221
  - spec/spec_helper.rb
224
- homepage: https://github.com/pulp/pulp_python
222
+ homepage: https://openapi-generator.tech
225
223
  licenses:
226
- - GPLv2+
224
+ - GPL-2.0+
227
225
  metadata: {}
228
226
  post_install_message:
229
227
  rdoc_options: []
@@ -245,50 +243,49 @@ signing_key:
245
243
  specification_version: 4
246
244
  summary: Pulp 3 API Ruby Gem
247
245
  test_files:
248
- - spec/api/pypi_api_spec.rb
249
- - spec/api/content_packages_api_spec.rb
250
- - spec/api/remotes_python_api_spec.rb
251
246
  - spec/api/pypi_simple_api_spec.rb
252
- - spec/api/repositories_python_api_spec.rb
247
+ - spec/api/repositories_python_versions_api_spec.rb
248
+ - spec/api/publications_pypi_api_spec.rb
253
249
  - spec/api/distributions_pypi_api_spec.rb
250
+ - spec/api/content_packages_api_spec.rb
254
251
  - spec/api/pypi_metadata_api_spec.rb
252
+ - spec/api/pypi_api_spec.rb
253
+ - spec/api/repositories_python_api_spec.rb
254
+ - spec/api/remotes_python_api_spec.rb
255
255
  - spec/api/pypi_legacy_api_spec.rb
256
- - spec/api/publications_pypi_api_spec.rb
257
- - spec/api/repositories_python_versions_api_spec.rb
258
256
  - spec/api_client_spec.rb
259
257
  - spec/configuration_spec.rb
260
- - spec/models/python_python_distribution_spec.rb
261
- - spec/models/package_types_enum_spec.rb
258
+ - spec/models/paginated_repository_version_response_list_spec.rb
259
+ - spec/models/summary_response_spec.rb
262
260
  - spec/models/python_python_remote_response_spec.rb
263
- - spec/models/content_summary_spec.rb
264
- - spec/models/async_operation_response_spec.rb
265
- - spec/models/patchedpython_python_repository_spec.rb
266
- - spec/models/paginatedpython_python_remote_response_list_spec.rb
267
- - spec/models/python_python_package_content_spec.rb
268
- - spec/models/patchedpython_python_remote_spec.rb
261
+ - spec/models/paginatedpython_python_package_content_response_list_spec.rb
262
+ - spec/models/repair_spec.rb
263
+ - spec/models/python_python_repository_spec.rb
269
264
  - spec/models/package_metadata_response_spec.rb
270
- - spec/models/repository_version_response_spec.rb
271
- - spec/models/package_upload_spec.rb
272
- - spec/models/python_python_publication_response_spec.rb
273
- - spec/models/python_bander_remote_spec.rb
274
- - spec/models/paginatedpython_python_distribution_response_list_spec.rb
275
- - spec/models/repository_sync_url_spec.rb
276
- - spec/models/package_upload_task_response_spec.rb
265
+ - spec/models/python_python_distribution_spec.rb
266
+ - spec/models/python_python_package_content_spec.rb
277
267
  - spec/models/python_python_package_content_response_spec.rb
268
+ - spec/models/content_summary_response_spec.rb
269
+ - spec/models/package_types_enum_spec.rb
270
+ - spec/models/python_python_repository_response_spec.rb
271
+ - spec/models/repository_add_remove_content_spec.rb
278
272
  - spec/models/policy_enum_spec.rb
279
- - spec/models/summary_response_spec.rb
280
- - spec/models/repository_version_spec.rb
281
- - spec/models/paginated_repository_version_response_list_spec.rb
282
- - spec/models/paginatedpython_python_publication_response_list_spec.rb
273
+ - spec/models/package_upload_spec.rb
274
+ - spec/models/python_python_publication_response_spec.rb
275
+ - spec/models/python_python_distribution_response_spec.rb
276
+ - spec/models/paginatedpython_python_remote_response_list_spec.rb
283
277
  - spec/models/python_python_publication_spec.rb
284
- - spec/models/python_python_repository_spec.rb
278
+ - spec/models/paginatedpython_python_repository_response_list_spec.rb
279
+ - spec/models/package_upload_task_response_spec.rb
280
+ - spec/models/async_operation_response_spec.rb
281
+ - spec/models/repository_sync_url_spec.rb
282
+ - spec/models/patchedpython_python_distribution_spec.rb
285
283
  - spec/models/exclude_platforms_enum_spec.rb
284
+ - spec/models/paginatedpython_python_publication_response_list_spec.rb
285
+ - spec/models/paginatedpython_python_distribution_response_list_spec.rb
286
+ - spec/models/repository_version_response_spec.rb
286
287
  - spec/models/python_python_remote_spec.rb
287
- - spec/models/patchedpython_python_distribution_spec.rb
288
- - spec/models/paginatedpython_python_repository_response_list_spec.rb
289
- - spec/models/python_python_distribution_response_spec.rb
290
- - spec/models/python_python_repository_response_spec.rb
291
- - spec/models/repository_add_remove_content_spec.rb
292
- - spec/models/content_summary_response_spec.rb
293
- - spec/models/paginatedpython_python_package_content_response_list_spec.rb
288
+ - spec/models/patchedpython_python_repository_spec.rb
289
+ - spec/models/patchedpython_python_remote_spec.rb
290
+ - spec/models/python_bander_remote_spec.rb
294
291
  - spec/spec_helper.rb