pulpcore_client 3.108.1 → 3.109.0
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 +7 -4
- data/docs/ArtifactDistributionResponse.md +18 -18
- data/docs/LoginApi.md +73 -0
- data/docs/LoginUpdateResponse.md +24 -0
- data/docs/PatchedLoginUpdate.md +28 -0
- data/docs/Purge.md +1 -1
- data/lib/pulpcore_client/api/login_api.rb +67 -0
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +77 -77
- data/lib/pulpcore_client/models/login_update_response.rb +302 -0
- data/lib/pulpcore_client/models/patched_login_update.rb +369 -0
- data/lib/pulpcore_client/models/purge.rb +1 -1
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +2 -0
- data/spec/api/login_api_spec.rb +11 -0
- data/spec/models/artifact_distribution_response_spec.rb +11 -11
- data/spec/models/login_update_response_spec.rb +54 -0
- data/spec/models/patched_login_update_spec.rb +66 -0
- metadata +10 -2
data/spec/api/login_api_spec.rb
CHANGED
|
@@ -54,6 +54,17 @@ describe 'LoginApi' do
|
|
|
54
54
|
end
|
|
55
55
|
end
|
|
56
56
|
|
|
57
|
+
# unit tests for login_update
|
|
58
|
+
# @param patched_login_update
|
|
59
|
+
# @param [Hash] opts the optional parameters
|
|
60
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
61
|
+
# @return [LoginUpdateResponse]
|
|
62
|
+
describe 'login_update test' do
|
|
63
|
+
it 'should work' do
|
|
64
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
65
|
+
end
|
|
66
|
+
end
|
|
67
|
+
|
|
57
68
|
# unit tests for logout
|
|
58
69
|
# @param [Hash] opts the optional parameters
|
|
59
70
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
@@ -27,31 +27,31 @@ describe PulpcoreClient::ArtifactDistributionResponse do
|
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
describe 'test attribute "
|
|
30
|
+
describe 'test attribute "base_url"' do
|
|
31
31
|
it 'should work' do
|
|
32
32
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
-
describe 'test attribute "
|
|
36
|
+
describe 'test attribute "no_content_change_since"' do
|
|
37
37
|
it 'should work' do
|
|
38
38
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
-
describe 'test attribute "
|
|
42
|
+
describe 'test attribute "pulp_href"' do
|
|
43
43
|
it 'should work' do
|
|
44
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
45
|
end
|
|
46
46
|
end
|
|
47
47
|
|
|
48
|
-
describe 'test attribute "
|
|
48
|
+
describe 'test attribute "name"' do
|
|
49
49
|
it 'should work' do
|
|
50
50
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
51
|
end
|
|
52
52
|
end
|
|
53
53
|
|
|
54
|
-
describe 'test attribute "
|
|
54
|
+
describe 'test attribute "base_path"' do
|
|
55
55
|
it 'should work' do
|
|
56
56
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
57
|
end
|
|
@@ -69,37 +69,37 @@ describe PulpcoreClient::ArtifactDistributionResponse do
|
|
|
69
69
|
end
|
|
70
70
|
end
|
|
71
71
|
|
|
72
|
-
describe 'test attribute "
|
|
72
|
+
describe 'test attribute "repository_version"' do
|
|
73
73
|
it 'should work' do
|
|
74
74
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
75
|
end
|
|
76
76
|
end
|
|
77
77
|
|
|
78
|
-
describe 'test attribute "
|
|
78
|
+
describe 'test attribute "content_guard_prn"' do
|
|
79
79
|
it 'should work' do
|
|
80
80
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
81
81
|
end
|
|
82
82
|
end
|
|
83
83
|
|
|
84
|
-
describe 'test attribute "
|
|
84
|
+
describe 'test attribute "pulp_labels"' do
|
|
85
85
|
it 'should work' do
|
|
86
86
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
87
87
|
end
|
|
88
88
|
end
|
|
89
89
|
|
|
90
|
-
describe 'test attribute "
|
|
90
|
+
describe 'test attribute "hidden"' do
|
|
91
91
|
it 'should work' do
|
|
92
92
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
93
93
|
end
|
|
94
94
|
end
|
|
95
95
|
|
|
96
|
-
describe 'test attribute "
|
|
96
|
+
describe 'test attribute "content_guard"' do
|
|
97
97
|
it 'should work' do
|
|
98
98
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
99
99
|
end
|
|
100
100
|
end
|
|
101
101
|
|
|
102
|
-
describe 'test attribute "
|
|
102
|
+
describe 'test attribute "pulp_created"' do
|
|
103
103
|
it 'should work' do
|
|
104
104
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
105
105
|
end
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Pulp 3 API
|
|
3
|
+
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: v3
|
|
7
|
+
Contact: pulp-list@redhat.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for PulpcoreClient::LoginUpdateResponse
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe PulpcoreClient::LoginUpdateResponse do
|
|
21
|
+
let(:instance) { PulpcoreClient::LoginUpdateResponse.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of LoginUpdateResponse' do
|
|
24
|
+
it 'should create an instance of LoginUpdateResponse' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(PulpcoreClient::LoginUpdateResponse)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "username"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "first_name"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "last_name"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "email"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
end
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Pulp 3 API
|
|
3
|
+
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: v3
|
|
7
|
+
Contact: pulp-list@redhat.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for PulpcoreClient::PatchedLoginUpdate
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe PulpcoreClient::PatchedLoginUpdate do
|
|
21
|
+
let(:instance) { PulpcoreClient::PatchedLoginUpdate.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of PatchedLoginUpdate' do
|
|
24
|
+
it 'should create an instance of PatchedLoginUpdate' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(PulpcoreClient::PatchedLoginUpdate)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "username"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "old_password"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "new_password"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "first_name"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "last_name"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
describe 'test attribute "email"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
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.
|
|
4
|
+
version: 3.109.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-04-
|
|
11
|
+
date: 2026-04-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -158,6 +158,7 @@ files:
|
|
|
158
158
|
- docs/LivezApi.md
|
|
159
159
|
- docs/LoginApi.md
|
|
160
160
|
- docs/LoginResponse.md
|
|
161
|
+
- docs/LoginUpdateResponse.md
|
|
161
162
|
- docs/MethodEnum.md
|
|
162
163
|
- docs/MinimalTaskResponse.md
|
|
163
164
|
- docs/MultipleArtifactContentResponse.md
|
|
@@ -234,6 +235,7 @@ files:
|
|
|
234
235
|
- docs/PatchedFilesystemExporter.md
|
|
235
236
|
- docs/PatchedGroup.md
|
|
236
237
|
- docs/PatchedHeaderContentGuard.md
|
|
238
|
+
- docs/PatchedLoginUpdate.md
|
|
237
239
|
- docs/PatchedOpenPGPDistribution.md
|
|
238
240
|
- docs/PatchedOpenPGPKeyring.md
|
|
239
241
|
- docs/PatchedPulpExporter.md
|
|
@@ -412,6 +414,7 @@ files:
|
|
|
412
414
|
- lib/pulpcore_client/models/header_content_guard_response.rb
|
|
413
415
|
- lib/pulpcore_client/models/import_response.rb
|
|
414
416
|
- lib/pulpcore_client/models/login_response.rb
|
|
417
|
+
- lib/pulpcore_client/models/login_update_response.rb
|
|
415
418
|
- lib/pulpcore_client/models/method_enum.rb
|
|
416
419
|
- lib/pulpcore_client/models/minimal_task_response.rb
|
|
417
420
|
- lib/pulpcore_client/models/multiple_artifact_content_response.rb
|
|
@@ -486,6 +489,7 @@ files:
|
|
|
486
489
|
- lib/pulpcore_client/models/patched_filesystem_exporter.rb
|
|
487
490
|
- lib/pulpcore_client/models/patched_group.rb
|
|
488
491
|
- lib/pulpcore_client/models/patched_header_content_guard.rb
|
|
492
|
+
- lib/pulpcore_client/models/patched_login_update.rb
|
|
489
493
|
- lib/pulpcore_client/models/patched_open_pgp_distribution.rb
|
|
490
494
|
- lib/pulpcore_client/models/patched_open_pgp_keyring.rb
|
|
491
495
|
- lib/pulpcore_client/models/patched_pulp_exporter.rb
|
|
@@ -643,6 +647,7 @@ files:
|
|
|
643
647
|
- spec/models/header_content_guard_spec.rb
|
|
644
648
|
- spec/models/import_response_spec.rb
|
|
645
649
|
- spec/models/login_response_spec.rb
|
|
650
|
+
- spec/models/login_update_response_spec.rb
|
|
646
651
|
- spec/models/method_enum_spec.rb
|
|
647
652
|
- spec/models/minimal_task_response_spec.rb
|
|
648
653
|
- spec/models/multiple_artifact_content_response_spec.rb
|
|
@@ -717,6 +722,7 @@ files:
|
|
|
717
722
|
- spec/models/patched_filesystem_exporter_spec.rb
|
|
718
723
|
- spec/models/patched_group_spec.rb
|
|
719
724
|
- spec/models/patched_header_content_guard_spec.rb
|
|
725
|
+
- spec/models/patched_login_update_spec.rb
|
|
720
726
|
- spec/models/patched_open_pgp_distribution_spec.rb
|
|
721
727
|
- spec/models/patched_open_pgp_keyring_spec.rb
|
|
722
728
|
- spec/models/patched_pulp_exporter_spec.rb
|
|
@@ -858,6 +864,7 @@ test_files:
|
|
|
858
864
|
- spec/api/content_openpgp_publicsubkey_api_spec.rb
|
|
859
865
|
- spec/api/publications_api_spec.rb
|
|
860
866
|
- spec/api/distributions_artifacts_api_spec.rb
|
|
867
|
+
- spec/models/patched_login_update_spec.rb
|
|
861
868
|
- spec/models/object_roles_response_spec.rb
|
|
862
869
|
- spec/models/paginated_task_response_list_spec.rb
|
|
863
870
|
- spec/models/patched_role_spec.rb
|
|
@@ -958,6 +965,7 @@ test_files:
|
|
|
958
965
|
- spec/models/patched_group_spec.rb
|
|
959
966
|
- spec/models/paginated_group_response_list_spec.rb
|
|
960
967
|
- spec/models/patched_pulp_exporter_spec.rb
|
|
968
|
+
- spec/models/login_update_response_spec.rb
|
|
961
969
|
- spec/models/nested_open_pgp_user_attribute_spec.rb
|
|
962
970
|
- spec/models/domain_spec.rb
|
|
963
971
|
- spec/models/patched_pulp_importer_spec.rb
|