pulpcore_client 3.1.0 → 3.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 23a9af57b74bd3dbea69fe0a13029ab4e949ed75f92cc77f9eeace39f7888cd5
4
- data.tar.gz: e2cc72a014084abd31a0b1c9ff6add6ca87cd0461550c902a5ed8036a396cc87
3
+ metadata.gz: c5e8cc9ac9b0a186ea88acab8f311bdae3afe43f886f168947ab1b79e94519fb
4
+ data.tar.gz: 4c9d059cdb9ac48fbe1c6494a37221a1d233396e3e8a467d9a8fcae34522efa2
5
5
  SHA512:
6
- metadata.gz: 762553699dc6357ea4dfe5a9ea804b0ec386fd42de7561b6449ef14ff841771c65e21c83516b6bb487f2827c5df3ffc151f129af52a33e82417cf2f9552d8871
7
- data.tar.gz: 9a486382c3bcb1ad39a7a0c70bbb842f9c506349cc77b0447b2b40c932ea77384d15bfb769cbf5b40cdd19177c6a38b1a04b32ff80d1b9694cc824b05f7093f3
6
+ metadata.gz: 308ec2b8bf1880681803e8019cf82b4fedfc3fb08fcf0884ca4ce424aefb9375e913f0f9e067d8eb5a436bb2aa5a6791a1d97015c2ee142ec731f342f8c2753f
7
+ data.tar.gz: 5e4f2b1ae8da974e64f3eb2c4506d447aec4f4c5b7aa651cbeb9996dbb33fe14aea0da4922893e27a2f1b2383dedd2793348c529d5e8e0e1f6a0ddf8f20526c5
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.1.0
10
+ - Package version: 3.1.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.1.0.gem
26
+ gem install ./pulpcore_client-3.1.1.gem
27
27
  ```
28
28
 
29
- (for development, run `gem install --dev ./pulpcore_client-3.1.0.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./pulpcore_client-3.1.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.1.0'
35
+ gem 'pulpcore_client', '~> 3.1.1'
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
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
8
7
  **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
9
  **name** | **String** | The name of the worker. | [optional] [readonly]
10
10
  **last_heartbeat** | **DateTime** | Timestamp of the last time the worker talked to the service. | [optional] [readonly]
11
11
 
@@ -14,8 +14,8 @@ Name | Type | Description | Notes
14
14
  ```ruby
15
15
  require 'PulpcoreClient'
16
16
 
17
- instance = PulpcoreClient::Worker.new(pulp_created: null,
18
- pulp_href: null,
17
+ instance = PulpcoreClient::Worker.new(pulp_href: null,
18
+ pulp_created: null,
19
19
  name: null,
20
20
  last_heartbeat: null)
21
21
  ```
@@ -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 :pulp_href
19
+
18
20
  # Timestamp of creation.
19
21
  attr_accessor :pulp_created
20
22
 
21
- attr_accessor :pulp_href
22
-
23
23
  # The name of the worker.
24
24
  attr_accessor :name
25
25
 
@@ -29,8 +29,8 @@ module PulpcoreClient
29
29
  # Attribute mapping from ruby-style variable name to JSON key.
30
30
  def self.attribute_map
31
31
  {
32
- :'pulp_created' => :'pulp_created',
33
32
  :'pulp_href' => :'pulp_href',
33
+ :'pulp_created' => :'pulp_created',
34
34
  :'name' => :'name',
35
35
  :'last_heartbeat' => :'last_heartbeat'
36
36
  }
@@ -39,8 +39,8 @@ module PulpcoreClient
39
39
  # Attribute type mapping.
40
40
  def self.openapi_types
41
41
  {
42
- :'pulp_created' => :'DateTime',
43
42
  :'pulp_href' => :'String',
43
+ :'pulp_created' => :'DateTime',
44
44
  :'name' => :'String',
45
45
  :'last_heartbeat' => :'DateTime'
46
46
  }
@@ -67,14 +67,14 @@ module PulpcoreClient
67
67
  h[k.to_sym] = v
68
68
  }
69
69
 
70
- if attributes.key?(:'pulp_created')
71
- self.pulp_created = attributes[:'pulp_created']
72
- end
73
-
74
70
  if attributes.key?(:'pulp_href')
75
71
  self.pulp_href = attributes[:'pulp_href']
76
72
  end
77
73
 
74
+ if attributes.key?(:'pulp_created')
75
+ self.pulp_created = attributes[:'pulp_created']
76
+ end
77
+
78
78
  if attributes.key?(:'name')
79
79
  self.name = attributes[:'name']
80
80
  end
@@ -117,8 +117,8 @@ module PulpcoreClient
117
117
  def ==(o)
118
118
  return true if self.equal?(o)
119
119
  self.class == o.class &&
120
- pulp_created == o.pulp_created &&
121
120
  pulp_href == o.pulp_href &&
121
+ pulp_created == o.pulp_created &&
122
122
  name == o.name &&
123
123
  last_heartbeat == o.last_heartbeat
124
124
  end
@@ -132,7 +132,7 @@ module PulpcoreClient
132
132
  # Calculates hash code according to all attributes.
133
133
  # @return [Integer] Hash code
134
134
  def hash
135
- [pulp_created, pulp_href, name, last_heartbeat].hash
135
+ [pulp_href, pulp_created, name, last_heartbeat].hash
136
136
  end
137
137
 
138
138
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.2.2
11
11
  =end
12
12
 
13
13
  module PulpcoreClient
14
- VERSION = '3.1.0'
14
+ VERSION = '3.1.1'
15
15
  end
@@ -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 "pulp_created"' do
35
+ describe 'test attribute "pulp_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 "pulp_href"' do
41
+ describe 'test attribute "pulp_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
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.1.0
4
+ version: 3.1.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-01-31 00:00:00.000000000 Z
11
+ date: 2020-02-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday