pulpcore_client 3.0.0rc2.dev.1559929367 → 3.0.0rc2.dev.1560015699
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pulpcore_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +4 -4
- data/docs/Worker.md +3 -3
- data/lib/pulpcore_client/models/worker.rb +10 -10
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/models/worker_spec.rb +2 -2
- 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: 5219f169f73368fac5ef8b8abc4e105072e1cb5a7451d1ea94b4120ef57a7c69
|
4
|
+
data.tar.gz: 8838751a31f614c1c8934c85ba8ccf7f95fdb71cf0ccffecec841201a489b1b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3b3eaf1204b4d81ea85bd810cb5199b6b948601e4af4fce8f3a038d47d24d943f7b8482c31148687ec6a694e9afe52296b65b7a63b69ade217636cd58874bf2
|
7
|
+
data.tar.gz: a7f9ce0c40054c41e21b88c4c34218fba493028d3cc56ec1fe6cb4ce37f06770e8b476a3beab5d8277b1083b331a9e6b5f4fbf32d1b3d80170ae50f41bf8d92c
|
data/Gemfile.lock
CHANGED
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.0.0rc2.dev.
|
10
|
+
- Package version: 3.0.0rc2.dev.1560015699
|
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.0.0rc2.dev.
|
26
|
+
gem install ./pulpcore_client-3.0.0rc2.dev.1560015699.gem
|
27
27
|
```
|
28
28
|
|
29
|
-
(for development, run `gem install --dev ./pulpcore_client-3.0.0rc2.dev.
|
29
|
+
(for development, run `gem install --dev ./pulpcore_client-3.0.0rc2.dev.1560015699.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.0.0rc2.dev.
|
35
|
+
gem 'pulpcore_client', '~> 3.0.0rc2.dev.1560015699'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
data/docs/Worker.md
CHANGED
@@ -4,8 +4,8 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**_href** | **String** | | [optional]
|
8
7
|
**_created** | **DateTime** | Timestamp of creation. | [optional]
|
8
|
+
**_href** | **String** | | [optional]
|
9
9
|
**name** | **String** | The name of the worker. | [optional]
|
10
10
|
**last_heartbeat** | **DateTime** | Timestamp of the last time the worker talked to the service. | [optional]
|
11
11
|
**online** | **Boolean** | True if the worker is considered online, otherwise False | [optional]
|
@@ -16,8 +16,8 @@ Name | Type | Description | Notes
|
|
16
16
|
```ruby
|
17
17
|
require 'PulpcoreClient'
|
18
18
|
|
19
|
-
instance = PulpcoreClient::Worker.new(
|
20
|
-
|
19
|
+
instance = PulpcoreClient::Worker.new(_created: null,
|
20
|
+
_href: null,
|
21
21
|
name: null,
|
22
22
|
last_heartbeat: null,
|
23
23
|
online: null,
|
@@ -15,11 +15,11 @@ require 'date'
|
|
15
15
|
module PulpcoreClient
|
16
16
|
# List of online workers known to the application. An online worker is actively heartbeating and can respond to new work
|
17
17
|
class Worker
|
18
|
-
attr_accessor :_href
|
19
|
-
|
20
18
|
# Timestamp of creation.
|
21
19
|
attr_accessor :_created
|
22
20
|
|
21
|
+
attr_accessor :_href
|
22
|
+
|
23
23
|
# The name of the worker.
|
24
24
|
attr_accessor :name
|
25
25
|
|
@@ -35,8 +35,8 @@ module PulpcoreClient
|
|
35
35
|
# Attribute mapping from ruby-style variable name to JSON key.
|
36
36
|
def self.attribute_map
|
37
37
|
{
|
38
|
-
:'_href' => :'_href',
|
39
38
|
:'_created' => :'_created',
|
39
|
+
:'_href' => :'_href',
|
40
40
|
:'name' => :'name',
|
41
41
|
:'last_heartbeat' => :'last_heartbeat',
|
42
42
|
:'online' => :'online',
|
@@ -47,8 +47,8 @@ module PulpcoreClient
|
|
47
47
|
# Attribute type mapping.
|
48
48
|
def self.openapi_types
|
49
49
|
{
|
50
|
-
:'_href' => :'String',
|
51
50
|
:'_created' => :'DateTime',
|
51
|
+
:'_href' => :'String',
|
52
52
|
:'name' => :'String',
|
53
53
|
:'last_heartbeat' => :'DateTime',
|
54
54
|
:'online' => :'Boolean',
|
@@ -71,14 +71,14 @@ module PulpcoreClient
|
|
71
71
|
h[k.to_sym] = v
|
72
72
|
}
|
73
73
|
|
74
|
-
if attributes.key?(:'_href')
|
75
|
-
self._href = attributes[:'_href']
|
76
|
-
end
|
77
|
-
|
78
74
|
if attributes.key?(:'_created')
|
79
75
|
self._created = attributes[:'_created']
|
80
76
|
end
|
81
77
|
|
78
|
+
if attributes.key?(:'_href')
|
79
|
+
self._href = attributes[:'_href']
|
80
|
+
end
|
81
|
+
|
82
82
|
if attributes.key?(:'name')
|
83
83
|
self.name = attributes[:'name']
|
84
84
|
end
|
@@ -129,8 +129,8 @@ module PulpcoreClient
|
|
129
129
|
def ==(o)
|
130
130
|
return true if self.equal?(o)
|
131
131
|
self.class == o.class &&
|
132
|
-
_href == o._href &&
|
133
132
|
_created == o._created &&
|
133
|
+
_href == o._href &&
|
134
134
|
name == o.name &&
|
135
135
|
last_heartbeat == o.last_heartbeat &&
|
136
136
|
online == o.online &&
|
@@ -146,7 +146,7 @@ module PulpcoreClient
|
|
146
146
|
# Calculates hash code according to all attributes.
|
147
147
|
# @return [Integer] Hash code
|
148
148
|
def hash
|
149
|
-
[
|
149
|
+
[_created, _href, name, last_heartbeat, online, missing].hash
|
150
150
|
end
|
151
151
|
|
152
152
|
# Builds the object from hash
|
data/spec/models/worker_spec.rb
CHANGED
@@ -32,13 +32,13 @@ describe 'Worker' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpcoreClient::Worker)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "_created"' 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 "_href"' 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
|
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.0.0rc2.dev.
|
4
|
+
version: 3.0.0rc2.dev.1560015699
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-06-
|
11
|
+
date: 2019-06-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|