pulp_ostree_client 2.0.0a3.dev1641266889 → 2.0.0a3.dev1641612165

Sign up to get free protection for your applications and to get access to all the features.

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: d71d3332266478911c3fe9e5fa9ff26fe5415ef46c9ea03bf9d78a6992ea4593
4
- data.tar.gz: a57300ba63d07e3c821d088564858243a1d152036a0a8c8569617515f19d8187
3
+ metadata.gz: 03efd32b8a697464cb0f8abf66624bda5a0c30dad66f269c9585fe0a092f1fe1
4
+ data.tar.gz: ece868c36d316e28add154763c19f68d20180b7f717413d2bf4c3a2eac696b33
5
5
  SHA512:
6
- metadata.gz: 9cb4c34dd46c4597c5ef586411f5d9b1b9d9ccf190c561c5edb6c6674a22b1e08712220f4a1c1598565764deeae609382147fdec613c779894d895d125cb723b
7
- data.tar.gz: efc7a175471aa18dc3d2af46e39e57819a2add2f0672fdfd763e3ecceeb53816f9737271303aac85f3d37033f7a1450d1539b7972df8320925756138bd3925b7
6
+ metadata.gz: 300b5127780c872228fc714b9e572c99e464ba63194a1f1481cc9fb433e480129a4470c2dd62f6edc7e812481e196e0b3c4c5ce32cb4bc5726d11e1d4c148e07
7
+ data.tar.gz: f5e2a6c411ad3cff4c72dd03faf454b99287ba46be4d3b666cb7bbef11f0ae69a3ab5eb72cd6070a697eba2701e4af9c1fa4a70bb2425629cb527899ea273da8
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.dev1641266889
10
+ - Package version: 2.0.0a3.dev1641612165
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.dev1641266889.gem
27
+ gem install ./pulp_ostree_client-2.0.0a3.dev1641612165.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_ostree_client-2.0.0a3.dev1641266889.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_ostree_client-2.0.0a3.dev1641612165.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.dev1641266889'
36
+ gem 'pulp_ostree_client', '~> 2.0.0a3.dev1641612165'
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.dev1641266889'
14
+ VERSION = '2.0.0a3.dev1641612165'
15
15
  end
@@ -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', '>= 0.14.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'
@@ -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,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulp_ostree_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0a3.dev1641266889
4
+ version: 2.0.0a3.dev1641612165
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-04 00:00:00.000000000 Z
11
+ date: 2022-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.0'
20
+ - - "<"
18
21
  - !ruby/object:Gem::Version
19
- version: 0.14.0
22
+ version: 1.9.0
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - ">="
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '1.0'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: 0.14.0
32
+ version: 1.9.0
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: json
29
35
  requirement: !ruby/object:Gem::Requirement