pulp_rpm_client 3.14.13 → 3.14.14

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a4d015983033106de49c7f59c050399c59b474af556a66ebc76db0e4cb1d4864
4
- data.tar.gz: cc2cb5bb07ff28ac70894d1644d2257fb79288e19e4c5cd83e5d59e80a6dd7bc
3
+ metadata.gz: 033bb07d3eb4b5124385d96f50e656aee9110f91906db872609fb1b7c7daeb0c
4
+ data.tar.gz: 2d50e895ef67213bfbd3b36602de04d66c9cb80fd800441978c9510af4c6c2bb
5
5
  SHA512:
6
- metadata.gz: c11a02b904385b93e58c1dc7e90a167162509668775861a3337f9d74fa93f477dccff852f3a7ecb87a8bc6c34cdae40f8d05e4ba10a7cef59685545ec4ee0f1b
7
- data.tar.gz: b4abc5c4dbd0f9fcc12f1e9fae2b23c948e8f43fafefdaa7d789e06c4612e0ac632edf78cc9ac44466335dec420c8c878ddd542aa65fdf13ad972e6e7d94888a
6
+ metadata.gz: 49c42f7f99f917bd5eb484ca9bdc01810770be3fa39e557a2b06b708e733475f6278e1a2aeb7e0f9d01ecf763eef9e791666e066f0552b546d865dad81d09b20
7
+ data.tar.gz: cee1ecfddc11111ac5a3f5e7aaddac27b0f0fed3b6e3c06daf3ace0dbc56e83dad1f88614bad32522541bf2890d40d649d5003514e0467876ed721e2f205b13f
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.13
10
+ - Package version: 3.14.14
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.13.gem
27
+ gem install ./pulp_rpm_client-3.14.14.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_rpm_client-3.14.13.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_rpm_client-3.14.14.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.13'
36
+ gem 'pulp_rpm_client', '~> 3.14.14'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -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] [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]
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]
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] [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]
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]
15
15
  **sqlite_metadata** | **Boolean** | An option specifying whether Pulp should generate SQLite metadata. | [optional] [default to false]
16
16
 
17
17
  ## Code Sample
@@ -118,9 +118,6 @@ 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,
124
121
  :params_encoding => @config.params_encoding,
125
122
  :timeout => @config.timeout,
126
123
  :verbose => @config.debugging
@@ -128,13 +125,13 @@ module PulpRpmClient
128
125
 
129
126
  if [:post, :patch, :put, :delete].include?(http_method)
130
127
  req_body = build_request_body(header_params, form_params, opts[:body])
131
- req_opts.update :body => req_body
132
128
  if @config.debugging
133
129
  @config.logger.debug "HTTP request body param ~BEGIN~\n#{req_body}\n~END~\n"
134
130
  end
135
131
  end
136
132
  request.headers = header_params
137
133
  request.body = req_body
134
+ request.options = OpenStruct.new(req_opts)
138
135
  request.url url
139
136
  request.params = query_params
140
137
  download_file(request) if opts[:return_type] == 'File'
@@ -140,6 +140,7 @@ module PulpRpmClient
140
140
  @ssl_client_cert = nil
141
141
  @ssl_client_key = nil
142
142
  @params_encoder = nil
143
+ @timeout = 60
143
144
  @debugging = false
144
145
  @inject_format = false
145
146
  @force_ending_format = false
@@ -100,14 +100,10 @@ module PulpRpmClient
100
100
 
101
101
  if attributes.key?(:'gpgcheck')
102
102
  self.gpgcheck = attributes[:'gpgcheck']
103
- else
104
- self.gpgcheck = 0
105
103
  end
106
104
 
107
105
  if attributes.key?(:'repo_gpgcheck')
108
106
  self.repo_gpgcheck = attributes[:'repo_gpgcheck']
109
- else
110
- self.repo_gpgcheck = 0
111
107
  end
112
108
 
113
109
  if attributes.key?(:'sqlite_metadata')
@@ -117,14 +117,10 @@ module PulpRpmClient
117
117
 
118
118
  if attributes.key?(:'gpgcheck')
119
119
  self.gpgcheck = attributes[:'gpgcheck']
120
- else
121
- self.gpgcheck = 0
122
120
  end
123
121
 
124
122
  if attributes.key?(:'repo_gpgcheck')
125
123
  self.repo_gpgcheck = attributes[:'repo_gpgcheck']
126
- else
127
- self.repo_gpgcheck = 0
128
124
  end
129
125
 
130
126
  if attributes.key?(:'sqlite_metadata')
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpRpmClient
14
- VERSION = '3.14.13'
14
+ VERSION = '3.14.14'
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulp_rpm_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.14.13
4
+ version: 3.14.14
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-03-08 00:00:00.000000000 Z
11
+ date: 2022-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday