pulpcore_client 3.21.0.dev1661664697 → 3.21.0.dev1662271447
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pulpcore_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/PulpImport.md +3 -1
- data/lib/pulpcore_client/models/pulp_import.rb +16 -4
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/models/pulp_import_spec.rb +6 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ecc5228eecff5c7e8210d6e87e635ac60a48ec88b778dc816e3aaa4d360c1115
|
4
|
+
data.tar.gz: b0e077bf5e38e148c7a93e4959ae4f7d23ad27d2534c22dc91e89be53649d21f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dfd9f9571398e4a3b810de4e7658b45eac4f36329c8fe08057b257c1cc5162e5443d288d79eaa2c177ed10ef761641755e4c76ed91eedb90de14e33afd64816e
|
7
|
+
data.tar.gz: 2e65275c5a497e482b136fce3858fa99db29e26e29c9312a1bb68dbca11c18701cbbdbb55fdaffa7a29d31e8a6094ea621f5c7027bbf4bd8cc391eba3e81e187
|
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.21.0.
|
10
|
+
- Package version: 3.21.0.dev1662271447
|
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 pulpcore_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulpcore_client-3.21.0.
|
27
|
+
gem install ./pulpcore_client-3.21.0.dev1662271447.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulpcore_client-3.21.0.
|
30
|
+
(for development, run `gem install --dev ./pulpcore_client-3.21.0.dev1662271447.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 'pulpcore_client', '~> 3.21.0.
|
36
|
+
gem 'pulpcore_client', '~> 3.21.0.dev1662271447'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
data/docs/PulpImport.md
CHANGED
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**path** | **String** | Path to export that will be imported. | [optional]
|
8
8
|
**toc** | **String** | Path to a table-of-contents file describing chunks to be validated, reassembled, and imported. | [optional]
|
9
|
+
**create_repositories** | **Boolean** | If True, missing repositories will be automatically created during the import. | [optional] [default to false]
|
9
10
|
|
10
11
|
## Code Sample
|
11
12
|
|
@@ -13,7 +14,8 @@ Name | Type | Description | Notes
|
|
13
14
|
require 'PulpcoreClient'
|
14
15
|
|
15
16
|
instance = PulpcoreClient::PulpImport.new(path: null,
|
16
|
-
toc: null
|
17
|
+
toc: null,
|
18
|
+
create_repositories: null)
|
17
19
|
```
|
18
20
|
|
19
21
|
|
@@ -21,11 +21,15 @@ module PulpcoreClient
|
|
21
21
|
# Path to a table-of-contents file describing chunks to be validated, reassembled, and imported.
|
22
22
|
attr_accessor :toc
|
23
23
|
|
24
|
+
# If True, missing repositories will be automatically created during the import.
|
25
|
+
attr_accessor :create_repositories
|
26
|
+
|
24
27
|
# Attribute mapping from ruby-style variable name to JSON key.
|
25
28
|
def self.attribute_map
|
26
29
|
{
|
27
30
|
:'path' => :'path',
|
28
|
-
:'toc' => :'toc'
|
31
|
+
:'toc' => :'toc',
|
32
|
+
:'create_repositories' => :'create_repositories'
|
29
33
|
}
|
30
34
|
end
|
31
35
|
|
@@ -33,7 +37,8 @@ module PulpcoreClient
|
|
33
37
|
def self.openapi_types
|
34
38
|
{
|
35
39
|
:'path' => :'String',
|
36
|
-
:'toc' => :'String'
|
40
|
+
:'toc' => :'String',
|
41
|
+
:'create_repositories' => :'Boolean'
|
37
42
|
}
|
38
43
|
end
|
39
44
|
|
@@ -65,6 +70,12 @@ module PulpcoreClient
|
|
65
70
|
if attributes.key?(:'toc')
|
66
71
|
self.toc = attributes[:'toc']
|
67
72
|
end
|
73
|
+
|
74
|
+
if attributes.key?(:'create_repositories')
|
75
|
+
self.create_repositories = attributes[:'create_repositories']
|
76
|
+
else
|
77
|
+
self.create_repositories = false
|
78
|
+
end
|
68
79
|
end
|
69
80
|
|
70
81
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -116,7 +127,8 @@ module PulpcoreClient
|
|
116
127
|
return true if self.equal?(o)
|
117
128
|
self.class == o.class &&
|
118
129
|
path == o.path &&
|
119
|
-
toc == o.toc
|
130
|
+
toc == o.toc &&
|
131
|
+
create_repositories == o.create_repositories
|
120
132
|
end
|
121
133
|
|
122
134
|
# @see the `==` method
|
@@ -128,7 +140,7 @@ module PulpcoreClient
|
|
128
140
|
# Calculates hash code according to all attributes.
|
129
141
|
# @return [Integer] Hash code
|
130
142
|
def hash
|
131
|
-
[path, toc].hash
|
143
|
+
[path, toc, create_repositories].hash
|
132
144
|
end
|
133
145
|
|
134
146
|
# Builds the object from hash
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulpcore_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.21.0.
|
4
|
+
version: 3.21.0.dev1662271447
|
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-
|
11
|
+
date: 2022-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|