pulp_gem_client 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +11 -8
- data/docs/AsyncOperationResponse.md +8 -7
- data/docs/ContentGemApi.md +118 -66
- data/docs/ContentSummaryResponse.md +12 -11
- data/docs/DistributionsGemApi.md +388 -183
- data/docs/GemGemContentResponse.md +32 -29
- data/docs/GemGemDistribution.md +22 -21
- data/docs/GemGemDistributionResponse.md +34 -29
- data/docs/GemGemPublication.md +10 -9
- data/docs/GemGemPublicationResponse.md +18 -15
- data/docs/GemGemRemote.md +54 -53
- data/docs/GemGemRemoteResponse.md +54 -51
- data/docs/GemGemRemoteResponseHiddenFieldsInner.md +20 -0
- data/docs/GemGemRepository.md +16 -15
- data/docs/GemGemRepositoryResponse.md +28 -25
- data/docs/MyPermissionsResponse.md +8 -7
- data/docs/NestedRole.md +12 -11
- data/docs/NestedRoleResponse.md +12 -11
- data/docs/ObjectRolesResponse.md +8 -7
- data/docs/PaginatedRepositoryVersionResponseList.md +14 -13
- data/docs/PaginatedgemGemContentResponseList.md +14 -13
- data/docs/PaginatedgemGemDistributionResponseList.md +14 -13
- data/docs/PaginatedgemGemPublicationResponseList.md +14 -13
- data/docs/PaginatedgemGemRemoteResponseList.md +14 -13
- data/docs/PaginatedgemGemRepositoryResponseList.md +14 -13
- data/docs/PatchedgemGemDistribution.md +22 -21
- data/docs/PatchedgemGemRemote.md +54 -53
- data/docs/PatchedgemGemRepository.md +16 -15
- data/docs/PolicyEnum.md +4 -5
- data/docs/PublicationsGemApi.md +271 -132
- data/docs/RemotesGemApi.md +392 -185
- data/docs/Repair.md +8 -7
- data/docs/RepositoriesGemApi.md +449 -210
- data/docs/RepositoriesGemVersionsApi.md +155 -83
- data/docs/RepositoryAddRemoveContent.md +12 -11
- data/docs/RepositorySyncURL.md +10 -9
- data/docs/RepositoryVersionResponse.md +22 -19
- data/docs/SetLabel.md +10 -9
- data/docs/SetLabelResponse.md +10 -9
- data/docs/UnsetLabel.md +8 -7
- data/docs/UnsetLabelResponse.md +10 -9
- data/lib/pulp_gem_client/api/content_gem_api.rb +31 -22
- data/lib/pulp_gem_client/api/distributions_gem_api.rb +94 -58
- data/lib/pulp_gem_client/api/publications_gem_api.rb +81 -58
- data/lib/pulp_gem_client/api/remotes_gem_api.rb +109 -70
- data/lib/pulp_gem_client/api/repositories_gem_api.rb +116 -72
- data/lib/pulp_gem_client/api/repositories_gem_versions_api.rb +50 -37
- data/lib/pulp_gem_client/api_client.rb +137 -102
- data/lib/pulp_gem_client/api_error.rb +2 -1
- data/lib/pulp_gem_client/configuration.rb +162 -21
- data/lib/pulp_gem_client/models/async_operation_response.rb +32 -22
- data/lib/pulp_gem_client/models/content_summary_response.rb +36 -22
- data/lib/pulp_gem_client/models/gem_gem_content_response.rb +45 -25
- data/lib/pulp_gem_client/models/gem_gem_distribution.rb +34 -22
- data/lib/pulp_gem_client/models/gem_gem_distribution_response.rb +57 -25
- data/lib/pulp_gem_client/models/gem_gem_publication.rb +30 -22
- data/lib/pulp_gem_client/models/gem_gem_publication_response.rb +43 -25
- data/lib/pulp_gem_client/models/gem_gem_remote.rb +56 -22
- data/lib/pulp_gem_client/models/gem_gem_remote_response.rb +70 -26
- data/lib/pulp_gem_client/models/{gem_gem_remote_response_hidden_fields.rb → gem_gem_remote_response_hidden_fields_inner.rb} +37 -25
- data/lib/pulp_gem_client/models/gem_gem_repository.rb +32 -22
- data/lib/pulp_gem_client/models/gem_gem_repository_response.rb +45 -25
- data/lib/pulp_gem_client/models/my_permissions_response.rb +32 -22
- data/lib/pulp_gem_client/models/nested_role.rb +32 -22
- data/lib/pulp_gem_client/models/nested_role_response.rb +32 -22
- data/lib/pulp_gem_client/models/object_roles_response.rb +32 -22
- data/lib/pulp_gem_client/models/paginated_repository_version_response_list.rb +34 -22
- data/lib/pulp_gem_client/models/paginatedgem_gem_content_response_list.rb +34 -22
- data/lib/pulp_gem_client/models/paginatedgem_gem_distribution_response_list.rb +34 -22
- data/lib/pulp_gem_client/models/paginatedgem_gem_publication_response_list.rb +34 -22
- data/lib/pulp_gem_client/models/paginatedgem_gem_remote_response_list.rb +34 -22
- data/lib/pulp_gem_client/models/paginatedgem_gem_repository_response_list.rb +34 -22
- data/lib/pulp_gem_client/models/patchedgem_gem_distribution.rb +40 -24
- data/lib/pulp_gem_client/models/patchedgem_gem_remote.rb +62 -24
- data/lib/pulp_gem_client/models/patchedgem_gem_repository.rb +35 -23
- data/lib/pulp_gem_client/models/policy_enum.rb +8 -4
- data/lib/pulp_gem_client/models/repair.rb +30 -22
- data/lib/pulp_gem_client/models/repository_add_remove_content.rb +31 -23
- data/lib/pulp_gem_client/models/repository_sync_url.rb +30 -22
- data/lib/pulp_gem_client/models/repository_version_response.rb +44 -26
- data/lib/pulp_gem_client/models/set_label.rb +34 -22
- data/lib/pulp_gem_client/models/set_label_response.rb +34 -22
- data/lib/pulp_gem_client/models/unset_label.rb +32 -22
- data/lib/pulp_gem_client/models/unset_label_response.rb +32 -22
- data/lib/pulp_gem_client/version.rb +2 -2
- data/lib/pulp_gem_client.rb +2 -3
- data/pulp_gem_client.gemspec +9 -6
- data/spec/api/content_gem_api_spec.rb +9 -8
- data/spec/api/distributions_gem_api_spec.rb +15 -14
- data/spec/api/publications_gem_api_spec.rb +22 -20
- data/spec/api/remotes_gem_api_spec.rb +22 -20
- data/spec/api/repositories_gem_api_spec.rb +19 -18
- data/spec/api/repositories_gem_versions_api_spec.rb +16 -14
- data/spec/models/async_operation_response_spec.rb +7 -12
- data/spec/models/content_summary_response_spec.rb +9 -14
- data/spec/models/gem_gem_content_response_spec.rb +24 -23
- data/spec/models/gem_gem_distribution_response_spec.rb +30 -23
- data/spec/models/gem_gem_distribution_spec.rb +14 -19
- data/spec/models/gem_gem_publication_response_spec.rb +17 -16
- data/spec/models/gem_gem_publication_spec.rb +8 -13
- data/spec/models/{gem_gem_remote_response_hidden_fields_spec.rb → gem_gem_remote_response_hidden_fields_inner_spec.rb} +11 -16
- data/spec/models/gem_gem_remote_response_spec.rb +35 -34
- data/spec/models/gem_gem_remote_spec.rb +30 -35
- data/spec/models/gem_gem_repository_response_spec.rb +22 -21
- data/spec/models/gem_gem_repository_spec.rb +11 -16
- data/spec/models/my_permissions_response_spec.rb +7 -12
- data/spec/models/nested_role_response_spec.rb +9 -14
- data/spec/models/nested_role_spec.rb +9 -14
- data/spec/models/object_roles_response_spec.rb +7 -12
- data/spec/models/paginated_repository_version_response_list_spec.rb +10 -15
- data/spec/models/paginatedgem_gem_content_response_list_spec.rb +10 -15
- data/spec/models/paginatedgem_gem_distribution_response_list_spec.rb +10 -15
- data/spec/models/paginatedgem_gem_publication_response_list_spec.rb +10 -15
- data/spec/models/paginatedgem_gem_remote_response_list_spec.rb +10 -15
- data/spec/models/paginatedgem_gem_repository_response_list_spec.rb +10 -15
- data/spec/models/patchedgem_gem_distribution_spec.rb +14 -19
- data/spec/models/patchedgem_gem_remote_spec.rb +30 -35
- data/spec/models/patchedgem_gem_repository_spec.rb +11 -16
- data/spec/models/policy_enum_spec.rb +6 -11
- data/spec/models/repair_spec.rb +7 -12
- data/spec/models/repository_add_remove_content_spec.rb +9 -14
- data/spec/models/repository_sync_url_spec.rb +8 -13
- data/spec/models/repository_version_response_spec.rb +19 -18
- data/spec/models/set_label_response_spec.rb +8 -13
- data/spec/models/set_label_spec.rb +8 -13
- data/spec/models/unset_label_response_spec.rb +8 -13
- data/spec/models/unset_label_spec.rb +7 -12
- data/spec/spec_helper.rb +1 -1
- metadata +80 -60
- data/docs/GemGemContent.md +0 -21
- data/docs/GemGemRemoteResponseHiddenFields.md +0 -19
- data/lib/pulp_gem_client/models/gem_gem_content.rb +0 -228
- data/spec/api_client_spec.rb +0 -188
- data/spec/configuration_spec.rb +0 -42
- data/spec/models/gem_gem_content_spec.rb +0 -53
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.10.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -41,7 +41,7 @@ describe 'PublicationsGemApi' do
|
|
41
41
|
# @return [NestedRoleResponse]
|
42
42
|
describe 'add_role test' do
|
43
43
|
it 'should work' do
|
44
|
-
# assertion here. ref: https://
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
45
|
end
|
46
46
|
end
|
47
47
|
|
@@ -53,7 +53,7 @@ describe 'PublicationsGemApi' do
|
|
53
53
|
# @return [AsyncOperationResponse]
|
54
54
|
describe 'create test' do
|
55
55
|
it 'should work' do
|
56
|
-
# assertion here. ref: https://
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
57
57
|
end
|
58
58
|
end
|
59
59
|
|
@@ -65,7 +65,7 @@ describe 'PublicationsGemApi' do
|
|
65
65
|
# @return [nil]
|
66
66
|
describe 'delete test' do
|
67
67
|
it 'should work' do
|
68
|
-
# assertion here. ref: https://
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
69
69
|
end
|
70
70
|
end
|
71
71
|
|
@@ -73,28 +73,30 @@ describe 'PublicationsGemApi' do
|
|
73
73
|
# List gem publications
|
74
74
|
# A ViewSet for GemPublication.
|
75
75
|
# @param [Hash] opts the optional parameters
|
76
|
-
# @option opts [String] :content Content Unit referenced by HREF
|
77
|
-
# @option opts [String] :content__in
|
76
|
+
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
77
|
+
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
78
78
|
# @option opts [Integer] :limit Number of results to return per page.
|
79
79
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
80
80
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
81
|
-
# @option opts [
|
82
|
-
# @option opts [
|
83
|
-
# @option opts [
|
84
|
-
# @option opts [
|
85
|
-
# @option opts [
|
86
|
-
# @option opts [
|
81
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
82
|
+
# @option opts [Time] :pulp_created Filter results where pulp_created matches value
|
83
|
+
# @option opts [Time] :pulp_created__gt Filter results where pulp_created is greater than value
|
84
|
+
# @option opts [Time] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
85
|
+
# @option opts [Boolean] :pulp_created__isnull Filter results where pulp_created has a null value
|
86
|
+
# @option opts [Time] :pulp_created__lt Filter results where pulp_created is less than value
|
87
|
+
# @option opts [Time] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
88
|
+
# @option opts [Array<Time>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
87
89
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
88
90
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
89
|
-
# @option opts [String] :q
|
90
|
-
# @option opts [String] :repository Repository referenced by HREF
|
91
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
91
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
92
|
+
# @option opts [String] :repository Repository referenced by HREF/PRN
|
93
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
92
94
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
93
95
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
94
96
|
# @return [PaginatedgemGemPublicationResponseList]
|
95
97
|
describe 'list test' do
|
96
98
|
it 'should work' do
|
97
|
-
# assertion here. ref: https://
|
99
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
98
100
|
end
|
99
101
|
end
|
100
102
|
|
@@ -108,7 +110,7 @@ describe 'PublicationsGemApi' do
|
|
108
110
|
# @return [ObjectRolesResponse]
|
109
111
|
describe 'list_roles test' do
|
110
112
|
it 'should work' do
|
111
|
-
# assertion here. ref: https://
|
113
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
112
114
|
end
|
113
115
|
end
|
114
116
|
|
@@ -122,7 +124,7 @@ describe 'PublicationsGemApi' do
|
|
122
124
|
# @return [MyPermissionsResponse]
|
123
125
|
describe 'my_permissions test' do
|
124
126
|
it 'should work' do
|
125
|
-
# assertion here. ref: https://
|
127
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
126
128
|
end
|
127
129
|
end
|
128
130
|
|
@@ -136,7 +138,7 @@ describe 'PublicationsGemApi' do
|
|
136
138
|
# @return [GemGemPublicationResponse]
|
137
139
|
describe 'read test' do
|
138
140
|
it 'should work' do
|
139
|
-
# assertion here. ref: https://
|
141
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
140
142
|
end
|
141
143
|
end
|
142
144
|
|
@@ -149,7 +151,7 @@ describe 'PublicationsGemApi' do
|
|
149
151
|
# @return [NestedRoleResponse]
|
150
152
|
describe 'remove_role test' do
|
151
153
|
it 'should work' do
|
152
|
-
# assertion here. ref: https://
|
154
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
153
155
|
end
|
154
156
|
end
|
155
157
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.10.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -41,7 +41,7 @@ describe 'RemotesGemApi' do
|
|
41
41
|
# @return [NestedRoleResponse]
|
42
42
|
describe 'add_role test' do
|
43
43
|
it 'should work' do
|
44
|
-
# assertion here. ref: https://
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
45
|
end
|
46
46
|
end
|
47
47
|
|
@@ -53,7 +53,7 @@ describe 'RemotesGemApi' do
|
|
53
53
|
# @return [GemGemRemoteResponse]
|
54
54
|
describe 'create test' do
|
55
55
|
it 'should work' do
|
56
|
-
# assertion here. ref: https://
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
57
57
|
end
|
58
58
|
end
|
59
59
|
|
@@ -65,7 +65,7 @@ describe 'RemotesGemApi' do
|
|
65
65
|
# @return [AsyncOperationResponse]
|
66
66
|
describe 'delete test' do
|
67
67
|
it 'should work' do
|
68
|
-
# assertion here. ref: https://
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
69
69
|
end
|
70
70
|
end
|
71
71
|
|
@@ -85,22 +85,24 @@ describe 'RemotesGemApi' do
|
|
85
85
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
86
86
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
87
87
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
88
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
88
89
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
89
90
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
90
91
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
91
|
-
# @option opts [
|
92
|
-
# @option opts [
|
93
|
-
# @option opts [
|
94
|
-
# @option opts [
|
95
|
-
# @option opts [
|
96
|
-
# @option opts [
|
97
|
-
# @option opts [
|
92
|
+
# @option opts [Time] :pulp_last_updated Filter results where pulp_last_updated matches value
|
93
|
+
# @option opts [Time] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
94
|
+
# @option opts [Time] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
95
|
+
# @option opts [Boolean] :pulp_last_updated__isnull Filter results where pulp_last_updated has a null value
|
96
|
+
# @option opts [Time] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
97
|
+
# @option opts [Time] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
98
|
+
# @option opts [Array<Time>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
99
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
98
100
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
99
101
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
100
102
|
# @return [PaginatedgemGemRemoteResponseList]
|
101
103
|
describe 'list test' do
|
102
104
|
it 'should work' do
|
103
|
-
# assertion here. ref: https://
|
105
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
104
106
|
end
|
105
107
|
end
|
106
108
|
|
@@ -114,7 +116,7 @@ describe 'RemotesGemApi' do
|
|
114
116
|
# @return [ObjectRolesResponse]
|
115
117
|
describe 'list_roles test' do
|
116
118
|
it 'should work' do
|
117
|
-
# assertion here. ref: https://
|
119
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
118
120
|
end
|
119
121
|
end
|
120
122
|
|
@@ -128,7 +130,7 @@ describe 'RemotesGemApi' do
|
|
128
130
|
# @return [MyPermissionsResponse]
|
129
131
|
describe 'my_permissions test' do
|
130
132
|
it 'should work' do
|
131
|
-
# assertion here. ref: https://
|
133
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
132
134
|
end
|
133
135
|
end
|
134
136
|
|
@@ -141,7 +143,7 @@ describe 'RemotesGemApi' do
|
|
141
143
|
# @return [AsyncOperationResponse]
|
142
144
|
describe 'partial_update test' do
|
143
145
|
it 'should work' do
|
144
|
-
# assertion here. ref: https://
|
146
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
145
147
|
end
|
146
148
|
end
|
147
149
|
|
@@ -155,7 +157,7 @@ describe 'RemotesGemApi' do
|
|
155
157
|
# @return [GemGemRemoteResponse]
|
156
158
|
describe 'read test' do
|
157
159
|
it 'should work' do
|
158
|
-
# assertion here. ref: https://
|
160
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
159
161
|
end
|
160
162
|
end
|
161
163
|
|
@@ -168,7 +170,7 @@ describe 'RemotesGemApi' do
|
|
168
170
|
# @return [NestedRoleResponse]
|
169
171
|
describe 'remove_role test' do
|
170
172
|
it 'should work' do
|
171
|
-
# assertion here. ref: https://
|
173
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
172
174
|
end
|
173
175
|
end
|
174
176
|
|
@@ -181,7 +183,7 @@ describe 'RemotesGemApi' do
|
|
181
183
|
# @return [SetLabelResponse]
|
182
184
|
describe 'set_label test' do
|
183
185
|
it 'should work' do
|
184
|
-
# assertion here. ref: https://
|
186
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
185
187
|
end
|
186
188
|
end
|
187
189
|
|
@@ -194,7 +196,7 @@ describe 'RemotesGemApi' do
|
|
194
196
|
# @return [UnsetLabelResponse]
|
195
197
|
describe 'unset_label test' do
|
196
198
|
it 'should work' do
|
197
|
-
# assertion here. ref: https://
|
199
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
198
200
|
end
|
199
201
|
end
|
200
202
|
|
@@ -207,7 +209,7 @@ describe 'RemotesGemApi' do
|
|
207
209
|
# @return [AsyncOperationResponse]
|
208
210
|
describe 'update test' do
|
209
211
|
it 'should work' do
|
210
|
-
# assertion here. ref: https://
|
212
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
211
213
|
end
|
212
214
|
end
|
213
215
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.10.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -41,7 +41,7 @@ describe 'RepositoriesGemApi' do
|
|
41
41
|
# @return [NestedRoleResponse]
|
42
42
|
describe 'add_role test' do
|
43
43
|
it 'should work' do
|
44
|
-
# assertion here. ref: https://
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
45
|
end
|
46
46
|
end
|
47
47
|
|
@@ -53,7 +53,7 @@ describe 'RepositoriesGemApi' do
|
|
53
53
|
# @return [GemGemRepositoryResponse]
|
54
54
|
describe 'create test' do
|
55
55
|
it 'should work' do
|
56
|
-
# assertion here. ref: https://
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
57
57
|
end
|
58
58
|
end
|
59
59
|
|
@@ -65,7 +65,7 @@ describe 'RepositoriesGemApi' do
|
|
65
65
|
# @return [AsyncOperationResponse]
|
66
66
|
describe 'delete test' do
|
67
67
|
it 'should work' do
|
68
|
-
# assertion here. ref: https://
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
69
69
|
end
|
70
70
|
end
|
71
71
|
|
@@ -73,7 +73,7 @@ describe 'RepositoriesGemApi' do
|
|
73
73
|
# List gem repositorys
|
74
74
|
# A ViewSet for GemRepository.
|
75
75
|
# @param [Hash] opts the optional parameters
|
76
|
-
# @option opts [String] :latest_with_content Content Unit referenced by HREF
|
76
|
+
# @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
|
77
77
|
# @option opts [Integer] :limit Number of results to return per page.
|
78
78
|
# @option opts [String] :name Filter results where name matches value
|
79
79
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -86,10 +86,11 @@ describe 'RepositoriesGemApi' do
|
|
86
86
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
87
87
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
88
88
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
89
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
89
90
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
90
91
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
91
92
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
92
|
-
# @option opts [String] :q
|
93
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
93
94
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
94
95
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
95
96
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
@@ -99,13 +100,13 @@ describe 'RepositoriesGemApi' do
|
|
99
100
|
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
100
101
|
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
101
102
|
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
102
|
-
# @option opts [String] :with_content Content Unit referenced by HREF
|
103
|
+
# @option opts [String] :with_content Content Unit referenced by HREF/PRN
|
103
104
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
104
105
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
105
106
|
# @return [PaginatedgemGemRepositoryResponseList]
|
106
107
|
describe 'list test' do
|
107
108
|
it 'should work' do
|
108
|
-
# assertion here. ref: https://
|
109
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
109
110
|
end
|
110
111
|
end
|
111
112
|
|
@@ -119,7 +120,7 @@ describe 'RepositoriesGemApi' do
|
|
119
120
|
# @return [ObjectRolesResponse]
|
120
121
|
describe 'list_roles test' do
|
121
122
|
it 'should work' do
|
122
|
-
# assertion here. ref: https://
|
123
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
123
124
|
end
|
124
125
|
end
|
125
126
|
|
@@ -132,7 +133,7 @@ describe 'RepositoriesGemApi' do
|
|
132
133
|
# @return [AsyncOperationResponse]
|
133
134
|
describe 'modify test' do
|
134
135
|
it 'should work' do
|
135
|
-
# assertion here. ref: https://
|
136
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
136
137
|
end
|
137
138
|
end
|
138
139
|
|
@@ -146,7 +147,7 @@ describe 'RepositoriesGemApi' do
|
|
146
147
|
# @return [MyPermissionsResponse]
|
147
148
|
describe 'my_permissions test' do
|
148
149
|
it 'should work' do
|
149
|
-
# assertion here. ref: https://
|
150
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
150
151
|
end
|
151
152
|
end
|
152
153
|
|
@@ -159,7 +160,7 @@ describe 'RepositoriesGemApi' do
|
|
159
160
|
# @return [AsyncOperationResponse]
|
160
161
|
describe 'partial_update test' do
|
161
162
|
it 'should work' do
|
162
|
-
# assertion here. ref: https://
|
163
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
163
164
|
end
|
164
165
|
end
|
165
166
|
|
@@ -173,7 +174,7 @@ describe 'RepositoriesGemApi' do
|
|
173
174
|
# @return [GemGemRepositoryResponse]
|
174
175
|
describe 'read test' do
|
175
176
|
it 'should work' do
|
176
|
-
# assertion here. ref: https://
|
177
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
177
178
|
end
|
178
179
|
end
|
179
180
|
|
@@ -186,7 +187,7 @@ describe 'RepositoriesGemApi' do
|
|
186
187
|
# @return [NestedRoleResponse]
|
187
188
|
describe 'remove_role test' do
|
188
189
|
it 'should work' do
|
189
|
-
# assertion here. ref: https://
|
190
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
190
191
|
end
|
191
192
|
end
|
192
193
|
|
@@ -199,7 +200,7 @@ describe 'RepositoriesGemApi' do
|
|
199
200
|
# @return [SetLabelResponse]
|
200
201
|
describe 'set_label test' do
|
201
202
|
it 'should work' do
|
202
|
-
# assertion here. ref: https://
|
203
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
203
204
|
end
|
204
205
|
end
|
205
206
|
|
@@ -212,7 +213,7 @@ describe 'RepositoriesGemApi' do
|
|
212
213
|
# @return [AsyncOperationResponse]
|
213
214
|
describe 'sync test' do
|
214
215
|
it 'should work' do
|
215
|
-
# assertion here. ref: https://
|
216
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
216
217
|
end
|
217
218
|
end
|
218
219
|
|
@@ -225,7 +226,7 @@ describe 'RepositoriesGemApi' do
|
|
225
226
|
# @return [UnsetLabelResponse]
|
226
227
|
describe 'unset_label test' do
|
227
228
|
it 'should work' do
|
228
|
-
# assertion here. ref: https://
|
229
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
229
230
|
end
|
230
231
|
end
|
231
232
|
|
@@ -238,7 +239,7 @@ describe 'RepositoriesGemApi' do
|
|
238
239
|
# @return [AsyncOperationResponse]
|
239
240
|
describe 'update test' do
|
240
241
|
it 'should work' do
|
241
|
-
# assertion here. ref: https://
|
242
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
242
243
|
end
|
243
244
|
end
|
244
245
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.10.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -40,7 +40,7 @@ describe 'RepositoriesGemVersionsApi' do
|
|
40
40
|
# @return [AsyncOperationResponse]
|
41
41
|
describe 'delete test' do
|
42
42
|
it 'should work' do
|
43
|
-
# assertion here. ref: https://
|
43
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
@@ -49,8 +49,8 @@ describe 'RepositoriesGemVersionsApi' do
|
|
49
49
|
# A ViewSet for a GemRepositoryVersion represents a single Gem repository version.
|
50
50
|
# @param gem_gem_repository_href
|
51
51
|
# @param [Hash] opts the optional parameters
|
52
|
-
# @option opts [String] :content Content Unit referenced by HREF
|
53
|
-
# @option opts [String] :content__in
|
52
|
+
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
53
|
+
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
54
54
|
# @option opts [Integer] :limit Number of results to return per page.
|
55
55
|
# @option opts [Integer] :number Filter results where number matches value
|
56
56
|
# @option opts [Integer] :number__gt Filter results where number is greater than value
|
@@ -60,20 +60,22 @@ describe 'RepositoriesGemVersionsApi' do
|
|
60
60
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
61
61
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
62
62
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
63
|
-
# @option opts [
|
64
|
-
# @option opts [
|
65
|
-
# @option opts [
|
66
|
-
# @option opts [
|
67
|
-
# @option opts [
|
68
|
-
# @option opts [
|
63
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
64
|
+
# @option opts [Time] :pulp_created Filter results where pulp_created matches value
|
65
|
+
# @option opts [Time] :pulp_created__gt Filter results where pulp_created is greater than value
|
66
|
+
# @option opts [Time] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
67
|
+
# @option opts [Boolean] :pulp_created__isnull Filter results where pulp_created has a null value
|
68
|
+
# @option opts [Time] :pulp_created__lt Filter results where pulp_created is less than value
|
69
|
+
# @option opts [Time] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
70
|
+
# @option opts [Array<Time>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
69
71
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
70
|
-
# @option opts [String] :q
|
72
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
71
73
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
72
74
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
73
75
|
# @return [PaginatedRepositoryVersionResponseList]
|
74
76
|
describe 'list test' do
|
75
77
|
it 'should work' do
|
76
|
-
# assertion here. ref: https://
|
78
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
77
79
|
end
|
78
80
|
end
|
79
81
|
|
@@ -87,7 +89,7 @@ describe 'RepositoriesGemVersionsApi' do
|
|
87
89
|
# @return [RepositoryVersionResponse]
|
88
90
|
describe 'read test' do
|
89
91
|
it 'should work' do
|
90
|
-
# assertion here. ref: https://
|
92
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
91
93
|
end
|
92
94
|
end
|
93
95
|
|
@@ -99,7 +101,7 @@ describe 'RepositoriesGemVersionsApi' do
|
|
99
101
|
# @return [AsyncOperationResponse]
|
100
102
|
describe 'repair test' do
|
101
103
|
it 'should work' do
|
102
|
-
# assertion here. ref: https://
|
104
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
103
105
|
end
|
104
106
|
end
|
105
107
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.10.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -17,24 +17,19 @@ require 'date'
|
|
17
17
|
# Unit tests for PulpGemClient::AsyncOperationResponse
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe
|
21
|
-
|
22
|
-
# run before each test
|
23
|
-
@instance = PulpGemClient::AsyncOperationResponse.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
20
|
+
describe PulpGemClient::AsyncOperationResponse do
|
21
|
+
let(:instance) { PulpGemClient::AsyncOperationResponse.new }
|
29
22
|
|
30
23
|
describe 'test an instance of AsyncOperationResponse' do
|
31
24
|
it 'should create an instance of AsyncOperationResponse' do
|
32
|
-
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(PulpGemClient::AsyncOperationResponse)
|
33
27
|
end
|
34
28
|
end
|
29
|
+
|
35
30
|
describe 'test attribute "task"' do
|
36
31
|
it 'should work' do
|
37
|
-
# assertion here. ref: https://
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
38
33
|
end
|
39
34
|
end
|
40
35
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.10.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -17,36 +17,31 @@ require 'date'
|
|
17
17
|
# Unit tests for PulpGemClient::ContentSummaryResponse
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe
|
21
|
-
|
22
|
-
# run before each test
|
23
|
-
@instance = PulpGemClient::ContentSummaryResponse.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
20
|
+
describe PulpGemClient::ContentSummaryResponse do
|
21
|
+
let(:instance) { PulpGemClient::ContentSummaryResponse.new }
|
29
22
|
|
30
23
|
describe 'test an instance of ContentSummaryResponse' do
|
31
24
|
it 'should create an instance of ContentSummaryResponse' do
|
32
|
-
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(PulpGemClient::ContentSummaryResponse)
|
33
27
|
end
|
34
28
|
end
|
29
|
+
|
35
30
|
describe 'test attribute "added"' do
|
36
31
|
it 'should work' do
|
37
|
-
# assertion here. ref: https://
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
38
33
|
end
|
39
34
|
end
|
40
35
|
|
41
36
|
describe 'test attribute "removed"' do
|
42
37
|
it 'should work' do
|
43
|
-
# assertion here. ref: https://
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
44
39
|
end
|
45
40
|
end
|
46
41
|
|
47
42
|
describe 'test attribute "present"' do
|
48
43
|
it 'should work' do
|
49
|
-
# assertion here. ref: https://
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
50
45
|
end
|
51
46
|
end
|
52
47
|
|