pulp_rpm_client 3.14.16 → 3.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -6
  3. data/docs/ContentAdvisoriesApi.md +1 -1
  4. data/docs/ContentDistributionTreesApi.md +1 -1
  5. data/docs/ContentModulemdDefaultsApi.md +1 -1
  6. data/docs/ContentModulemdsApi.md +1 -1
  7. data/docs/ContentPackagecategoriesApi.md +1 -1
  8. data/docs/ContentPackageenvironmentsApi.md +1 -1
  9. data/docs/ContentPackagegroupsApi.md +1 -1
  10. data/docs/ContentPackagelangpacksApi.md +1 -1
  11. data/docs/ContentPackagesApi.md +1 -1
  12. data/docs/ContentRepoMetadataFilesApi.md +1 -1
  13. data/docs/DistributionsRpmApi.md +1 -1
  14. data/docs/PatchedrpmRpmRepository.md +3 -3
  15. data/docs/PublicationsRpmApi.md +1 -1
  16. data/docs/RemotesRpmApi.md +1 -1
  17. data/docs/RemotesUlnApi.md +1 -1
  18. data/docs/RepositoriesRpmApi.md +1 -1
  19. data/docs/RepositoriesRpmVersionsApi.md +1 -1
  20. data/docs/RpmCopyApi.md +1 -1
  21. data/docs/RpmRepositorySyncURL.md +1 -3
  22. data/docs/RpmRpmPublication.md +2 -2
  23. data/docs/RpmRpmPublicationResponse.md +2 -2
  24. data/docs/RpmRpmRepository.md +3 -3
  25. data/docs/RpmRpmRepositoryResponse.md +3 -3
  26. data/lib/pulp_rpm_client/api_client.rb +4 -1
  27. data/lib/pulp_rpm_client/configuration.rb +2 -3
  28. data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +17 -16
  29. data/lib/pulp_rpm_client/models/rpm_repository_sync_url.rb +4 -14
  30. data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +4 -0
  31. data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +4 -0
  32. data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +17 -16
  33. data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +17 -16
  34. data/lib/pulp_rpm_client/version.rb +1 -1
  35. data/lib/pulp_rpm_client.rb +0 -1
  36. data/pulp_rpm_client.gemspec +1 -1
  37. data/spec/configuration_spec.rb +3 -3
  38. data/spec/models/patchedrpm_rpm_repository_spec.rb +1 -1
  39. data/spec/models/rpm_repository_sync_url_spec.rb +0 -6
  40. data/spec/models/rpm_rpm_repository_response_spec.rb +1 -1
  41. data/spec/models/rpm_rpm_repository_spec.rb +1 -1
  42. metadata +68 -78
  43. data/docs/SyncPolicyEnum.md +0 -16
  44. data/lib/pulp_rpm_client/models/sync_policy_enum.rb +0 -37
  45. data/spec/models/sync_policy_enum_spec.rb +0 -35
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 258bab131e9151727c3bde21915b391adc27557b6e08d97fc47ec8fdb37175e7
4
- data.tar.gz: 778c19f926eff17c59320e57bdaa6e10b7a4e1690e354cd0b4e8749d4dd9c1aa
3
+ metadata.gz: 8a0f868a6b2c23d0234ed3e2a7b4b622cfe1e5ad0040f214a93d4945073f2ff0
4
+ data.tar.gz: 16e7f0636383a2d7f213fe83f5a7480f1cc0f723f5ab7c6436a7c2e9ac980894
5
5
  SHA512:
6
- metadata.gz: 8a5c4c8553d804c72871651c4d22ad11063e7ee40a8b9ec57134ff9b31d0d09b3fc84c2822e4d1be27149ea9367552eee34b55d508fe511bb3e9a344adac7946
7
- data.tar.gz: 296110274e7f8e5b4015c009deeccdf2c0ea41874e7159f5d242856c5619ca4edfb57c7ee347338d19e9459f99a4984b1c72ad117e730554724d4f32f2ab7450
6
+ metadata.gz: fdf23d5cc4185c15f09ab46583c05cafbd41e1656f2b74176493febfde30e3d68ff3eff96042bd022caa5b822eb1a73fe513ee5c9bd386b29162d2203e4f8ceb
7
+ data.tar.gz: 5eec77db196250c0e167cd6095c2a1c69261f4ad77d05ac6c7dcbe7f71001df79688b5f7a3ba5e9e607a0687d64f839844182037d138e97319d6b2097ef2edfd
data/README.md CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: v3
10
- - Package version: 3.14.16
10
+ - Package version: 3.15.0
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
13
13
 
@@ -24,16 +24,16 @@ gem build pulp_rpm_client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./pulp_rpm_client-3.14.16.gem
27
+ gem install ./pulp_rpm_client-3.15.0.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_rpm_client-3.14.16.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_rpm_client-3.15.0.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'pulp_rpm_client', '~> 3.14.16'
36
+ gem 'pulp_rpm_client', '~> 3.15.0'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -82,7 +82,7 @@ end
82
82
 
83
83
  ## Documentation for API Endpoints
84
84
 
85
- All URIs are relative to *http://pulp*
85
+ All URIs are relative to *https://pulp*
86
86
 
87
87
  Class | Method | HTTP request | Description
88
88
  ------------ | ------------- | ------------- | -------------
@@ -211,7 +211,6 @@ Class | Method | HTTP request | Description
211
211
  - [PulpRpmClient::RpmUpdateRecord](docs/RpmUpdateRecord.md)
212
212
  - [PulpRpmClient::RpmUpdateRecordResponse](docs/RpmUpdateRecordResponse.md)
213
213
  - [PulpRpmClient::SkipTypesEnum](docs/SkipTypesEnum.md)
214
- - [PulpRpmClient::SyncPolicyEnum](docs/SyncPolicyEnum.md)
215
214
  - [PulpRpmClient::VariantResponse](docs/VariantResponse.md)
216
215
 
217
216
 
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::ContentAdvisoriesApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::ContentDistributionTreesApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::ContentModulemdDefaultsApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::ContentModulemdsApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::ContentPackagecategoriesApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::ContentPackageenvironmentsApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::ContentPackagegroupsApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::ContentPackagelangpacksApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::ContentPackagesApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::ContentRepoMetadataFilesApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::DistributionsRpmApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
7
7
  **pulp_labels** | [**Object**](.md) | | [optional]
8
8
  **name** | **String** | A unique name for this repository. | [optional]
9
9
  **description** | **String** | An optional description. | [optional]
10
- **retained_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
11
- **remote** | **String** | | [optional]
10
+ **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
11
+ **remote** | **String** | An optional remote to use by default when syncing. | [optional]
12
12
  **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional] [default to false]
13
13
  **metadata_signing_service** | **String** | A reference to an associated signing service. | [optional]
14
14
  **retain_package_versions** | **Integer** | The number of versions of each package to keep in the repository; older versions will be purged. The default is '0', which will disable this feature and keep all versions of each package. | [optional]
@@ -26,7 +26,7 @@ require 'PulpRpmClient'
26
26
  instance = PulpRpmClient::PatchedrpmRpmRepository.new(pulp_labels: null,
27
27
  name: null,
28
28
  description: null,
29
- retained_versions: null,
29
+ retain_repo_versions: null,
30
30
  remote: null,
31
31
  autopublish: null,
32
32
  metadata_signing_service: null,
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::PublicationsRpmApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::RemotesRpmApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::RemotesUlnApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::RepositoriesRpmApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::RepositoriesRpmVersionsApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
data/docs/RpmCopyApi.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::RpmCopyApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -5,8 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **remote** | **String** | A remote to sync from. This will override a remote set on repository. | [optional]
8
- **mirror** | **Boolean** | DEPRECATED: If ``True``, ``sync_policy`` will default to 'mirror_complete' instead of 'additive'. | [optional]
9
- **sync_policy** | [**SyncPolicyEnum**](SyncPolicyEnum.md) | Options: 'additive', 'mirror_complete', 'mirror_content_only'. Default: 'additive'. Modifies how the sync is performed. 'mirror_complete' will clone the original metadata and create an automatic publication from it, but comes with some limitations and does not work for certain repositories. 'mirror_content_only' will change the repository contents to match the remote but the metadata will be regenerated and will not be bit-for-bit identical. 'additive' will retain the existing contents of the repository and add the contents of the repository being synced. | [optional]
8
+ **mirror** | **Boolean** | If ``True``, synchronization will remove all content that is not present in the remote repository. If ``False``, sync will be additive only. | [optional] [default to false]
10
9
  **skip_types** | [**Array<SkipTypesEnum>**](SkipTypesEnum.md) | List of content types to skip during sync. | [optional]
11
10
  **optimize** | **Boolean** | Whether or not to optimize sync. | [optional] [default to true]
12
11
 
@@ -17,7 +16,6 @@ require 'PulpRpmClient'
17
16
 
18
17
  instance = PulpRpmClient::RpmRepositorySyncURL.new(remote: null,
19
18
  mirror: null,
20
- sync_policy: null,
21
19
  skip_types: null,
22
20
  optimize: null)
23
21
  ```
@@ -8,8 +8,8 @@ Name | Type | Description | Notes
8
8
  **repository** | **String** | A URI of the repository to be published. | [optional]
9
9
  **metadata_checksum_type** | [**MetadataChecksumTypeEnum**](MetadataChecksumTypeEnum.md) | The checksum type for metadata. | [optional]
10
10
  **package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | The checksum type for packages. | [optional]
11
- **gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on packages. | [optional]
12
- **repo_gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
11
+ **gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on packages. | [optional] [default to 0]
12
+ **repo_gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on the repodata. | [optional] [default to 0]
13
13
  **sqlite_metadata** | **Boolean** | An option specifying whether Pulp should generate SQLite metadata. | [optional] [default to false]
14
14
 
15
15
  ## Code Sample
@@ -10,8 +10,8 @@ Name | Type | Description | Notes
10
10
  **repository** | **String** | A URI of the repository to be published. | [optional]
11
11
  **metadata_checksum_type** | [**MetadataChecksumTypeEnum**](MetadataChecksumTypeEnum.md) | The checksum type for metadata. | [optional]
12
12
  **package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | The checksum type for packages. | [optional]
13
- **gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on packages. | [optional]
14
- **repo_gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
13
+ **gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on packages. | [optional] [default to 0]
14
+ **repo_gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on the repodata. | [optional] [default to 0]
15
15
  **sqlite_metadata** | **Boolean** | An option specifying whether Pulp should generate SQLite metadata. | [optional] [default to false]
16
16
 
17
17
  ## Code Sample
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
7
7
  **pulp_labels** | [**Object**](.md) | | [optional]
8
8
  **name** | **String** | A unique name for this repository. |
9
9
  **description** | **String** | An optional description. | [optional]
10
- **retained_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
11
- **remote** | **String** | | [optional]
10
+ **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
11
+ **remote** | **String** | An optional remote to use by default when syncing. | [optional]
12
12
  **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional] [default to false]
13
13
  **metadata_signing_service** | **String** | A reference to an associated signing service. | [optional]
14
14
  **retain_package_versions** | **Integer** | The number of versions of each package to keep in the repository; older versions will be purged. The default is '0', which will disable this feature and keep all versions of each package. | [optional]
@@ -26,7 +26,7 @@ require 'PulpRpmClient'
26
26
  instance = PulpRpmClient::RpmRpmRepository.new(pulp_labels: null,
27
27
  name: null,
28
28
  description: null,
29
- retained_versions: null,
29
+ retain_repo_versions: null,
30
30
  remote: null,
31
31
  autopublish: null,
32
32
  metadata_signing_service: null,
@@ -11,8 +11,8 @@ Name | Type | Description | Notes
11
11
  **latest_version_href** | **String** | | [optional] [readonly]
12
12
  **name** | **String** | A unique name for this repository. |
13
13
  **description** | **String** | An optional description. | [optional]
14
- **retained_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
15
- **remote** | **String** | | [optional]
14
+ **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
15
+ **remote** | **String** | An optional remote to use by default when syncing. | [optional]
16
16
  **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional] [default to false]
17
17
  **metadata_signing_service** | **String** | A reference to an associated signing service. | [optional]
18
18
  **retain_package_versions** | **Integer** | The number of versions of each package to keep in the repository; older versions will be purged. The default is '0', which will disable this feature and keep all versions of each package. | [optional]
@@ -34,7 +34,7 @@ instance = PulpRpmClient::RpmRpmRepositoryResponse.new(pulp_href: null,
34
34
  latest_version_href: null,
35
35
  name: null,
36
36
  description: null,
37
- retained_versions: null,
37
+ retain_repo_versions: null,
38
38
  remote: null,
39
39
  autopublish: null,
40
40
  metadata_signing_service: null,
@@ -118,6 +118,9 @@ module PulpRpmClient
118
118
  update_params_for_auth! header_params, query_params, opts[:auth_names]
119
119
 
120
120
  req_opts = {
121
+ :method => http_method,
122
+ :headers => header_params,
123
+ :params => query_params,
121
124
  :params_encoding => @config.params_encoding,
122
125
  :timeout => @config.timeout,
123
126
  :verbose => @config.debugging
@@ -125,13 +128,13 @@ module PulpRpmClient
125
128
 
126
129
  if [:post, :patch, :put, :delete].include?(http_method)
127
130
  req_body = build_request_body(header_params, form_params, opts[:body])
131
+ req_opts.update :body => req_body
128
132
  if @config.debugging
129
133
  @config.logger.debug "HTTP request body param ~BEGIN~\n#{req_body}\n~END~\n"
130
134
  end
131
135
  end
132
136
  request.headers = header_params
133
137
  request.body = req_body
134
- request.options = OpenStruct.new(req_opts)
135
138
  request.url url
136
139
  request.params = query_params
137
140
  download_file(request) if opts[:return_type] == 'File'
@@ -127,7 +127,7 @@ module PulpRpmClient
127
127
  attr_accessor :force_ending_format
128
128
 
129
129
  def initialize
130
- @scheme = 'http'
130
+ @scheme = 'https'
131
131
  @host = 'pulp'
132
132
  @base_path = ''
133
133
  @api_key = {}
@@ -140,7 +140,6 @@ module PulpRpmClient
140
140
  @ssl_client_cert = nil
141
141
  @ssl_client_key = nil
142
142
  @params_encoder = nil
143
- @timeout = 60
144
143
  @debugging = false
145
144
  @inject_format = false
146
145
  @force_ending_format = false
@@ -210,7 +209,7 @@ module PulpRpmClient
210
209
  def server_settings
211
210
  [
212
211
  {
213
- url: "http://pulp/",
212
+ url: "https://pulp/",
214
213
  description: "No description provided",
215
214
  }
216
215
  ]
@@ -24,8 +24,9 @@ module PulpRpmClient
24
24
  attr_accessor :description
25
25
 
26
26
  # Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
27
- attr_accessor :retained_versions
27
+ attr_accessor :retain_repo_versions
28
28
 
29
+ # An optional remote to use by default when syncing.
29
30
  attr_accessor :remote
30
31
 
31
32
  # Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository.
@@ -58,7 +59,7 @@ module PulpRpmClient
58
59
  :'pulp_labels' => :'pulp_labels',
59
60
  :'name' => :'name',
60
61
  :'description' => :'description',
61
- :'retained_versions' => :'retained_versions',
62
+ :'retain_repo_versions' => :'retain_repo_versions',
62
63
  :'remote' => :'remote',
63
64
  :'autopublish' => :'autopublish',
64
65
  :'metadata_signing_service' => :'metadata_signing_service',
@@ -77,7 +78,7 @@ module PulpRpmClient
77
78
  :'pulp_labels' => :'Object',
78
79
  :'name' => :'String',
79
80
  :'description' => :'String',
80
- :'retained_versions' => :'Integer',
81
+ :'retain_repo_versions' => :'Integer',
81
82
  :'remote' => :'String',
82
83
  :'autopublish' => :'Boolean',
83
84
  :'metadata_signing_service' => :'String',
@@ -94,7 +95,7 @@ module PulpRpmClient
94
95
  def self.openapi_nullable
95
96
  Set.new([
96
97
  :'description',
97
- :'retained_versions',
98
+ :'retain_repo_versions',
98
99
  :'remote',
99
100
  :'metadata_signing_service',
100
101
  :'metadata_checksum_type',
@@ -129,8 +130,8 @@ module PulpRpmClient
129
130
  self.description = attributes[:'description']
130
131
  end
131
132
 
132
- if attributes.key?(:'retained_versions')
133
- self.retained_versions = attributes[:'retained_versions']
133
+ if attributes.key?(:'retain_repo_versions')
134
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
134
135
  end
135
136
 
136
137
  if attributes.key?(:'remote')
@@ -182,8 +183,8 @@ module PulpRpmClient
182
183
  # @return Array for valid properties with the reasons
183
184
  def list_invalid_properties
184
185
  invalid_properties = Array.new
185
- if !@retained_versions.nil? && @retained_versions < 1
186
- invalid_properties.push('invalid value for "retained_versions", must be greater than or equal to 1.')
186
+ if !@retain_repo_versions.nil? && @retain_repo_versions < 1
187
+ invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
187
188
  end
188
189
 
189
190
  if !@retain_package_versions.nil? && @retain_package_versions < 0
@@ -212,7 +213,7 @@ module PulpRpmClient
212
213
  # Check to see if the all the properties in the model are valid
213
214
  # @return true if the model is valid
214
215
  def valid?
215
- return false if !@retained_versions.nil? && @retained_versions < 1
216
+ return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
216
217
  return false if !@retain_package_versions.nil? && @retain_package_versions < 0
217
218
  return false if !@gpgcheck.nil? && @gpgcheck > 1
218
219
  return false if !@gpgcheck.nil? && @gpgcheck < 0
@@ -222,13 +223,13 @@ module PulpRpmClient
222
223
  end
223
224
 
224
225
  # Custom attribute writer method with validation
225
- # @param [Object] retained_versions Value to be assigned
226
- def retained_versions=(retained_versions)
227
- if !retained_versions.nil? && retained_versions < 1
228
- fail ArgumentError, 'invalid value for "retained_versions", must be greater than or equal to 1.'
226
+ # @param [Object] retain_repo_versions Value to be assigned
227
+ def retain_repo_versions=(retain_repo_versions)
228
+ if !retain_repo_versions.nil? && retain_repo_versions < 1
229
+ fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
229
230
  end
230
231
 
231
- @retained_versions = retained_versions
232
+ @retain_repo_versions = retain_repo_versions
232
233
  end
233
234
 
234
235
  # Custom attribute writer method with validation
@@ -277,7 +278,7 @@ module PulpRpmClient
277
278
  pulp_labels == o.pulp_labels &&
278
279
  name == o.name &&
279
280
  description == o.description &&
280
- retained_versions == o.retained_versions &&
281
+ retain_repo_versions == o.retain_repo_versions &&
281
282
  remote == o.remote &&
282
283
  autopublish == o.autopublish &&
283
284
  metadata_signing_service == o.metadata_signing_service &&
@@ -298,7 +299,7 @@ module PulpRpmClient
298
299
  # Calculates hash code according to all attributes.
299
300
  # @return [Integer] Hash code
300
301
  def hash
301
- [pulp_labels, name, description, retained_versions, remote, autopublish, metadata_signing_service, retain_package_versions, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata].hash
302
+ [pulp_labels, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, retain_package_versions, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata].hash
302
303
  end
303
304
 
304
305
  # Builds the object from hash
@@ -18,12 +18,9 @@ module PulpRpmClient
18
18
  # A remote to sync from. This will override a remote set on repository.
19
19
  attr_accessor :remote
20
20
 
21
- # DEPRECATED: If ``True``, ``sync_policy`` will default to 'mirror_complete' instead of 'additive'.
21
+ # If ``True``, synchronization will remove all content that is not present in the remote repository. If ``False``, sync will be additive only.
22
22
  attr_accessor :mirror
23
23
 
24
- # Options: 'additive', 'mirror_complete', 'mirror_content_only'. Default: 'additive'. Modifies how the sync is performed. 'mirror_complete' will clone the original metadata and create an automatic publication from it, but comes with some limitations and does not work for certain repositories. 'mirror_content_only' will change the repository contents to match the remote but the metadata will be regenerated and will not be bit-for-bit identical. 'additive' will retain the existing contents of the repository and add the contents of the repository being synced.
25
- attr_accessor :sync_policy
26
-
27
24
  # List of content types to skip during sync.
28
25
  attr_accessor :skip_types
29
26
 
@@ -35,7 +32,6 @@ module PulpRpmClient
35
32
  {
36
33
  :'remote' => :'remote',
37
34
  :'mirror' => :'mirror',
38
- :'sync_policy' => :'sync_policy',
39
35
  :'skip_types' => :'skip_types',
40
36
  :'optimize' => :'optimize'
41
37
  }
@@ -46,7 +42,6 @@ module PulpRpmClient
46
42
  {
47
43
  :'remote' => :'String',
48
44
  :'mirror' => :'Boolean',
49
- :'sync_policy' => :'SyncPolicyEnum',
50
45
  :'skip_types' => :'Array<SkipTypesEnum>',
51
46
  :'optimize' => :'Boolean'
52
47
  }
@@ -55,8 +50,6 @@ module PulpRpmClient
55
50
  # List of attributes with nullable: true
56
51
  def self.openapi_nullable
57
52
  Set.new([
58
- :'mirror',
59
- :'sync_policy',
60
53
  ])
61
54
  end
62
55
 
@@ -81,10 +74,8 @@ module PulpRpmClient
81
74
 
82
75
  if attributes.key?(:'mirror')
83
76
  self.mirror = attributes[:'mirror']
84
- end
85
-
86
- if attributes.key?(:'sync_policy')
87
- self.sync_policy = attributes[:'sync_policy']
77
+ else
78
+ self.mirror = false
88
79
  end
89
80
 
90
81
  if attributes.key?(:'skip_types')
@@ -120,7 +111,6 @@ module PulpRpmClient
120
111
  self.class == o.class &&
121
112
  remote == o.remote &&
122
113
  mirror == o.mirror &&
123
- sync_policy == o.sync_policy &&
124
114
  skip_types == o.skip_types &&
125
115
  optimize == o.optimize
126
116
  end
@@ -134,7 +124,7 @@ module PulpRpmClient
134
124
  # Calculates hash code according to all attributes.
135
125
  # @return [Integer] Hash code
136
126
  def hash
137
- [remote, mirror, sync_policy, skip_types, optimize].hash
127
+ [remote, mirror, skip_types, optimize].hash
138
128
  end
139
129
 
140
130
  # Builds the object from hash
@@ -100,10 +100,14 @@ module PulpRpmClient
100
100
 
101
101
  if attributes.key?(:'gpgcheck')
102
102
  self.gpgcheck = attributes[:'gpgcheck']
103
+ else
104
+ self.gpgcheck = 0
103
105
  end
104
106
 
105
107
  if attributes.key?(:'repo_gpgcheck')
106
108
  self.repo_gpgcheck = attributes[:'repo_gpgcheck']
109
+ else
110
+ self.repo_gpgcheck = 0
107
111
  end
108
112
 
109
113
  if attributes.key?(:'sqlite_metadata')
@@ -117,10 +117,14 @@ module PulpRpmClient
117
117
 
118
118
  if attributes.key?(:'gpgcheck')
119
119
  self.gpgcheck = attributes[:'gpgcheck']
120
+ else
121
+ self.gpgcheck = 0
120
122
  end
121
123
 
122
124
  if attributes.key?(:'repo_gpgcheck')
123
125
  self.repo_gpgcheck = attributes[:'repo_gpgcheck']
126
+ else
127
+ self.repo_gpgcheck = 0
124
128
  end
125
129
 
126
130
  if attributes.key?(:'sqlite_metadata')
@@ -24,8 +24,9 @@ module PulpRpmClient
24
24
  attr_accessor :description
25
25
 
26
26
  # Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
27
- attr_accessor :retained_versions
27
+ attr_accessor :retain_repo_versions
28
28
 
29
+ # An optional remote to use by default when syncing.
29
30
  attr_accessor :remote
30
31
 
31
32
  # Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository.
@@ -58,7 +59,7 @@ module PulpRpmClient
58
59
  :'pulp_labels' => :'pulp_labels',
59
60
  :'name' => :'name',
60
61
  :'description' => :'description',
61
- :'retained_versions' => :'retained_versions',
62
+ :'retain_repo_versions' => :'retain_repo_versions',
62
63
  :'remote' => :'remote',
63
64
  :'autopublish' => :'autopublish',
64
65
  :'metadata_signing_service' => :'metadata_signing_service',
@@ -77,7 +78,7 @@ module PulpRpmClient
77
78
  :'pulp_labels' => :'Object',
78
79
  :'name' => :'String',
79
80
  :'description' => :'String',
80
- :'retained_versions' => :'Integer',
81
+ :'retain_repo_versions' => :'Integer',
81
82
  :'remote' => :'String',
82
83
  :'autopublish' => :'Boolean',
83
84
  :'metadata_signing_service' => :'String',
@@ -94,7 +95,7 @@ module PulpRpmClient
94
95
  def self.openapi_nullable
95
96
  Set.new([
96
97
  :'description',
97
- :'retained_versions',
98
+ :'retain_repo_versions',
98
99
  :'remote',
99
100
  :'metadata_signing_service',
100
101
  :'metadata_checksum_type',
@@ -129,8 +130,8 @@ module PulpRpmClient
129
130
  self.description = attributes[:'description']
130
131
  end
131
132
 
132
- if attributes.key?(:'retained_versions')
133
- self.retained_versions = attributes[:'retained_versions']
133
+ if attributes.key?(:'retain_repo_versions')
134
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
134
135
  end
135
136
 
136
137
  if attributes.key?(:'remote')
@@ -186,8 +187,8 @@ module PulpRpmClient
186
187
  invalid_properties.push('invalid value for "name", name cannot be nil.')
187
188
  end
188
189
 
189
- if !@retained_versions.nil? && @retained_versions < 1
190
- invalid_properties.push('invalid value for "retained_versions", must be greater than or equal to 1.')
190
+ if !@retain_repo_versions.nil? && @retain_repo_versions < 1
191
+ invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
191
192
  end
192
193
 
193
194
  if !@retain_package_versions.nil? && @retain_package_versions < 0
@@ -217,7 +218,7 @@ module PulpRpmClient
217
218
  # @return true if the model is valid
218
219
  def valid?
219
220
  return false if @name.nil?
220
- return false if !@retained_versions.nil? && @retained_versions < 1
221
+ return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
221
222
  return false if !@retain_package_versions.nil? && @retain_package_versions < 0
222
223
  return false if !@gpgcheck.nil? && @gpgcheck > 1
223
224
  return false if !@gpgcheck.nil? && @gpgcheck < 0
@@ -227,13 +228,13 @@ module PulpRpmClient
227
228
  end
228
229
 
229
230
  # Custom attribute writer method with validation
230
- # @param [Object] retained_versions Value to be assigned
231
- def retained_versions=(retained_versions)
232
- if !retained_versions.nil? && retained_versions < 1
233
- fail ArgumentError, 'invalid value for "retained_versions", must be greater than or equal to 1.'
231
+ # @param [Object] retain_repo_versions Value to be assigned
232
+ def retain_repo_versions=(retain_repo_versions)
233
+ if !retain_repo_versions.nil? && retain_repo_versions < 1
234
+ fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
234
235
  end
235
236
 
236
- @retained_versions = retained_versions
237
+ @retain_repo_versions = retain_repo_versions
237
238
  end
238
239
 
239
240
  # Custom attribute writer method with validation
@@ -282,7 +283,7 @@ module PulpRpmClient
282
283
  pulp_labels == o.pulp_labels &&
283
284
  name == o.name &&
284
285
  description == o.description &&
285
- retained_versions == o.retained_versions &&
286
+ retain_repo_versions == o.retain_repo_versions &&
286
287
  remote == o.remote &&
287
288
  autopublish == o.autopublish &&
288
289
  metadata_signing_service == o.metadata_signing_service &&
@@ -303,7 +304,7 @@ module PulpRpmClient
303
304
  # Calculates hash code according to all attributes.
304
305
  # @return [Integer] Hash code
305
306
  def hash
306
- [pulp_labels, name, description, retained_versions, remote, autopublish, metadata_signing_service, retain_package_versions, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata].hash
307
+ [pulp_labels, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, retain_package_versions, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata].hash
307
308
  end
308
309
 
309
310
  # Builds the object from hash
@@ -33,8 +33,9 @@ module PulpRpmClient
33
33
  attr_accessor :description
34
34
 
35
35
  # Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
36
- attr_accessor :retained_versions
36
+ attr_accessor :retain_repo_versions
37
37
 
38
+ # An optional remote to use by default when syncing.
38
39
  attr_accessor :remote
39
40
 
40
41
  # Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository.
@@ -71,7 +72,7 @@ module PulpRpmClient
71
72
  :'latest_version_href' => :'latest_version_href',
72
73
  :'name' => :'name',
73
74
  :'description' => :'description',
74
- :'retained_versions' => :'retained_versions',
75
+ :'retain_repo_versions' => :'retain_repo_versions',
75
76
  :'remote' => :'remote',
76
77
  :'autopublish' => :'autopublish',
77
78
  :'metadata_signing_service' => :'metadata_signing_service',
@@ -94,7 +95,7 @@ module PulpRpmClient
94
95
  :'latest_version_href' => :'String',
95
96
  :'name' => :'String',
96
97
  :'description' => :'String',
97
- :'retained_versions' => :'Integer',
98
+ :'retain_repo_versions' => :'Integer',
98
99
  :'remote' => :'String',
99
100
  :'autopublish' => :'Boolean',
100
101
  :'metadata_signing_service' => :'String',
@@ -111,7 +112,7 @@ module PulpRpmClient
111
112
  def self.openapi_nullable
112
113
  Set.new([
113
114
  :'description',
114
- :'retained_versions',
115
+ :'retain_repo_versions',
115
116
  :'remote',
116
117
  :'metadata_signing_service',
117
118
  :'metadata_checksum_type',
@@ -162,8 +163,8 @@ module PulpRpmClient
162
163
  self.description = attributes[:'description']
163
164
  end
164
165
 
165
- if attributes.key?(:'retained_versions')
166
- self.retained_versions = attributes[:'retained_versions']
166
+ if attributes.key?(:'retain_repo_versions')
167
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
167
168
  end
168
169
 
169
170
  if attributes.key?(:'remote')
@@ -219,8 +220,8 @@ module PulpRpmClient
219
220
  invalid_properties.push('invalid value for "name", name cannot be nil.')
220
221
  end
221
222
 
222
- if !@retained_versions.nil? && @retained_versions < 1
223
- invalid_properties.push('invalid value for "retained_versions", must be greater than or equal to 1.')
223
+ if !@retain_repo_versions.nil? && @retain_repo_versions < 1
224
+ invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
224
225
  end
225
226
 
226
227
  if !@retain_package_versions.nil? && @retain_package_versions < 0
@@ -250,7 +251,7 @@ module PulpRpmClient
250
251
  # @return true if the model is valid
251
252
  def valid?
252
253
  return false if @name.nil?
253
- return false if !@retained_versions.nil? && @retained_versions < 1
254
+ return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
254
255
  return false if !@retain_package_versions.nil? && @retain_package_versions < 0
255
256
  return false if !@gpgcheck.nil? && @gpgcheck > 1
256
257
  return false if !@gpgcheck.nil? && @gpgcheck < 0
@@ -260,13 +261,13 @@ module PulpRpmClient
260
261
  end
261
262
 
262
263
  # Custom attribute writer method with validation
263
- # @param [Object] retained_versions Value to be assigned
264
- def retained_versions=(retained_versions)
265
- if !retained_versions.nil? && retained_versions < 1
266
- fail ArgumentError, 'invalid value for "retained_versions", must be greater than or equal to 1.'
264
+ # @param [Object] retain_repo_versions Value to be assigned
265
+ def retain_repo_versions=(retain_repo_versions)
266
+ if !retain_repo_versions.nil? && retain_repo_versions < 1
267
+ fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
267
268
  end
268
269
 
269
- @retained_versions = retained_versions
270
+ @retain_repo_versions = retain_repo_versions
270
271
  end
271
272
 
272
273
  # Custom attribute writer method with validation
@@ -319,7 +320,7 @@ module PulpRpmClient
319
320
  latest_version_href == o.latest_version_href &&
320
321
  name == o.name &&
321
322
  description == o.description &&
322
- retained_versions == o.retained_versions &&
323
+ retain_repo_versions == o.retain_repo_versions &&
323
324
  remote == o.remote &&
324
325
  autopublish == o.autopublish &&
325
326
  metadata_signing_service == o.metadata_signing_service &&
@@ -340,7 +341,7 @@ module PulpRpmClient
340
341
  # Calculates hash code according to all attributes.
341
342
  # @return [Integer] Hash code
342
343
  def hash
343
- [pulp_href, pulp_created, versions_href, pulp_labels, latest_version_href, name, description, retained_versions, remote, autopublish, metadata_signing_service, retain_package_versions, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata].hash
344
+ [pulp_href, pulp_created, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, retain_package_versions, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata].hash
344
345
  end
345
346
 
346
347
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpRpmClient
14
- VERSION = '3.14.16'
14
+ VERSION = '3.15.0'
15
15
  end
@@ -79,7 +79,6 @@ require 'pulp_rpm_client/models/rpm_update_collection_response'
79
79
  require 'pulp_rpm_client/models/rpm_update_record'
80
80
  require 'pulp_rpm_client/models/rpm_update_record_response'
81
81
  require 'pulp_rpm_client/models/skip_types_enum'
82
- require 'pulp_rpm_client/models/sync_policy_enum'
83
82
  require 'pulp_rpm_client/models/variant_response'
84
83
 
85
84
  # APIs
@@ -27,7 +27,7 @@ Gem::Specification.new do |s|
27
27
  s.license = 'GPL-2.0+'
28
28
  s.required_ruby_version = ">= 1.9"
29
29
 
30
- s.add_runtime_dependency 'faraday', '~> 0.17', '< 1.9.0'
30
+ s.add_runtime_dependency 'faraday', '>= 0.14.0'
31
31
  s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
32
32
 
33
33
  s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
@@ -18,7 +18,7 @@ describe PulpRpmClient::Configuration do
18
18
  before(:each) do
19
19
  # uncomment below to setup host and base_path
20
20
  # require 'URI'
21
- # uri = URI.parse("http://pulp")
21
+ # uri = URI.parse("https://pulp")
22
22
  # PulpRpmClient.configure do |c|
23
23
  # c.host = uri.host
24
24
  # c.base_path = uri.path
@@ -28,14 +28,14 @@ describe PulpRpmClient::Configuration do
28
28
  describe '#base_url' do
29
29
  it 'should have the default value' do
30
30
  # uncomment below to test default value of the base path
31
- # expect(config.base_url).to eq("http://pulp")
31
+ # expect(config.base_url).to eq("https://pulp")
32
32
  end
33
33
 
34
34
  it 'should remove trailing slashes' do
35
35
  [nil, '', '/', '//'].each do |base_path|
36
36
  config.base_path = base_path
37
37
  # uncomment below to test trailing slashes
38
- # expect(config.base_url).to eq("http://pulp")
38
+ # expect(config.base_url).to eq("https://pulp")
39
39
  end
40
40
  end
41
41
  end
@@ -50,7 +50,7 @@ describe 'PatchedrpmRpmRepository' do
50
50
  end
51
51
  end
52
52
 
53
- describe 'test attribute "retained_versions"' do
53
+ describe 'test attribute "retain_repo_versions"' do
54
54
  it 'should work' do
55
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
56
  end
@@ -44,12 +44,6 @@ describe 'RpmRepositorySyncURL' do
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "sync_policy"' 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
47
  describe 'test attribute "skip_types"' do
54
48
  it 'should work' do
55
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -74,7 +74,7 @@ describe 'RpmRpmRepositoryResponse' do
74
74
  end
75
75
  end
76
76
 
77
- describe 'test attribute "retained_versions"' do
77
+ describe 'test attribute "retain_repo_versions"' do
78
78
  it 'should work' do
79
79
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
80
  end
@@ -50,7 +50,7 @@ describe 'RpmRpmRepository' do
50
50
  end
51
51
  end
52
52
 
53
- describe 'test attribute "retained_versions"' do
53
+ describe 'test attribute "retain_repo_versions"' do
54
54
  it 'should work' do
55
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
56
  end
metadata CHANGED
@@ -1,35 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulp_rpm_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.14.16
4
+ version: 3.15.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: 2022-07-08 00:00:00.000000000 Z
11
+ date: 2021-08-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '0.17'
20
- - - "<"
17
+ - - ">="
21
18
  - !ruby/object:Gem::Version
22
- version: 1.9.0
19
+ version: 0.14.0
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
- - - "~>"
28
- - !ruby/object:Gem::Version
29
- version: '0.17'
30
- - - "<"
24
+ - - ">="
31
25
  - !ruby/object:Gem::Version
32
- version: 1.9.0
26
+ version: 0.14.0
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: json
35
29
  requirement: !ruby/object:Gem::Requirement
@@ -159,7 +153,6 @@ files:
159
153
  - docs/RpmUpdateRecord.md
160
154
  - docs/RpmUpdateRecordResponse.md
161
155
  - docs/SkipTypesEnum.md
162
- - docs/SyncPolicyEnum.md
163
156
  - docs/VariantResponse.md
164
157
  - git_push.sh
165
158
  - lib/pulp_rpm_client.rb
@@ -245,7 +238,6 @@ files:
245
238
  - lib/pulp_rpm_client/models/rpm_update_record.rb
246
239
  - lib/pulp_rpm_client/models/rpm_update_record_response.rb
247
240
  - lib/pulp_rpm_client/models/skip_types_enum.rb
248
- - lib/pulp_rpm_client/models/sync_policy_enum.rb
249
241
  - lib/pulp_rpm_client/models/variant_response.rb
250
242
  - lib/pulp_rpm_client/version.rb
251
243
  - pulp_rpm_client.gemspec
@@ -330,7 +322,6 @@ files:
330
322
  - spec/models/rpm_update_record_response_spec.rb
331
323
  - spec/models/rpm_update_record_spec.rb
332
324
  - spec/models/skip_types_enum_spec.rb
333
- - spec/models/sync_policy_enum_spec.rb
334
325
  - spec/models/variant_response_spec.rb
335
326
  - spec/spec_helper.rb
336
327
  homepage: https://openapi-generator.tech
@@ -357,87 +348,86 @@ signing_key:
357
348
  specification_version: 4
358
349
  summary: Pulp 3 API Ruby Gem
359
350
  test_files:
360
- - spec/api/repositories_rpm_versions_api_spec.rb
361
- - spec/api/content_modulemds_api_spec.rb
362
- - spec/api/content_packagecategories_api_spec.rb
363
- - spec/api/remotes_rpm_api_spec.rb
364
- - spec/api/content_packagegroups_api_spec.rb
351
+ - spec/api/content_distribution_trees_api_spec.rb
352
+ - spec/api/publications_rpm_api_spec.rb
353
+ - spec/api/content_packageenvironments_api_spec.rb
365
354
  - spec/api/content_modulemd_defaults_api_spec.rb
366
- - spec/api/repositories_rpm_api_spec.rb
355
+ - spec/api/content_packagelangpacks_api_spec.rb
367
356
  - spec/api/remotes_uln_api_spec.rb
357
+ - spec/api/rpm_copy_api_spec.rb
358
+ - spec/api/content_modulemds_api_spec.rb
359
+ - spec/api/repositories_rpm_versions_api_spec.rb
368
360
  - spec/api/content_advisories_api_spec.rb
361
+ - spec/api/content_packagegroups_api_spec.rb
362
+ - spec/api/repositories_rpm_api_spec.rb
363
+ - spec/api/content_packagecategories_api_spec.rb
369
364
  - spec/api/content_packages_api_spec.rb
370
- - spec/api/content_packageenvironments_api_spec.rb
371
365
  - spec/api/content_repo_metadata_files_api_spec.rb
372
- - spec/api/content_packagelangpacks_api_spec.rb
373
- - spec/api/publications_rpm_api_spec.rb
374
- - spec/api/content_distribution_trees_api_spec.rb
375
366
  - spec/api/distributions_rpm_api_spec.rb
376
- - spec/api/rpm_copy_api_spec.rb
367
+ - spec/api/remotes_rpm_api_spec.rb
377
368
  - spec/api_client_spec.rb
378
369
  - spec/configuration_spec.rb
379
- - spec/models/paginated_repository_version_response_list_spec.rb
380
- - spec/models/rpm_update_collection_spec.rb
381
- - spec/models/rpm_modulemd_defaults_spec.rb
382
- - spec/models/rpm_update_record_spec.rb
383
- - spec/models/paginatedrpm_rpm_repository_response_list_spec.rb
384
- - spec/models/patchedrpm_rpm_distribution_spec.rb
385
- - spec/models/paginatedrpm_uln_remote_response_list_spec.rb
386
- - spec/models/rpm_rpm_publication_spec.rb
387
- - spec/models/paginatedrpm_rpm_publication_response_list_spec.rb
388
- - spec/models/rpm_modulemd_defaults_response_spec.rb
370
+ - spec/models/paginatedrpm_rpm_distribution_response_list_spec.rb
389
371
  - spec/models/rpm_repository_sync_url_spec.rb
390
- - spec/models/rpm_rpm_repository_spec.rb
372
+ - spec/models/rpm_modulemd_defaults_spec.rb
373
+ - spec/models/variant_response_spec.rb
374
+ - spec/models/rpm_package_response_spec.rb
375
+ - spec/models/rpm_rpm_remote_response_spec.rb
376
+ - spec/models/copy_spec.rb
391
377
  - spec/models/rpm_distribution_tree_response_spec.rb
378
+ - spec/models/rpm_package_group_response_spec.rb
379
+ - spec/models/paginatedrpm_package_response_list_spec.rb
380
+ - spec/models/rpm_rpm_publication_response_spec.rb
381
+ - spec/models/skip_types_enum_spec.rb
382
+ - spec/models/package_checksum_type_enum_spec.rb
383
+ - spec/models/rpm_rpm_repository_spec.rb
384
+ - spec/models/rpm_uln_remote_response_spec.rb
385
+ - spec/models/paginatedrpm_package_environment_response_list_spec.rb
386
+ - spec/models/paginatedrpm_uln_remote_response_list_spec.rb
387
+ - spec/models/metadata_checksum_type_enum_spec.rb
392
388
  - spec/models/repository_version_spec.rb
393
- - spec/models/paginatedrpm_package_langpacks_response_list_spec.rb
394
- - spec/models/paginatedrpm_repo_metadata_file_response_list_spec.rb
395
- - spec/models/rpm_modulemd_spec.rb
389
+ - spec/models/image_response_spec.rb
396
390
  - spec/models/rpm_uln_remote_spec.rb
397
- - spec/models/rpm_update_collection_response_spec.rb
398
- - spec/models/package_checksum_type_enum_spec.rb
399
- - spec/models/rpm_package_spec.rb
400
- - spec/models/paginatedrpm_distribution_tree_response_list_spec.rb
401
- - spec/models/content_summary_response_spec.rb
402
- - spec/models/paginatedrpm_package_category_response_list_spec.rb
403
- - spec/models/rpm_package_langpacks_response_spec.rb
404
- - spec/models/rpm_rpm_remote_response_spec.rb
405
- - spec/models/repository_add_remove_content_spec.rb
406
- - spec/models/rpm_rpm_distribution_response_spec.rb
407
391
  - spec/models/policy_enum_spec.rb
408
- - spec/models/addon_response_spec.rb
392
+ - spec/models/repository_version_response_spec.rb
393
+ - spec/models/rpm_update_record_spec.rb
394
+ - spec/models/paginatedrpm_package_group_response_list_spec.rb
409
395
  - spec/models/rpm_package_environment_response_spec.rb
410
- - spec/models/rpm_package_group_response_spec.rb
411
- - spec/models/content_summary_spec.rb
412
- - spec/models/rpm_uln_remote_response_spec.rb
413
- - spec/models/patchedrpm_uln_remote_spec.rb
414
- - spec/models/paginatedrpm_rpm_remote_response_list_spec.rb
415
- - spec/models/paginatedrpm_rpm_distribution_response_list_spec.rb
416
- - spec/models/paginatedrpm_package_response_list_spec.rb
417
- - spec/models/paginatedrpm_package_environment_response_list_spec.rb
418
- - spec/models/rpm_package_category_response_spec.rb
396
+ - spec/models/addon_response_spec.rb
397
+ - spec/models/rpm_repo_metadata_file_response_spec.rb
398
+ - spec/models/paginatedrpm_modulemd_defaults_response_list_spec.rb
399
+ - spec/models/rpm_package_langpacks_response_spec.rb
400
+ - spec/models/content_summary_response_spec.rb
419
401
  - spec/models/async_operation_response_spec.rb
420
- - spec/models/skip_types_enum_spec.rb
421
- - spec/models/rpm_rpm_distribution_spec.rb
402
+ - spec/models/paginated_repository_version_response_list_spec.rb
422
403
  - spec/models/patchedrpm_rpm_remote_spec.rb
423
- - spec/models/checksum_response_spec.rb
424
- - spec/models/rpm_rpm_repository_response_spec.rb
425
- - spec/models/paginatedrpm_modulemd_response_list_spec.rb
404
+ - spec/models/patchedrpm_rpm_distribution_spec.rb
405
+ - spec/models/rpm_package_spec.rb
406
+ - spec/models/rpm_update_collection_spec.rb
407
+ - spec/models/paginatedrpm_repo_metadata_file_response_list_spec.rb
408
+ - spec/models/paginatedrpm_rpm_remote_response_list_spec.rb
409
+ - spec/models/paginatedrpm_distribution_tree_response_list_spec.rb
426
410
  - spec/models/artifact_response_spec.rb
427
- - spec/models/rpm_rpm_remote_spec.rb
428
- - spec/models/copy_spec.rb
429
- - spec/models/rpm_rpm_publication_response_spec.rb
430
- - spec/models/image_response_spec.rb
411
+ - spec/models/paginatedrpm_package_langpacks_response_list_spec.rb
431
412
  - spec/models/patchedrpm_rpm_repository_spec.rb
413
+ - spec/models/patchedrpm_uln_remote_spec.rb
414
+ - spec/models/rpm_modulemd_defaults_response_spec.rb
415
+ - spec/models/paginatedrpm_modulemd_response_list_spec.rb
416
+ - spec/models/content_summary_spec.rb
417
+ - spec/models/rpm_package_category_response_spec.rb
418
+ - spec/models/rpm_rpm_repository_response_spec.rb
419
+ - spec/models/paginatedrpm_rpm_publication_response_list_spec.rb
420
+ - spec/models/paginatedrpm_rpm_repository_response_list_spec.rb
421
+ - spec/models/rpm_update_collection_response_spec.rb
422
+ - spec/models/rpm_modulemd_response_spec.rb
423
+ - spec/models/rpm_rpm_distribution_response_spec.rb
424
+ - spec/models/paginatedrpm_package_category_response_list_spec.rb
432
425
  - spec/models/paginatedrpm_update_record_response_list_spec.rb
433
- - spec/models/repository_version_response_spec.rb
434
- - spec/models/rpm_package_response_spec.rb
435
- - spec/models/rpm_repo_metadata_file_response_spec.rb
436
- - spec/models/sync_policy_enum_spec.rb
437
- - spec/models/paginatedrpm_package_group_response_list_spec.rb
426
+ - spec/models/rpm_rpm_remote_spec.rb
427
+ - spec/models/repository_add_remove_content_spec.rb
428
+ - spec/models/rpm_rpm_distribution_spec.rb
429
+ - spec/models/rpm_modulemd_spec.rb
430
+ - spec/models/checksum_response_spec.rb
438
431
  - spec/models/rpm_update_record_response_spec.rb
439
- - spec/models/paginatedrpm_modulemd_defaults_response_list_spec.rb
440
- - spec/models/metadata_checksum_type_enum_spec.rb
441
- - spec/models/variant_response_spec.rb
442
- - spec/models/rpm_modulemd_response_spec.rb
432
+ - spec/models/rpm_rpm_publication_spec.rb
443
433
  - spec/spec_helper.rb
@@ -1,16 +0,0 @@
1
- # PulpRpmClient::SyncPolicyEnum
2
-
3
- ## Properties
4
-
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
-
8
- ## Code Sample
9
-
10
- ```ruby
11
- require 'PulpRpmClient'
12
-
13
- instance = PulpRpmClient::SyncPolicyEnum.new()
14
- ```
15
-
16
-
@@ -1,37 +0,0 @@
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 'date'
14
-
15
- module PulpRpmClient
16
- class SyncPolicyEnum
17
- ADDITIVE = "additive".freeze
18
- MIRROR_COMPLETE = "mirror_complete".freeze
19
- MIRROR_CONTENT_ONLY = "mirror_content_only".freeze
20
-
21
- # Builds the enum from string
22
- # @param [String] The enum value in the form of the string
23
- # @return [String] The enum value
24
- def self.build_from_hash(value)
25
- new.build_from_hash(value)
26
- end
27
-
28
- # Builds the enum from string
29
- # @param [String] The enum value in the form of the string
30
- # @return [String] The enum value
31
- def build_from_hash(value)
32
- constantValues = SyncPolicyEnum.constants.select { |c| SyncPolicyEnum::const_get(c) == value }
33
- raise "Invalid ENUM value #{value} for class #SyncPolicyEnum" if constantValues.empty?
34
- value
35
- end
36
- end
37
- end
@@ -1,35 +0,0 @@
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 PulpRpmClient::SyncPolicyEnum
18
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
- # Please update as you see appropriate
20
- describe 'SyncPolicyEnum' do
21
- before do
22
- # run before each test
23
- @instance = PulpRpmClient::SyncPolicyEnum.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
29
-
30
- describe 'test an instance of SyncPolicyEnum' do
31
- it 'should create an instance of SyncPolicyEnum' do
32
- expect(@instance).to be_instance_of(PulpRpmClient::SyncPolicyEnum)
33
- end
34
- end
35
- end