pulp_certguard_client 0.1.0rc5 → 1.0.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 +6 -4
- data/docs/CertguardRHSMCertGuardRead.md +25 -0
- data/docs/CertguardX509CertGuardRead.md +25 -0
- data/docs/ContentguardsRhsmApi.md +8 -8
- data/docs/ContentguardsX509Api.md +8 -8
- data/docs/InlineResponse200.md +1 -1
- data/docs/InlineResponse2001.md +1 -1
- data/lib/pulp_certguard_client/api/contentguards_rhsm_api.rb +12 -12
- data/lib/pulp_certguard_client/api/contentguards_x509_api.rb +12 -12
- data/lib/pulp_certguard_client/models/certguard_rhsm_cert_guard_read.rb +310 -0
- data/lib/pulp_certguard_client/models/certguard_x509_cert_guard_read.rb +310 -0
- data/lib/pulp_certguard_client/models/inline_response200.rb +1 -1
- data/lib/pulp_certguard_client/models/inline_response2001.rb +1 -1
- data/lib/pulp_certguard_client/version.rb +1 -1
- data/lib/pulp_certguard_client.rb +2 -0
- data/spec/api/contentguards_rhsm_api_spec.rb +4 -4
- data/spec/api/contentguards_x509_api_spec.rb +4 -4
- data/spec/models/certguard_rhsm_cert_guard_read_spec.rb +65 -0
- data/spec/models/certguard_x509_cert_guard_read_spec.rb +65 -0
- metadata +12 -4
@@ -37,7 +37,7 @@ describe 'ContentguardsX509Api' do
|
|
37
37
|
# X509CertGuard API Viewsets.
|
38
38
|
# @param data
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [
|
40
|
+
# @return [CertguardX509CertGuardRead]
|
41
41
|
describe 'create test' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -80,7 +80,7 @@ describe 'ContentguardsX509Api' do
|
|
80
80
|
# @param x509_cert_guard_href URI of X509 Cert Guard. e.g.: /pulp/api/v3/contentguards/certguard/x509/1/
|
81
81
|
# @param data
|
82
82
|
# @param [Hash] opts the optional parameters
|
83
|
-
# @return [
|
83
|
+
# @return [CertguardX509CertGuardRead]
|
84
84
|
describe 'partial_update test' do
|
85
85
|
it 'should work' do
|
86
86
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -94,7 +94,7 @@ describe 'ContentguardsX509Api' do
|
|
94
94
|
# @param [Hash] opts the optional parameters
|
95
95
|
# @option opts [String] :fields A list of fields to include in the response.
|
96
96
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
97
|
-
# @return [
|
97
|
+
# @return [CertguardX509CertGuardRead]
|
98
98
|
describe 'read test' do
|
99
99
|
it 'should work' do
|
100
100
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -107,7 +107,7 @@ describe 'ContentguardsX509Api' do
|
|
107
107
|
# @param x509_cert_guard_href URI of X509 Cert Guard. e.g.: /pulp/api/v3/contentguards/certguard/x509/1/
|
108
108
|
# @param data
|
109
109
|
# @param [Hash] opts the optional parameters
|
110
|
-
# @return [
|
110
|
+
# @return [CertguardX509CertGuardRead]
|
111
111
|
describe 'update test' do
|
112
112
|
it 'should work' do
|
113
113
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -0,0 +1,65 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpCertguardClient::CertguardRHSMCertGuardRead
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'CertguardRHSMCertGuardRead' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpCertguardClient::CertguardRHSMCertGuardRead.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of CertguardRHSMCertGuardRead' do
|
31
|
+
it 'should create an instance of CertguardRHSMCertGuardRead' do
|
32
|
+
expect(@instance).to be_instance_of(PulpCertguardClient::CertguardRHSMCertGuardRead)
|
33
|
+
end
|
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
|
+
|
41
|
+
describe 'test attribute "pulp_created"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "name"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "description"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
describe 'test attribute "ca_certificate"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
end
|
@@ -0,0 +1,65 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpCertguardClient::CertguardX509CertGuardRead
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'CertguardX509CertGuardRead' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpCertguardClient::CertguardX509CertGuardRead.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of CertguardX509CertGuardRead' do
|
31
|
+
it 'should create an instance of CertguardX509CertGuardRead' do
|
32
|
+
expect(@instance).to be_instance_of(PulpCertguardClient::CertguardX509CertGuardRead)
|
33
|
+
end
|
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
|
+
|
41
|
+
describe 'test attribute "pulp_created"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "name"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "description"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
describe 'test attribute "ca_certificate"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_certguard_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.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: 2020-
|
11
|
+
date: 2020-07-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -75,7 +75,9 @@ files:
|
|
75
75
|
- README.md
|
76
76
|
- Rakefile
|
77
77
|
- docs/CertguardRHSMCertGuard.md
|
78
|
+
- docs/CertguardRHSMCertGuardRead.md
|
78
79
|
- docs/CertguardX509CertGuard.md
|
80
|
+
- docs/CertguardX509CertGuardRead.md
|
79
81
|
- docs/ContentguardsRhsmApi.md
|
80
82
|
- docs/ContentguardsX509Api.md
|
81
83
|
- docs/InlineResponse200.md
|
@@ -88,7 +90,9 @@ files:
|
|
88
90
|
- lib/pulp_certguard_client/api_error.rb
|
89
91
|
- lib/pulp_certguard_client/configuration.rb
|
90
92
|
- lib/pulp_certguard_client/models/certguard_rhsm_cert_guard.rb
|
93
|
+
- lib/pulp_certguard_client/models/certguard_rhsm_cert_guard_read.rb
|
91
94
|
- lib/pulp_certguard_client/models/certguard_x509_cert_guard.rb
|
95
|
+
- lib/pulp_certguard_client/models/certguard_x509_cert_guard_read.rb
|
92
96
|
- lib/pulp_certguard_client/models/inline_response200.rb
|
93
97
|
- lib/pulp_certguard_client/models/inline_response2001.rb
|
94
98
|
- lib/pulp_certguard_client/version.rb
|
@@ -97,7 +101,9 @@ files:
|
|
97
101
|
- spec/api/contentguards_x509_api_spec.rb
|
98
102
|
- spec/api_client_spec.rb
|
99
103
|
- spec/configuration_spec.rb
|
104
|
+
- spec/models/certguard_rhsm_cert_guard_read_spec.rb
|
100
105
|
- spec/models/certguard_rhsm_cert_guard_spec.rb
|
106
|
+
- spec/models/certguard_x509_cert_guard_read_spec.rb
|
101
107
|
- spec/models/certguard_x509_cert_guard_spec.rb
|
102
108
|
- spec/models/inline_response2001_spec.rb
|
103
109
|
- spec/models/inline_response200_spec.rb
|
@@ -117,9 +123,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
117
123
|
version: '1.9'
|
118
124
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
119
125
|
requirements:
|
120
|
-
- - "
|
126
|
+
- - ">="
|
121
127
|
- !ruby/object:Gem::Version
|
122
|
-
version:
|
128
|
+
version: '0'
|
123
129
|
requirements: []
|
124
130
|
rubygems_version: 3.0.6
|
125
131
|
signing_key:
|
@@ -130,8 +136,10 @@ test_files:
|
|
130
136
|
- spec/api/contentguards_rhsm_api_spec.rb
|
131
137
|
- spec/api_client_spec.rb
|
132
138
|
- spec/configuration_spec.rb
|
139
|
+
- spec/models/certguard_rhsm_cert_guard_read_spec.rb
|
133
140
|
- spec/models/inline_response2001_spec.rb
|
134
141
|
- spec/models/inline_response200_spec.rb
|
135
142
|
- spec/models/certguard_rhsm_cert_guard_spec.rb
|
143
|
+
- spec/models/certguard_x509_cert_guard_read_spec.rb
|
136
144
|
- spec/models/certguard_x509_cert_guard_spec.rb
|
137
145
|
- spec/spec_helper.rb
|