pulpcore_client 3.3.0 → 3.3.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.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/TaskGroup.md +3 -1
- data/lib/pulpcore_client/models/task_group.rb +10 -1
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/models/task_group_spec.rb +6 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 72c9ae4c95a26fff8f008ea385178a91a4b660b1e8de6fb71dacf385eed8193a
|
4
|
+
data.tar.gz: 4945fc1b1df1ba3d370d0575c0512e5d3423945c74cbd34358b0d0e401ed1310
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c443f00df7da394f4d2f234d77c5ef113e9da0cb8341048617b073156e0de58a2602f4110f29f1d713ee09cd75c585877477318c093b51af4297575987d41dac
|
7
|
+
data.tar.gz: 39d04d2d839ead6842c07b85c2a8f38b1bf01622f3b74a40479c193a81424b7078bde104c2e412700580b6b71e03869500de278f5ef0b53c9a322f6be6a8461a
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
|
|
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.3.
|
10
|
+
- Package version: 3.3.1
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
|
13
13
|
## Installation
|
@@ -23,16 +23,16 @@ gem build pulpcore_client.gemspec
|
|
23
23
|
Then either install the gem locally:
|
24
24
|
|
25
25
|
```shell
|
26
|
-
gem install ./pulpcore_client-3.3.
|
26
|
+
gem install ./pulpcore_client-3.3.1.gem
|
27
27
|
```
|
28
28
|
|
29
|
-
(for development, run `gem install --dev ./pulpcore_client-3.3.
|
29
|
+
(for development, run `gem install --dev ./pulpcore_client-3.3.1.gem` to install the development dependencies)
|
30
30
|
|
31
31
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
32
32
|
|
33
33
|
Finally add this to the Gemfile:
|
34
34
|
|
35
|
-
gem 'pulpcore_client', '~> 3.3.
|
35
|
+
gem 'pulpcore_client', '~> 3.3.1'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
data/docs/TaskGroup.md
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
7
8
|
**description** | **String** | A description of the task group. |
|
8
9
|
**waiting** | **Integer** | Number of tasks in the 'waiting' state | [optional] [readonly]
|
9
10
|
**skipped** | **Integer** | Number of tasks in the 'skipped' state | [optional] [readonly]
|
@@ -17,7 +18,8 @@ Name | Type | Description | Notes
|
|
17
18
|
```ruby
|
18
19
|
require 'PulpcoreClient'
|
19
20
|
|
20
|
-
instance = PulpcoreClient::TaskGroup.new(
|
21
|
+
instance = PulpcoreClient::TaskGroup.new(pulp_href: null,
|
22
|
+
description: null,
|
21
23
|
waiting: null,
|
22
24
|
skipped: null,
|
23
25
|
running: null,
|
@@ -14,6 +14,8 @@ require 'date'
|
|
14
14
|
|
15
15
|
module PulpcoreClient
|
16
16
|
class TaskGroup
|
17
|
+
attr_accessor :pulp_href
|
18
|
+
|
17
19
|
# A description of the task group.
|
18
20
|
attr_accessor :description
|
19
21
|
|
@@ -38,6 +40,7 @@ module PulpcoreClient
|
|
38
40
|
# Attribute mapping from ruby-style variable name to JSON key.
|
39
41
|
def self.attribute_map
|
40
42
|
{
|
43
|
+
:'pulp_href' => :'pulp_href',
|
41
44
|
:'description' => :'description',
|
42
45
|
:'waiting' => :'waiting',
|
43
46
|
:'skipped' => :'skipped',
|
@@ -51,6 +54,7 @@ module PulpcoreClient
|
|
51
54
|
# Attribute type mapping.
|
52
55
|
def self.openapi_types
|
53
56
|
{
|
57
|
+
:'pulp_href' => :'String',
|
54
58
|
:'description' => :'String',
|
55
59
|
:'waiting' => :'Integer',
|
56
60
|
:'skipped' => :'Integer',
|
@@ -82,6 +86,10 @@ module PulpcoreClient
|
|
82
86
|
h[k.to_sym] = v
|
83
87
|
}
|
84
88
|
|
89
|
+
if attributes.key?(:'pulp_href')
|
90
|
+
self.pulp_href = attributes[:'pulp_href']
|
91
|
+
end
|
92
|
+
|
85
93
|
if attributes.key?(:'description')
|
86
94
|
self.description = attributes[:'description']
|
87
95
|
end
|
@@ -153,6 +161,7 @@ module PulpcoreClient
|
|
153
161
|
def ==(o)
|
154
162
|
return true if self.equal?(o)
|
155
163
|
self.class == o.class &&
|
164
|
+
pulp_href == o.pulp_href &&
|
156
165
|
description == o.description &&
|
157
166
|
waiting == o.waiting &&
|
158
167
|
skipped == o.skipped &&
|
@@ -171,7 +180,7 @@ module PulpcoreClient
|
|
171
180
|
# Calculates hash code according to all attributes.
|
172
181
|
# @return [Integer] Hash code
|
173
182
|
def hash
|
174
|
-
[description, waiting, skipped, running, completed, canceled, failed].hash
|
183
|
+
[pulp_href, description, waiting, skipped, running, completed, canceled, failed].hash
|
175
184
|
end
|
176
185
|
|
177
186
|
# Builds the object from hash
|
@@ -32,6 +32,12 @@ describe 'TaskGroup' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpcoreClient::TaskGroup)
|
33
33
|
end
|
34
34
|
end
|
35
|
+
describe 'test attribute "pulp_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
|
+
|
35
41
|
describe 'test attribute "description"' do
|
36
42
|
it 'should work' do
|
37
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulpcore_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.3.
|
4
|
+
version: 3.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|