pulpcore_client 3.6.1 → 3.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/docs/OrphansApi.md +5 -5
- data/lib/pulpcore_client/api/orphans_api.rb +5 -5
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/api/orphans_api_spec.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b1fde69a595ff316ad8a16f07838e89c3243e788953b4633b70d01a8cf5fc29
|
4
|
+
data.tar.gz: 3c9f11d78d231dc1285f8cd9a3d125dd868b7e3acd100eb5a26d61f1b6176e20
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd5258c89764c92eb95e8a3be9e89fb2d544c93d96966b3bc92baab564f1a546868de13e6df454143edeea455aaf6d0efa5b29a441685adf5c86408b93713894
|
7
|
+
data.tar.gz: 4ee9e7f4301b2b371588c2d6fca13b2fdc1f88e60f741ff9e54e04b19820d3569ab6e460052cb2e1ef295655874ed3fb1b40e262dd6146dc8a36ee4213e2288f
|
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: 3.6.
|
10
|
+
- Package version: 3.6.2
|
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 pulpcore_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulpcore_client-3.6.
|
27
|
+
gem install ./pulpcore_client-3.6.2.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulpcore_client-3.6.
|
30
|
+
(for development, run `gem install --dev ./pulpcore_client-3.6.2.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 'pulpcore_client', '~> 3.6.
|
36
|
+
gem 'pulpcore_client', '~> 3.6.2'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -132,7 +132,7 @@ Class | Method | HTTP request | Description
|
|
132
132
|
*PulpcoreClient::ImportersPulpApi* | [**partial_update**](docs/ImportersPulpApi.md#partial_update) | **PATCH** {pulp_importer_href} | Update a pulp importer
|
133
133
|
*PulpcoreClient::ImportersPulpApi* | [**read**](docs/ImportersPulpApi.md#read) | **GET** {pulp_importer_href} | Inspect a pulp importer
|
134
134
|
*PulpcoreClient::ImportersPulpApi* | [**update**](docs/ImportersPulpApi.md#update) | **PUT** {pulp_importer_href} | Update a pulp importer
|
135
|
-
*PulpcoreClient::OrphansApi* | [**
|
135
|
+
*PulpcoreClient::OrphansApi* | [**delete**](docs/OrphansApi.md#delete) | **DELETE** /pulp/api/v3/orphans/ | Delete orphans
|
136
136
|
*PulpcoreClient::SigningServicesApi* | [**list**](docs/SigningServicesApi.md#list) | **GET** /pulp/api/v3/signing-services/ | List signing services
|
137
137
|
*PulpcoreClient::SigningServicesApi* | [**read**](docs/SigningServicesApi.md#read) | **GET** {signing_service_href} | Inspect a signing service
|
138
138
|
*PulpcoreClient::StatusApi* | [**status_read**](docs/StatusApi.md#status_read) | **GET** /pulp/api/v3/status/ | Inspect status of Pulp
|
data/docs/OrphansApi.md
CHANGED
@@ -4,13 +4,13 @@ All URIs are relative to *http://pulp*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**
|
7
|
+
[**delete**](OrphansApi.md#delete) | **DELETE** /pulp/api/v3/orphans/ | Delete orphans
|
8
8
|
|
9
9
|
|
10
10
|
|
11
|
-
##
|
11
|
+
## delete
|
12
12
|
|
13
|
-
> AsyncOperationResponse
|
13
|
+
> AsyncOperationResponse delete
|
14
14
|
|
15
15
|
Delete orphans
|
16
16
|
|
@@ -32,10 +32,10 @@ api_instance = PulpcoreClient::OrphansApi.new
|
|
32
32
|
|
33
33
|
begin
|
34
34
|
#Delete orphans
|
35
|
-
result = api_instance.
|
35
|
+
result = api_instance.delete
|
36
36
|
p result
|
37
37
|
rescue PulpcoreClient::ApiError => e
|
38
|
-
puts "Exception when calling OrphansApi->
|
38
|
+
puts "Exception when calling OrphansApi->delete: #{e}"
|
39
39
|
end
|
40
40
|
```
|
41
41
|
|
@@ -23,8 +23,8 @@ module PulpcoreClient
|
|
23
23
|
# Trigger an asynchronous task that deletes allorphaned content and artifacts.
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
25
|
# @return [AsyncOperationResponse]
|
26
|
-
def
|
27
|
-
data, _status_code, _headers =
|
26
|
+
def delete(opts = {})
|
27
|
+
data, _status_code, _headers = delete_with_http_info(opts)
|
28
28
|
data
|
29
29
|
end
|
30
30
|
|
@@ -32,9 +32,9 @@ module PulpcoreClient
|
|
32
32
|
# Trigger an asynchronous task that deletes allorphaned content and artifacts.
|
33
33
|
# @param [Hash] opts the optional parameters
|
34
34
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
35
|
-
def
|
35
|
+
def delete_with_http_info(opts = {})
|
36
36
|
if @api_client.config.debugging
|
37
|
-
@api_client.config.logger.debug 'Calling API: OrphansApi.
|
37
|
+
@api_client.config.logger.debug 'Calling API: OrphansApi.delete ...'
|
38
38
|
end
|
39
39
|
# resource path
|
40
40
|
local_var_path = '/pulp/api/v3/orphans/'
|
@@ -70,7 +70,7 @@ module PulpcoreClient
|
|
70
70
|
|
71
71
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
72
72
|
if @api_client.config.debugging
|
73
|
-
@api_client.config.logger.debug "API called: OrphansApi#
|
73
|
+
@api_client.config.logger.debug "API called: OrphansApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
74
74
|
end
|
75
75
|
return data, status_code, headers
|
76
76
|
end
|
@@ -32,12 +32,12 @@ describe 'OrphansApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
# unit tests for
|
35
|
+
# unit tests for delete
|
36
36
|
# Delete orphans
|
37
37
|
# Trigger an asynchronous task that deletes allorphaned content and artifacts.
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @return [AsyncOperationResponse]
|
40
|
-
describe '
|
40
|
+
describe 'delete test' do
|
41
41
|
it 'should work' do
|
42
42
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
43
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulpcore_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.6.
|
4
|
+
version: 3.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-09-
|
11
|
+
date: 2020-09-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|