pulp_ansible_client 0.13.2 → 0.13.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/AnsibleCollectionRemoteResponse.md +0 -2
- data/docs/AnsibleCollectionVersionResponse.md +2 -2
- data/docs/AnsibleGitRemote.md +27 -27
- data/docs/AnsibleGitRemoteResponse.md +25 -25
- data/docs/AnsibleRoleResponse.md +2 -2
- data/docs/PatchedansibleGitRemote.md +27 -27
- data/lib/pulp_ansible_client/api_client.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +1 -27
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +229 -229
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +128 -128
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +11 -11
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +219 -219
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/pulp_ansible_client.gemspec +3 -3
- data/spec/models/ansible_collection_remote_response_spec.rb +0 -6
- data/spec/models/ansible_collection_version_response_spec.rb +2 -2
- data/spec/models/ansible_git_remote_response_spec.rb +17 -17
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_response_spec.rb +2 -2
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +107 -108
- data/git_push.sh +0 -58
metadata
CHANGED
@@ -1,35 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_ansible_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.13.
|
4
|
+
version: 0.13.5
|
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-
|
11
|
+
date: 2022-11-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:
|
19
|
+
version: 1.0.1
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version:
|
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:
|
29
|
+
version: 1.0.1
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version:
|
32
|
+
version: '2.0'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: json
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -200,7 +200,6 @@ files:
|
|
200
200
|
- docs/TagResponse.md
|
201
201
|
- docs/UnpaginatedCollectionVersionResponse.md
|
202
202
|
- docs/VersionsApi.md
|
203
|
-
- git_push.sh
|
204
203
|
- lib/pulp_ansible_client.rb
|
205
204
|
- lib/pulp_ansible_client/api/ansible_collections_api.rb
|
206
205
|
- lib/pulp_ansible_client/api/ansible_copy_api.rb
|
@@ -450,9 +449,9 @@ files:
|
|
450
449
|
- spec/models/tag_response_spec.rb
|
451
450
|
- spec/models/unpaginated_collection_version_response_spec.rb
|
452
451
|
- spec/spec_helper.rb
|
453
|
-
homepage: https://
|
452
|
+
homepage: https://github.com/pulp/pulp_ansible
|
454
453
|
licenses:
|
455
|
-
-
|
454
|
+
- GPLv2+
|
456
455
|
metadata: {}
|
457
456
|
post_install_message:
|
458
457
|
rdoc_options: []
|
@@ -474,126 +473,126 @@ signing_key:
|
|
474
473
|
specification_version: 4
|
475
474
|
summary: Pulp 3 API Ruby Gem
|
476
475
|
test_files:
|
477
|
-
- spec/api/content_collection_deprecations_api_spec.rb
|
478
|
-
- spec/api/api_roles_api_spec.rb
|
479
|
-
- spec/api/pulp_ansible_default_api_v3_artifacts_collections_api_spec.rb
|
480
476
|
- spec/api/collection_import_api_spec.rb
|
481
|
-
- spec/api/
|
482
|
-
- spec/api/
|
483
|
-
- spec/api/
|
484
|
-
- spec/api/
|
485
|
-
- spec/api/
|
486
|
-
- spec/api/
|
487
|
-
- spec/api/pulp_ansible_default_api_v3_collection_versions_all_api_spec.rb
|
488
|
-
- spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb
|
477
|
+
- spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb
|
478
|
+
- spec/api/content_collection_signatures_api_spec.rb
|
479
|
+
- spec/api/pulp_ansible_api_v3_api_spec.rb
|
480
|
+
- spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb
|
481
|
+
- spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb
|
482
|
+
- spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb
|
489
483
|
- spec/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api_spec.rb
|
490
|
-
- spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb
|
491
|
-
- spec/api/ansible_copy_api_spec.rb
|
492
|
-
- spec/api/remotes_collection_api_spec.rb
|
493
|
-
- spec/api/repositories_ansible_versions_api_spec.rb
|
494
|
-
- spec/api/pulp_ansible_api_v3_collections_api_spec.rb
|
495
|
-
- spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb
|
496
|
-
- spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api_spec.rb
|
497
|
-
- spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb
|
498
|
-
- spec/api/content_collection_versions_api_spec.rb
|
499
|
-
- spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb
|
500
|
-
- spec/api/repositories_ansible_api_spec.rb
|
501
|
-
- spec/api/pulp_ansible_api_api_spec.rb
|
502
484
|
- spec/api/versions_api_spec.rb
|
485
|
+
- spec/api/api_roles_api_spec.rb
|
486
|
+
- spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb
|
503
487
|
- spec/api/api_collections_api_spec.rb
|
504
|
-
- spec/api/
|
505
|
-
- spec/api/
|
488
|
+
- spec/api/pulp_ansible_api_v3_collections_api_spec.rb
|
489
|
+
- spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api_spec.rb
|
490
|
+
- spec/api/remotes_role_api_spec.rb
|
491
|
+
- spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb
|
492
|
+
- spec/api/pulp_ansible_tags_api_spec.rb
|
506
493
|
- spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb
|
494
|
+
- spec/api/pulp_ansible_artifacts_collections_v3_api_spec.rb
|
495
|
+
- spec/api/repositories_ansible_versions_api_spec.rb
|
496
|
+
- spec/api/pulp_ansible_api_api_spec.rb
|
497
|
+
- spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb
|
498
|
+
- spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb
|
499
|
+
- spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb
|
500
|
+
- spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb
|
501
|
+
- spec/api/pulp_ansible_default_api_api_spec.rb
|
502
|
+
- spec/api/content_collection_versions_api_spec.rb
|
503
|
+
- spec/api/remotes_collection_api_spec.rb
|
504
|
+
- spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb
|
505
|
+
- spec/api/pulp_ansible_default_api_v3_api_spec.rb
|
506
|
+
- spec/api/pulp_ansible_default_api_v3_collection_versions_all_api_spec.rb
|
507
507
|
- spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb
|
508
|
+
- spec/api/content_roles_api_spec.rb
|
509
|
+
- spec/api/repositories_ansible_api_spec.rb
|
510
|
+
- spec/api/remotes_git_api_spec.rb
|
511
|
+
- spec/api/content_collection_deprecations_api_spec.rb
|
508
512
|
- spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb
|
509
|
-
- spec/api/
|
510
|
-
- spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb
|
511
|
-
- spec/api/pulp_ansible_default_api_api_spec.rb
|
512
|
-
- spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb
|
513
|
+
- spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb
|
513
514
|
- spec/api/ansible_collections_api_spec.rb
|
514
|
-
- spec/api/
|
515
|
-
- spec/api/
|
516
|
-
- spec/api/
|
517
|
-
- spec/api/
|
518
|
-
- spec/api/
|
519
|
-
- spec/api/
|
520
|
-
- spec/api/distributions_ansible_api_spec.rb
|
521
|
-
- spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb
|
522
|
-
- spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb
|
515
|
+
- spec/api/pulp_ansible_default_api_v3_artifacts_collections_api_spec.rb
|
516
|
+
- spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb
|
517
|
+
- spec/api/pulp_ansible_api_v2_collections_versions_api_spec.rb
|
518
|
+
- spec/api/ansible_copy_api_spec.rb
|
519
|
+
- spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb
|
520
|
+
- spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb
|
523
521
|
- spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb
|
524
|
-
- spec/api/
|
525
|
-
- spec/api/
|
526
|
-
- spec/api/
|
522
|
+
- spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api_spec.rb
|
523
|
+
- spec/api/pulp_ansible_api_v3_artifacts_collections_api_spec.rb
|
524
|
+
- spec/api/distributions_ansible_api_spec.rb
|
525
|
+
- spec/api/galaxy_detail_api_spec.rb
|
527
526
|
- spec/api_client_spec.rb
|
528
527
|
- spec/configuration_spec.rb
|
528
|
+
- spec/models/ansible_collection_version_signature_spec.rb
|
529
|
+
- spec/models/patchedansible_collection_remote_spec.rb
|
530
|
+
- spec/models/collection_version_list_response_spec.rb
|
531
|
+
- spec/models/repair_spec.rb
|
529
532
|
- spec/models/ansible_collection_remote_spec.rb
|
530
|
-
- spec/models/paginated_collection_response_list_spec.rb
|
531
|
-
- spec/models/ansible_collection_version_signature_response_spec.rb
|
532
|
-
- spec/models/ansible_git_remote_response_spec.rb
|
533
|
-
- spec/models/ansible_collection_remote_response_spec.rb
|
534
|
-
- spec/models/galaxy_role_version_response_spec.rb
|
535
|
-
- spec/models/collection_ref_response_spec.rb
|
536
|
-
- spec/models/paginated_tag_response_list_spec.rb
|
537
|
-
- spec/models/policy_enum_spec.rb
|
538
|
-
- spec/models/artifact_ref_response_spec.rb
|
539
|
-
- spec/models/ansible_repository_sync_url_spec.rb
|
540
|
-
- spec/models/paginatedansible_ansible_distribution_response_list_spec.rb
|
541
533
|
- spec/models/repository_version_response_spec.rb
|
542
|
-
- spec/models/collection_version_list_response_spec.rb
|
543
|
-
- spec/models/ansible_ansible_distribution_response_spec.rb
|
544
|
-
- spec/models/ansible_ansible_repository_response_spec.rb
|
545
|
-
- spec/models/ansible_collection_version_response_spec.rb
|
546
|
-
- spec/models/patchedansible_collection_remote_spec.rb
|
547
|
-
- spec/models/unpaginated_collection_version_response_spec.rb
|
548
|
-
- spec/models/galaxy_collection_response_spec.rb
|
549
|
-
- spec/models/paginated_galaxy_role_version_response_list_spec.rb
|
550
|
-
- spec/models/tag_response_spec.rb
|
551
534
|
- spec/models/ansible_ansible_repository_spec.rb
|
552
|
-
- spec/models/
|
553
|
-
- spec/models/ansible_collection_version_signature_spec.rb
|
554
|
-
- spec/models/async_operation_response_spec.rb
|
555
|
-
- spec/models/ansible_repository_signature_spec.rb
|
556
|
-
- spec/models/collection_version_response_spec.rb
|
557
|
-
- spec/models/paginated_galaxy_collection_response_list_spec.rb
|
558
|
-
- spec/models/collection_import_detail_response_spec.rb
|
559
|
-
- spec/models/ansible_role_response_spec.rb
|
560
|
-
- spec/models/repo_metadata_response_spec.rb
|
561
|
-
- spec/models/paginatedansible_collection_version_signature_response_list_spec.rb
|
562
|
-
- spec/models/patchedansible_role_remote_spec.rb
|
563
|
-
- spec/models/ansible_tag_response_spec.rb
|
564
|
-
- spec/models/content_summary_response_spec.rb
|
565
|
-
- spec/models/paginatedansible_collection_remote_response_list_spec.rb
|
566
|
-
- spec/models/paginatedansible_git_remote_response_list_spec.rb
|
535
|
+
- spec/models/paginated_collection_response_list_links_spec.rb
|
567
536
|
- spec/models/ansible_ansible_distribution_spec.rb
|
537
|
+
- spec/models/ansible_collection_version_response_spec.rb
|
538
|
+
- spec/models/ansible_git_remote_response_spec.rb
|
539
|
+
- spec/models/ansible_role_remote_spec.rb
|
568
540
|
- spec/models/ansible_role_remote_response_spec.rb
|
569
|
-
- spec/models/
|
570
|
-
- spec/models/
|
571
|
-
- spec/models/
|
572
|
-
- spec/models/
|
573
|
-
- spec/models/
|
574
|
-
- spec/models/
|
541
|
+
- spec/models/paginatedansible_role_response_list_spec.rb
|
542
|
+
- spec/models/ansible_collection_version_spec.rb
|
543
|
+
- spec/models/ansible_git_remote_spec.rb
|
544
|
+
- spec/models/collection_response_spec.rb
|
545
|
+
- spec/models/repo_metadata_response_spec.rb
|
546
|
+
- spec/models/ansible_role_response_spec.rb
|
547
|
+
- spec/models/ansible_repository_signature_spec.rb
|
548
|
+
- spec/models/async_operation_response_spec.rb
|
575
549
|
- spec/models/paginated_galaxy_collection_version_response_list_spec.rb
|
576
550
|
- spec/models/paginatedansible_collection_version_response_list_spec.rb
|
577
|
-
- spec/models/
|
578
|
-
- spec/models/
|
579
|
-
- spec/models/
|
580
|
-
- spec/models/
|
581
|
-
- spec/models/
|
582
|
-
- spec/models/
|
583
|
-
- spec/models/
|
551
|
+
- spec/models/collection_ref_response_spec.rb
|
552
|
+
- spec/models/paginatedansible_git_remote_response_list_spec.rb
|
553
|
+
- spec/models/paginated_repository_version_response_list_spec.rb
|
554
|
+
- spec/models/collection_metadata_response_spec.rb
|
555
|
+
- spec/models/unpaginated_collection_version_response_spec.rb
|
556
|
+
- spec/models/collection_version_docs_response_spec.rb
|
557
|
+
- spec/models/ansible_collection_remote_response_spec.rb
|
558
|
+
- spec/models/ansible_collection_version_signature_response_spec.rb
|
584
559
|
- spec/models/galaxy_collection_version_response_spec.rb
|
585
|
-
- spec/models/
|
560
|
+
- spec/models/galaxy_role_response_spec.rb
|
561
|
+
- spec/models/galaxy_role_version_response_spec.rb
|
562
|
+
- spec/models/ansible_tag_response_spec.rb
|
563
|
+
- spec/models/ansible_ansible_repository_response_spec.rb
|
564
|
+
- spec/models/paginatedansible_collection_response_list_spec.rb
|
586
565
|
- spec/models/paginated_galaxy_role_response_list_spec.rb
|
587
566
|
- spec/models/repository_add_remove_content_spec.rb
|
588
|
-
- spec/models/
|
589
|
-
- spec/models/
|
567
|
+
- spec/models/patchedansible_git_remote_spec.rb
|
568
|
+
- spec/models/paginated_galaxy_role_version_response_list_spec.rb
|
590
569
|
- spec/models/patchedansible_ansible_repository_spec.rb
|
570
|
+
- spec/models/content_summary_response_spec.rb
|
571
|
+
- spec/models/ansible_ansible_distribution_response_spec.rb
|
572
|
+
- spec/models/collection_import_detail_response_spec.rb
|
573
|
+
- spec/models/collection_version_response_spec.rb
|
574
|
+
- spec/models/paginated_galaxy_collection_response_list_spec.rb
|
575
|
+
- spec/models/ansible_repository_sync_url_spec.rb
|
591
576
|
- spec/models/copy_spec.rb
|
592
|
-
- spec/models/
|
593
|
-
- spec/models/
|
577
|
+
- spec/models/paginatedansible_collection_remote_response_list_spec.rb
|
578
|
+
- spec/models/paginatedansible_collection_version_signature_response_list_spec.rb
|
579
|
+
- spec/models/galaxy_collection_spec.rb
|
594
580
|
- spec/models/paginatedansible_ansible_repository_response_list_spec.rb
|
595
|
-
- spec/models/
|
596
|
-
- spec/models/
|
597
|
-
- spec/models/
|
581
|
+
- spec/models/ansible_collection_spec.rb
|
582
|
+
- spec/models/paginated_tag_response_list_spec.rb
|
583
|
+
- spec/models/paginated_collection_response_list_meta_spec.rb
|
584
|
+
- spec/models/paginatedansible_role_remote_response_list_spec.rb
|
585
|
+
- spec/models/collection_one_shot_spec.rb
|
586
|
+
- spec/models/collection_namespace_response_spec.rb
|
598
587
|
- spec/models/ansible_role_spec.rb
|
588
|
+
- spec/models/patchedansible_role_remote_spec.rb
|
589
|
+
- spec/models/artifact_ref_response_spec.rb
|
590
|
+
- spec/models/paginated_collection_response_list_spec.rb
|
591
|
+
- spec/models/ansible_collection_response_spec.rb
|
592
|
+
- spec/models/paginatedansible_ansible_distribution_response_list_spec.rb
|
593
|
+
- spec/models/tag_response_spec.rb
|
594
|
+
- spec/models/galaxy_collection_response_spec.rb
|
595
|
+
- spec/models/paginated_collection_version_list_response_list_spec.rb
|
596
|
+
- spec/models/policy_enum_spec.rb
|
597
|
+
- spec/models/patchedansible_ansible_distribution_spec.rb
|
599
598
|
- 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
|
-
|