pulpcore_client 3.21.0.dev1661751475 → 3.21.0.dev1662356157

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3788b58a24716b0e199f85242bde996199598ee788c17bae82a26e1c0624b156
4
- data.tar.gz: 84170bc54f29556127e86986cf8a7a0e6572d130af0d58129e09ed387c9d839d
3
+ metadata.gz: f8fd2c55534cae6d36a2b88c0ab23e4983f0f9dbf70e75c5dcf012e9f2eec59d
4
+ data.tar.gz: 8252a0159d7305d811d26d88d70236eb6f9707d66cd9af1ba0f265187fe2fa02
5
5
  SHA512:
6
- metadata.gz: 94823c9d1f2590955257ba40eb4b4833119529ec049bed5fcc4b78d5646fc9328116fb12b63c8c51791c879cc11b26a2a8cda94b529d4de3e7cfad2ce8de1b80
7
- data.tar.gz: 627d9306062f16d2d44398aec1180644dd30bdbccc467fc190254583b36e92d61e0a727e5efee610d5c57a0005788ad67113b5353243ada67fcb8cade7b73680
6
+ metadata.gz: a47e94081d54543bda861087d7698ec3da45a34c9e64100e18ba44fe167b5ff45449de1443eb763b54afa61d183effe83f248261855da6ff94f132a420dc554e
7
+ data.tar.gz: 185da3ff425dcdd1cde5f21cf5769dff5b188a6d9ea8b7bb8d70ab6b3bc82508dc7a94fcf854f2bffa76f903e289fe21e907996fe7da1c06ae9e9b7a02a0690e
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.dev1661751475
10
+ - Package version: 3.21.0.dev1662356157
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.dev1661751475.gem
27
+ gem install ./pulpcore_client-3.21.0.dev1662356157.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulpcore_client-3.21.0.dev1661751475.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulpcore_client-3.21.0.dev1662356157.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.dev1661751475'
36
+ gem 'pulpcore_client', '~> 3.21.0.dev1662356157'
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
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpcoreClient
14
- VERSION = '3.21.0.dev1661751475'
14
+ VERSION = '3.21.0.dev1662356157'
15
15
  end
@@ -44,4 +44,10 @@ describe 'PulpImport' do
44
44
  end
45
45
  end
46
46
 
47
+ describe 'test attribute "create_repositories"' 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
+
47
53
  end
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.dev1661751475
4
+ version: 3.21.0.dev1662356157
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-08-29 00:00:00.000000000 Z
11
+ date: 2022-09-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday