pulp_ostree_client 2.0.0a2 → 2.0.0a3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8c94bab247a576719f46c515c8214f4e23c561f2595f168190c9ed248c27c784
4
- data.tar.gz: 13d658a4c64b422d63fc350712da03bb3fac75c142e545d9c31d018c9062372a
3
+ metadata.gz: 8af4ff607ba852a3cf9a69595ceab5bceb21de6faf821390f2ac3675f48d0664
4
+ data.tar.gz: 8dd6f6a4246e8748ebee66050807279d47f5eb2622412b4aba8e99e97dfe02ee
5
5
  SHA512:
6
- metadata.gz: 4820a9bba716d485f803e8c328baae58ac31795c28a853f866082a91f7e88debad951e99e922cf75b68763dceaf5c555756b5cd2e557f597b4c7d17c46fef40b
7
- data.tar.gz: 830b6be7d642b712b13975891f9ce36c9cd607e673e422ff1c908132362a848b03a4714ea7bc531cbc4d21eb8e269a7a3a00e1bb139f4f3435e3487cd7e46ad6
6
+ metadata.gz: '096ea284310dc922464581f5621548b804647afed35a5c85bd99dd8291385ee8d240cd07fcb54b5e9e0f552d2b7f544cd54a799329b406730aeb2edcb31eec51'
7
+ data.tar.gz: 592334b608d1a5c733c7b705d9a9e7003d7a4bb239586fbc7dcca77822cf5f33d8b4a59f04e9558d1092352cef0fdccdd690fed7fad2e4770a9f14af612ffbfc
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.0a2
10
+ - Package version: 2.0.0a3
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.0a2.gem
27
+ gem install ./pulp_ostree_client-2.0.0a3.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_ostree_client-2.0.0a2.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_ostree_client-2.0.0a3.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.0a2'
36
+ gem 'pulp_ostree_client', '~> 2.0.0a3'
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?
@@ -115,8 +106,7 @@ module PulpOstreeClient
115
106
  self.class == o.class &&
116
107
  artifact == o.artifact &&
117
108
  repository_name == o.repository_name &&
118
- ref == o.ref &&
119
- parent_commit == o.parent_commit
109
+ ref == o.ref
120
110
  end
121
111
 
122
112
  # @see the `==` method
@@ -128,7 +118,7 @@ module PulpOstreeClient
128
118
  # Calculates hash code according to all attributes.
129
119
  # @return [Integer] Hash code
130
120
  def hash
131
- [artifact, repository_name, ref, parent_commit].hash
121
+ [artifact, repository_name, ref].hash
132
122
  end
133
123
 
134
124
  # 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.0a2'
14
+ VERSION = '2.0.0a3'
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.0a2
4
+ version: 2.0.0a3
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-25 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
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.14.0
19
+ version: '1.0'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
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
@@ -231,47 +237,47 @@ signing_key:
231
237
  specification_version: 4
232
238
  summary: Pulp 3 API Ruby Gem
233
239
  test_files:
234
- - spec/api/content_objects_api_spec.rb
235
240
  - spec/api/repositories_ostree_versions_api_spec.rb
241
+ - spec/api/content_summaries_api_spec.rb
236
242
  - spec/api/remotes_ostree_api_spec.rb
243
+ - spec/api/content_commits_api_spec.rb
237
244
  - spec/api/repositories_ostree_api_spec.rb
245
+ - spec/api/content_objects_api_spec.rb
246
+ - spec/api/content_configs_api_spec.rb
238
247
  - spec/api/content_refs_api_spec.rb
239
248
  - spec/api/distributions_ostree_api_spec.rb
240
- - spec/api/content_configs_api_spec.rb
241
- - spec/api/content_summaries_api_spec.rb
242
- - spec/api/content_commits_api_spec.rb
243
249
  - spec/api_client_spec.rb
244
250
  - spec/configuration_spec.rb
251
+ - spec/models/paginatedostree_ostree_repository_response_list_spec.rb
245
252
  - spec/models/patchedostree_ostree_repository_spec.rb
246
- - spec/models/content_summary_response_spec.rb
247
- - spec/models/patchedostree_ostree_distribution_spec.rb
248
- - spec/models/ostree_ostree_summary_response_spec.rb
249
- - spec/models/ostree_ostree_repository_response_spec.rb
250
- - spec/models/async_operation_response_spec.rb
251
- - spec/models/paginatedostree_ostree_distribution_response_list_spec.rb
252
- - spec/models/ostree_ostree_object_response_spec.rb
253
253
  - spec/models/paginatedostree_ostree_commit_response_list_spec.rb
254
- - spec/models/ostree_ostree_remote_response_spec.rb
255
- - spec/models/patchedostree_ostree_remote_spec.rb
256
- - spec/models/ostree_ostree_ref_response_spec.rb
257
- - spec/models/content_summary_spec.rb
254
+ - spec/models/paginated_repository_version_response_list_spec.rb
255
+ - spec/models/ostree_ostree_repository_response_spec.rb
258
256
  - spec/models/ostree_ostree_remote_spec.rb
257
+ - spec/models/ostree_ostree_commit_response_spec.rb
259
258
  - spec/models/policy_enum_spec.rb
260
- - spec/models/ostree_ostree_config_response_spec.rb
261
259
  - spec/models/repository_sync_url_spec.rb
262
- - spec/models/ostree_repo_import_spec.rb
263
- - spec/models/ostree_ostree_distribution_response_spec.rb
264
- - spec/models/paginatedostree_ostree_config_response_list_spec.rb
265
260
  - spec/models/paginatedostree_ostree_summary_response_list_spec.rb
266
- - spec/models/paginatedostree_ostree_object_response_list_spec.rb
267
- - spec/models/paginatedostree_ostree_remote_response_list_spec.rb
268
- - spec/models/paginatedostree_ostree_repository_response_list_spec.rb
269
- - spec/models/repository_version_spec.rb
270
- - spec/models/paginatedostree_ostree_ref_response_list_spec.rb
261
+ - spec/models/repository_version_response_spec.rb
262
+ - spec/models/ostree_ostree_summary_response_spec.rb
263
+ - spec/models/content_summary_response_spec.rb
271
264
  - spec/models/ostree_repository_add_remove_content_spec.rb
272
- - spec/models/ostree_ostree_distribution_spec.rb
273
- - spec/models/paginated_repository_version_response_list_spec.rb
265
+ - spec/models/ostree_ostree_ref_response_spec.rb
266
+ - spec/models/ostree_ostree_object_response_spec.rb
274
267
  - spec/models/ostree_ostree_repository_spec.rb
275
- - spec/models/ostree_ostree_commit_response_spec.rb
276
- - spec/models/repository_version_response_spec.rb
268
+ - spec/models/paginatedostree_ostree_distribution_response_list_spec.rb
269
+ - spec/models/ostree_ostree_distribution_spec.rb
270
+ - spec/models/patchedostree_ostree_remote_spec.rb
271
+ - spec/models/content_summary_spec.rb
272
+ - spec/models/paginatedostree_ostree_ref_response_list_spec.rb
273
+ - spec/models/repository_version_spec.rb
274
+ - spec/models/async_operation_response_spec.rb
275
+ - spec/models/ostree_repo_import_spec.rb
276
+ - spec/models/paginatedostree_ostree_remote_response_list_spec.rb
277
+ - spec/models/paginatedostree_ostree_config_response_list_spec.rb
278
+ - spec/models/ostree_ostree_remote_response_spec.rb
279
+ - spec/models/ostree_ostree_distribution_response_spec.rb
280
+ - spec/models/ostree_ostree_config_response_spec.rb
281
+ - spec/models/patchedostree_ostree_distribution_spec.rb
282
+ - spec/models/paginatedostree_ostree_object_response_list_spec.rb
277
283
  - spec/spec_helper.rb