pulp_npm_client 0.1.0a3.dev1614742016 → 0.1.0a3.dev1614828586
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c84238ee923ad9ae46766be6afb8764dd243178eebc332cba303074f519aac78
|
4
|
+
data.tar.gz: 34fe4822d2052209b0da1293d47f3d8ec120869dd0b0318fd934bfceb2c4a7d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5764b5966f29fc4e88dc1bc80e3180debc745720486cf341b972ddd09e61dfc7dd6fc7ce0e8712fd00919ecb8a6326a1a405b9df1e7de5af3cf28721685fd24
|
7
|
+
data.tar.gz: e30fe7090dd02510bc794f039a70b554482b2e0effeb329706ae5a657a842852260ed5c75448d92be7b8e0ed6ff5b1c4e8c35454224c3f7691afc528f37c465d
|
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: 0.1.0a3.
|
10
|
+
- Package version: 0.1.0a3.dev1614828586
|
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_npm_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_npm_client-0.1.0a3.
|
27
|
+
gem install ./pulp_npm_client-0.1.0a3.dev1614828586.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_npm_client-0.1.0a3.
|
30
|
+
(for development, run `gem install --dev ./pulp_npm_client-0.1.0a3.dev1614828586.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_npm_client', '~> 0.1.0a3.
|
36
|
+
gem 'pulp_npm_client', '~> 0.1.0a3.dev1614828586'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -10,11 +10,8 @@ Name | Type | Description | Notes
|
|
10
10
|
**url** | **String** | The URL of an external content source. |
|
11
11
|
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
12
12
|
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
13
|
-
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
14
13
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
15
14
|
**proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
|
16
|
-
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
17
|
-
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
18
15
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
19
16
|
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
20
17
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
@@ -36,11 +33,8 @@ instance = PulpNpmClient::NpmNpmRemoteResponse.new(pulp_href: null,
|
|
36
33
|
url: null,
|
37
34
|
ca_cert: null,
|
38
35
|
client_cert: null,
|
39
|
-
client_key: null,
|
40
36
|
tls_validation: null,
|
41
37
|
proxy_url: null,
|
42
|
-
username: null,
|
43
|
-
password: null,
|
44
38
|
pulp_labels: null,
|
45
39
|
pulp_last_updated: null,
|
46
40
|
download_concurrency: null,
|
@@ -32,21 +32,12 @@ module PulpNpmClient
|
|
32
32
|
# A PEM encoded client certificate used for authentication.
|
33
33
|
attr_accessor :client_cert
|
34
34
|
|
35
|
-
# A PEM encoded private key used for authentication.
|
36
|
-
attr_accessor :client_key
|
37
|
-
|
38
35
|
# If True, TLS peer validation must be performed.
|
39
36
|
attr_accessor :tls_validation
|
40
37
|
|
41
38
|
# The proxy URL. Format: scheme://user:password@host:port
|
42
39
|
attr_accessor :proxy_url
|
43
40
|
|
44
|
-
# The username to be used for authentication when syncing.
|
45
|
-
attr_accessor :username
|
46
|
-
|
47
|
-
# The password to be used for authentication when syncing.
|
48
|
-
attr_accessor :password
|
49
|
-
|
50
41
|
attr_accessor :pulp_labels
|
51
42
|
|
52
43
|
# Timestamp of the most recent update of the remote.
|
@@ -82,11 +73,8 @@ module PulpNpmClient
|
|
82
73
|
:'url' => :'url',
|
83
74
|
:'ca_cert' => :'ca_cert',
|
84
75
|
:'client_cert' => :'client_cert',
|
85
|
-
:'client_key' => :'client_key',
|
86
76
|
:'tls_validation' => :'tls_validation',
|
87
77
|
:'proxy_url' => :'proxy_url',
|
88
|
-
:'username' => :'username',
|
89
|
-
:'password' => :'password',
|
90
78
|
:'pulp_labels' => :'pulp_labels',
|
91
79
|
:'pulp_last_updated' => :'pulp_last_updated',
|
92
80
|
:'download_concurrency' => :'download_concurrency',
|
@@ -108,11 +96,8 @@ module PulpNpmClient
|
|
108
96
|
:'url' => :'String',
|
109
97
|
:'ca_cert' => :'String',
|
110
98
|
:'client_cert' => :'String',
|
111
|
-
:'client_key' => :'String',
|
112
99
|
:'tls_validation' => :'Boolean',
|
113
100
|
:'proxy_url' => :'String',
|
114
|
-
:'username' => :'String',
|
115
|
-
:'password' => :'String',
|
116
101
|
:'pulp_labels' => :'Object',
|
117
102
|
:'pulp_last_updated' => :'DateTime',
|
118
103
|
:'download_concurrency' => :'Integer',
|
@@ -130,10 +115,7 @@ module PulpNpmClient
|
|
130
115
|
Set.new([
|
131
116
|
:'ca_cert',
|
132
117
|
:'client_cert',
|
133
|
-
:'client_key',
|
134
118
|
:'proxy_url',
|
135
|
-
:'username',
|
136
|
-
:'password',
|
137
119
|
:'total_timeout',
|
138
120
|
:'connect_timeout',
|
139
121
|
:'sock_connect_timeout',
|
@@ -181,10 +163,6 @@ module PulpNpmClient
|
|
181
163
|
self.client_cert = attributes[:'client_cert']
|
182
164
|
end
|
183
165
|
|
184
|
-
if attributes.key?(:'client_key')
|
185
|
-
self.client_key = attributes[:'client_key']
|
186
|
-
end
|
187
|
-
|
188
166
|
if attributes.key?(:'tls_validation')
|
189
167
|
self.tls_validation = attributes[:'tls_validation']
|
190
168
|
end
|
@@ -193,14 +171,6 @@ module PulpNpmClient
|
|
193
171
|
self.proxy_url = attributes[:'proxy_url']
|
194
172
|
end
|
195
173
|
|
196
|
-
if attributes.key?(:'username')
|
197
|
-
self.username = attributes[:'username']
|
198
|
-
end
|
199
|
-
|
200
|
-
if attributes.key?(:'password')
|
201
|
-
self.password = attributes[:'password']
|
202
|
-
end
|
203
|
-
|
204
174
|
if attributes.key?(:'pulp_labels')
|
205
175
|
self.pulp_labels = attributes[:'pulp_labels']
|
206
176
|
end
|
@@ -347,11 +317,8 @@ module PulpNpmClient
|
|
347
317
|
url == o.url &&
|
348
318
|
ca_cert == o.ca_cert &&
|
349
319
|
client_cert == o.client_cert &&
|
350
|
-
client_key == o.client_key &&
|
351
320
|
tls_validation == o.tls_validation &&
|
352
321
|
proxy_url == o.proxy_url &&
|
353
|
-
username == o.username &&
|
354
|
-
password == o.password &&
|
355
322
|
pulp_labels == o.pulp_labels &&
|
356
323
|
pulp_last_updated == o.pulp_last_updated &&
|
357
324
|
download_concurrency == o.download_concurrency &&
|
@@ -372,7 +339,7 @@ module PulpNpmClient
|
|
372
339
|
# Calculates hash code according to all attributes.
|
373
340
|
# @return [Integer] Hash code
|
374
341
|
def hash
|
375
|
-
[pulp_href, pulp_created, name, url, ca_cert, client_cert,
|
342
|
+
[pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, pulp_last_updated, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, rate_limit].hash
|
376
343
|
end
|
377
344
|
|
378
345
|
# Builds the object from hash
|
@@ -68,12 +68,6 @@ describe 'NpmNpmRemoteResponse' do
|
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
71
|
-
describe 'test attribute "client_key"' do
|
72
|
-
it 'should work' do
|
73
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
|
-
end
|
75
|
-
end
|
76
|
-
|
77
71
|
describe 'test attribute "tls_validation"' do
|
78
72
|
it 'should work' do
|
79
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -86,18 +80,6 @@ describe 'NpmNpmRemoteResponse' do
|
|
86
80
|
end
|
87
81
|
end
|
88
82
|
|
89
|
-
describe 'test attribute "username"' do
|
90
|
-
it 'should work' do
|
91
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
|
-
end
|
93
|
-
end
|
94
|
-
|
95
|
-
describe 'test attribute "password"' do
|
96
|
-
it 'should work' do
|
97
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
98
|
-
end
|
99
|
-
end
|
100
|
-
|
101
83
|
describe 'test attribute "pulp_labels"' do
|
102
84
|
it 'should work' do
|
103
85
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_npm_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0a3.
|
4
|
+
version: 0.1.0a3.dev1614828586
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-03-
|
11
|
+
date: 2021-03-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|