pulpcore_client 3.7.2 → 3.7.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/WorkerResponse.md +3 -3
- data/lib/pulpcore_client/models/worker_response.rb +10 -10
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/models/worker_response_spec.rb +2 -2
- metadata +62 -62
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dba388dcc71c7172acddd9b9cdb789d125e17aecdeeff43b7492f0f2ae460280
|
4
|
+
data.tar.gz: b026b05c789634032ef83ec0b7eb1ea2757c4a095f7368fc1b68b904271a8f5c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1c979951736072fc2b97b61a4e88e14153ff31f8f723677d1a6c91e306da03e992d6a3e15f55d3c946b6c993f0a9c1d8370fd9e0ec41801707f9000f8fc094e
|
7
|
+
data.tar.gz: b0337c27d5e62fd5e56d543f247eb80117dfc4fd520794aeb782a15e816888c7df6ec4a88d234e77bd3bfd35d542f7bce5c06678a80117db82bf1d8a20648e0b
|
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.7.
|
10
|
+
- Package version: 3.7.6
|
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 pulpcore_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulpcore_client-3.7.
|
27
|
+
gem install ./pulpcore_client-3.7.6.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulpcore_client-3.7.
|
30
|
+
(for development, run `gem install --dev ./pulpcore_client-3.7.6.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 'pulpcore_client', '~> 3.7.
|
36
|
+
gem 'pulpcore_client', '~> 3.7.6'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
data/docs/WorkerResponse.md
CHANGED
@@ -4,8 +4,8 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
8
7
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
8
|
+
**pulp_href** | **String** | | [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::WorkerResponse.new(
|
18
|
-
|
17
|
+
instance = PulpcoreClient::WorkerResponse.new(pulp_created: null,
|
18
|
+
pulp_href: null,
|
19
19
|
name: null,
|
20
20
|
last_heartbeat: null)
|
21
21
|
```
|
@@ -15,11 +15,11 @@ require 'date'
|
|
15
15
|
module PulpcoreClient
|
16
16
|
# Base serializer for use with :class:`pulpcore.app.models.Model` This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the ``ref_name`` attribute in the ModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|
17
17
|
class WorkerResponse
|
18
|
-
attr_accessor :pulp_href
|
19
|
-
|
20
18
|
# Timestamp of creation.
|
21
19
|
attr_accessor :pulp_created
|
22
20
|
|
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_href' => :'pulp_href',
|
33
32
|
:'pulp_created' => :'pulp_created',
|
33
|
+
:'pulp_href' => :'pulp_href',
|
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_href' => :'String',
|
43
42
|
:'pulp_created' => :'DateTime',
|
43
|
+
:'pulp_href' => :'String',
|
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_href')
|
71
|
-
self.pulp_href = attributes[:'pulp_href']
|
72
|
-
end
|
73
|
-
|
74
70
|
if attributes.key?(:'pulp_created')
|
75
71
|
self.pulp_created = attributes[:'pulp_created']
|
76
72
|
end
|
77
73
|
|
74
|
+
if attributes.key?(:'pulp_href')
|
75
|
+
self.pulp_href = attributes[:'pulp_href']
|
76
|
+
end
|
77
|
+
|
78
78
|
if attributes.key?(:'name')
|
79
79
|
self.name = attributes[:'name']
|
80
80
|
end
|
@@ -102,8 +102,8 @@ module PulpcoreClient
|
|
102
102
|
def ==(o)
|
103
103
|
return true if self.equal?(o)
|
104
104
|
self.class == o.class &&
|
105
|
-
pulp_href == o.pulp_href &&
|
106
105
|
pulp_created == o.pulp_created &&
|
106
|
+
pulp_href == o.pulp_href &&
|
107
107
|
name == o.name &&
|
108
108
|
last_heartbeat == o.last_heartbeat
|
109
109
|
end
|
@@ -117,7 +117,7 @@ module PulpcoreClient
|
|
117
117
|
# Calculates hash code according to all attributes.
|
118
118
|
# @return [Integer] Hash code
|
119
119
|
def hash
|
120
|
-
[
|
120
|
+
[pulp_created, pulp_href, name, last_heartbeat].hash
|
121
121
|
end
|
122
122
|
|
123
123
|
# Builds the object from hash
|
@@ -32,13 +32,13 @@ describe 'WorkerResponse' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpcoreClient::WorkerResponse)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "pulp_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 "pulp_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.7.
|
4
|
+
version: 3.7.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-04-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -331,87 +331,87 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
331
331
|
- !ruby/object:Gem::Version
|
332
332
|
version: '0'
|
333
333
|
requirements: []
|
334
|
-
rubygems_version: 3.0.
|
334
|
+
rubygems_version: 3.0.3.1
|
335
335
|
signing_key:
|
336
336
|
specification_version: 4
|
337
337
|
summary: Pulp 3 API Ruby Gem
|
338
338
|
test_files:
|
339
|
-
- spec/api/exporters_core_exports_api_spec.rb
|
340
|
-
- spec/api/status_api_spec.rb
|
341
|
-
- spec/api/importers_core_imports_api_spec.rb
|
342
|
-
- spec/api/groups_model_permissions_api_spec.rb
|
343
|
-
- spec/api/uploads_api_spec.rb
|
344
|
-
- spec/api/exporters_pulp_api_spec.rb
|
345
|
-
- spec/api/groups_object_permissions_api_spec.rb
|
346
|
-
- spec/api/signing_services_api_spec.rb
|
347
|
-
- spec/api/workers_api_spec.rb
|
348
|
-
- spec/api/artifacts_api_spec.rb
|
349
339
|
- spec/api/groups_users_api_spec.rb
|
350
340
|
- spec/api/users_api_spec.rb
|
341
|
+
- spec/api/exporters_pulp_api_spec.rb
|
342
|
+
- spec/api/task_groups_api_spec.rb
|
343
|
+
- spec/api/signing_services_api_spec.rb
|
351
344
|
- spec/api/groups_api_spec.rb
|
352
|
-
- spec/api/access_policies_api_spec.rb
|
353
345
|
- spec/api/importers_pulp_api_spec.rb
|
354
|
-
- spec/api/
|
355
|
-
- spec/api/
|
346
|
+
- spec/api/importers_core_imports_api_spec.rb
|
347
|
+
- spec/api/groups_object_permissions_api_spec.rb
|
348
|
+
- spec/api/artifacts_api_spec.rb
|
349
|
+
- spec/api/uploads_api_spec.rb
|
356
350
|
- spec/api/tasks_api_spec.rb
|
351
|
+
- spec/api/groups_model_permissions_api_spec.rb
|
352
|
+
- spec/api/orphans_api_spec.rb
|
353
|
+
- spec/api/exporters_core_exports_api_spec.rb
|
354
|
+
- spec/api/access_policies_api_spec.rb
|
355
|
+
- spec/api/status_api_spec.rb
|
356
|
+
- spec/api/workers_api_spec.rb
|
357
357
|
- spec/api_client_spec.rb
|
358
358
|
- spec/configuration_spec.rb
|
359
|
-
- spec/models/
|
360
|
-
- spec/models/
|
361
|
-
- spec/models/user_group_response_spec.rb
|
362
|
-
- spec/models/inline_response2004_spec.rb
|
363
|
-
- spec/models/inline_response20014_spec.rb
|
364
|
-
- spec/models/task_response_spec.rb
|
365
|
-
- spec/models/access_policy_response_spec.rb
|
366
|
-
- spec/models/group_user_response_spec.rb
|
359
|
+
- spec/models/progress_report_response_spec.rb
|
360
|
+
- spec/models/user_response_spec.rb
|
367
361
|
- spec/models/storage_response_spec.rb
|
368
|
-
- spec/models/
|
369
|
-
- spec/models/
|
370
|
-
- spec/models/inline_response20012_spec.rb
|
371
|
-
- spec/models/artifact_response_spec.rb
|
362
|
+
- spec/models/inline_response20010_spec.rb
|
363
|
+
- spec/models/artifact_spec.rb
|
372
364
|
- spec/models/pulp_importer_spec.rb
|
365
|
+
- spec/models/upload_commit_spec.rb
|
366
|
+
- spec/models/task_group_response_spec.rb
|
367
|
+
- spec/models/access_policy_response_spec.rb
|
368
|
+
- spec/models/pulp_exporter_response_spec.rb
|
369
|
+
- spec/models/patched_task_cancel_spec.rb
|
373
370
|
- spec/models/group_user_spec.rb
|
374
|
-
- spec/models/
|
375
|
-
- spec/models/
|
376
|
-
- spec/models/
|
377
|
-
- spec/models/
|
378
|
-
- spec/models/patched_group_spec.rb
|
379
|
-
- spec/models/artifact_spec.rb
|
371
|
+
- spec/models/async_operation_response_spec.rb
|
372
|
+
- spec/models/content_app_status_response_spec.rb
|
373
|
+
- spec/models/worker_response_spec.rb
|
374
|
+
- spec/models/inline_response2009_spec.rb
|
380
375
|
- spec/models/pulp_importer_response_spec.rb
|
381
|
-
- spec/models/
|
382
|
-
- spec/models/group_response_spec.rb
|
383
|
-
- spec/models/version_response_spec.rb
|
384
|
-
- spec/models/inline_response20010_spec.rb
|
385
|
-
- spec/models/pulp_exporter_response_spec.rb
|
386
|
-
- spec/models/patched_access_policy_spec.rb
|
387
|
-
- spec/models/import_response_spec.rb
|
376
|
+
- spec/models/database_connection_response_spec.rb
|
388
377
|
- spec/models/signing_service_response_spec.rb
|
389
|
-
- spec/models/
|
390
|
-
- spec/models/
|
391
|
-
- spec/models/worker_response_spec.rb
|
378
|
+
- spec/models/inline_response2002_spec.rb
|
379
|
+
- spec/models/inline_response20013_spec.rb
|
392
380
|
- spec/models/group_progress_report_response_spec.rb
|
393
|
-
- spec/models/
|
394
|
-
- spec/models/inline_response20011_spec.rb
|
395
|
-
- spec/models/async_operation_response_spec.rb
|
396
|
-
- spec/models/progress_report_response_spec.rb
|
397
|
-
- spec/models/upload_spec.rb
|
398
|
-
- spec/models/upload_detail_response_spec.rb
|
381
|
+
- spec/models/pulp_import_spec.rb
|
399
382
|
- spec/models/inline_response2005_spec.rb
|
400
383
|
- spec/models/upload_chunk_spec.rb
|
401
384
|
- spec/models/patched_pulp_importer_spec.rb
|
385
|
+
- spec/models/inline_response2007_spec.rb
|
386
|
+
- spec/models/artifact_response_spec.rb
|
387
|
+
- spec/models/task_response_spec.rb
|
388
|
+
- spec/models/pulp_exporter_spec.rb
|
389
|
+
- spec/models/upload_spec.rb
|
390
|
+
- spec/models/inline_response200_spec.rb
|
391
|
+
- spec/models/redis_connection_response_spec.rb
|
392
|
+
- spec/models/upload_chunk_response_spec.rb
|
393
|
+
- spec/models/inline_response20011_spec.rb
|
394
|
+
- spec/models/access_policy_spec.rb
|
395
|
+
- spec/models/inline_response2003_spec.rb
|
396
|
+
- spec/models/patched_group_spec.rb
|
397
|
+
- spec/models/import_response_spec.rb
|
398
|
+
- spec/models/status_response_spec.rb
|
399
|
+
- spec/models/inline_response20012_spec.rb
|
400
|
+
- spec/models/upload_response_spec.rb
|
401
|
+
- spec/models/group_response_spec.rb
|
402
|
+
- spec/models/group_spec.rb
|
403
|
+
- spec/models/permission_response_spec.rb
|
402
404
|
- spec/models/pulp_export_spec.rb
|
403
|
-
- spec/models/
|
405
|
+
- spec/models/inline_response2006_spec.rb
|
406
|
+
- spec/models/group_user_response_spec.rb
|
407
|
+
- spec/models/inline_response20014_spec.rb
|
408
|
+
- spec/models/inline_response2008_spec.rb
|
409
|
+
- spec/models/inline_response2004_spec.rb
|
410
|
+
- spec/models/version_response_spec.rb
|
404
411
|
- spec/models/pulp_export_response_spec.rb
|
405
|
-
- spec/models/
|
406
|
-
- spec/models/
|
407
|
-
- spec/models/
|
408
|
-
- spec/models/inline_response2001_spec.rb
|
409
|
-
- spec/models/inline_response2002_spec.rb
|
410
|
-
- spec/models/upload_chunk_response_spec.rb
|
411
|
-
- spec/models/user_response_spec.rb
|
412
|
-
- spec/models/inline_response200_spec.rb
|
413
|
-
- spec/models/content_app_status_response_spec.rb
|
412
|
+
- spec/models/user_group_response_spec.rb
|
413
|
+
- spec/models/upload_detail_response_spec.rb
|
414
|
+
- spec/models/patched_access_policy_spec.rb
|
414
415
|
- spec/models/patched_pulp_exporter_spec.rb
|
415
|
-
- spec/models/
|
416
|
-
- spec/models/task_group_response_spec.rb
|
416
|
+
- spec/models/inline_response2001_spec.rb
|
417
417
|
- spec/spec_helper.rb
|