pulp_gem_client 0.7.2 → 0.7.4
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 +4 -4
- data/README.md +4 -4
- data/docs/DistributionsGemApi.md +10 -10
- data/docs/RemotesGemApi.md +10 -10
- data/docs/RepositoriesGemApi.md +10 -10
- data/lib/pulp_gem_client/api/distributions_gem_api.rb +10 -10
- data/lib/pulp_gem_client/api/remotes_gem_api.rb +10 -10
- data/lib/pulp_gem_client/api/repositories_gem_api.rb +10 -10
- data/lib/pulp_gem_client/version.rb +1 -1
- data/spec/api/distributions_gem_api_spec.rb +4 -4
- data/spec/api/remotes_gem_api_spec.rb +4 -4
- data/spec/api/repositories_gem_api_spec.rb +4 -4
- metadata +31 -31
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 719221da86ced64e945f6cde8d0f0ea88df5a8c1b4f3dab3a3ebc3b9cac2e608
|
|
4
|
+
data.tar.gz: 446fc5ec0aed8f8e6ca726ddb4c6eedb57b6ff649dc7eb65106f45aa6d8dcf04
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bd99038292f943068d75fe926d06380162ad7e46a9da83c68fd9c5828cd0062669214313b8ade2ccf8d682a945b573b285d301194b79e18c1381af2969cb9e2e
|
|
7
|
+
data.tar.gz: b477f2c8e5a475a195aab520f569696e7cac560e4b860066569f433085b84432e6d9c81b65aeb497d1a174e79843e088b9d7dda9d940b61555c0146392de0e8c
|
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: 0.7.
|
|
10
|
+
- Package version: 0.7.4
|
|
11
11
|
- Generator version: 7.10.0
|
|
12
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
13
13
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
@@ -25,16 +25,16 @@ gem build pulp_gem_client.gemspec
|
|
|
25
25
|
Then either install the gem locally:
|
|
26
26
|
|
|
27
27
|
```shell
|
|
28
|
-
gem install ./pulp_gem_client-0.7.
|
|
28
|
+
gem install ./pulp_gem_client-0.7.4.gem
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
(for development, run `gem install --dev ./pulp_gem_client-0.7.
|
|
31
|
+
(for development, run `gem install --dev ./pulp_gem_client-0.7.4.gem` to install the development dependencies)
|
|
32
32
|
|
|
33
33
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
34
34
|
|
|
35
35
|
Finally add this to the Gemfile:
|
|
36
36
|
|
|
37
|
-
gem 'pulp_gem_client', '~> 0.7.
|
|
37
|
+
gem 'pulp_gem_client', '~> 0.7.4'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
data/docs/DistributionsGemApi.md
CHANGED
|
@@ -526,11 +526,11 @@ end
|
|
|
526
526
|
|
|
527
527
|
## partial_update
|
|
528
528
|
|
|
529
|
-
> <
|
|
529
|
+
> <GemGemDistributionResponse> partial_update(gem_gem_distribution_href, patchedgem_gem_distribution, opts)
|
|
530
530
|
|
|
531
531
|
Update a gem distribution
|
|
532
532
|
|
|
533
|
-
|
|
533
|
+
Update the entity partially and trigger an asynchronous task if necessary
|
|
534
534
|
|
|
535
535
|
### Examples
|
|
536
536
|
|
|
@@ -564,7 +564,7 @@ end
|
|
|
564
564
|
|
|
565
565
|
This returns an Array which contains the response data, status code and headers.
|
|
566
566
|
|
|
567
|
-
> <Array(<
|
|
567
|
+
> <Array(<GemGemDistributionResponse>, Integer, Hash)> partial_update_with_http_info(gem_gem_distribution_href, patchedgem_gem_distribution, opts)
|
|
568
568
|
|
|
569
569
|
```ruby
|
|
570
570
|
begin
|
|
@@ -572,7 +572,7 @@ begin
|
|
|
572
572
|
data, status_code, headers = api_instance.partial_update_with_http_info(gem_gem_distribution_href, patchedgem_gem_distribution, opts)
|
|
573
573
|
p status_code # => 2xx
|
|
574
574
|
p headers # => { ... }
|
|
575
|
-
p data # => <
|
|
575
|
+
p data # => <GemGemDistributionResponse>
|
|
576
576
|
rescue PulpGemClient::ApiError => e
|
|
577
577
|
puts "Error when calling DistributionsGemApi->partial_update_with_http_info: #{e}"
|
|
578
578
|
end
|
|
@@ -588,7 +588,7 @@ end
|
|
|
588
588
|
|
|
589
589
|
### Return type
|
|
590
590
|
|
|
591
|
-
[**
|
|
591
|
+
[**GemGemDistributionResponse**](GemGemDistributionResponse.md)
|
|
592
592
|
|
|
593
593
|
### Authorization
|
|
594
594
|
|
|
@@ -908,11 +908,11 @@ end
|
|
|
908
908
|
|
|
909
909
|
## update
|
|
910
910
|
|
|
911
|
-
> <
|
|
911
|
+
> <GemGemDistributionResponse> update(gem_gem_distribution_href, gem_gem_distribution, opts)
|
|
912
912
|
|
|
913
913
|
Update a gem distribution
|
|
914
914
|
|
|
915
|
-
|
|
915
|
+
Update the entity and trigger an asynchronous task if necessary
|
|
916
916
|
|
|
917
917
|
### Examples
|
|
918
918
|
|
|
@@ -946,7 +946,7 @@ end
|
|
|
946
946
|
|
|
947
947
|
This returns an Array which contains the response data, status code and headers.
|
|
948
948
|
|
|
949
|
-
> <Array(<
|
|
949
|
+
> <Array(<GemGemDistributionResponse>, Integer, Hash)> update_with_http_info(gem_gem_distribution_href, gem_gem_distribution, opts)
|
|
950
950
|
|
|
951
951
|
```ruby
|
|
952
952
|
begin
|
|
@@ -954,7 +954,7 @@ begin
|
|
|
954
954
|
data, status_code, headers = api_instance.update_with_http_info(gem_gem_distribution_href, gem_gem_distribution, opts)
|
|
955
955
|
p status_code # => 2xx
|
|
956
956
|
p headers # => { ... }
|
|
957
|
-
p data # => <
|
|
957
|
+
p data # => <GemGemDistributionResponse>
|
|
958
958
|
rescue PulpGemClient::ApiError => e
|
|
959
959
|
puts "Error when calling DistributionsGemApi->update_with_http_info: #{e}"
|
|
960
960
|
end
|
|
@@ -970,7 +970,7 @@ end
|
|
|
970
970
|
|
|
971
971
|
### Return type
|
|
972
972
|
|
|
973
|
-
[**
|
|
973
|
+
[**GemGemDistributionResponse**](GemGemDistributionResponse.md)
|
|
974
974
|
|
|
975
975
|
### Authorization
|
|
976
976
|
|
data/docs/RemotesGemApi.md
CHANGED
|
@@ -524,11 +524,11 @@ end
|
|
|
524
524
|
|
|
525
525
|
## partial_update
|
|
526
526
|
|
|
527
|
-
> <
|
|
527
|
+
> <GemGemRemoteResponse> partial_update(gem_gem_remote_href, patchedgem_gem_remote, opts)
|
|
528
528
|
|
|
529
529
|
Update a gem remote
|
|
530
530
|
|
|
531
|
-
|
|
531
|
+
Update the entity partially and trigger an asynchronous task if necessary
|
|
532
532
|
|
|
533
533
|
### Examples
|
|
534
534
|
|
|
@@ -562,7 +562,7 @@ end
|
|
|
562
562
|
|
|
563
563
|
This returns an Array which contains the response data, status code and headers.
|
|
564
564
|
|
|
565
|
-
> <Array(<
|
|
565
|
+
> <Array(<GemGemRemoteResponse>, Integer, Hash)> partial_update_with_http_info(gem_gem_remote_href, patchedgem_gem_remote, opts)
|
|
566
566
|
|
|
567
567
|
```ruby
|
|
568
568
|
begin
|
|
@@ -570,7 +570,7 @@ begin
|
|
|
570
570
|
data, status_code, headers = api_instance.partial_update_with_http_info(gem_gem_remote_href, patchedgem_gem_remote, opts)
|
|
571
571
|
p status_code # => 2xx
|
|
572
572
|
p headers # => { ... }
|
|
573
|
-
p data # => <
|
|
573
|
+
p data # => <GemGemRemoteResponse>
|
|
574
574
|
rescue PulpGemClient::ApiError => e
|
|
575
575
|
puts "Error when calling RemotesGemApi->partial_update_with_http_info: #{e}"
|
|
576
576
|
end
|
|
@@ -586,7 +586,7 @@ end
|
|
|
586
586
|
|
|
587
587
|
### Return type
|
|
588
588
|
|
|
589
|
-
[**
|
|
589
|
+
[**GemGemRemoteResponse**](GemGemRemoteResponse.md)
|
|
590
590
|
|
|
591
591
|
### Authorization
|
|
592
592
|
|
|
@@ -906,11 +906,11 @@ end
|
|
|
906
906
|
|
|
907
907
|
## update
|
|
908
908
|
|
|
909
|
-
> <
|
|
909
|
+
> <GemGemRemoteResponse> update(gem_gem_remote_href, gem_gem_remote, opts)
|
|
910
910
|
|
|
911
911
|
Update a gem remote
|
|
912
912
|
|
|
913
|
-
|
|
913
|
+
Update the entity and trigger an asynchronous task if necessary
|
|
914
914
|
|
|
915
915
|
### Examples
|
|
916
916
|
|
|
@@ -944,7 +944,7 @@ end
|
|
|
944
944
|
|
|
945
945
|
This returns an Array which contains the response data, status code and headers.
|
|
946
946
|
|
|
947
|
-
> <Array(<
|
|
947
|
+
> <Array(<GemGemRemoteResponse>, Integer, Hash)> update_with_http_info(gem_gem_remote_href, gem_gem_remote, opts)
|
|
948
948
|
|
|
949
949
|
```ruby
|
|
950
950
|
begin
|
|
@@ -952,7 +952,7 @@ begin
|
|
|
952
952
|
data, status_code, headers = api_instance.update_with_http_info(gem_gem_remote_href, gem_gem_remote, opts)
|
|
953
953
|
p status_code # => 2xx
|
|
954
954
|
p headers # => { ... }
|
|
955
|
-
p data # => <
|
|
955
|
+
p data # => <GemGemRemoteResponse>
|
|
956
956
|
rescue PulpGemClient::ApiError => e
|
|
957
957
|
puts "Error when calling RemotesGemApi->update_with_http_info: #{e}"
|
|
958
958
|
end
|
|
@@ -968,7 +968,7 @@ end
|
|
|
968
968
|
|
|
969
969
|
### Return type
|
|
970
970
|
|
|
971
|
-
[**
|
|
971
|
+
[**GemGemRemoteResponse**](GemGemRemoteResponse.md)
|
|
972
972
|
|
|
973
973
|
### Authorization
|
|
974
974
|
|
data/docs/RepositoriesGemApi.md
CHANGED
|
@@ -610,11 +610,11 @@ end
|
|
|
610
610
|
|
|
611
611
|
## partial_update
|
|
612
612
|
|
|
613
|
-
> <
|
|
613
|
+
> <GemGemRepositoryResponse> partial_update(gem_gem_repository_href, patchedgem_gem_repository, opts)
|
|
614
614
|
|
|
615
615
|
Update a gem repository
|
|
616
616
|
|
|
617
|
-
|
|
617
|
+
Update the entity partially and trigger an asynchronous task if necessary
|
|
618
618
|
|
|
619
619
|
### Examples
|
|
620
620
|
|
|
@@ -648,7 +648,7 @@ end
|
|
|
648
648
|
|
|
649
649
|
This returns an Array which contains the response data, status code and headers.
|
|
650
650
|
|
|
651
|
-
> <Array(<
|
|
651
|
+
> <Array(<GemGemRepositoryResponse>, Integer, Hash)> partial_update_with_http_info(gem_gem_repository_href, patchedgem_gem_repository, opts)
|
|
652
652
|
|
|
653
653
|
```ruby
|
|
654
654
|
begin
|
|
@@ -656,7 +656,7 @@ begin
|
|
|
656
656
|
data, status_code, headers = api_instance.partial_update_with_http_info(gem_gem_repository_href, patchedgem_gem_repository, opts)
|
|
657
657
|
p status_code # => 2xx
|
|
658
658
|
p headers # => { ... }
|
|
659
|
-
p data # => <
|
|
659
|
+
p data # => <GemGemRepositoryResponse>
|
|
660
660
|
rescue PulpGemClient::ApiError => e
|
|
661
661
|
puts "Error when calling RepositoriesGemApi->partial_update_with_http_info: #{e}"
|
|
662
662
|
end
|
|
@@ -672,7 +672,7 @@ end
|
|
|
672
672
|
|
|
673
673
|
### Return type
|
|
674
674
|
|
|
675
|
-
[**
|
|
675
|
+
[**GemGemRepositoryResponse**](GemGemRepositoryResponse.md)
|
|
676
676
|
|
|
677
677
|
### Authorization
|
|
678
678
|
|
|
@@ -1068,11 +1068,11 @@ end
|
|
|
1068
1068
|
|
|
1069
1069
|
## update
|
|
1070
1070
|
|
|
1071
|
-
> <
|
|
1071
|
+
> <GemGemRepositoryResponse> update(gem_gem_repository_href, gem_gem_repository, opts)
|
|
1072
1072
|
|
|
1073
1073
|
Update a gem repository
|
|
1074
1074
|
|
|
1075
|
-
|
|
1075
|
+
Update the entity and trigger an asynchronous task if necessary
|
|
1076
1076
|
|
|
1077
1077
|
### Examples
|
|
1078
1078
|
|
|
@@ -1106,7 +1106,7 @@ end
|
|
|
1106
1106
|
|
|
1107
1107
|
This returns an Array which contains the response data, status code and headers.
|
|
1108
1108
|
|
|
1109
|
-
> <Array(<
|
|
1109
|
+
> <Array(<GemGemRepositoryResponse>, Integer, Hash)> update_with_http_info(gem_gem_repository_href, gem_gem_repository, opts)
|
|
1110
1110
|
|
|
1111
1111
|
```ruby
|
|
1112
1112
|
begin
|
|
@@ -1114,7 +1114,7 @@ begin
|
|
|
1114
1114
|
data, status_code, headers = api_instance.update_with_http_info(gem_gem_repository_href, gem_gem_repository, opts)
|
|
1115
1115
|
p status_code # => 2xx
|
|
1116
1116
|
p headers # => { ... }
|
|
1117
|
-
p data # => <
|
|
1117
|
+
p data # => <GemGemRepositoryResponse>
|
|
1118
1118
|
rescue PulpGemClient::ApiError => e
|
|
1119
1119
|
puts "Error when calling RepositoriesGemApi->update_with_http_info: #{e}"
|
|
1120
1120
|
end
|
|
@@ -1130,7 +1130,7 @@ end
|
|
|
1130
1130
|
|
|
1131
1131
|
### Return type
|
|
1132
1132
|
|
|
1133
|
-
[**
|
|
1133
|
+
[**GemGemRepositoryResponse**](GemGemRepositoryResponse.md)
|
|
1134
1134
|
|
|
1135
1135
|
### Authorization
|
|
1136
1136
|
|
|
@@ -523,24 +523,24 @@ module PulpGemClient
|
|
|
523
523
|
end
|
|
524
524
|
|
|
525
525
|
# Update a gem distribution
|
|
526
|
-
#
|
|
526
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
|
527
527
|
# @param gem_gem_distribution_href [String]
|
|
528
528
|
# @param patchedgem_gem_distribution [PatchedgemGemDistribution]
|
|
529
529
|
# @param [Hash] opts the optional parameters
|
|
530
530
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
531
|
-
# @return [
|
|
531
|
+
# @return [GemGemDistributionResponse]
|
|
532
532
|
def partial_update(gem_gem_distribution_href, patchedgem_gem_distribution, opts = {})
|
|
533
533
|
data, _status_code, _headers = partial_update_with_http_info(gem_gem_distribution_href, patchedgem_gem_distribution, opts)
|
|
534
534
|
data
|
|
535
535
|
end
|
|
536
536
|
|
|
537
537
|
# Update a gem distribution
|
|
538
|
-
#
|
|
538
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
|
539
539
|
# @param gem_gem_distribution_href [String]
|
|
540
540
|
# @param patchedgem_gem_distribution [PatchedgemGemDistribution]
|
|
541
541
|
# @param [Hash] opts the optional parameters
|
|
542
542
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
543
|
-
# @return [Array<(
|
|
543
|
+
# @return [Array<(GemGemDistributionResponse, Integer, Hash)>] GemGemDistributionResponse data, response status code and response headers
|
|
544
544
|
def partial_update_with_http_info(gem_gem_distribution_href, patchedgem_gem_distribution, opts = {})
|
|
545
545
|
if @api_client.config.debugging
|
|
546
546
|
@api_client.config.logger.debug 'Calling API: DistributionsGemApi.partial_update ...'
|
|
@@ -577,7 +577,7 @@ module PulpGemClient
|
|
|
577
577
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(patchedgem_gem_distribution)
|
|
578
578
|
|
|
579
579
|
# return_type
|
|
580
|
-
return_type = opts[:debug_return_type] || '
|
|
580
|
+
return_type = opts[:debug_return_type] || 'GemGemDistributionResponse'
|
|
581
581
|
|
|
582
582
|
# auth_names
|
|
583
583
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
|
@@ -903,24 +903,24 @@ module PulpGemClient
|
|
|
903
903
|
end
|
|
904
904
|
|
|
905
905
|
# Update a gem distribution
|
|
906
|
-
#
|
|
906
|
+
# Update the entity and trigger an asynchronous task if necessary
|
|
907
907
|
# @param gem_gem_distribution_href [String]
|
|
908
908
|
# @param gem_gem_distribution [GemGemDistribution]
|
|
909
909
|
# @param [Hash] opts the optional parameters
|
|
910
910
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
911
|
-
# @return [
|
|
911
|
+
# @return [GemGemDistributionResponse]
|
|
912
912
|
def update(gem_gem_distribution_href, gem_gem_distribution, opts = {})
|
|
913
913
|
data, _status_code, _headers = update_with_http_info(gem_gem_distribution_href, gem_gem_distribution, opts)
|
|
914
914
|
data
|
|
915
915
|
end
|
|
916
916
|
|
|
917
917
|
# Update a gem distribution
|
|
918
|
-
#
|
|
918
|
+
# Update the entity and trigger an asynchronous task if necessary
|
|
919
919
|
# @param gem_gem_distribution_href [String]
|
|
920
920
|
# @param gem_gem_distribution [GemGemDistribution]
|
|
921
921
|
# @param [Hash] opts the optional parameters
|
|
922
922
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
923
|
-
# @return [Array<(
|
|
923
|
+
# @return [Array<(GemGemDistributionResponse, Integer, Hash)>] GemGemDistributionResponse data, response status code and response headers
|
|
924
924
|
def update_with_http_info(gem_gem_distribution_href, gem_gem_distribution, opts = {})
|
|
925
925
|
if @api_client.config.debugging
|
|
926
926
|
@api_client.config.logger.debug 'Calling API: DistributionsGemApi.update ...'
|
|
@@ -957,7 +957,7 @@ module PulpGemClient
|
|
|
957
957
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(gem_gem_distribution)
|
|
958
958
|
|
|
959
959
|
# return_type
|
|
960
|
-
return_type = opts[:debug_return_type] || '
|
|
960
|
+
return_type = opts[:debug_return_type] || 'GemGemDistributionResponse'
|
|
961
961
|
|
|
962
962
|
# auth_names
|
|
963
963
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
|
@@ -520,24 +520,24 @@ module PulpGemClient
|
|
|
520
520
|
end
|
|
521
521
|
|
|
522
522
|
# Update a gem remote
|
|
523
|
-
#
|
|
523
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
|
524
524
|
# @param gem_gem_remote_href [String]
|
|
525
525
|
# @param patchedgem_gem_remote [PatchedgemGemRemote]
|
|
526
526
|
# @param [Hash] opts the optional parameters
|
|
527
527
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
528
|
-
# @return [
|
|
528
|
+
# @return [GemGemRemoteResponse]
|
|
529
529
|
def partial_update(gem_gem_remote_href, patchedgem_gem_remote, opts = {})
|
|
530
530
|
data, _status_code, _headers = partial_update_with_http_info(gem_gem_remote_href, patchedgem_gem_remote, opts)
|
|
531
531
|
data
|
|
532
532
|
end
|
|
533
533
|
|
|
534
534
|
# Update a gem remote
|
|
535
|
-
#
|
|
535
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
|
536
536
|
# @param gem_gem_remote_href [String]
|
|
537
537
|
# @param patchedgem_gem_remote [PatchedgemGemRemote]
|
|
538
538
|
# @param [Hash] opts the optional parameters
|
|
539
539
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
540
|
-
# @return [Array<(
|
|
540
|
+
# @return [Array<(GemGemRemoteResponse, Integer, Hash)>] GemGemRemoteResponse data, response status code and response headers
|
|
541
541
|
def partial_update_with_http_info(gem_gem_remote_href, patchedgem_gem_remote, opts = {})
|
|
542
542
|
if @api_client.config.debugging
|
|
543
543
|
@api_client.config.logger.debug 'Calling API: RemotesGemApi.partial_update ...'
|
|
@@ -574,7 +574,7 @@ module PulpGemClient
|
|
|
574
574
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(patchedgem_gem_remote)
|
|
575
575
|
|
|
576
576
|
# return_type
|
|
577
|
-
return_type = opts[:debug_return_type] || '
|
|
577
|
+
return_type = opts[:debug_return_type] || 'GemGemRemoteResponse'
|
|
578
578
|
|
|
579
579
|
# auth_names
|
|
580
580
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
|
@@ -900,24 +900,24 @@ module PulpGemClient
|
|
|
900
900
|
end
|
|
901
901
|
|
|
902
902
|
# Update a gem remote
|
|
903
|
-
#
|
|
903
|
+
# Update the entity and trigger an asynchronous task if necessary
|
|
904
904
|
# @param gem_gem_remote_href [String]
|
|
905
905
|
# @param gem_gem_remote [GemGemRemote]
|
|
906
906
|
# @param [Hash] opts the optional parameters
|
|
907
907
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
908
|
-
# @return [
|
|
908
|
+
# @return [GemGemRemoteResponse]
|
|
909
909
|
def update(gem_gem_remote_href, gem_gem_remote, opts = {})
|
|
910
910
|
data, _status_code, _headers = update_with_http_info(gem_gem_remote_href, gem_gem_remote, opts)
|
|
911
911
|
data
|
|
912
912
|
end
|
|
913
913
|
|
|
914
914
|
# Update a gem remote
|
|
915
|
-
#
|
|
915
|
+
# Update the entity and trigger an asynchronous task if necessary
|
|
916
916
|
# @param gem_gem_remote_href [String]
|
|
917
917
|
# @param gem_gem_remote [GemGemRemote]
|
|
918
918
|
# @param [Hash] opts the optional parameters
|
|
919
919
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
920
|
-
# @return [Array<(
|
|
920
|
+
# @return [Array<(GemGemRemoteResponse, Integer, Hash)>] GemGemRemoteResponse data, response status code and response headers
|
|
921
921
|
def update_with_http_info(gem_gem_remote_href, gem_gem_remote, opts = {})
|
|
922
922
|
if @api_client.config.debugging
|
|
923
923
|
@api_client.config.logger.debug 'Calling API: RemotesGemApi.update ...'
|
|
@@ -954,7 +954,7 @@ module PulpGemClient
|
|
|
954
954
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(gem_gem_remote)
|
|
955
955
|
|
|
956
956
|
# return_type
|
|
957
|
-
return_type = opts[:debug_return_type] || '
|
|
957
|
+
return_type = opts[:debug_return_type] || 'GemGemRemoteResponse'
|
|
958
958
|
|
|
959
959
|
# auth_names
|
|
960
960
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
|
@@ -609,24 +609,24 @@ module PulpGemClient
|
|
|
609
609
|
end
|
|
610
610
|
|
|
611
611
|
# Update a gem repository
|
|
612
|
-
#
|
|
612
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
|
613
613
|
# @param gem_gem_repository_href [String]
|
|
614
614
|
# @param patchedgem_gem_repository [PatchedgemGemRepository]
|
|
615
615
|
# @param [Hash] opts the optional parameters
|
|
616
616
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
617
|
-
# @return [
|
|
617
|
+
# @return [GemGemRepositoryResponse]
|
|
618
618
|
def partial_update(gem_gem_repository_href, patchedgem_gem_repository, opts = {})
|
|
619
619
|
data, _status_code, _headers = partial_update_with_http_info(gem_gem_repository_href, patchedgem_gem_repository, opts)
|
|
620
620
|
data
|
|
621
621
|
end
|
|
622
622
|
|
|
623
623
|
# Update a gem repository
|
|
624
|
-
#
|
|
624
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
|
625
625
|
# @param gem_gem_repository_href [String]
|
|
626
626
|
# @param patchedgem_gem_repository [PatchedgemGemRepository]
|
|
627
627
|
# @param [Hash] opts the optional parameters
|
|
628
628
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
629
|
-
# @return [Array<(
|
|
629
|
+
# @return [Array<(GemGemRepositoryResponse, Integer, Hash)>] GemGemRepositoryResponse data, response status code and response headers
|
|
630
630
|
def partial_update_with_http_info(gem_gem_repository_href, patchedgem_gem_repository, opts = {})
|
|
631
631
|
if @api_client.config.debugging
|
|
632
632
|
@api_client.config.logger.debug 'Calling API: RepositoriesGemApi.partial_update ...'
|
|
@@ -663,7 +663,7 @@ module PulpGemClient
|
|
|
663
663
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(patchedgem_gem_repository)
|
|
664
664
|
|
|
665
665
|
# return_type
|
|
666
|
-
return_type = opts[:debug_return_type] || '
|
|
666
|
+
return_type = opts[:debug_return_type] || 'GemGemRepositoryResponse'
|
|
667
667
|
|
|
668
668
|
# auth_names
|
|
669
669
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
|
@@ -1066,24 +1066,24 @@ module PulpGemClient
|
|
|
1066
1066
|
end
|
|
1067
1067
|
|
|
1068
1068
|
# Update a gem repository
|
|
1069
|
-
#
|
|
1069
|
+
# Update the entity and trigger an asynchronous task if necessary
|
|
1070
1070
|
# @param gem_gem_repository_href [String]
|
|
1071
1071
|
# @param gem_gem_repository [GemGemRepository]
|
|
1072
1072
|
# @param [Hash] opts the optional parameters
|
|
1073
1073
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
1074
|
-
# @return [
|
|
1074
|
+
# @return [GemGemRepositoryResponse]
|
|
1075
1075
|
def update(gem_gem_repository_href, gem_gem_repository, opts = {})
|
|
1076
1076
|
data, _status_code, _headers = update_with_http_info(gem_gem_repository_href, gem_gem_repository, opts)
|
|
1077
1077
|
data
|
|
1078
1078
|
end
|
|
1079
1079
|
|
|
1080
1080
|
# Update a gem repository
|
|
1081
|
-
#
|
|
1081
|
+
# Update the entity and trigger an asynchronous task if necessary
|
|
1082
1082
|
# @param gem_gem_repository_href [String]
|
|
1083
1083
|
# @param gem_gem_repository [GemGemRepository]
|
|
1084
1084
|
# @param [Hash] opts the optional parameters
|
|
1085
1085
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
1086
|
-
# @return [Array<(
|
|
1086
|
+
# @return [Array<(GemGemRepositoryResponse, Integer, Hash)>] GemGemRepositoryResponse data, response status code and response headers
|
|
1087
1087
|
def update_with_http_info(gem_gem_repository_href, gem_gem_repository, opts = {})
|
|
1088
1088
|
if @api_client.config.debugging
|
|
1089
1089
|
@api_client.config.logger.debug 'Calling API: RepositoriesGemApi.update ...'
|
|
@@ -1120,7 +1120,7 @@ module PulpGemClient
|
|
|
1120
1120
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(gem_gem_repository)
|
|
1121
1121
|
|
|
1122
1122
|
# return_type
|
|
1123
|
-
return_type = opts[:debug_return_type] || '
|
|
1123
|
+
return_type = opts[:debug_return_type] || 'GemGemRepositoryResponse'
|
|
1124
1124
|
|
|
1125
1125
|
# auth_names
|
|
1126
1126
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
|
@@ -143,12 +143,12 @@ describe 'DistributionsGemApi' do
|
|
|
143
143
|
|
|
144
144
|
# unit tests for partial_update
|
|
145
145
|
# Update a gem distribution
|
|
146
|
-
#
|
|
146
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
|
147
147
|
# @param gem_gem_distribution_href
|
|
148
148
|
# @param patchedgem_gem_distribution
|
|
149
149
|
# @param [Hash] opts the optional parameters
|
|
150
150
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
151
|
-
# @return [
|
|
151
|
+
# @return [GemGemDistributionResponse]
|
|
152
152
|
describe 'partial_update test' do
|
|
153
153
|
it 'should work' do
|
|
154
154
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -214,12 +214,12 @@ describe 'DistributionsGemApi' do
|
|
|
214
214
|
|
|
215
215
|
# unit tests for update
|
|
216
216
|
# Update a gem distribution
|
|
217
|
-
#
|
|
217
|
+
# Update the entity and trigger an asynchronous task if necessary
|
|
218
218
|
# @param gem_gem_distribution_href
|
|
219
219
|
# @param gem_gem_distribution
|
|
220
220
|
# @param [Hash] opts the optional parameters
|
|
221
221
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
222
|
-
# @return [
|
|
222
|
+
# @return [GemGemDistributionResponse]
|
|
223
223
|
describe 'update test' do
|
|
224
224
|
it 'should work' do
|
|
225
225
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -142,12 +142,12 @@ describe 'RemotesGemApi' do
|
|
|
142
142
|
|
|
143
143
|
# unit tests for partial_update
|
|
144
144
|
# Update a gem remote
|
|
145
|
-
#
|
|
145
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
|
146
146
|
# @param gem_gem_remote_href
|
|
147
147
|
# @param patchedgem_gem_remote
|
|
148
148
|
# @param [Hash] opts the optional parameters
|
|
149
149
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
150
|
-
# @return [
|
|
150
|
+
# @return [GemGemRemoteResponse]
|
|
151
151
|
describe 'partial_update test' do
|
|
152
152
|
it 'should work' do
|
|
153
153
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -213,12 +213,12 @@ describe 'RemotesGemApi' do
|
|
|
213
213
|
|
|
214
214
|
# unit tests for update
|
|
215
215
|
# Update a gem remote
|
|
216
|
-
#
|
|
216
|
+
# Update the entity and trigger an asynchronous task if necessary
|
|
217
217
|
# @param gem_gem_remote_href
|
|
218
218
|
# @param gem_gem_remote
|
|
219
219
|
# @param [Hash] opts the optional parameters
|
|
220
220
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
221
|
-
# @return [
|
|
221
|
+
# @return [GemGemRemoteResponse]
|
|
222
222
|
describe 'update test' do
|
|
223
223
|
it 'should work' do
|
|
224
224
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -160,12 +160,12 @@ describe 'RepositoriesGemApi' do
|
|
|
160
160
|
|
|
161
161
|
# unit tests for partial_update
|
|
162
162
|
# Update a gem repository
|
|
163
|
-
#
|
|
163
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
|
164
164
|
# @param gem_gem_repository_href
|
|
165
165
|
# @param patchedgem_gem_repository
|
|
166
166
|
# @param [Hash] opts the optional parameters
|
|
167
167
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
168
|
-
# @return [
|
|
168
|
+
# @return [GemGemRepositoryResponse]
|
|
169
169
|
describe 'partial_update test' do
|
|
170
170
|
it 'should work' do
|
|
171
171
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -245,12 +245,12 @@ describe 'RepositoriesGemApi' do
|
|
|
245
245
|
|
|
246
246
|
# unit tests for update
|
|
247
247
|
# Update a gem repository
|
|
248
|
-
#
|
|
248
|
+
# Update the entity and trigger an asynchronous task if necessary
|
|
249
249
|
# @param gem_gem_repository_href
|
|
250
250
|
# @param gem_gem_repository
|
|
251
251
|
# @param [Hash] opts the optional parameters
|
|
252
252
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
253
|
-
# @return [
|
|
253
|
+
# @return [GemGemRepositoryResponse]
|
|
254
254
|
describe 'update test' do
|
|
255
255
|
it 'should work' do
|
|
256
256
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pulp_gem_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.7.
|
|
4
|
+
version: 0.7.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-01-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -239,44 +239,44 @@ signing_key:
|
|
|
239
239
|
specification_version: 4
|
|
240
240
|
summary: Pulp 3 API Ruby Gem
|
|
241
241
|
test_files:
|
|
242
|
-
- spec/api/repositories_gem_versions_api_spec.rb
|
|
243
242
|
- spec/api/publications_gem_api_spec.rb
|
|
244
|
-
- spec/api/content_gem_api_spec.rb
|
|
245
243
|
- spec/api/distributions_gem_api_spec.rb
|
|
246
244
|
- spec/api/repositories_gem_api_spec.rb
|
|
245
|
+
- spec/api/content_gem_api_spec.rb
|
|
246
|
+
- spec/api/repositories_gem_versions_api_spec.rb
|
|
247
247
|
- spec/api/remotes_gem_api_spec.rb
|
|
248
|
-
- spec/models/
|
|
249
|
-
- spec/models/
|
|
250
|
-
- spec/models/
|
|
251
|
-
- spec/models/set_label_response_spec.rb
|
|
252
|
-
- spec/models/repository_version_response_spec.rb
|
|
248
|
+
- spec/models/patchedgem_gem_remote_spec.rb
|
|
249
|
+
- spec/models/gem_gem_distribution_spec.rb
|
|
250
|
+
- spec/models/unset_label_response_spec.rb
|
|
253
251
|
- spec/models/paginatedgem_gem_publication_response_list_spec.rb
|
|
254
|
-
- spec/models/
|
|
255
|
-
- spec/models/
|
|
252
|
+
- spec/models/gem_gem_remote_spec.rb
|
|
253
|
+
- spec/models/repository_version_response_spec.rb
|
|
254
|
+
- spec/models/patchedgem_gem_repository_spec.rb
|
|
256
255
|
- spec/models/set_label_spec.rb
|
|
257
|
-
- spec/models/gem_gem_distribution_response_spec.rb
|
|
258
|
-
- spec/models/paginatedgem_gem_distribution_response_list_spec.rb
|
|
259
|
-
- spec/models/gem_gem_repository_spec.rb
|
|
260
256
|
- spec/models/my_permissions_response_spec.rb
|
|
261
|
-
- spec/models/gem_gem_remote_response_hidden_fields_inner_spec.rb
|
|
262
|
-
- spec/models/gem_gem_repository_response_spec.rb
|
|
263
|
-
- spec/models/unset_label_response_spec.rb
|
|
264
|
-
- spec/models/policy_enum_spec.rb
|
|
265
|
-
- spec/models/gem_gem_publication_spec.rb
|
|
266
|
-
- spec/models/content_summary_response_spec.rb
|
|
267
|
-
- spec/models/nested_role_spec.rb
|
|
268
|
-
- spec/models/patchedgem_gem_remote_spec.rb
|
|
269
|
-
- spec/models/gem_gem_publication_response_spec.rb
|
|
270
|
-
- spec/models/patchedgem_gem_distribution_spec.rb
|
|
271
257
|
- spec/models/paginated_repository_version_response_list_spec.rb
|
|
272
|
-
- spec/models/
|
|
273
|
-
- spec/models/
|
|
258
|
+
- spec/models/repair_spec.rb
|
|
259
|
+
- spec/models/async_operation_response_spec.rb
|
|
274
260
|
- spec/models/gem_gem_content_response_spec.rb
|
|
275
|
-
- spec/models/
|
|
276
|
-
- spec/models/
|
|
261
|
+
- spec/models/gem_gem_repository_spec.rb
|
|
262
|
+
- spec/models/repository_add_remove_content_spec.rb
|
|
263
|
+
- spec/models/nested_role_spec.rb
|
|
264
|
+
- spec/models/gem_gem_remote_response_spec.rb
|
|
265
|
+
- spec/models/gem_gem_publication_spec.rb
|
|
266
|
+
- spec/models/gem_gem_distribution_response_spec.rb
|
|
267
|
+
- spec/models/patchedgem_gem_distribution_spec.rb
|
|
277
268
|
- spec/models/repository_sync_url_spec.rb
|
|
278
|
-
- spec/models/
|
|
279
|
-
- spec/models/patchedgem_gem_repository_spec.rb
|
|
269
|
+
- spec/models/set_label_response_spec.rb
|
|
280
270
|
- spec/models/unset_label_spec.rb
|
|
281
|
-
- spec/models/
|
|
271
|
+
- spec/models/policy_enum_spec.rb
|
|
272
|
+
- spec/models/gem_gem_remote_response_hidden_fields_inner_spec.rb
|
|
273
|
+
- spec/models/paginatedgem_gem_remote_response_list_spec.rb
|
|
274
|
+
- spec/models/object_roles_response_spec.rb
|
|
275
|
+
- spec/models/paginatedgem_gem_distribution_response_list_spec.rb
|
|
276
|
+
- spec/models/nested_role_response_spec.rb
|
|
277
|
+
- spec/models/gem_gem_publication_response_spec.rb
|
|
278
|
+
- spec/models/content_summary_response_spec.rb
|
|
279
|
+
- spec/models/paginatedgem_gem_repository_response_list_spec.rb
|
|
280
|
+
- spec/models/paginatedgem_gem_content_response_list_spec.rb
|
|
281
|
+
- spec/models/gem_gem_repository_response_spec.rb
|
|
282
282
|
- spec/spec_helper.rb
|