pulp_python_client 3.2.0.dev1615693347 → 3.2.0.dev1616211916

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: 1572f8c6bfefd8ef344129bcc8ddeff3820b85dd2424d7fe04bd9576434c6ffd
4
- data.tar.gz: 06a9b15483b63f080fb13e2757598478b13c1d3213ae94f56c7abf9b2a9afdca
3
+ metadata.gz: 43343a3d0fa90f1b22ac5f3aa4e501b5124838af7aaedcfbf245f354f3ec1281
4
+ data.tar.gz: 39e9842ae6193ff1805c72a6fd38bccd86e55c5b9e4c48ad86d1d94876bc12fd
5
5
  SHA512:
6
- metadata.gz: 36110c32a63b8ee721343541983745539862ab234e709e5dd44b94d75d4314b28f86fc6409ed908ae01b1421cb1c33647ba99ca111d26bdc0295deac19c31240
7
- data.tar.gz: d53e1ebb56ab410e94dde934787998e1dc67377c6cacfda933fbce514e12e29a2a09a48a2d6573299905ef7e5ce0aa0873eeaa56a2a7a87d65914f3729c903a3
6
+ metadata.gz: f1631e71ee22c368a135c2ecb5ce09d306530fdb1a9756a79b8339757ff2754ed414c6ecd4d4ae2d3fa7e6f187de7e05dd365b255c3bcd73495e5fc36bf24572
7
+ data.tar.gz: f127bcfa1412270b63791b5a493e669c1f9228c1f103a2aebc8c06001f1a38b7147085ba1e19fa1f1e6c0db4fbce27e601baee7938732b7a1d56a1e46867f8b5
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.dev1615693347
10
+ - Package version: 3.2.0.dev1616211916
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.dev1615693347.gem
27
+ gem install ./pulp_python_client-3.2.0.dev1616211916.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_python_client-3.2.0.dev1615693347.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_python_client-3.2.0.dev1616211916.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.dev1615693347'
36
+ gem 'pulp_python_client', '~> 3.2.0.dev1616211916'
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.dev1615693347'
14
+ VERSION = '3.2.0.dev1616211916'
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.dev1615693347
4
+ version: 3.2.0.dev1616211916
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-14 00:00:00.000000000 Z
11
+ date: 2021-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday