pulp_gem_client 0.3.0 → 0.4.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.
@@ -30,6 +30,10 @@ require 'pulp_gem_client/models/gem_gem_remote_response'
30
30
  require 'pulp_gem_client/models/gem_gem_remote_response_hidden_fields'
31
31
  require 'pulp_gem_client/models/gem_gem_repository'
32
32
  require 'pulp_gem_client/models/gem_gem_repository_response'
33
+ require 'pulp_gem_client/models/my_permissions_response'
34
+ require 'pulp_gem_client/models/nested_role'
35
+ require 'pulp_gem_client/models/nested_role_response'
36
+ require 'pulp_gem_client/models/object_roles_response'
33
37
  require 'pulp_gem_client/models/paginated_repository_version_response_list'
34
38
  require 'pulp_gem_client/models/paginatedgem_gem_content_response_list'
35
39
  require 'pulp_gem_client/models/paginatedgem_gem_distribution_response_list'
@@ -32,6 +32,19 @@ describe 'DistributionsGemApi' do
32
32
  end
33
33
  end
34
34
 
35
+ # unit tests for add_role
36
+ # Add a role
37
+ # Add a role for this object to users/groups.
38
+ # @param gem_gem_distribution_href
39
+ # @param nested_role
40
+ # @param [Hash] opts the optional parameters
41
+ # @return [NestedRoleResponse]
42
+ describe 'add_role test' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
45
+ end
46
+ end
47
+
35
48
  # unit tests for create
36
49
  # Create a gem distribution
37
50
  # Trigger an asynchronous create task
@@ -70,7 +83,9 @@ describe 'DistributionsGemApi' do
70
83
  # @option opts [String] :name__icontains Filter results where name contains value
71
84
  # @option opts [String] :name__iexact Filter results where name matches value
72
85
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
86
+ # @option opts [String] :name__iregex Filter results where name matches regex value
73
87
  # @option opts [String] :name__istartswith Filter results where name starts with value
88
+ # @option opts [String] :name__regex Filter results where name matches regex value
74
89
  # @option opts [String] :name__startswith Filter results where name starts with value
75
90
  # @option opts [Integer] :offset The initial index from which to return the results.
76
91
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
@@ -90,6 +105,34 @@ describe 'DistributionsGemApi' do
90
105
  end
91
106
  end
92
107
 
108
+ # unit tests for list_roles
109
+ # List roles
110
+ # List roles assigned to this object.
111
+ # @param gem_gem_distribution_href
112
+ # @param [Hash] opts the optional parameters
113
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
114
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
115
+ # @return [ObjectRolesResponse]
116
+ describe 'list_roles test' do
117
+ it 'should work' do
118
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
119
+ end
120
+ end
121
+
122
+ # unit tests for my_permissions
123
+ # List user permissions
124
+ # List permissions available to the current user on this object.
125
+ # @param gem_gem_distribution_href
126
+ # @param [Hash] opts the optional parameters
127
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
128
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
129
+ # @return [MyPermissionsResponse]
130
+ describe 'my_permissions test' do
131
+ it 'should work' do
132
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
133
+ end
134
+ end
135
+
93
136
  # unit tests for partial_update
94
137
  # Update a gem distribution
95
138
  # Trigger an asynchronous partial update task
@@ -117,6 +160,19 @@ describe 'DistributionsGemApi' do
117
160
  end
118
161
  end
119
162
 
163
+ # unit tests for remove_role
164
+ # Remove a role
165
+ # Remove a role for this object from users/groups.
166
+ # @param gem_gem_distribution_href
167
+ # @param nested_role
168
+ # @param [Hash] opts the optional parameters
169
+ # @return [NestedRoleResponse]
170
+ describe 'remove_role test' do
171
+ it 'should work' do
172
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
173
+ end
174
+ end
175
+
120
176
  # unit tests for set_label
121
177
  # Set a label
122
178
  # Set a single pulp_label on the object to a specific value or null.
@@ -32,6 +32,19 @@ describe 'PublicationsGemApi' do
32
32
  end
33
33
  end
34
34
 
35
+ # unit tests for add_role
36
+ # Add a role
37
+ # Add a role for this object to users/groups.
38
+ # @param gem_gem_publication_href
39
+ # @param nested_role
40
+ # @param [Hash] opts the optional parameters
41
+ # @return [NestedRoleResponse]
42
+ describe 'add_role test' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
45
+ end
46
+ end
47
+
35
48
  # unit tests for create
36
49
  # Create a gem publication
37
50
  # Trigger an asynchronous task to publish gem content
@@ -85,6 +98,34 @@ describe 'PublicationsGemApi' do
85
98
  end
86
99
  end
87
100
 
101
+ # unit tests for list_roles
102
+ # List roles
103
+ # List roles assigned to this object.
104
+ # @param gem_gem_publication_href
105
+ # @param [Hash] opts the optional parameters
106
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
107
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
108
+ # @return [ObjectRolesResponse]
109
+ describe 'list_roles test' do
110
+ it 'should work' do
111
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
112
+ end
113
+ end
114
+
115
+ # unit tests for my_permissions
116
+ # List user permissions
117
+ # List permissions available to the current user on this object.
118
+ # @param gem_gem_publication_href
119
+ # @param [Hash] opts the optional parameters
120
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
121
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
122
+ # @return [MyPermissionsResponse]
123
+ describe 'my_permissions test' do
124
+ it 'should work' do
125
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
126
+ end
127
+ end
128
+
88
129
  # unit tests for read
89
130
  # Inspect a gem publication
90
131
  # A ViewSet for GemPublication.
@@ -99,4 +140,17 @@ describe 'PublicationsGemApi' do
99
140
  end
100
141
  end
101
142
 
143
+ # unit tests for remove_role
144
+ # Remove a role
145
+ # Remove a role for this object from users/groups.
146
+ # @param gem_gem_publication_href
147
+ # @param nested_role
148
+ # @param [Hash] opts the optional parameters
149
+ # @return [NestedRoleResponse]
150
+ describe 'remove_role test' do
151
+ it 'should work' do
152
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
153
+ end
154
+ end
155
+
102
156
  end
@@ -32,6 +32,19 @@ describe 'RemotesGemApi' do
32
32
  end
33
33
  end
34
34
 
35
+ # unit tests for add_role
36
+ # Add a role
37
+ # Add a role for this object to users/groups.
38
+ # @param gem_gem_remote_href
39
+ # @param nested_role
40
+ # @param [Hash] opts the optional parameters
41
+ # @return [NestedRoleResponse]
42
+ describe 'add_role test' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
45
+ end
46
+ end
47
+
35
48
  # unit tests for create
36
49
  # Create a gem remote
37
50
  # A ViewSet for GemRemote.
@@ -66,7 +79,9 @@ describe 'RemotesGemApi' do
66
79
  # @option opts [String] :name__icontains Filter results where name contains value
67
80
  # @option opts [String] :name__iexact Filter results where name matches value
68
81
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
82
+ # @option opts [String] :name__iregex Filter results where name matches regex value
69
83
  # @option opts [String] :name__istartswith Filter results where name starts with value
84
+ # @option opts [String] :name__regex Filter results where name matches regex value
70
85
  # @option opts [String] :name__startswith Filter results where name starts with value
71
86
  # @option opts [Integer] :offset The initial index from which to return the results.
72
87
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;url&#x60; - Url * &#x60;-url&#x60; - Url (descending) * &#x60;ca_cert&#x60; - Ca cert * &#x60;-ca_cert&#x60; - Ca cert (descending) * &#x60;client_cert&#x60; - Client cert * &#x60;-client_cert&#x60; - Client cert (descending) * &#x60;client_key&#x60; - Client key * &#x60;-client_key&#x60; - Client key (descending) * &#x60;tls_validation&#x60; - Tls validation * &#x60;-tls_validation&#x60; - Tls validation (descending) * &#x60;username&#x60; - Username * &#x60;-username&#x60; - Username (descending) * &#x60;password&#x60; - Password * &#x60;-password&#x60; - Password (descending) * &#x60;proxy_url&#x60; - Proxy url * &#x60;-proxy_url&#x60; - Proxy url (descending) * &#x60;proxy_username&#x60; - Proxy username * &#x60;-proxy_username&#x60; - Proxy username (descending) * &#x60;proxy_password&#x60; - Proxy password * &#x60;-proxy_password&#x60; - Proxy password (descending) * &#x60;download_concurrency&#x60; - Download concurrency * &#x60;-download_concurrency&#x60; - Download concurrency (descending) * &#x60;max_retries&#x60; - Max retries * &#x60;-max_retries&#x60; - Max retries (descending) * &#x60;policy&#x60; - Policy * &#x60;-policy&#x60; - Policy (descending) * &#x60;total_timeout&#x60; - Total timeout * &#x60;-total_timeout&#x60; - Total timeout (descending) * &#x60;connect_timeout&#x60; - Connect timeout * &#x60;-connect_timeout&#x60; - Connect timeout (descending) * &#x60;sock_connect_timeout&#x60; - Sock connect timeout * &#x60;-sock_connect_timeout&#x60; - Sock connect timeout (descending) * &#x60;sock_read_timeout&#x60; - Sock read timeout * &#x60;-sock_read_timeout&#x60; - Sock read timeout (descending) * &#x60;headers&#x60; - Headers * &#x60;-headers&#x60; - Headers (descending) * &#x60;rate_limit&#x60; - Rate limit * &#x60;-rate_limit&#x60; - Rate limit (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
@@ -89,6 +104,34 @@ describe 'RemotesGemApi' do
89
104
  end
90
105
  end
91
106
 
107
+ # unit tests for list_roles
108
+ # List roles
109
+ # List roles assigned to this object.
110
+ # @param gem_gem_remote_href
111
+ # @param [Hash] opts the optional parameters
112
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
113
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
114
+ # @return [ObjectRolesResponse]
115
+ describe 'list_roles test' do
116
+ it 'should work' do
117
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
118
+ end
119
+ end
120
+
121
+ # unit tests for my_permissions
122
+ # List user permissions
123
+ # List permissions available to the current user on this object.
124
+ # @param gem_gem_remote_href
125
+ # @param [Hash] opts the optional parameters
126
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
127
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
128
+ # @return [MyPermissionsResponse]
129
+ describe 'my_permissions test' do
130
+ it 'should work' do
131
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
132
+ end
133
+ end
134
+
92
135
  # unit tests for partial_update
93
136
  # Update a gem remote
94
137
  # Trigger an asynchronous partial update task
@@ -116,6 +159,19 @@ describe 'RemotesGemApi' do
116
159
  end
117
160
  end
118
161
 
162
+ # unit tests for remove_role
163
+ # Remove a role
164
+ # Remove a role for this object from users/groups.
165
+ # @param gem_gem_remote_href
166
+ # @param nested_role
167
+ # @param [Hash] opts the optional parameters
168
+ # @return [NestedRoleResponse]
169
+ describe 'remove_role test' do
170
+ it 'should work' do
171
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
172
+ end
173
+ end
174
+
119
175
  # unit tests for set_label
120
176
  # Set a label
121
177
  # Set a single pulp_label on the object to a specific value or null.
@@ -32,6 +32,19 @@ describe 'RepositoriesGemApi' do
32
32
  end
33
33
  end
34
34
 
35
+ # unit tests for add_role
36
+ # Add a role
37
+ # Add a role for this object to users/groups.
38
+ # @param gem_gem_repository_href
39
+ # @param nested_role
40
+ # @param [Hash] opts the optional parameters
41
+ # @return [NestedRoleResponse]
42
+ describe 'add_role test' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
45
+ end
46
+ end
47
+
35
48
  # unit tests for create
36
49
  # Create a gem repository
37
50
  # A ViewSet for GemRepository.
@@ -67,7 +80,9 @@ describe 'RepositoriesGemApi' do
67
80
  # @option opts [String] :name__icontains Filter results where name contains value
68
81
  # @option opts [String] :name__iexact Filter results where name matches value
69
82
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
83
+ # @option opts [String] :name__iregex Filter results where name matches regex value
70
84
  # @option opts [String] :name__istartswith Filter results where name starts with value
85
+ # @option opts [String] :name__regex Filter results where name matches regex value
71
86
  # @option opts [String] :name__startswith Filter results where name starts with value
72
87
  # @option opts [Integer] :offset The initial index from which to return the results.
73
88
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
@@ -94,6 +109,20 @@ describe 'RepositoriesGemApi' do
94
109
  end
95
110
  end
96
111
 
112
+ # unit tests for list_roles
113
+ # List roles
114
+ # List roles assigned to this object.
115
+ # @param gem_gem_repository_href
116
+ # @param [Hash] opts the optional parameters
117
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
118
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
119
+ # @return [ObjectRolesResponse]
120
+ describe 'list_roles test' do
121
+ it 'should work' do
122
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
123
+ end
124
+ end
125
+
97
126
  # unit tests for modify
98
127
  # Modify Repository Content
99
128
  # Trigger an asynchronous task to create a new repository version.
@@ -107,6 +136,20 @@ describe 'RepositoriesGemApi' do
107
136
  end
108
137
  end
109
138
 
139
+ # unit tests for my_permissions
140
+ # List user permissions
141
+ # List permissions available to the current user on this object.
142
+ # @param gem_gem_repository_href
143
+ # @param [Hash] opts the optional parameters
144
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
145
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
146
+ # @return [MyPermissionsResponse]
147
+ describe 'my_permissions test' do
148
+ it 'should work' do
149
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
150
+ end
151
+ end
152
+
110
153
  # unit tests for partial_update
111
154
  # Update a gem repository
112
155
  # Trigger an asynchronous partial update task
@@ -134,6 +177,19 @@ describe 'RepositoriesGemApi' do
134
177
  end
135
178
  end
136
179
 
180
+ # unit tests for remove_role
181
+ # Remove a role
182
+ # Remove a role for this object from users/groups.
183
+ # @param gem_gem_repository_href
184
+ # @param nested_role
185
+ # @param [Hash] opts the optional parameters
186
+ # @return [NestedRoleResponse]
187
+ describe 'remove_role test' do
188
+ it 'should work' do
189
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
190
+ end
191
+ end
192
+
137
193
  # unit tests for set_label
138
194
  # Set a label
139
195
  # Set a single pulp_label on the object to a specific value or null.
@@ -0,0 +1,41 @@
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
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for PulpGemClient::MyPermissionsResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'MyPermissionsResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpGemClient::MyPermissionsResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of MyPermissionsResponse' do
31
+ it 'should create an instance of MyPermissionsResponse' do
32
+ expect(@instance).to be_instance_of(PulpGemClient::MyPermissionsResponse)
33
+ end
34
+ end
35
+ describe 'test attribute "permissions"' 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
+ end
@@ -0,0 +1,53 @@
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
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for PulpGemClient::NestedRoleResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'NestedRoleResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpGemClient::NestedRoleResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of NestedRoleResponse' do
31
+ it 'should create an instance of NestedRoleResponse' do
32
+ expect(@instance).to be_instance_of(PulpGemClient::NestedRoleResponse)
33
+ end
34
+ end
35
+ describe 'test attribute "users"' 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 "groups"' 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 "role"' 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
+ end
@@ -0,0 +1,53 @@
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
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for PulpGemClient::NestedRole
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'NestedRole' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpGemClient::NestedRole.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of NestedRole' do
31
+ it 'should create an instance of NestedRole' do
32
+ expect(@instance).to be_instance_of(PulpGemClient::NestedRole)
33
+ end
34
+ end
35
+ describe 'test attribute "users"' 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 "groups"' 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 "role"' 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
+ end
@@ -0,0 +1,41 @@
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
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for PulpGemClient::ObjectRolesResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'ObjectRolesResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpGemClient::ObjectRolesResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of ObjectRolesResponse' do
31
+ it 'should create an instance of ObjectRolesResponse' do
32
+ expect(@instance).to be_instance_of(PulpGemClient::ObjectRolesResponse)
33
+ end
34
+ end
35
+ describe 'test attribute "roles"' 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
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulp_gem_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.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: 2023-09-18 00:00:00.000000000 Z
11
+ date: 2023-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -95,6 +95,10 @@ files:
95
95
  - docs/GemGemRemoteResponseHiddenFields.md
96
96
  - docs/GemGemRepository.md
97
97
  - docs/GemGemRepositoryResponse.md
98
+ - docs/MyPermissionsResponse.md
99
+ - docs/NestedRole.md
100
+ - docs/NestedRoleResponse.md
101
+ - docs/ObjectRolesResponse.md
98
102
  - docs/PaginatedRepositoryVersionResponseList.md
99
103
  - docs/PaginatedgemGemContentResponseList.md
100
104
  - docs/PaginatedgemGemDistributionResponseList.md
@@ -140,6 +144,10 @@ files:
140
144
  - lib/pulp_gem_client/models/gem_gem_remote_response_hidden_fields.rb
141
145
  - lib/pulp_gem_client/models/gem_gem_repository.rb
142
146
  - lib/pulp_gem_client/models/gem_gem_repository_response.rb
147
+ - lib/pulp_gem_client/models/my_permissions_response.rb
148
+ - lib/pulp_gem_client/models/nested_role.rb
149
+ - lib/pulp_gem_client/models/nested_role_response.rb
150
+ - lib/pulp_gem_client/models/object_roles_response.rb
143
151
  - lib/pulp_gem_client/models/paginated_repository_version_response_list.rb
144
152
  - lib/pulp_gem_client/models/paginatedgem_gem_content_response_list.rb
145
153
  - lib/pulp_gem_client/models/paginatedgem_gem_distribution_response_list.rb
@@ -181,6 +189,10 @@ files:
181
189
  - spec/models/gem_gem_remote_spec.rb
182
190
  - spec/models/gem_gem_repository_response_spec.rb
183
191
  - spec/models/gem_gem_repository_spec.rb
192
+ - spec/models/my_permissions_response_spec.rb
193
+ - spec/models/nested_role_response_spec.rb
194
+ - spec/models/nested_role_spec.rb
195
+ - spec/models/object_roles_response_spec.rb
184
196
  - spec/models/paginated_repository_version_response_list_spec.rb
185
197
  - spec/models/paginatedgem_gem_content_response_list_spec.rb
186
198
  - spec/models/paginatedgem_gem_distribution_response_list_spec.rb
@@ -224,43 +236,47 @@ signing_key:
224
236
  specification_version: 4
225
237
  summary: Pulp 3 API Ruby Gem
226
238
  test_files:
227
- - spec/api/repositories_gem_api_spec.rb
239
+ - spec/api/publications_gem_api_spec.rb
228
240
  - spec/api/remotes_gem_api_spec.rb
229
- - spec/api/distributions_gem_api_spec.rb
230
- - spec/api/repositories_gem_versions_api_spec.rb
241
+ - spec/api/repositories_gem_api_spec.rb
231
242
  - spec/api/content_gem_api_spec.rb
232
- - spec/api/publications_gem_api_spec.rb
243
+ - spec/api/repositories_gem_versions_api_spec.rb
244
+ - spec/api/distributions_gem_api_spec.rb
233
245
  - spec/api_client_spec.rb
234
246
  - spec/configuration_spec.rb
247
+ - spec/models/my_permissions_response_spec.rb
235
248
  - spec/models/repository_sync_url_spec.rb
236
- - spec/models/patchedgem_gem_distribution_spec.rb
237
- - spec/models/gem_gem_publication_response_spec.rb
238
- - spec/models/async_operation_response_spec.rb
239
- - spec/models/repair_spec.rb
249
+ - spec/models/paginatedgem_gem_publication_response_list_spec.rb
250
+ - spec/models/nested_role_response_spec.rb
251
+ - spec/models/gem_gem_repository_spec.rb
252
+ - spec/models/paginatedgem_gem_remote_response_list_spec.rb
240
253
  - spec/models/gem_gem_remote_spec.rb
241
- - spec/models/unset_label_response_spec.rb
242
- - spec/models/set_label_response_spec.rb
243
- - spec/models/repository_add_remove_content_spec.rb
254
+ - spec/models/unset_label_spec.rb
244
255
  - spec/models/paginatedgem_gem_repository_response_list_spec.rb
245
- - spec/models/gem_gem_distribution_spec.rb
246
256
  - spec/models/gem_gem_publication_spec.rb
247
- - spec/models/paginatedgem_gem_publication_response_list_spec.rb
248
- - spec/models/gem_gem_remote_response_spec.rb
249
- - spec/models/set_label_spec.rb
250
- - spec/models/paginated_repository_version_response_list_spec.rb
251
- - spec/models/gem_gem_content_response_spec.rb
252
- - spec/models/gem_gem_repository_response_spec.rb
253
- - spec/models/paginatedgem_gem_remote_response_list_spec.rb
254
- - spec/models/paginatedgem_gem_content_response_list_spec.rb
255
- - spec/models/gem_gem_repository_spec.rb
256
257
  - spec/models/paginatedgem_gem_distribution_response_list_spec.rb
257
- - spec/models/gem_gem_content_spec.rb
258
- - spec/models/patchedgem_gem_remote_spec.rb
259
- - spec/models/gem_gem_remote_response_hidden_fields_spec.rb
260
258
  - spec/models/repository_version_response_spec.rb
261
- - spec/models/unset_label_spec.rb
259
+ - spec/models/gem_gem_remote_response_hidden_fields_spec.rb
260
+ - spec/models/nested_role_spec.rb
261
+ - spec/models/paginated_repository_version_response_list_spec.rb
262
+ - spec/models/gem_gem_repository_response_spec.rb
263
+ - spec/models/set_label_spec.rb
262
264
  - spec/models/content_summary_response_spec.rb
265
+ - spec/models/object_roles_response_spec.rb
266
+ - spec/models/async_operation_response_spec.rb
263
267
  - spec/models/patchedgem_gem_repository_spec.rb
264
268
  - spec/models/policy_enum_spec.rb
269
+ - spec/models/paginatedgem_gem_content_response_list_spec.rb
265
270
  - spec/models/gem_gem_distribution_response_spec.rb
271
+ - spec/models/patchedgem_gem_remote_spec.rb
272
+ - spec/models/gem_gem_content_spec.rb
273
+ - spec/models/unset_label_response_spec.rb
274
+ - spec/models/patchedgem_gem_distribution_spec.rb
275
+ - spec/models/repair_spec.rb
276
+ - spec/models/gem_gem_remote_response_spec.rb
277
+ - spec/models/gem_gem_content_response_spec.rb
278
+ - spec/models/gem_gem_distribution_spec.rb
279
+ - spec/models/repository_add_remove_content_spec.rb
280
+ - spec/models/gem_gem_publication_response_spec.rb
281
+ - spec/models/set_label_response_spec.rb
266
282
  - spec/spec_helper.rb