pulp_ostree_client 2.0.0a3.dev1641440607 → 2.0.0a3.dev1641784988
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulp_ostree_client might be problematic. Click here for more details.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6612cb2176ac3fd6d89114000a3c117f3cd1fa56ada41d9f215d84e629195386
|
4
|
+
data.tar.gz: 78c82b45d6b533ebc9788d0b1e05d1147edd83f7d532fedcf45fd6935dbf501c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0595af36ad7ae214e580d88c700af9030cfde91a092c872fa0a2ba1f055f50c5261b8cf6592961aaec520e2cd314a7b1dc07a060c8f0c8af46551a3b47a6170e'
|
7
|
+
data.tar.gz: 7f886fc352dcd88d8f4868b919bc381e56f34cfa1ee4507464fa8b6a3b2506c8a166f47897d07cbda276633202d8d8a76eb8c16819f7ebb11d56df86ca9f3989
|
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: 2.0.0a3.
|
10
|
+
- Package version: 2.0.0a3.dev1641784988
|
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_ostree_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_ostree_client-2.0.0a3.
|
27
|
+
gem install ./pulp_ostree_client-2.0.0a3.dev1641784988.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_ostree_client-2.0.0a3.
|
30
|
+
(for development, run `gem install --dev ./pulp_ostree_client-2.0.0a3.dev1641784988.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_ostree_client', '~> 2.0.0a3.
|
36
|
+
gem 'pulp_ostree_client', '~> 2.0.0a3.dev1641784988'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
data/docs/OstreeRepoImport.md
CHANGED
@@ -7,7 +7,6 @@ Name | Type | Description | Notes
|
|
7
7
|
**artifact** | **String** | An artifact representing OSTree content compressed as a tarball. |
|
8
8
|
**repository_name** | **String** | The name of a repository that contains the compressed OSTree content. |
|
9
9
|
**ref** | **String** | The name of a ref branch that holds the reference to the last commit. | [optional]
|
10
|
-
**parent_commit** | **String** | The checksum of a parent commit with which the content needs to be associated. | [optional]
|
11
10
|
|
12
11
|
## Code Sample
|
13
12
|
|
@@ -16,8 +15,7 @@ require 'PulpOstreeClient'
|
|
16
15
|
|
17
16
|
instance = PulpOstreeClient::OstreeRepoImport.new(artifact: null,
|
18
17
|
repository_name: null,
|
19
|
-
ref: null
|
20
|
-
parent_commit: null)
|
18
|
+
ref: null)
|
21
19
|
```
|
22
20
|
|
23
21
|
|
@@ -24,16 +24,12 @@ module PulpOstreeClient
|
|
24
24
|
# The name of a ref branch that holds the reference to the last commit.
|
25
25
|
attr_accessor :ref
|
26
26
|
|
27
|
-
# The checksum of a parent commit with which the content needs to be associated.
|
28
|
-
attr_accessor :parent_commit
|
29
|
-
|
30
27
|
# Attribute mapping from ruby-style variable name to JSON key.
|
31
28
|
def self.attribute_map
|
32
29
|
{
|
33
30
|
:'artifact' => :'artifact',
|
34
31
|
:'repository_name' => :'repository_name',
|
35
|
-
:'ref' => :'ref'
|
36
|
-
:'parent_commit' => :'parent_commit'
|
32
|
+
:'ref' => :'ref'
|
37
33
|
}
|
38
34
|
end
|
39
35
|
|
@@ -42,8 +38,7 @@ module PulpOstreeClient
|
|
42
38
|
{
|
43
39
|
:'artifact' => :'String',
|
44
40
|
:'repository_name' => :'String',
|
45
|
-
:'ref' => :'String'
|
46
|
-
:'parent_commit' => :'String'
|
41
|
+
:'ref' => :'String'
|
47
42
|
}
|
48
43
|
end
|
49
44
|
|
@@ -79,10 +74,6 @@ module PulpOstreeClient
|
|
79
74
|
if attributes.key?(:'ref')
|
80
75
|
self.ref = attributes[:'ref']
|
81
76
|
end
|
82
|
-
|
83
|
-
if attributes.key?(:'parent_commit')
|
84
|
-
self.parent_commit = attributes[:'parent_commit']
|
85
|
-
end
|
86
77
|
end
|
87
78
|
|
88
79
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -105,10 +96,6 @@ module PulpOstreeClient
|
|
105
96
|
invalid_properties.push('invalid value for "ref", the character length must be great than or equal to 1.')
|
106
97
|
end
|
107
98
|
|
108
|
-
if !@parent_commit.nil? && @parent_commit.to_s.length < 1
|
109
|
-
invalid_properties.push('invalid value for "parent_commit", the character length must be great than or equal to 1.')
|
110
|
-
end
|
111
|
-
|
112
99
|
invalid_properties
|
113
100
|
end
|
114
101
|
|
@@ -119,7 +106,6 @@ module PulpOstreeClient
|
|
119
106
|
return false if @repository_name.nil?
|
120
107
|
return false if @repository_name.to_s.length < 1
|
121
108
|
return false if !@ref.nil? && @ref.to_s.length < 1
|
122
|
-
return false if !@parent_commit.nil? && @parent_commit.to_s.length < 1
|
123
109
|
true
|
124
110
|
end
|
125
111
|
|
@@ -147,16 +133,6 @@ module PulpOstreeClient
|
|
147
133
|
@ref = ref
|
148
134
|
end
|
149
135
|
|
150
|
-
# Custom attribute writer method with validation
|
151
|
-
# @param [Object] parent_commit Value to be assigned
|
152
|
-
def parent_commit=(parent_commit)
|
153
|
-
if !parent_commit.nil? && parent_commit.to_s.length < 1
|
154
|
-
fail ArgumentError, 'invalid value for "parent_commit", the character length must be great than or equal to 1.'
|
155
|
-
end
|
156
|
-
|
157
|
-
@parent_commit = parent_commit
|
158
|
-
end
|
159
|
-
|
160
136
|
# Checks equality by comparing each attribute.
|
161
137
|
# @param [Object] Object to be compared
|
162
138
|
def ==(o)
|
@@ -164,8 +140,7 @@ module PulpOstreeClient
|
|
164
140
|
self.class == o.class &&
|
165
141
|
artifact == o.artifact &&
|
166
142
|
repository_name == o.repository_name &&
|
167
|
-
ref == o.ref
|
168
|
-
parent_commit == o.parent_commit
|
143
|
+
ref == o.ref
|
169
144
|
end
|
170
145
|
|
171
146
|
# @see the `==` method
|
@@ -177,7 +152,7 @@ module PulpOstreeClient
|
|
177
152
|
# Calculates hash code according to all attributes.
|
178
153
|
# @return [Integer] Hash code
|
179
154
|
def hash
|
180
|
-
[artifact, repository_name, ref
|
155
|
+
[artifact, repository_name, ref].hash
|
181
156
|
end
|
182
157
|
|
183
158
|
# Builds the object from hash
|
data/pulp_ostree_client.gemspec
CHANGED
@@ -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', '~> 1.0', '
|
30
|
+
s.add_runtime_dependency 'faraday', '~> 1.0', '< 1.9.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'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_ostree_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0a3.
|
4
|
+
version: 2.0.0a3.dev1641784988
|
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-01-
|
11
|
+
date: 2022-01-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -17,9 +17,9 @@ dependencies:
|
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.0'
|
20
|
-
- - "
|
20
|
+
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 1.0
|
22
|
+
version: 1.9.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -27,9 +27,9 @@ dependencies:
|
|
27
27
|
- - "~>"
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
version: '1.0'
|
30
|
-
- - "
|
30
|
+
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 1.0
|
32
|
+
version: 1.9.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: json
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|