pulp_ostree_client 2.0.0a3.dev1641440607 → 2.0.0a3.dev1641784988

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: 5956cea423a142c946660d79a92fef45c473abfcc6a376c226b3eac17c2c1fa3
4
- data.tar.gz: 727bc31337ddc38bf8ffad4a4311591011504394b8f2f4da25c18287db6e05d1
3
+ metadata.gz: 6612cb2176ac3fd6d89114000a3c117f3cd1fa56ada41d9f215d84e629195386
4
+ data.tar.gz: 78c82b45d6b533ebc9788d0b1e05d1147edd83f7d532fedcf45fd6935dbf501c
5
5
  SHA512:
6
- metadata.gz: d79a3a14068f6f64f09263aa07bbb9ebe3c0d99c438ca553c966eee4dc037ba614ebe5f5350b739c255a816c07e3fbd895551999a5209b4be193f4148ec452e4
7
- data.tar.gz: 4222e7104af217f5e1e9b5554986461c6c8fa38cabe804c4e39fb55dd23f221a792551662b2f8c7c099ac6e67abfa9974dc4c784d39cb18aa86c372a8f0c1775
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.dev1641440607
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.dev1641440607.gem
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.dev1641440607.gem` to install the development dependencies)
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.dev1641440607'
36
+ gem 'pulp_ostree_client', '~> 2.0.0a3.dev1641784988'
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.dev1641440607'
14
+ VERSION = '2.0.0a3.dev1641784988'
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', '~> 1.0', '>= 1.0.1'
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,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.dev1641440607
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-06 00:00:00.000000000 Z
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.1
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.1
32
+ version: 1.9.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: json
35
35
  requirement: !ruby/object:Gem::Requirement