zest 0.0.3 → 0.0.4
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.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/FileContent.md +2 -3
- data/docs/PulpApi.md +7 -7
- data/docs/Worker.md +1 -1
- data/lib/zest/api/pulp_api.rb +11 -11
- data/lib/zest/models/file_content.rb +19 -53
- data/lib/zest/models/worker.rb +10 -10
- data/lib/zest/version.rb +1 -1
- data/spec/api/pulp_api_spec.rb +4 -4
- data/spec/models/file_content_spec.rb +3 -9
- data/spec/models/worker_spec.rb +2 -2
- data/zest.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2e5adb542fa3322df8039d08dac8f2bde8616c62c7858ed8ecb51c9608598701
|
4
|
+
data.tar.gz: e576afddc6d0081f58e0fc74174a19d419c9d18ee7306214eb36beb8d6459a52
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32b1a271efc57be432d9535bb5f5e12764e5c683cf6b22534e3f357aae31265a69c8db682fca7df5024f8fd637a221696b631902c6be1affe80a3a7b78f9e309
|
7
|
+
data.tar.gz: 00b287a4f37eb76406ae488fcef2cfce9dfa0805b8069bb7de8953aea63dbaee7dd4d82c30a15cb8cd6ed376d28974e5bf1c72ab1281b001f3319fb5228e89ff
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger
|
|
7
7
|
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
8
8
|
|
9
9
|
- API version: v3
|
10
|
-
- Package version: 0.0.
|
10
|
+
- Package version: 0.0.4
|
11
11
|
- Build package: io.swagger.codegen.languages.RubyClientCodegen
|
12
12
|
|
13
13
|
## Installation
|
@@ -23,15 +23,15 @@ gem build zest.gemspec
|
|
23
23
|
Then either install the gem locally:
|
24
24
|
|
25
25
|
```shell
|
26
|
-
gem install ./zest-0.0.
|
26
|
+
gem install ./zest-0.0.4.gem
|
27
27
|
```
|
28
|
-
(for development, run `gem install --dev ./zest-0.0.
|
28
|
+
(for development, run `gem install --dev ./zest-0.0.4.gem` to install the development dependencies)
|
29
29
|
|
30
30
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
31
31
|
|
32
32
|
Finally add this to the Gemfile:
|
33
33
|
|
34
|
-
gem 'zest', '~> 0.0.
|
34
|
+
gem 'zest', '~> 0.0.4'
|
35
35
|
|
36
36
|
### Install from Git
|
37
37
|
|
data/docs/FileContent.md
CHANGED
@@ -3,11 +3,10 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
-
**_href** | **String** | | [optional]
|
7
6
|
**_created** | **DateTime** | Timestamp of creation. | [optional]
|
8
|
-
**_type** | **String** | | [optional]
|
9
7
|
**_artifact** | **String** | Artifact file representing the physical content |
|
10
|
-
**
|
8
|
+
**_type** | **String** | | [optional]
|
9
|
+
**_href** | **String** | | [optional]
|
11
10
|
**relative_path** | **String** | Relative location of the file within the repository |
|
12
11
|
|
13
12
|
|
data/docs/PulpApi.md
CHANGED
@@ -289,7 +289,7 @@ Name | Type | Description | Notes
|
|
289
289
|
|
290
290
|
|
291
291
|
|
292
|
-
|
292
|
+
ViewSet for FileContent.
|
293
293
|
|
294
294
|
### Example
|
295
295
|
```ruby
|
@@ -454,7 +454,7 @@ Name | Type | Description | Notes
|
|
454
454
|
|
455
455
|
|
456
456
|
# **distributions_create**
|
457
|
-
>
|
457
|
+
> AsyncOperationResponse distributions_create(data)
|
458
458
|
|
459
459
|
|
460
460
|
|
@@ -492,7 +492,7 @@ Name | Type | Description | Notes
|
|
492
492
|
|
493
493
|
### Return type
|
494
494
|
|
495
|
-
[**
|
495
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
496
496
|
|
497
497
|
### Authorization
|
498
498
|
|
@@ -624,7 +624,7 @@ Name | Type | Description | Notes
|
|
624
624
|
|
625
625
|
|
626
626
|
# **distributions_partial_update**
|
627
|
-
>
|
627
|
+
> AsyncOperationResponse distributions_partial_update(distribution_href, data)
|
628
628
|
|
629
629
|
|
630
630
|
|
@@ -665,7 +665,7 @@ Name | Type | Description | Notes
|
|
665
665
|
|
666
666
|
### Return type
|
667
667
|
|
668
|
-
[**
|
668
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
669
669
|
|
670
670
|
### Authorization
|
671
671
|
|
@@ -731,7 +731,7 @@ Name | Type | Description | Notes
|
|
731
731
|
|
732
732
|
|
733
733
|
# **distributions_update**
|
734
|
-
>
|
734
|
+
> AsyncOperationResponse distributions_update(distribution_href, data)
|
735
735
|
|
736
736
|
|
737
737
|
|
@@ -772,7 +772,7 @@ Name | Type | Description | Notes
|
|
772
772
|
|
773
773
|
### Return type
|
774
774
|
|
775
|
-
[**
|
775
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
776
776
|
|
777
777
|
### Authorization
|
778
778
|
|
data/docs/Worker.md
CHANGED
@@ -3,8 +3,8 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
-
**_created** | **DateTime** | Timestamp of creation. | [optional]
|
7
6
|
**_href** | **String** | | [optional]
|
7
|
+
**_created** | **DateTime** | Timestamp of creation. | [optional]
|
8
8
|
**name** | **String** | The name of the worker. | [optional]
|
9
9
|
**last_heartbeat** | **DateTime** | Timestamp of the last time the worker talked to the service. | [optional]
|
10
10
|
**online** | **BOOLEAN** | True if the worker is considered online, otherwise False | [optional]
|
data/lib/zest/api/pulp_api.rb
CHANGED
@@ -258,7 +258,7 @@ module Zest
|
|
258
258
|
end
|
259
259
|
|
260
260
|
#
|
261
|
-
#
|
261
|
+
# ViewSet for FileContent.
|
262
262
|
# @param data
|
263
263
|
# @param [Hash] opts the optional parameters
|
264
264
|
# @return [FileContent]
|
@@ -268,7 +268,7 @@ module Zest
|
|
268
268
|
end
|
269
269
|
|
270
270
|
#
|
271
|
-
#
|
271
|
+
# ViewSet for FileContent.
|
272
272
|
# @param data
|
273
273
|
# @param [Hash] opts the optional parameters
|
274
274
|
# @return [Array<(FileContent, Fixnum, Hash)>] FileContent data, response status code and response headers
|
@@ -441,7 +441,7 @@ module Zest
|
|
441
441
|
# Trigger an asynchronous create task
|
442
442
|
# @param data
|
443
443
|
# @param [Hash] opts the optional parameters
|
444
|
-
# @return [
|
444
|
+
# @return [AsyncOperationResponse]
|
445
445
|
def distributions_create(data, opts = {})
|
446
446
|
data, _status_code, _headers = distributions_create_with_http_info(data, opts)
|
447
447
|
return data
|
@@ -451,7 +451,7 @@ module Zest
|
|
451
451
|
# Trigger an asynchronous create task
|
452
452
|
# @param data
|
453
453
|
# @param [Hash] opts the optional parameters
|
454
|
-
# @return [Array<(
|
454
|
+
# @return [Array<(AsyncOperationResponse, Fixnum, Hash)>] AsyncOperationResponse data, response status code and response headers
|
455
455
|
def distributions_create_with_http_info(data, opts = {})
|
456
456
|
if @api_client.config.debugging
|
457
457
|
@api_client.config.logger.debug "Calling API: PulpApi.distributions_create ..."
|
@@ -485,7 +485,7 @@ module Zest
|
|
485
485
|
:form_params => form_params,
|
486
486
|
:body => post_body,
|
487
487
|
:auth_names => auth_names,
|
488
|
-
:return_type => '
|
488
|
+
:return_type => 'AsyncOperationResponse')
|
489
489
|
if @api_client.config.debugging
|
490
490
|
@api_client.config.logger.debug "API called: PulpApi#distributions_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
491
491
|
end
|
@@ -624,7 +624,7 @@ module Zest
|
|
624
624
|
# @param distribution_href URI of Distribution. e.g.: /pulp/api/v3/distributions/1/
|
625
625
|
# @param data
|
626
626
|
# @param [Hash] opts the optional parameters
|
627
|
-
# @return [
|
627
|
+
# @return [AsyncOperationResponse]
|
628
628
|
def distributions_partial_update(distribution_href, data, opts = {})
|
629
629
|
data, _status_code, _headers = distributions_partial_update_with_http_info(distribution_href, data, opts)
|
630
630
|
return data
|
@@ -635,7 +635,7 @@ module Zest
|
|
635
635
|
# @param distribution_href URI of Distribution. e.g.: /pulp/api/v3/distributions/1/
|
636
636
|
# @param data
|
637
637
|
# @param [Hash] opts the optional parameters
|
638
|
-
# @return [Array<(
|
638
|
+
# @return [Array<(AsyncOperationResponse, Fixnum, Hash)>] AsyncOperationResponse data, response status code and response headers
|
639
639
|
def distributions_partial_update_with_http_info(distribution_href, data, opts = {})
|
640
640
|
if @api_client.config.debugging
|
641
641
|
@api_client.config.logger.debug "Calling API: PulpApi.distributions_partial_update ..."
|
@@ -673,7 +673,7 @@ module Zest
|
|
673
673
|
:form_params => form_params,
|
674
674
|
:body => post_body,
|
675
675
|
:auth_names => auth_names,
|
676
|
-
:return_type => '
|
676
|
+
:return_type => 'AsyncOperationResponse')
|
677
677
|
if @api_client.config.debugging
|
678
678
|
@api_client.config.logger.debug "API called: PulpApi#distributions_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
679
679
|
end
|
@@ -740,7 +740,7 @@ module Zest
|
|
740
740
|
# @param distribution_href URI of Distribution. e.g.: /pulp/api/v3/distributions/1/
|
741
741
|
# @param data
|
742
742
|
# @param [Hash] opts the optional parameters
|
743
|
-
# @return [
|
743
|
+
# @return [AsyncOperationResponse]
|
744
744
|
def distributions_update(distribution_href, data, opts = {})
|
745
745
|
data, _status_code, _headers = distributions_update_with_http_info(distribution_href, data, opts)
|
746
746
|
return data
|
@@ -751,7 +751,7 @@ module Zest
|
|
751
751
|
# @param distribution_href URI of Distribution. e.g.: /pulp/api/v3/distributions/1/
|
752
752
|
# @param data
|
753
753
|
# @param [Hash] opts the optional parameters
|
754
|
-
# @return [Array<(
|
754
|
+
# @return [Array<(AsyncOperationResponse, Fixnum, Hash)>] AsyncOperationResponse data, response status code and response headers
|
755
755
|
def distributions_update_with_http_info(distribution_href, data, opts = {})
|
756
756
|
if @api_client.config.debugging
|
757
757
|
@api_client.config.logger.debug "Calling API: PulpApi.distributions_update ..."
|
@@ -789,7 +789,7 @@ module Zest
|
|
789
789
|
:form_params => form_params,
|
790
790
|
:body => post_body,
|
791
791
|
:auth_names => auth_names,
|
792
|
-
:return_type => '
|
792
|
+
:return_type => 'AsyncOperationResponse')
|
793
793
|
if @api_client.config.debugging
|
794
794
|
@api_client.config.logger.debug "API called: PulpApi#distributions_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
795
795
|
end
|
@@ -15,18 +15,15 @@ require 'date'
|
|
15
15
|
module Zest
|
16
16
|
|
17
17
|
class FileContent
|
18
|
-
attr_accessor :_href
|
19
|
-
|
20
18
|
# Timestamp of creation.
|
21
19
|
attr_accessor :_created
|
22
20
|
|
23
|
-
attr_accessor :_type
|
24
|
-
|
25
21
|
# Artifact file representing the physical content
|
26
22
|
attr_accessor :_artifact
|
27
23
|
|
28
|
-
|
29
|
-
|
24
|
+
attr_accessor :_type
|
25
|
+
|
26
|
+
attr_accessor :_href
|
30
27
|
|
31
28
|
# Relative location of the file within the repository
|
32
29
|
attr_accessor :relative_path
|
@@ -35,11 +32,10 @@ module Zest
|
|
35
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
36
33
|
def self.attribute_map
|
37
34
|
{
|
38
|
-
:'_href' => :'_href',
|
39
35
|
:'_created' => :'_created',
|
40
|
-
:'_type' => :'_type',
|
41
36
|
:'_artifact' => :'_artifact',
|
42
|
-
:'
|
37
|
+
:'_type' => :'_type',
|
38
|
+
:'_href' => :'_href',
|
43
39
|
:'relative_path' => :'relative_path'
|
44
40
|
}
|
45
41
|
end
|
@@ -47,11 +43,10 @@ module Zest
|
|
47
43
|
# Attribute type mapping.
|
48
44
|
def self.swagger_types
|
49
45
|
{
|
50
|
-
:'_href' => :'String',
|
51
46
|
:'_created' => :'DateTime',
|
52
|
-
:'_type' => :'String',
|
53
47
|
:'_artifact' => :'String',
|
54
|
-
:'
|
48
|
+
:'_type' => :'String',
|
49
|
+
:'_href' => :'String',
|
55
50
|
:'relative_path' => :'String'
|
56
51
|
}
|
57
52
|
end
|
@@ -64,24 +59,20 @@ module Zest
|
|
64
59
|
# convert string to symbol for hash key
|
65
60
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
66
61
|
|
67
|
-
if attributes.has_key?(:'_href')
|
68
|
-
self._href = attributes[:'_href']
|
69
|
-
end
|
70
|
-
|
71
62
|
if attributes.has_key?(:'_created')
|
72
63
|
self._created = attributes[:'_created']
|
73
64
|
end
|
74
65
|
|
75
|
-
if attributes.has_key?(:'_type')
|
76
|
-
self._type = attributes[:'_type']
|
77
|
-
end
|
78
|
-
|
79
66
|
if attributes.has_key?(:'_artifact')
|
80
67
|
self._artifact = attributes[:'_artifact']
|
81
68
|
end
|
82
69
|
|
83
|
-
if attributes.has_key?(:'
|
84
|
-
self.
|
70
|
+
if attributes.has_key?(:'_type')
|
71
|
+
self._type = attributes[:'_type']
|
72
|
+
end
|
73
|
+
|
74
|
+
if attributes.has_key?(:'_href')
|
75
|
+
self._href = attributes[:'_href']
|
85
76
|
end
|
86
77
|
|
87
78
|
if attributes.has_key?(:'relative_path')
|
@@ -94,20 +85,12 @@ module Zest
|
|
94
85
|
# @return Array for valid properties with the reasons
|
95
86
|
def list_invalid_properties
|
96
87
|
invalid_properties = Array.new
|
97
|
-
if !@_type.nil? && @_type.to_s.length < 1
|
98
|
-
invalid_properties.push("invalid value for '_type', the character length must be great than or equal to 1.")
|
99
|
-
end
|
100
|
-
|
101
88
|
if @_artifact.nil?
|
102
89
|
invalid_properties.push("invalid value for '_artifact', _artifact cannot be nil.")
|
103
90
|
end
|
104
91
|
|
105
|
-
if
|
106
|
-
invalid_properties.push("invalid value for '
|
107
|
-
end
|
108
|
-
|
109
|
-
if @_relative_path.to_s.length < 1
|
110
|
-
invalid_properties.push("invalid value for '_relative_path', the character length must be great than or equal to 1.")
|
92
|
+
if !@_type.nil? && @_type.to_s.length < 1
|
93
|
+
invalid_properties.push("invalid value for '_type', the character length must be great than or equal to 1.")
|
111
94
|
end
|
112
95
|
|
113
96
|
if @relative_path.nil?
|
@@ -124,10 +107,8 @@ module Zest
|
|
124
107
|
# Check to see if the all the properties in the model are valid
|
125
108
|
# @return true if the model is valid
|
126
109
|
def valid?
|
127
|
-
return false if !@_type.nil? && @_type.to_s.length < 1
|
128
110
|
return false if @_artifact.nil?
|
129
|
-
return false if
|
130
|
-
return false if @_relative_path.to_s.length < 1
|
111
|
+
return false if !@_type.nil? && @_type.to_s.length < 1
|
131
112
|
return false if @relative_path.nil?
|
132
113
|
return false if @relative_path.to_s.length < 1
|
133
114
|
return true
|
@@ -144,20 +125,6 @@ module Zest
|
|
144
125
|
@_type = _type
|
145
126
|
end
|
146
127
|
|
147
|
-
# Custom attribute writer method with validation
|
148
|
-
# @param [Object] _relative_path Value to be assigned
|
149
|
-
def _relative_path=(_relative_path)
|
150
|
-
if _relative_path.nil?
|
151
|
-
fail ArgumentError, "_relative_path cannot be nil"
|
152
|
-
end
|
153
|
-
|
154
|
-
if _relative_path.to_s.length < 1
|
155
|
-
fail ArgumentError, "invalid value for '_relative_path', the character length must be great than or equal to 1."
|
156
|
-
end
|
157
|
-
|
158
|
-
@_relative_path = _relative_path
|
159
|
-
end
|
160
|
-
|
161
128
|
# Custom attribute writer method with validation
|
162
129
|
# @param [Object] relative_path Value to be assigned
|
163
130
|
def relative_path=(relative_path)
|
@@ -177,11 +144,10 @@ module Zest
|
|
177
144
|
def ==(o)
|
178
145
|
return true if self.equal?(o)
|
179
146
|
self.class == o.class &&
|
180
|
-
_href == o._href &&
|
181
147
|
_created == o._created &&
|
182
|
-
_type == o._type &&
|
183
148
|
_artifact == o._artifact &&
|
184
|
-
|
149
|
+
_type == o._type &&
|
150
|
+
_href == o._href &&
|
185
151
|
relative_path == o.relative_path
|
186
152
|
end
|
187
153
|
|
@@ -194,7 +160,7 @@ module Zest
|
|
194
160
|
# Calculates hash code according to all attributes.
|
195
161
|
# @return [Fixnum] Hash code
|
196
162
|
def hash
|
197
|
-
[
|
163
|
+
[_created, _artifact, _type, _href, relative_path].hash
|
198
164
|
end
|
199
165
|
|
200
166
|
# Builds the object from hash
|
data/lib/zest/models/worker.rb
CHANGED
@@ -15,11 +15,11 @@ require 'date'
|
|
15
15
|
module Zest
|
16
16
|
|
17
17
|
class Worker
|
18
|
+
attr_accessor :_href
|
19
|
+
|
18
20
|
# Timestamp of creation.
|
19
21
|
attr_accessor :_created
|
20
22
|
|
21
|
-
attr_accessor :_href
|
22
|
-
|
23
23
|
# The name of the worker.
|
24
24
|
attr_accessor :name
|
25
25
|
|
@@ -36,8 +36,8 @@ module Zest
|
|
36
36
|
# Attribute mapping from ruby-style variable name to JSON key.
|
37
37
|
def self.attribute_map
|
38
38
|
{
|
39
|
-
:'_created' => :'_created',
|
40
39
|
:'_href' => :'_href',
|
40
|
+
:'_created' => :'_created',
|
41
41
|
:'name' => :'name',
|
42
42
|
:'last_heartbeat' => :'last_heartbeat',
|
43
43
|
:'online' => :'online',
|
@@ -48,8 +48,8 @@ module Zest
|
|
48
48
|
# Attribute type mapping.
|
49
49
|
def self.swagger_types
|
50
50
|
{
|
51
|
-
:'_created' => :'DateTime',
|
52
51
|
:'_href' => :'String',
|
52
|
+
:'_created' => :'DateTime',
|
53
53
|
:'name' => :'String',
|
54
54
|
:'last_heartbeat' => :'DateTime',
|
55
55
|
:'online' => :'BOOLEAN',
|
@@ -65,14 +65,14 @@ module Zest
|
|
65
65
|
# convert string to symbol for hash key
|
66
66
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
67
67
|
|
68
|
-
if attributes.has_key?(:'_created')
|
69
|
-
self._created = attributes[:'_created']
|
70
|
-
end
|
71
|
-
|
72
68
|
if attributes.has_key?(:'_href')
|
73
69
|
self._href = attributes[:'_href']
|
74
70
|
end
|
75
71
|
|
72
|
+
if attributes.has_key?(:'_created')
|
73
|
+
self._created = attributes[:'_created']
|
74
|
+
end
|
75
|
+
|
76
76
|
if attributes.has_key?(:'name')
|
77
77
|
self.name = attributes[:'name']
|
78
78
|
end
|
@@ -125,8 +125,8 @@ module Zest
|
|
125
125
|
def ==(o)
|
126
126
|
return true if self.equal?(o)
|
127
127
|
self.class == o.class &&
|
128
|
-
_created == o._created &&
|
129
128
|
_href == o._href &&
|
129
|
+
_created == o._created &&
|
130
130
|
name == o.name &&
|
131
131
|
last_heartbeat == o.last_heartbeat &&
|
132
132
|
online == o.online &&
|
@@ -142,7 +142,7 @@ module Zest
|
|
142
142
|
# Calculates hash code according to all attributes.
|
143
143
|
# @return [Fixnum] Hash code
|
144
144
|
def hash
|
145
|
-
[
|
145
|
+
[_href, _created, name, last_heartbeat, online, missing].hash
|
146
146
|
end
|
147
147
|
|
148
148
|
# Builds the object from hash
|
data/lib/zest/version.rb
CHANGED
data/spec/api/pulp_api_spec.rb
CHANGED
@@ -89,7 +89,7 @@ describe 'PulpApi' do
|
|
89
89
|
|
90
90
|
# unit tests for content_file_files_create
|
91
91
|
#
|
92
|
-
#
|
92
|
+
# ViewSet for FileContent.
|
93
93
|
# @param data
|
94
94
|
# @param [Hash] opts the optional parameters
|
95
95
|
# @return [FileContent]
|
@@ -134,7 +134,7 @@ describe 'PulpApi' do
|
|
134
134
|
# Trigger an asynchronous create task
|
135
135
|
# @param data
|
136
136
|
# @param [Hash] opts the optional parameters
|
137
|
-
# @return [
|
137
|
+
# @return [AsyncOperationResponse]
|
138
138
|
describe 'distributions_create test' do
|
139
139
|
it "should work" do
|
140
140
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -178,7 +178,7 @@ describe 'PulpApi' do
|
|
178
178
|
# @param distribution_href URI of Distribution. e.g.: /pulp/api/v3/distributions/1/
|
179
179
|
# @param data
|
180
180
|
# @param [Hash] opts the optional parameters
|
181
|
-
# @return [
|
181
|
+
# @return [AsyncOperationResponse]
|
182
182
|
describe 'distributions_partial_update test' do
|
183
183
|
it "should work" do
|
184
184
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -203,7 +203,7 @@ describe 'PulpApi' do
|
|
203
203
|
# @param distribution_href URI of Distribution. e.g.: /pulp/api/v3/distributions/1/
|
204
204
|
# @param data
|
205
205
|
# @param [Hash] opts the optional parameters
|
206
|
-
# @return [
|
206
|
+
# @return [AsyncOperationResponse]
|
207
207
|
describe 'distributions_update test' do
|
208
208
|
it "should work" do
|
209
209
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -32,31 +32,25 @@ describe 'FileContent' do
|
|
32
32
|
expect(@instance).to be_instance_of(Zest::FileContent)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "_href"' do
|
36
|
-
it 'should work' do
|
37
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
-
end
|
39
|
-
end
|
40
|
-
|
41
35
|
describe 'test attribute "_created"' do
|
42
36
|
it 'should work' do
|
43
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
38
|
end
|
45
39
|
end
|
46
40
|
|
47
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "_artifact"' do
|
48
42
|
it 'should work' do
|
49
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
44
|
end
|
51
45
|
end
|
52
46
|
|
53
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "_type"' do
|
54
48
|
it 'should work' do
|
55
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
50
|
end
|
57
51
|
end
|
58
52
|
|
59
|
-
describe 'test attribute "
|
53
|
+
describe 'test attribute "_href"' do
|
60
54
|
it 'should work' do
|
61
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
56
|
end
|
data/spec/models/worker_spec.rb
CHANGED
@@ -32,13 +32,13 @@ describe 'Worker' do
|
|
32
32
|
expect(@instance).to be_instance_of(Zest::Worker)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "_href"' 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
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "_created"' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
44
|
end
|
data/zest.gemspec
CHANGED
@@ -23,7 +23,7 @@ Gem::Specification.new do |s|
|
|
23
23
|
s.email = [""]
|
24
24
|
s.homepage = "https://github.com/swagger-api/swagger-codegen"
|
25
25
|
s.summary = "Generated Api Bindings for Pulp3"
|
26
|
-
s.description = "Generated Api bindings for Pulp3, built with the following components: pulpcore-3.0.
|
26
|
+
s.description = "Generated Api bindings for Pulp3, built with the following components: pulpcore-3.0.0b23 pulpcore-plugin-0.1.0b21 pulp_file-0.0.1b9 "
|
27
27
|
s.license = "GPLv2"
|
28
28
|
s.required_ruby_version = ">= 1.9"
|
29
29
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Swagger-Codegen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-03-
|
11
|
+
date: 2019-03-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -191,7 +191,7 @@ dependencies:
|
|
191
191
|
- !ruby/object:Gem::Version
|
192
192
|
version: 0.2.12
|
193
193
|
description: 'Generated Api bindings for Pulp3, built with the following components:
|
194
|
-
pulpcore-3.0.
|
194
|
+
pulpcore-3.0.0b23 pulpcore-plugin-0.1.0b21 pulp_file-0.0.1b9 '
|
195
195
|
email:
|
196
196
|
- ''
|
197
197
|
executables: []
|