pulp_python_client 3.2.0.dev1615779704 → 3.2.0.dev1616298157

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of pulp_python_client might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e17f6fe94b6a961c1dd02c710b6dc9f9173117c48409b61818763ce929e76e93
4
- data.tar.gz: abbbaf407a46868b6b91ff2ab0f24a01ee3a6b9fabf038da94fc42ee28788b88
3
+ metadata.gz: 9758bd362ecd1d493f96878352b9053c10029a7e3a95d8863e0ec6e6827c4aa1
4
+ data.tar.gz: f06de953eb9dde85ef61a50e290d9e4ccd92813cc0e7153bf6247e0a73092b6f
5
5
  SHA512:
6
- metadata.gz: ef614edede54689f224e7f2b91fc839ac47a229f6c0d2840c7f7d41db333576c2c6207b3c682f3c62d57aebe2a44c4915a37ea06cc0783b31b9edeb67aa6633a
7
- data.tar.gz: 6bbf679dbe9fbd806971839bf05bca8ecd63df991aa438473038d02249afcf241f097d6fbe94c2a50a32c89f730fece9ce97ca1542093f3117e22cad8e1ec9e3
6
+ metadata.gz: d7268b8e622763a175364318a98881e47b7c2ccf74adeb63d52940e2d51159a2ff31cb52437ca89f68c352330f2ee4bb6ece0d045a833fd93f7218d70491e348
7
+ data.tar.gz: 0efe04b7396194f4c19274a17069a996947044fb86c3a81b1f5519df29e635b2c246aa60c283e144fc36c9741943bfe667b5d7eb00640e6656ecef18dfaec610
data/README.md CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: v3
10
- - Package version: 3.2.0.dev1615779704
10
+ - Package version: 3.2.0.dev1616298157
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
13
13
 
@@ -24,16 +24,16 @@ gem build pulp_python_client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./pulp_python_client-3.2.0.dev1615779704.gem
27
+ gem install ./pulp_python_client-3.2.0.dev1616298157.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_python_client-3.2.0.dev1615779704.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_python_client-3.2.0.dev1616298157.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'pulp_python_client', '~> 3.2.0.dev1615779704'
36
+ gem 'pulp_python_client', '~> 3.2.0.dev1616298157'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -4,9 +4,9 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **added** | [**Object**](.md) | |
8
- **removed** | [**Object**](.md) | |
9
- **present** | [**Object**](.md) | |
7
+ **added** | **Hash<String, Object>** | |
8
+ **removed** | **Hash<String, Object>** | |
9
+ **present** | **Hash<String, Object>** | |
10
10
 
11
11
  ## Code Sample
12
12
 
@@ -4,9 +4,9 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **added** | [**Object**](.md) | |
8
- **removed** | [**Object**](.md) | |
9
- **present** | [**Object**](.md) | |
7
+ **added** | **Hash<String, Object>** | |
8
+ **removed** | **Hash<String, Object>** | |
9
+ **present** | **Hash<String, Object>** | |
10
10
 
11
11
  ## Code Sample
12
12
 
@@ -215,10 +215,6 @@ module PulpPythonClient
215
215
  if @api_client.config.client_side_validation && opts[:'packagetype'] && !allowable_values.include?(opts[:'packagetype'])
216
216
  fail ArgumentError, "invalid value for \"packagetype\", must be one of #{allowable_values}"
217
217
  end
218
- allowable_values = ["bdist_dmg", "bdist_dumb", "bdist_egg", "bdist_msi", "bdist_rpm", "bdist_wheel", "bdist_wininst", "sdist"]
219
- if @api_client.config.client_side_validation && opts[:'packagetype__in'] && !opts[:'packagetype__in'].all? { |item| allowable_values.include?(item) }
220
- fail ArgumentError, "invalid value for \"packagetype__in\", must include one of #{allowable_values}"
221
- end
222
218
  # resource path
223
219
  local_var_path = '/pulp/api/v3/content/python/packages/'
224
220
 
@@ -142,26 +142,6 @@ 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
- if @api_client.config.client_side_validation && !opts[:'number'].nil? && opts[:'number'] > 2147483647
146
- fail ArgumentError, 'invalid value for "opts[:"number"]" when calling RepositoriesPythonVersionsApi.list, must be smaller than or equal to 2147483647.'
147
- end
148
-
149
- if @api_client.config.client_side_validation && !opts[:'number__gt'].nil? && opts[:'number__gt'] > 2147483647
150
- fail ArgumentError, 'invalid value for "opts[:"number__gt"]" when calling RepositoriesPythonVersionsApi.list, must be smaller than or equal to 2147483647.'
151
- end
152
-
153
- if @api_client.config.client_side_validation && !opts[:'number__gte'].nil? && opts[:'number__gte'] > 2147483647
154
- fail ArgumentError, 'invalid value for "opts[:"number__gte"]" when calling RepositoriesPythonVersionsApi.list, must be smaller than or equal to 2147483647.'
155
- end
156
-
157
- if @api_client.config.client_side_validation && !opts[:'number__lt'].nil? && opts[:'number__lt'] > 2147483647
158
- fail ArgumentError, 'invalid value for "opts[:"number__lt"]" when calling RepositoriesPythonVersionsApi.list, must be smaller than or equal to 2147483647.'
159
- end
160
-
161
- if @api_client.config.client_side_validation && !opts[:'number__lte'].nil? && opts[:'number__lte'] > 2147483647
162
- fail ArgumentError, 'invalid value for "opts[:"number__lte"]" when calling RepositoriesPythonVersionsApi.list, must be smaller than or equal to 2147483647.'
163
- end
164
-
165
145
  # resource path
166
146
  local_var_path = '{python_python_repository_href}versions/'.sub('{' + 'python_python_repository_href' + '}', CGI.escape(python_python_repository_href.to_s).gsub('%2F', '/'))
167
147
 
@@ -33,9 +33,9 @@ module PulpPythonClient
33
33
  # Attribute type mapping.
34
34
  def self.openapi_types
35
35
  {
36
- :'added' => :'Object',
37
- :'removed' => :'Object',
38
- :'present' => :'Object'
36
+ :'added' => :'Hash<String, Object>',
37
+ :'removed' => :'Hash<String, Object>',
38
+ :'present' => :'Hash<String, Object>'
39
39
  }
40
40
  end
41
41
 
@@ -61,15 +61,21 @@ module PulpPythonClient
61
61
  }
62
62
 
63
63
  if attributes.key?(:'added')
64
- self.added = attributes[:'added']
64
+ if (value = attributes[:'added']).is_a?(Hash)
65
+ self.added = value
66
+ end
65
67
  end
66
68
 
67
69
  if attributes.key?(:'removed')
68
- self.removed = attributes[:'removed']
70
+ if (value = attributes[:'removed']).is_a?(Hash)
71
+ self.removed = value
72
+ end
69
73
  end
70
74
 
71
75
  if attributes.key?(:'present')
72
- self.present = attributes[:'present']
76
+ if (value = attributes[:'present']).is_a?(Hash)
77
+ self.present = value
78
+ end
73
79
  end
74
80
  end
75
81
 
@@ -33,9 +33,9 @@ module PulpPythonClient
33
33
  # Attribute type mapping.
34
34
  def self.openapi_types
35
35
  {
36
- :'added' => :'Object',
37
- :'removed' => :'Object',
38
- :'present' => :'Object'
36
+ :'added' => :'Hash<String, Object>',
37
+ :'removed' => :'Hash<String, Object>',
38
+ :'present' => :'Hash<String, Object>'
39
39
  }
40
40
  end
41
41
 
@@ -61,15 +61,21 @@ module PulpPythonClient
61
61
  }
62
62
 
63
63
  if attributes.key?(:'added')
64
- self.added = attributes[:'added']
64
+ if (value = attributes[:'added']).is_a?(Hash)
65
+ self.added = value
66
+ end
65
67
  end
66
68
 
67
69
  if attributes.key?(:'removed')
68
- self.removed = attributes[:'removed']
70
+ if (value = attributes[:'removed']).is_a?(Hash)
71
+ self.removed = value
72
+ end
69
73
  end
70
74
 
71
75
  if attributes.key?(:'present')
72
- self.present = attributes[:'present']
76
+ if (value = attributes[:'present']).is_a?(Hash)
77
+ self.present = value
78
+ end
73
79
  end
74
80
  end
75
81
 
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.2.3
11
11
  =end
12
12
 
13
13
  module PulpPythonClient
14
- VERSION = '3.2.0.dev1615779704'
14
+ VERSION = '3.2.0.dev1616298157'
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulp_python_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0.dev1615779704
4
+ version: 3.2.0.dev1616298157
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-15 00:00:00.000000000 Z
11
+ date: 2021-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday