pulp_container_client 2.10.4 → 2.10.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (25) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/ContainerContainerDistribution.md +5 -5
  4. data/docs/ContainerContainerDistributionResponse.md +7 -7
  5. data/docs/ContainerContainerPushRepository.md +4 -4
  6. data/docs/ContainerContainerPushRepositoryResponse.md +9 -9
  7. data/docs/PatchedcontainerContainerDistribution.md +5 -5
  8. data/docs/PatchedcontainerContainerPushRepository.md +4 -4
  9. data/lib/pulp_container_client/api_client.rb +1 -1
  10. data/lib/pulp_container_client/models/container_container_distribution.rb +44 -44
  11. data/lib/pulp_container_client/models/container_container_distribution_response.rb +35 -35
  12. data/lib/pulp_container_client/models/container_container_push_repository.rb +30 -30
  13. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +37 -37
  14. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +35 -35
  15. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +30 -30
  16. data/lib/pulp_container_client/version.rb +1 -1
  17. data/pulp_container_client.gemspec +3 -3
  18. data/spec/models/container_container_distribution_response_spec.rb +6 -6
  19. data/spec/models/container_container_distribution_spec.rb +4 -4
  20. data/spec/models/container_container_push_repository_response_spec.rb +7 -7
  21. data/spec/models/container_container_push_repository_spec.rb +2 -2
  22. data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
  23. data/spec/models/patchedcontainer_container_push_repository_spec.rb +2 -2
  24. metadata +53 -54
  25. data/git_push.sh +0 -58
@@ -32,25 +32,25 @@ describe 'ContainerContainerDistribution' do
32
32
  expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerDistribution)
33
33
  end
34
34
  end
35
- describe 'test attribute "pulp_labels"' do
35
+ describe 'test attribute "base_path"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "name"' do
41
+ describe 'test attribute "repository"' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "base_path"' do
47
+ describe 'test attribute "pulp_labels"' do
48
48
  it 'should work' do
49
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
51
51
  end
52
52
 
53
- describe 'test attribute "repository"' do
53
+ describe 'test attribute "name"' do
54
54
  it 'should work' do
55
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
56
  end
@@ -32,37 +32,37 @@ describe 'ContainerContainerPushRepositoryResponse' do
32
32
  expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerPushRepositoryResponse)
33
33
  end
34
34
  end
35
- describe 'test attribute "pulp_labels"' do
35
+ describe 'test attribute "pulp_href"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "pulp_created"' do
41
+ describe 'test attribute "retain_repo_versions"' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "description"' do
47
+ describe 'test attribute "versions_href"' do
48
48
  it 'should work' do
49
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
51
51
  end
52
52
 
53
- describe 'test attribute "pulp_href"' do
53
+ describe 'test attribute "latest_version_href"' do
54
54
  it 'should work' do
55
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
56
  end
57
57
  end
58
58
 
59
- describe 'test attribute "retain_repo_versions"' do
59
+ describe 'test attribute "description"' do
60
60
  it 'should work' do
61
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
62
  end
63
63
  end
64
64
 
65
- describe 'test attribute "versions_href"' do
65
+ describe 'test attribute "pulp_labels"' do
66
66
  it 'should work' do
67
67
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
68
  end
@@ -74,7 +74,7 @@ describe 'ContainerContainerPushRepositoryResponse' do
74
74
  end
75
75
  end
76
76
 
77
- describe 'test attribute "latest_version_href"' do
77
+ describe 'test attribute "pulp_created"' do
78
78
  it 'should work' do
79
79
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
80
  end
@@ -32,7 +32,7 @@ describe 'ContainerContainerPushRepository' do
32
32
  expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerPushRepository)
33
33
  end
34
34
  end
35
- describe 'test attribute "pulp_labels"' do
35
+ describe 'test attribute "retain_repo_versions"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
@@ -44,7 +44,7 @@ describe 'ContainerContainerPushRepository' do
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "retain_repo_versions"' do
47
+ describe 'test attribute "pulp_labels"' do
48
48
  it 'should work' do
49
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
@@ -32,25 +32,25 @@ describe 'PatchedcontainerContainerDistribution' do
32
32
  expect(@instance).to be_instance_of(PulpContainerClient::PatchedcontainerContainerDistribution)
33
33
  end
34
34
  end
35
- describe 'test attribute "pulp_labels"' do
35
+ describe 'test attribute "base_path"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "name"' do
41
+ describe 'test attribute "repository"' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "base_path"' do
47
+ describe 'test attribute "pulp_labels"' do
48
48
  it 'should work' do
49
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
51
51
  end
52
52
 
53
- describe 'test attribute "repository"' do
53
+ describe 'test attribute "name"' do
54
54
  it 'should work' do
55
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
56
  end
@@ -32,7 +32,7 @@ describe 'PatchedcontainerContainerPushRepository' do
32
32
  expect(@instance).to be_instance_of(PulpContainerClient::PatchedcontainerContainerPushRepository)
33
33
  end
34
34
  end
35
- describe 'test attribute "pulp_labels"' do
35
+ describe 'test attribute "retain_repo_versions"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
@@ -44,7 +44,7 @@ describe 'PatchedcontainerContainerPushRepository' do
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "retain_repo_versions"' do
47
+ describe 'test attribute "pulp_labels"' do
48
48
  it 'should work' do
49
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
metadata CHANGED
@@ -1,35 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulp_container_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.10.4
4
+ version: 2.10.7
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-07-11 00:00:00.000000000 Z
11
+ date: 2022-08-16 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
@@ -136,7 +136,6 @@ files:
136
136
  - docs/TagImage.md
137
137
  - docs/TokenApi.md
138
138
  - docs/UnTagImage.md
139
- - git_push.sh
140
139
  - lib/pulp_container_client.rb
141
140
  - lib/pulp_container_client/api/content_blobs_api.rb
142
141
  - lib/pulp_container_client/api/content_manifests_api.rb
@@ -258,9 +257,9 @@ files:
258
257
  - spec/models/tag_image_spec.rb
259
258
  - spec/models/un_tag_image_spec.rb
260
259
  - spec/spec_helper.rb
261
- homepage: https://openapi-generator.tech
260
+ homepage: https://github.com/pulp/pulp_container
262
261
  licenses:
263
- - GPL-2.0+
262
+ - GPLv2+
264
263
  metadata: {}
265
264
  post_install_message:
266
265
  rdoc_options: []
@@ -282,62 +281,62 @@ signing_key:
282
281
  specification_version: 4
283
282
  summary: Pulp 3 API Ruby Gem
284
283
  test_files:
284
+ - spec/api/repositories_container_push_versions_api_spec.rb
285
+ - spec/api/contentguards_content_redirect_api_spec.rb
285
286
  - spec/api/repositories_container_versions_api_spec.rb
286
- - spec/api/content_blobs_api_spec.rb
287
- - spec/api/remotes_container_api_spec.rb
287
+ - spec/api/content_manifests_api_spec.rb
288
288
  - spec/api/token_api_spec.rb
289
+ - spec/api/content_blobs_api_spec.rb
289
290
  - spec/api/repositories_container_push_api_spec.rb
290
- - spec/api/contentguards_content_redirect_api_spec.rb
291
- - spec/api/distributions_container_api_spec.rb
292
- - spec/api/pulp_container_namespaces_api_spec.rb
293
- - spec/api/repositories_container_push_versions_api_spec.rb
294
291
  - spec/api/repositories_container_api_spec.rb
292
+ - spec/api/pulp_container_namespaces_api_spec.rb
293
+ - spec/api/distributions_container_api_spec.rb
294
+ - spec/api/remotes_container_api_spec.rb
295
295
  - spec/api/content_tags_api_spec.rb
296
- - spec/api/content_manifests_api_spec.rb
297
296
  - spec/api_client_spec.rb
298
297
  - spec/configuration_spec.rb
299
- - spec/models/paginated_repository_version_response_list_spec.rb
298
+ - spec/models/paginatedcontainer_container_distribution_response_list_spec.rb
299
+ - spec/models/container_manifest_response_spec.rb
300
+ - spec/models/patchedcontainer_container_distribution_spec.rb
301
+ - spec/models/paginatedcontainer_content_redirect_content_guard_response_list_spec.rb
302
+ - spec/models/async_operation_response_spec.rb
300
303
  - spec/models/remove_image_spec.rb
301
- - spec/models/manifest_copy_spec.rb
304
+ - spec/models/recursive_manage_spec.rb
305
+ - spec/models/container_container_distribution_response_spec.rb
306
+ - spec/models/repository_version_response_spec.rb
307
+ - spec/models/container_tag_response_spec.rb
302
308
  - spec/models/repair_spec.rb
303
- - spec/models/container_container_distribution_spec.rb
304
- - spec/models/paginatedcontainer_tag_response_list_spec.rb
305
- - spec/models/paginatedcontainer_container_push_repository_response_list_spec.rb
306
- - spec/models/container_content_redirect_content_guard_response_spec.rb
307
- - spec/models/un_tag_image_spec.rb
309
+ - spec/models/manifest_copy_spec.rb
310
+ - spec/models/container_container_remote_spec.rb
308
311
  - spec/models/container_container_push_repository_response_spec.rb
309
- - spec/models/container_content_redirect_content_guard_spec.rb
310
- - spec/models/patchedcontainer_container_repository_spec.rb
311
- - spec/models/container_container_namespace_spec.rb
312
- - spec/models/container_container_namespace_response_spec.rb
312
+ - spec/models/patchedcontainer_container_remote_spec.rb
313
+ - spec/models/repository_sync_url_spec.rb
314
+ - spec/models/container_container_push_repository_spec.rb
315
+ - spec/models/paginatedcontainer_blob_response_list_spec.rb
316
+ - spec/models/tag_image_spec.rb
313
317
  - spec/models/container_blob_response_spec.rb
314
- - spec/models/patchedcontainer_container_distribution_spec.rb
315
- - spec/models/paginatedcontainer_container_distribution_response_list_spec.rb
316
- - spec/models/tag_copy_spec.rb
317
- - spec/models/content_summary_response_spec.rb
318
- - spec/models/paginatedcontainer_container_repository_response_list_spec.rb
319
- - spec/models/oci_build_image_spec.rb
320
- - spec/models/container_container_remote_response_spec.rb
318
+ - spec/models/container_container_repository_response_spec.rb
319
+ - spec/models/paginatedcontainer_manifest_response_list_spec.rb
320
+ - spec/models/media_types_enum_spec.rb
321
+ - spec/models/paginatedcontainer_container_remote_response_list_spec.rb
322
+ - spec/models/paginatedcontainer_container_push_repository_response_list_spec.rb
321
323
  - spec/models/policy_enum_spec.rb
322
- - spec/models/container_container_distribution_response_spec.rb
323
- - spec/models/paginatedcontainer_container_namespace_response_list_spec.rb
324
- - spec/models/paginatedcontainer_blob_response_list_spec.rb
324
+ - spec/models/paginatedcontainer_container_repository_response_list_spec.rb
325
325
  - spec/models/patchedcontainer_container_push_repository_spec.rb
326
- - spec/models/paginatedcontainer_container_remote_response_list_spec.rb
326
+ - spec/models/paginatedcontainer_container_namespace_response_list_spec.rb
327
+ - spec/models/paginated_repository_version_response_list_spec.rb
328
+ - spec/models/container_content_redirect_content_guard_spec.rb
329
+ - spec/models/container_container_distribution_spec.rb
327
330
  - spec/models/patchedcontainer_content_redirect_content_guard_spec.rb
328
- - spec/models/recursive_manage_spec.rb
329
- - spec/models/async_operation_response_spec.rb
330
- - spec/models/repository_sync_url_spec.rb
331
- - spec/models/container_container_repository_response_spec.rb
332
- - spec/models/container_container_push_repository_spec.rb
331
+ - spec/models/container_container_namespace_spec.rb
332
+ - spec/models/patchedcontainer_container_repository_spec.rb
333
+ - spec/models/container_content_redirect_content_guard_response_spec.rb
334
+ - spec/models/un_tag_image_spec.rb
333
335
  - spec/models/container_container_repository_spec.rb
334
- - spec/models/media_types_enum_spec.rb
335
- - spec/models/container_manifest_response_spec.rb
336
- - spec/models/paginatedcontainer_content_redirect_content_guard_response_list_spec.rb
337
- - spec/models/repository_version_response_spec.rb
338
- - spec/models/tag_image_spec.rb
339
- - spec/models/container_container_remote_spec.rb
340
- - spec/models/patchedcontainer_container_remote_spec.rb
341
- - spec/models/container_tag_response_spec.rb
342
- - spec/models/paginatedcontainer_manifest_response_list_spec.rb
336
+ - spec/models/container_container_remote_response_spec.rb
337
+ - spec/models/oci_build_image_spec.rb
338
+ - spec/models/paginatedcontainer_tag_response_list_spec.rb
339
+ - spec/models/content_summary_response_spec.rb
340
+ - spec/models/tag_copy_spec.rb
341
+ - spec/models/container_container_namespace_response_spec.rb
343
342
  - 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
-