pulp_deb_client 2.12.0 → 2.14.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/README.md +8 -8
- data/docs/DebAptRemote.md +7 -5
- data/docs/DebAptRemoteResponse.md +7 -5
- data/docs/PatcheddebAptRemote.md +7 -5
- data/docs/{RepositoriesDebVersionsApi.md → RepositoriesAptVersionsApi.md} +13 -13
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/lib/pulp_deb_client.rb +2 -2
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +1 -1
- data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +1 -1
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +1 -1
- data/lib/pulp_deb_client/api/content_package_indices_api.rb +1 -1
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +1 -1
- data/lib/pulp_deb_client/api/content_packages_api.rb +1 -1
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +1 -1
- data/lib/pulp_deb_client/api/content_release_components_api.rb +1 -1
- data/lib/pulp_deb_client/api/content_release_files_api.rb +1 -1
- data/lib/pulp_deb_client/api/content_releases_api.rb +1 -1
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +1 -1
- data/lib/pulp_deb_client/api/publications_apt_api.rb +1 -1
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +1 -1
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +1 -1
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +1 -1
- data/lib/pulp_deb_client/api/{repositories_deb_versions_api.rb → repositories_apt_versions_api.rb} +15 -15
- data/lib/pulp_deb_client/api_client.rb +12 -8
- data/lib/pulp_deb_client/api_error.rb +1 -1
- data/lib/pulp_deb_client/configuration.rb +8 -1
- data/lib/pulp_deb_client/models/async_operation_response.rb +1 -1
- data/lib/pulp_deb_client/models/content_summary.rb +1 -1
- data/lib/pulp_deb_client/models/content_summary_response.rb +1 -1
- data/lib/pulp_deb_client/models/deb_apt_distribution.rb +1 -1
- data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +1 -1
- data/lib/pulp_deb_client/models/deb_apt_publication.rb +1 -1
- data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +1 -1
- data/lib/pulp_deb_client/models/deb_apt_remote.rb +19 -7
- data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +19 -7
- data/lib/pulp_deb_client/models/deb_apt_repository.rb +1 -1
- data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +1 -1
- data/lib/pulp_deb_client/models/deb_base_package.rb +1 -1
- data/lib/pulp_deb_client/models/deb_base_package_response.rb +1 -1
- data/lib/pulp_deb_client/models/deb_generic_content.rb +1 -1
- data/lib/pulp_deb_client/models/deb_generic_content_response.rb +1 -1
- data/lib/pulp_deb_client/models/deb_installer_file_index.rb +1 -1
- data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +1 -1
- data/lib/pulp_deb_client/models/deb_package_index.rb +1 -1
- data/lib/pulp_deb_client/models/deb_package_index_response.rb +1 -1
- data/lib/pulp_deb_client/models/deb_package_release_component.rb +1 -1
- data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +1 -1
- data/lib/pulp_deb_client/models/deb_release.rb +1 -1
- data/lib/pulp_deb_client/models/deb_release_architecture.rb +1 -1
- data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +1 -1
- data/lib/pulp_deb_client/models/deb_release_component.rb +1 -1
- data/lib/pulp_deb_client/models/deb_release_component_response.rb +1 -1
- data/lib/pulp_deb_client/models/deb_release_file.rb +1 -1
- data/lib/pulp_deb_client/models/deb_release_file_response.rb +1 -1
- data/lib/pulp_deb_client/models/deb_release_response.rb +1 -1
- data/lib/pulp_deb_client/models/deb_verbatim_publication.rb +1 -1
- data/lib/pulp_deb_client/models/deb_verbatim_publication_response.rb +1 -1
- data/lib/pulp_deb_client/models/paginated_repository_version_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_apt_distribution_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_apt_publication_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_apt_remote_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_apt_repository_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_base_package_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_generic_content_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_installer_file_index_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_package_index_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_package_release_component_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_release_architecture_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_release_component_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_release_file_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_release_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_verbatim_publication_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/patcheddeb_apt_distribution.rb +1 -1
- data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +19 -7
- data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +1 -1
- data/lib/pulp_deb_client/models/policy_enum.rb +1 -1
- data/lib/pulp_deb_client/models/repository_add_remove_content.rb +3 -3
- data/lib/pulp_deb_client/models/repository_sync_url.rb +1 -1
- data/lib/pulp_deb_client/models/repository_version.rb +1 -1
- data/lib/pulp_deb_client/models/repository_version_response.rb +1 -1
- data/lib/pulp_deb_client/version.rb +2 -2
- data/pulp_deb_client.gemspec +1 -1
- data/spec/api/content_generic_contents_api_spec.rb +1 -1
- data/spec/api/content_installer_file_indices_api_spec.rb +1 -1
- data/spec/api/content_installer_packages_api_spec.rb +1 -1
- data/spec/api/content_package_indices_api_spec.rb +1 -1
- data/spec/api/content_package_release_components_api_spec.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +1 -1
- data/spec/api/content_release_architectures_api_spec.rb +1 -1
- data/spec/api/content_release_components_api_spec.rb +1 -1
- data/spec/api/content_release_files_api_spec.rb +1 -1
- data/spec/api/content_releases_api_spec.rb +1 -1
- data/spec/api/distributions_apt_api_spec.rb +1 -1
- data/spec/api/publications_apt_api_spec.rb +1 -1
- data/spec/api/publications_verbatim_api_spec.rb +1 -1
- data/spec/api/remotes_apt_api_spec.rb +1 -1
- data/spec/api/repositories_apt_api_spec.rb +1 -1
- data/spec/api/{repositories_deb_versions_api_spec.rb → repositories_apt_versions_api_spec.rb} +7 -7
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/content_summary_response_spec.rb +1 -1
- data/spec/models/content_summary_spec.rb +1 -1
- data/spec/models/deb_apt_distribution_response_spec.rb +1 -1
- data/spec/models/deb_apt_distribution_spec.rb +1 -1
- data/spec/models/deb_apt_publication_response_spec.rb +1 -1
- data/spec/models/deb_apt_publication_spec.rb +1 -1
- data/spec/models/deb_apt_remote_response_spec.rb +7 -1
- data/spec/models/deb_apt_remote_spec.rb +7 -1
- data/spec/models/deb_apt_repository_response_spec.rb +1 -1
- data/spec/models/deb_apt_repository_spec.rb +1 -1
- data/spec/models/deb_base_package_response_spec.rb +1 -1
- data/spec/models/deb_base_package_spec.rb +1 -1
- data/spec/models/deb_generic_content_response_spec.rb +1 -1
- data/spec/models/deb_generic_content_spec.rb +1 -1
- data/spec/models/deb_installer_file_index_response_spec.rb +1 -1
- data/spec/models/deb_installer_file_index_spec.rb +1 -1
- data/spec/models/deb_package_index_response_spec.rb +1 -1
- data/spec/models/deb_package_index_spec.rb +1 -1
- data/spec/models/deb_package_release_component_response_spec.rb +1 -1
- data/spec/models/deb_package_release_component_spec.rb +1 -1
- data/spec/models/deb_release_architecture_response_spec.rb +1 -1
- data/spec/models/deb_release_architecture_spec.rb +1 -1
- data/spec/models/deb_release_component_response_spec.rb +1 -1
- data/spec/models/deb_release_component_spec.rb +1 -1
- data/spec/models/deb_release_file_response_spec.rb +1 -1
- data/spec/models/deb_release_file_spec.rb +1 -1
- data/spec/models/deb_release_response_spec.rb +1 -1
- data/spec/models/deb_release_spec.rb +1 -1
- data/spec/models/deb_verbatim_publication_response_spec.rb +1 -1
- data/spec/models/deb_verbatim_publication_spec.rb +1 -1
- data/spec/models/paginated_repository_version_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_apt_distribution_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_apt_publication_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_apt_remote_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_apt_repository_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_base_package_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_generic_content_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_installer_file_index_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_package_index_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_package_release_component_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_release_architecture_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_release_component_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_release_file_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_release_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_verbatim_publication_response_list_spec.rb +1 -1
- data/spec/models/patcheddeb_apt_distribution_spec.rb +1 -1
- data/spec/models/patcheddeb_apt_remote_spec.rb +7 -1
- data/spec/models/patcheddeb_apt_repository_spec.rb +1 -1
- data/spec/models/policy_enum_spec.rb +1 -1
- data/spec/models/repository_add_remove_content_spec.rb +1 -1
- data/spec/models/repository_sync_url_spec.rb +1 -1
- data/spec/models/repository_version_response_spec.rb +1 -1
- data/spec/models/repository_version_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +59 -59
data/spec/api/{repositories_deb_versions_api_spec.rb → repositories_apt_versions_api_spec.rb}
RENAMED
@@ -6,29 +6,29 @@
|
|
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
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'spec_helper'
|
14
14
|
require 'json'
|
15
15
|
|
16
|
-
# Unit tests for PulpDebClient::
|
16
|
+
# Unit tests for PulpDebClient::RepositoriesAptVersionsApi
|
17
17
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
18
|
# Please update as you see appropriate
|
19
|
-
describe '
|
19
|
+
describe 'RepositoriesAptVersionsApi' do
|
20
20
|
before do
|
21
21
|
# run before each test
|
22
|
-
@api_instance = PulpDebClient::
|
22
|
+
@api_instance = PulpDebClient::RepositoriesAptVersionsApi.new
|
23
23
|
end
|
24
24
|
|
25
25
|
after do
|
26
26
|
# run after each test
|
27
27
|
end
|
28
28
|
|
29
|
-
describe 'test an instance of
|
30
|
-
it 'should create an instance of
|
31
|
-
expect(@api_instance).to be_instance_of(PulpDebClient::
|
29
|
+
describe 'test an instance of RepositoriesAptVersionsApi' do
|
30
|
+
it 'should create an instance of RepositoriesAptVersionsApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpDebClient::RepositoriesAptVersionsApi)
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
data/spec/api_client_spec.rb
CHANGED
@@ -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
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -118,7 +118,7 @@ describe PulpDebClient::ApiClient do
|
|
118
118
|
end
|
119
119
|
|
120
120
|
it 'fails for invalid collection format' do
|
121
|
-
expect{api_client.build_collection_param(param, :INVALID)}.to raise_error(RuntimeError, 'unknown collection format: :INVALID')
|
121
|
+
expect { api_client.build_collection_param(param, :INVALID) }.to raise_error(RuntimeError, 'unknown collection format: :INVALID')
|
122
122
|
end
|
123
123
|
end
|
124
124
|
|
data/spec/configuration_spec.rb
CHANGED
@@ -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
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -98,6 +98,12 @@ describe 'DebAptRemoteResponse' do
|
|
98
98
|
end
|
99
99
|
end
|
100
100
|
|
101
|
+
describe 'test attribute "max_retries"' do
|
102
|
+
it 'should work' do
|
103
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
101
107
|
describe 'test attribute "policy"' do
|
102
108
|
it 'should work' do
|
103
109
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -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
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -110,6 +110,12 @@ describe 'DebAptRemote' do
|
|
110
110
|
end
|
111
111
|
end
|
112
112
|
|
113
|
+
describe 'test attribute "max_retries"' do
|
114
|
+
it 'should work' do
|
115
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
113
119
|
describe 'test attribute "policy"' do
|
114
120
|
it 'should work' do
|
115
121
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|