pulp_ostree_client 2.0.0a6 → 2.0.0a7.dev1676430950

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.

Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -6
  3. data/docs/ContentCommitsApi.md +8 -8
  4. data/docs/ContentConfigsApi.md +8 -8
  5. data/docs/ContentObjectsApi.md +8 -8
  6. data/docs/ContentRefsApi.md +8 -8
  7. data/docs/ContentSummariesApi.md +8 -8
  8. data/docs/DistributionsOstreeApi.md +18 -12
  9. data/docs/OstreeOstreeDistribution.md +1 -1
  10. data/docs/OstreeOstreeDistributionResponse.md +1 -1
  11. data/docs/OstreeOstreeRemote.md +1 -1
  12. data/docs/OstreeOstreeRemoteResponse.md +3 -1
  13. data/docs/OstreeOstreeRemoteResponseHiddenFields.md +19 -0
  14. data/docs/OstreeOstreeRepository.md +1 -1
  15. data/docs/OstreeOstreeRepositoryResponse.md +1 -1
  16. data/docs/PatchedostreeOstreeDistribution.md +1 -1
  17. data/docs/PatchedostreeOstreeRemote.md +1 -1
  18. data/docs/PatchedostreeOstreeRepository.md +1 -1
  19. data/docs/RemotesOstreeApi.md +12 -12
  20. data/docs/RepositoriesOstreeApi.md +28 -10
  21. data/docs/RepositoriesOstreeVersionsApi.md +12 -12
  22. data/lib/pulp_ostree_client/api/content_commits_api.rb +13 -13
  23. data/lib/pulp_ostree_client/api/content_configs_api.rb +12 -12
  24. data/lib/pulp_ostree_client/api/content_objects_api.rb +13 -13
  25. data/lib/pulp_ostree_client/api/content_refs_api.rb +13 -13
  26. data/lib/pulp_ostree_client/api/content_summaries_api.rb +12 -12
  27. data/lib/pulp_ostree_client/api/distributions_ostree_api.rb +26 -17
  28. data/lib/pulp_ostree_client/api/remotes_ostree_api.rb +17 -17
  29. data/lib/pulp_ostree_client/api/repositories_ostree_api.rb +42 -15
  30. data/lib/pulp_ostree_client/api/repositories_ostree_versions_api.rb +17 -17
  31. data/lib/pulp_ostree_client/api_client.rb +1 -1
  32. data/lib/pulp_ostree_client/models/ostree_ostree_distribution.rb +4 -2
  33. data/lib/pulp_ostree_client/models/ostree_ostree_distribution_response.rb +4 -2
  34. data/lib/pulp_ostree_client/models/ostree_ostree_remote.rb +4 -2
  35. data/lib/pulp_ostree_client/models/ostree_ostree_remote_response.rb +17 -3
  36. data/lib/pulp_ostree_client/models/ostree_ostree_remote_response_hidden_fields.rb +215 -0
  37. data/lib/pulp_ostree_client/models/ostree_ostree_repository.rb +4 -2
  38. data/lib/pulp_ostree_client/models/ostree_ostree_repository_response.rb +4 -2
  39. data/lib/pulp_ostree_client/models/patchedostree_ostree_distribution.rb +4 -2
  40. data/lib/pulp_ostree_client/models/patchedostree_ostree_remote.rb +4 -2
  41. data/lib/pulp_ostree_client/models/patchedostree_ostree_repository.rb +4 -2
  42. data/lib/pulp_ostree_client/version.rb +1 -1
  43. data/lib/pulp_ostree_client.rb +1 -0
  44. data/pulp_ostree_client.gemspec +3 -3
  45. data/spec/api/content_commits_api_spec.rb +4 -4
  46. data/spec/api/content_configs_api_spec.rb +4 -4
  47. data/spec/api/content_objects_api_spec.rb +4 -4
  48. data/spec/api/content_refs_api_spec.rb +4 -4
  49. data/spec/api/content_summaries_api_spec.rb +4 -4
  50. data/spec/api/distributions_ostree_api_spec.rb +9 -6
  51. data/spec/api/remotes_ostree_api_spec.rb +6 -6
  52. data/spec/api/repositories_ostree_api_spec.rb +14 -5
  53. data/spec/api/repositories_ostree_versions_api_spec.rb +6 -6
  54. data/spec/models/ostree_ostree_remote_response_hidden_fields_spec.rb +47 -0
  55. data/spec/models/ostree_ostree_remote_response_spec.rb +6 -0
  56. metadata +41 -38
  57. data/git_push.sh +0 -58
@@ -0,0 +1,47 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for PulpOstreeClient::OstreeOstreeRemoteResponseHiddenFields
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'OstreeOstreeRemoteResponseHiddenFields' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpOstreeClient::OstreeOstreeRemoteResponseHiddenFields.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of OstreeOstreeRemoteResponseHiddenFields' do
31
+ it 'should create an instance of OstreeOstreeRemoteResponseHiddenFields' do
32
+ expect(@instance).to be_instance_of(PulpOstreeClient::OstreeOstreeRemoteResponseHiddenFields)
33
+ end
34
+ end
35
+ describe 'test attribute "name"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "is_set"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ end
@@ -146,6 +146,12 @@ describe 'OstreeOstreeRemoteResponse' do
146
146
  end
147
147
  end
148
148
 
149
+ describe 'test attribute "hidden_fields"' do
150
+ it 'should work' do
151
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
152
+ end
153
+ end
154
+
149
155
  describe 'test attribute "depth"' do
150
156
  it 'should work' do
151
157
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
metadata CHANGED
@@ -1,35 +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.0a6
4
+ version: 2.0.0a7.dev1676430950
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-06-24 00:00:00.000000000 Z
11
+ date: 2023-02-15 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.17'
19
+ version: 1.0.1
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: 1.9.0
22
+ version: '2.0'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
- - - "~>"
27
+ - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.17'
29
+ version: 1.0.1
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: 1.9.0
32
+ version: '2.0'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: json
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -98,6 +98,7 @@ files:
98
98
  - docs/OstreeOstreeRefResponse.md
99
99
  - docs/OstreeOstreeRemote.md
100
100
  - docs/OstreeOstreeRemoteResponse.md
101
+ - docs/OstreeOstreeRemoteResponseHiddenFields.md
101
102
  - docs/OstreeOstreeRepository.md
102
103
  - docs/OstreeOstreeRepositoryResponse.md
103
104
  - docs/OstreeOstreeSummaryResponse.md
@@ -121,7 +122,6 @@ files:
121
122
  - docs/RepositoriesOstreeVersionsApi.md
122
123
  - docs/RepositorySyncURL.md
123
124
  - docs/RepositoryVersionResponse.md
124
- - git_push.sh
125
125
  - lib/pulp_ostree_client.rb
126
126
  - lib/pulp_ostree_client/api/content_commits_api.rb
127
127
  - lib/pulp_ostree_client/api/content_configs_api.rb
@@ -147,6 +147,7 @@ files:
147
147
  - lib/pulp_ostree_client/models/ostree_ostree_ref_response.rb
148
148
  - lib/pulp_ostree_client/models/ostree_ostree_remote.rb
149
149
  - lib/pulp_ostree_client/models/ostree_ostree_remote_response.rb
150
+ - lib/pulp_ostree_client/models/ostree_ostree_remote_response_hidden_fields.rb
150
151
  - lib/pulp_ostree_client/models/ostree_ostree_repository.rb
151
152
  - lib/pulp_ostree_client/models/ostree_ostree_repository_response.rb
152
153
  - lib/pulp_ostree_client/models/ostree_ostree_summary_response.rb
@@ -190,6 +191,7 @@ files:
190
191
  - spec/models/ostree_ostree_distribution_spec.rb
191
192
  - spec/models/ostree_ostree_object_response_spec.rb
192
193
  - spec/models/ostree_ostree_ref_response_spec.rb
194
+ - spec/models/ostree_ostree_remote_response_hidden_fields_spec.rb
193
195
  - spec/models/ostree_ostree_remote_response_spec.rb
194
196
  - spec/models/ostree_ostree_remote_spec.rb
195
197
  - spec/models/ostree_ostree_repository_response_spec.rb
@@ -213,9 +215,9 @@ files:
213
215
  - spec/models/repository_sync_url_spec.rb
214
216
  - spec/models/repository_version_response_spec.rb
215
217
  - spec/spec_helper.rb
216
- homepage: https://openapi-generator.tech
218
+ homepage: https://github.com/pulp/pulp_ostree
217
219
  licenses:
218
- - GPL-2.0+
220
+ - GPLv2+
219
221
  metadata: {}
220
222
  post_install_message:
221
223
  rdoc_options: []
@@ -237,47 +239,48 @@ signing_key:
237
239
  specification_version: 4
238
240
  summary: Pulp 3 API Ruby Gem
239
241
  test_files:
240
- - spec/api/content_summaries_api_spec.rb
241
- - spec/api/remotes_ostree_api_spec.rb
242
- - spec/api/content_configs_api_spec.rb
243
- - spec/api/content_commits_api_spec.rb
244
- - spec/api/repositories_ostree_api_spec.rb
245
242
  - spec/api/repositories_ostree_versions_api_spec.rb
243
+ - spec/api/repositories_ostree_api_spec.rb
244
+ - spec/api/remotes_ostree_api_spec.rb
246
245
  - spec/api/content_refs_api_spec.rb
246
+ - spec/api/content_summaries_api_spec.rb
247
247
  - spec/api/distributions_ostree_api_spec.rb
248
+ - spec/api/content_configs_api_spec.rb
249
+ - spec/api/content_commits_api_spec.rb
248
250
  - spec/api/content_objects_api_spec.rb
249
251
  - spec/api_client_spec.rb
250
252
  - spec/configuration_spec.rb
253
+ - spec/models/paginatedostree_ostree_ref_response_list_spec.rb
251
254
  - spec/models/paginated_repository_version_response_list_spec.rb
255
+ - spec/models/ostree_ostree_commit_response_spec.rb
256
+ - spec/models/ostree_ostree_distribution_response_spec.rb
252
257
  - spec/models/repair_spec.rb
253
- - spec/models/ostree_import_commits_to_ref_spec.rb
254
- - spec/models/paginatedostree_ostree_repository_response_list_spec.rb
255
258
  - spec/models/ostree_ostree_remote_response_spec.rb
256
- - spec/models/ostree_ostree_summary_response_spec.rb
257
- - spec/models/paginatedostree_ostree_remote_response_list_spec.rb
259
+ - spec/models/paginatedostree_ostree_summary_response_list_spec.rb
260
+ - spec/models/paginatedostree_ostree_object_response_list_spec.rb
261
+ - spec/models/ostree_ostree_config_response_spec.rb
258
262
  - spec/models/ostree_ostree_object_response_spec.rb
259
- - spec/models/ostree_ostree_distribution_response_spec.rb
263
+ - spec/models/repository_sync_url_spec.rb
264
+ - spec/models/ostree_ostree_remote_spec.rb
265
+ - spec/models/repository_version_response_spec.rb
266
+ - spec/models/paginatedostree_ostree_commit_response_list_spec.rb
267
+ - spec/models/async_operation_response_spec.rb
260
268
  - spec/models/ostree_ostree_ref_response_spec.rb
261
- - spec/models/ostree_ostree_repository_response_spec.rb
269
+ - spec/models/paginatedostree_ostree_config_response_list_spec.rb
262
270
  - spec/models/content_summary_response_spec.rb
263
- - spec/models/patchedostree_ostree_distribution_spec.rb
264
- - spec/models/ostree_ostree_commit_response_spec.rb
271
+ - spec/models/ostree_ostree_repository_spec.rb
272
+ - spec/models/ostree_ostree_repository_response_spec.rb
265
273
  - spec/models/policy_enum_spec.rb
274
+ - spec/models/patchedostree_ostree_distribution_spec.rb
275
+ - spec/models/ostree_import_all_spec.rb
266
276
  - spec/models/ostree_ostree_distribution_spec.rb
267
- - spec/models/ostree_repository_add_remove_content_spec.rb
268
- - spec/models/paginatedostree_ostree_distribution_response_list_spec.rb
277
+ - spec/models/ostree_import_commits_to_ref_spec.rb
278
+ - spec/models/ostree_ostree_remote_response_hidden_fields_spec.rb
279
+ - spec/models/paginatedostree_ostree_repository_response_list_spec.rb
269
280
  - spec/models/patchedostree_ostree_repository_spec.rb
281
+ - spec/models/ostree_repository_add_remove_content_spec.rb
270
282
  - spec/models/patchedostree_ostree_remote_spec.rb
271
- - spec/models/ostree_ostree_config_response_spec.rb
272
- - spec/models/ostree_ostree_repository_spec.rb
273
- - spec/models/async_operation_response_spec.rb
274
- - spec/models/repository_sync_url_spec.rb
275
- - spec/models/paginatedostree_ostree_summary_response_list_spec.rb
276
- - spec/models/paginatedostree_ostree_config_response_list_spec.rb
277
- - spec/models/paginatedostree_ostree_object_response_list_spec.rb
278
- - spec/models/paginatedostree_ostree_commit_response_list_spec.rb
279
- - spec/models/ostree_ostree_remote_spec.rb
280
- - spec/models/paginatedostree_ostree_ref_response_list_spec.rb
281
- - spec/models/ostree_import_all_spec.rb
282
- - spec/models/repository_version_response_spec.rb
283
+ - spec/models/ostree_ostree_summary_response_spec.rb
284
+ - spec/models/paginatedostree_ostree_remote_response_list_spec.rb
285
+ - spec/models/paginatedostree_ostree_distribution_response_list_spec.rb
283
286
  - spec/spec_helper.rb
data/git_push.sh DELETED
@@ -1,58 +0,0 @@
1
- #!/bin/sh
2
- # ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
3
- #
4
- # Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update" "gitlab.com"
5
-
6
- git_user_id=$1
7
- git_repo_id=$2
8
- release_note=$3
9
- git_host=$4
10
-
11
- if [ "$git_host" = "" ]; then
12
- git_host="github.com"
13
- echo "[INFO] No command line input provided. Set \$git_host to $git_host"
14
- fi
15
-
16
- if [ "$git_user_id" = "" ]; then
17
- git_user_id="GIT_USER_ID"
18
- echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
19
- fi
20
-
21
- if [ "$git_repo_id" = "" ]; then
22
- git_repo_id="GIT_REPO_ID"
23
- echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
24
- fi
25
-
26
- if [ "$release_note" = "" ]; then
27
- release_note="Minor update"
28
- echo "[INFO] No command line input provided. Set \$release_note to $release_note"
29
- fi
30
-
31
- # Initialize the local directory as a Git repository
32
- git init
33
-
34
- # Adds the files in the local repository and stages them for commit.
35
- git add .
36
-
37
- # Commits the tracked changes and prepares them to be pushed to a remote repository.
38
- git commit -m "$release_note"
39
-
40
- # Sets the new remote
41
- git_remote=`git remote`
42
- if [ "$git_remote" = "" ]; then # git remote not defined
43
-
44
- if [ "$GIT_TOKEN" = "" ]; then
45
- echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
46
- git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
47
- else
48
- git remote add origin https://${git_user_id}:${GIT_TOKEN}@${git_host}/${git_user_id}/${git_repo_id}.git
49
- fi
50
-
51
- fi
52
-
53
- git pull origin master
54
-
55
- # Pushes (Forces) the changes in the local repository up to the remote repository
56
- echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
57
- git push origin master 2>&1 | grep -v 'To https'
58
-