pulp_ostree_client 2.0.0a3.dev1641526314 → 2.0.0a3.dev1641871398

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: 30b38b5923758c53531056ae831479134fd82ede4742b7237a77501c113e9dbf
4
- data.tar.gz: f53c07c8bca712ab61a61fe956916db7f54da3592580f27398f5934e4395ced3
3
+ metadata.gz: ffb4dd0831248a002266408e9cf8c41eab7673ce2122196acfa0d1f51e60e949
4
+ data.tar.gz: 20fa7fdd8dcbcd082a8492d2e8a01f8850eca1765b434c4128d1feb3fa22a868
5
5
  SHA512:
6
- metadata.gz: 562ea48248d74280cbd43a3a78221800ec87178517c83dbe01c1dbfce46915cd4d7290c040746e2aa7dd3bb5487f6afed57cf986dc388c5eb74aec5b75e738ec
7
- data.tar.gz: 4a60e0a0ded313abd369f951927dd1338f5ab1ec1b4a79b8e41a1c447038fd3b95a3e8cfc5f5ac39795662b65a280de914749cb886cfb2d0d658ada1a2276e0b
6
+ metadata.gz: 514a14508e093c0a9f9881a0c969e99d7ac933e8b62d4798a95dc5ed0b51b748fe114cdf5fa2a6ad01548e59cf1d3a2812465b5a91fe95b39af47a12d738e0bb
7
+ data.tar.gz: eb039ae7f0065d61e11fa359e48687b01a5d1bd65f187cb390a54dcdad83972773efdf59eb7e0e226df63fb6a97c0a2e668ed87608db474775bc310ac39dfcfc
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.dev1641526314
10
+ - Package version: 2.0.0a3.dev1641871398
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.dev1641526314.gem
27
+ gem install ./pulp_ostree_client-2.0.0a3.dev1641871398.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_ostree_client-2.0.0a3.dev1641526314.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_ostree_client-2.0.0a3.dev1641871398.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.dev1641526314'
36
+ gem 'pulp_ostree_client', '~> 2.0.0a3.dev1641871398'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -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, parent_commit].hash
155
+ [artifact, repository_name, ref].hash
181
156
  end
182
157
 
183
158
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpOstreeClient
14
- VERSION = '2.0.0a3.dev1641526314'
14
+ VERSION = '2.0.0a3.dev1641871398'
15
15
  end
@@ -50,10 +50,4 @@ describe 'OstreeRepoImport' do
50
50
  end
51
51
  end
52
52
 
53
- describe 'test attribute "parent_commit"' do
54
- it 'should work' do
55
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
- end
57
- end
58
-
59
53
  end
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.dev1641526314
4
+ version: 2.0.0a3.dev1641871398
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-07 00:00:00.000000000 Z
11
+ date: 2022-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday