pulp_maven_client 0.1.0b31574717710 → 0.1.0b31575492869
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/RepositoriesMavenVersionsApi.md +4 -4
- data/lib/pulp_maven_client/api/content_artifact_api.rb +1 -1
- data/lib/pulp_maven_client/api/distributions_maven_api.rb +1 -1
- data/lib/pulp_maven_client/api/remotes_maven_api.rb +1 -1
- data/lib/pulp_maven_client/api/repositories_maven_api.rb +1 -1
- data/lib/pulp_maven_client/api/repositories_maven_versions_api.rb +10 -10
- data/lib/pulp_maven_client/api_client.rb +1 -1
- data/lib/pulp_maven_client/api_error.rb +1 -1
- data/lib/pulp_maven_client/configuration.rb +2 -2
- data/lib/pulp_maven_client/models/async_operation_response.rb +1 -1
- data/lib/pulp_maven_client/models/content_summary.rb +1 -1
- data/lib/pulp_maven_client/models/inline_response200.rb +1 -1
- data/lib/pulp_maven_client/models/inline_response2001.rb +1 -1
- data/lib/pulp_maven_client/models/inline_response2002.rb +1 -1
- data/lib/pulp_maven_client/models/inline_response2003.rb +1 -1
- data/lib/pulp_maven_client/models/inline_response2004.rb +1 -1
- data/lib/pulp_maven_client/models/maven_maven_artifact.rb +1 -1
- data/lib/pulp_maven_client/models/maven_maven_distribution.rb +1 -1
- data/lib/pulp_maven_client/models/maven_maven_remote.rb +1 -1
- data/lib/pulp_maven_client/models/maven_maven_repository.rb +1 -1
- data/lib/pulp_maven_client/models/repository_version.rb +1 -1
- data/lib/pulp_maven_client/version.rb +2 -2
- data/lib/pulp_maven_client.rb +1 -1
- data/pulp_maven_client.gemspec +1 -1
- data/spec/api/content_artifact_api_spec.rb +1 -1
- data/spec/api/distributions_maven_api_spec.rb +1 -1
- data/spec/api/remotes_maven_api_spec.rb +1 -1
- data/spec/api/repositories_maven_api_spec.rb +1 -1
- data/spec/api/repositories_maven_versions_api_spec.rb +2 -2
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/content_summary_spec.rb +1 -1
- data/spec/models/inline_response2001_spec.rb +1 -1
- data/spec/models/inline_response2002_spec.rb +1 -1
- data/spec/models/inline_response2003_spec.rb +1 -1
- data/spec/models/inline_response2004_spec.rb +1 -1
- data/spec/models/inline_response200_spec.rb +1 -1
- data/spec/models/maven_maven_artifact_spec.rb +1 -1
- data/spec/models/maven_maven_distribution_spec.rb +1 -1
- data/spec/models/maven_maven_remote_spec.rb +1 -1
- data/spec/models/maven_maven_repository_spec.rb +1 -1
- data/spec/models/repository_version_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- 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: 0211075ce4d6a589d33817b9ba89c1d49f65d6ae51ac1f0fc8f99d8c0b23af17
|
4
|
+
data.tar.gz: c28aec214e258330b803854a860b74dd39d9c298d83a63b3c0a69a614b6c2d4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9faa98fb505cddfa5f9c9d52dc6dc4fa228dc1b181aa737ec702c816df3301427fed6dbb9f0aab40ba8675b69fb5852854611b75335900b01346d1278f9eb965
|
7
|
+
data.tar.gz: effa5ceeb50aa05dd6fb55f794cea95c58633e53729c1809142eb6307fa1fe59c1fc802b9cadcdd2430bf5975dfe686589927b5ad521d3c5b7e9610dd916191d
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
|
|
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.1.
|
10
|
+
- Package version: 0.1.0b31575492869
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
|
13
13
|
## Installation
|
@@ -23,16 +23,16 @@ gem build pulp_maven_client.gemspec
|
|
23
23
|
Then either install the gem locally:
|
24
24
|
|
25
25
|
```shell
|
26
|
-
gem install ./pulp_maven_client-0.1.
|
26
|
+
gem install ./pulp_maven_client-0.1.0b31575492869.gem
|
27
27
|
```
|
28
28
|
|
29
|
-
(for development, run `gem install --dev ./pulp_maven_client-0.1.
|
29
|
+
(for development, run `gem install --dev ./pulp_maven_client-0.1.0b31575492869.gem` to install the development dependencies)
|
30
30
|
|
31
31
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
32
32
|
|
33
33
|
Finally add this to the Gemfile:
|
34
34
|
|
35
|
-
gem 'pulp_maven_client', '~> 0.1.
|
35
|
+
gem 'pulp_maven_client', '~> 0.1.0b31575492869'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -65,7 +65,7 @@ Name | Type | Description | Notes
|
|
65
65
|
|
66
66
|
## list
|
67
67
|
|
68
|
-
> InlineResponse2004 list(
|
68
|
+
> InlineResponse2004 list(maven_repository_href, opts)
|
69
69
|
|
70
70
|
List repository versions
|
71
71
|
|
@@ -84,7 +84,7 @@ PulpMavenClient.configure do |config|
|
|
84
84
|
end
|
85
85
|
|
86
86
|
api_instance = PulpMavenClient::RepositoriesMavenVersionsApi.new
|
87
|
-
|
87
|
+
maven_repository_href = 'maven_repository_href_example' # String | URI of Maven Repository. e.g.: /pulp/api/v3/repositories/maven/maven/1/
|
88
88
|
opts = {
|
89
89
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
90
90
|
number: 3.4, # Float |
|
@@ -108,7 +108,7 @@ opts = {
|
|
108
108
|
|
109
109
|
begin
|
110
110
|
#List repository versions
|
111
|
-
result = api_instance.list(
|
111
|
+
result = api_instance.list(maven_repository_href, opts)
|
112
112
|
p result
|
113
113
|
rescue PulpMavenClient::ApiError => e
|
114
114
|
puts "Exception when calling RepositoriesMavenVersionsApi->list: #{e}"
|
@@ -120,7 +120,7 @@ end
|
|
120
120
|
|
121
121
|
Name | Type | Description | Notes
|
122
122
|
------------- | ------------- | ------------- | -------------
|
123
|
-
**
|
123
|
+
**maven_repository_href** | **String**| URI of Maven Repository. e.g.: /pulp/api/v3/repositories/maven/maven/1/ |
|
124
124
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
125
125
|
**number** | **Float**| | [optional]
|
126
126
|
**number__lt** | **Float**| Filter results where number is less than value | [optional]
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.
|
9
|
+
OpenAPI Generator version: 4.2.3-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -83,7 +83,7 @@ module PulpMavenClient
|
|
83
83
|
|
84
84
|
# List repository versions
|
85
85
|
# MavenRepositoryVersion represents a single Maven repository version.
|
86
|
-
# @param
|
86
|
+
# @param maven_repository_href [String] URI of Maven Repository. e.g.: /pulp/api/v3/repositories/maven/maven/1/
|
87
87
|
# @param [Hash] opts the optional parameters
|
88
88
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
89
89
|
# @option opts [Float] :number
|
@@ -104,14 +104,14 @@ module PulpMavenClient
|
|
104
104
|
# @option opts [String] :fields A list of fields to include in the response.
|
105
105
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
106
106
|
# @return [InlineResponse2004]
|
107
|
-
def list(
|
108
|
-
data, _status_code, _headers = list_with_http_info(
|
107
|
+
def list(maven_repository_href, opts = {})
|
108
|
+
data, _status_code, _headers = list_with_http_info(maven_repository_href, opts)
|
109
109
|
data
|
110
110
|
end
|
111
111
|
|
112
112
|
# List repository versions
|
113
113
|
# MavenRepositoryVersion represents a single Maven repository version.
|
114
|
-
# @param
|
114
|
+
# @param maven_repository_href [String] URI of Maven Repository. e.g.: /pulp/api/v3/repositories/maven/maven/1/
|
115
115
|
# @param [Hash] opts the optional parameters
|
116
116
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
117
117
|
# @option opts [Float] :number
|
@@ -132,16 +132,16 @@ module PulpMavenClient
|
|
132
132
|
# @option opts [String] :fields A list of fields to include in the response.
|
133
133
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
134
134
|
# @return [Array<(InlineResponse2004, Integer, Hash)>] InlineResponse2004 data, response status code and response headers
|
135
|
-
def list_with_http_info(
|
135
|
+
def list_with_http_info(maven_repository_href, opts = {})
|
136
136
|
if @api_client.config.debugging
|
137
137
|
@api_client.config.logger.debug 'Calling API: RepositoriesMavenVersionsApi.list ...'
|
138
138
|
end
|
139
|
-
# verify the required parameter '
|
140
|
-
if @api_client.config.client_side_validation &&
|
141
|
-
fail ArgumentError, "Missing the required parameter '
|
139
|
+
# verify the required parameter 'maven_repository_href' is set
|
140
|
+
if @api_client.config.client_side_validation && maven_repository_href.nil?
|
141
|
+
fail ArgumentError, "Missing the required parameter 'maven_repository_href' when calling RepositoriesMavenVersionsApi.list"
|
142
142
|
end
|
143
143
|
# resource path
|
144
|
-
local_var_path = '{maven_repository_href}versions/'.sub('{' + '
|
144
|
+
local_var_path = '{maven_repository_href}versions/'.sub('{' + 'maven_repository_href' + '}', CGI.escape(maven_repository_href.to_s).gsub('%2F', '/'))
|
145
145
|
|
146
146
|
# query parameters
|
147
147
|
query_params = opts[:query_params] || {}
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.
|
9
|
+
OpenAPI Generator version: 4.2.3-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -203,7 +203,7 @@ module PulpMavenClient
|
|
203
203
|
[
|
204
204
|
{
|
205
205
|
url: "http://localhost:24817/",
|
206
|
-
description: "No
|
206
|
+
description: "No description provided",
|
207
207
|
}
|
208
208
|
]
|
209
209
|
end
|
@@ -6,10 +6,10 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.
|
9
|
+
OpenAPI Generator version: 4.2.3-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module PulpMavenClient
|
14
|
-
VERSION = '0.1.
|
14
|
+
VERSION = '0.1.0b31575492869'
|
15
15
|
end
|
data/lib/pulp_maven_client.rb
CHANGED
data/pulp_maven_client.gemspec
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.
|
9
|
+
OpenAPI Generator version: 4.2.3-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -47,7 +47,7 @@ describe 'RepositoriesMavenVersionsApi' do
|
|
47
47
|
# unit tests for list
|
48
48
|
# List repository versions
|
49
49
|
# MavenRepositoryVersion represents a single Maven repository version.
|
50
|
-
# @param
|
50
|
+
# @param maven_repository_href URI of Maven Repository. e.g.: /pulp/api/v3/repositories/maven/maven/1/
|
51
51
|
# @param [Hash] opts the optional parameters
|
52
52
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
53
53
|
# @option opts [Float] :number
|
data/spec/api_client_spec.rb
CHANGED
data/spec/configuration_spec.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_maven_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.0b31575492869
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|