pulp_npm_client 0.1.0a1.dev01597887121 → 0.1.0a1.dev01598319092

This diff has not been reviewed by any users.
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f2c7efe2d3ced2f88ff6c4326358da3c8e4b6b7d5bfb8969abe2e533cd5f96dd
4
- data.tar.gz: a1643342a6366f8e29d6ec80d806fc8d6012a24348d8602e10f13f72c63cda1a
3
+ metadata.gz: 6e57f020d284a9f937db22e881964c89dc20eff44176a050669206ab414d4349
4
+ data.tar.gz: 3aff64457fc399d746f885596eb96eb08e62e1367fba7180cbd8765334e4e9cd
5
5
  SHA512:
6
- metadata.gz: 1c01670c5b38072aa3aee2056e0f29ea7b7337113b7efcea6af3eb5521c89a4187c2b0ec20accccde699e62b9536965efa9823dd5a1cae8fdf8c0a6d62ca99e2
7
- data.tar.gz: b5a242e76d378fdffcc00eb52f2cf39dce98e28fdcdb7a2b2102f9d1bca966d43b72072296bdf6820e6376b470e8c13b2f97604724cd994bbf33445c2a30c652
6
+ metadata.gz: baf474e3fde88affefe4c9b0f7da2ffe1143f2e47fd31003f54a839d6570d49df8e839cd89e55339d8894f8f2f26083a0b26735565f889c6301756f904835887
7
+ data.tar.gz: 13c867fe71bc11c174cb660378683f398097d1273227e2272c8849401156b2334cef50b8b1f0a3016890e56c5d904cacc54628b495dbc13053bad936eb4ecc2a
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.1.0a1.dev01597887121
10
+ - Package version: 0.1.0a1.dev01598319092
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 pulp_npm_client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./pulp_npm_client-0.1.0a1.dev01597887121.gem
27
+ gem install ./pulp_npm_client-0.1.0a1.dev01598319092.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_npm_client-0.1.0a1.dev01597887121.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_npm_client-0.1.0a1.dev01598319092.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 'pulp_npm_client', '~> 0.1.0a1.dev01597887121'
36
+ gem 'pulp_npm_client', '~> 0.1.0a1.dev01598319092'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -99,7 +99,7 @@ Class | Method | HTTP request | Description
99
99
  *PulpNpmClient::DistributionsNpmApi* | [**partial_update**](docs/DistributionsNpmApi.md#partial_update) | **PATCH** {npm_npm_distribution_href} | Update a npm distribution
100
100
  *PulpNpmClient::DistributionsNpmApi* | [**read**](docs/DistributionsNpmApi.md#read) | **GET** {npm_npm_distribution_href} | Inspect a npm distribution
101
101
  *PulpNpmClient::DistributionsNpmApi* | [**update**](docs/DistributionsNpmApi.md#update) | **PUT** {npm_npm_distribution_href} | Update a npm distribution
102
- *PulpNpmClient::PulpNpmPackagesApi* | [**read**](docs/PulpNpmPackagesApi.md#read) | **GET** /pulp_npm/packages/{name}/ |
102
+ *PulpNpmClient::PulpNpmPackagesApi* | [**get**](docs/PulpNpmPackagesApi.md#get) | **GET** /pulp_npm/packages/{name}/ |
103
103
  *PulpNpmClient::RemotesNpmApi* | [**create**](docs/RemotesNpmApi.md#create) | **POST** /pulp/api/v3/remotes/npm/npm/ | Create a npm remote
104
104
  *PulpNpmClient::RemotesNpmApi* | [**delete**](docs/RemotesNpmApi.md#delete) | **DELETE** {npm_npm_remote_href} | Delete a npm remote
105
105
  *PulpNpmClient::RemotesNpmApi* | [**list**](docs/RemotesNpmApi.md#list) | **GET** /pulp/api/v3/remotes/npm/npm/ | List npm remotes
@@ -4,13 +4,13 @@ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**read**](PulpNpmPackagesApi.md#read) | **GET** /pulp_npm/packages/{name}/ |
7
+ [**get**](PulpNpmPackagesApi.md#get) | **GET** /pulp_npm/packages/{name}/ |
8
8
 
9
9
 
10
10
 
11
- ## read
11
+ ## get
12
12
 
13
- > read(name, opts)
13
+ > get(name, opts)
14
14
 
15
15
 
16
16
 
@@ -30,9 +30,9 @@ opts = {
30
30
  }
31
31
 
32
32
  begin
33
- api_instance.read(name, opts)
33
+ api_instance.get(name, opts)
34
34
  rescue PulpNpmClient::ApiError => e
35
- puts "Exception when calling PulpNpmPackagesApi->read: #{e}"
35
+ puts "Exception when calling PulpNpmPackagesApi->get: #{e}"
36
36
  end
37
37
  ```
38
38
 
@@ -25,8 +25,8 @@ module PulpNpmClient
25
25
  # @option opts [String] :fields A list of fields to include in the response.
26
26
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
27
27
  # @return [nil]
28
- def read(name, opts = {})
29
- read_with_http_info(name, opts)
28
+ def get(name, opts = {})
29
+ get_with_http_info(name, opts)
30
30
  nil
31
31
  end
32
32
 
@@ -36,13 +36,13 @@ module PulpNpmClient
36
36
  # @option opts [String] :fields A list of fields to include in the response.
37
37
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
38
38
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
39
- def read_with_http_info(name, opts = {})
39
+ def get_with_http_info(name, opts = {})
40
40
  if @api_client.config.debugging
41
- @api_client.config.logger.debug 'Calling API: PulpNpmPackagesApi.read ...'
41
+ @api_client.config.logger.debug 'Calling API: PulpNpmPackagesApi.get ...'
42
42
  end
43
43
  # verify the required parameter 'name' is set
44
44
  if @api_client.config.client_side_validation && name.nil?
45
- fail ArgumentError, "Missing the required parameter 'name' when calling PulpNpmPackagesApi.read"
45
+ fail ArgumentError, "Missing the required parameter 'name' when calling PulpNpmPackagesApi.get"
46
46
  end
47
47
  # resource path
48
48
  local_var_path = '/pulp_npm/packages/{name}/'.sub('{' + 'name' + '}', CGI.escape(name.to_s).gsub('%2F', '/'))
@@ -78,7 +78,7 @@ module PulpNpmClient
78
78
 
79
79
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
80
80
  if @api_client.config.debugging
81
- @api_client.config.logger.debug "API called: PulpNpmPackagesApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
81
+ @api_client.config.logger.debug "API called: PulpNpmPackagesApi#get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
82
82
  end
83
83
  return data, status_code, headers
84
84
  end
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.2.3
11
11
  =end
12
12
 
13
13
  module PulpNpmClient
14
- VERSION = '0.1.0a1.dev01597887121'
14
+ VERSION = '0.1.0a1.dev01598319092'
15
15
  end
@@ -32,14 +32,14 @@ describe 'PulpNpmPackagesApi' do
32
32
  end
33
33
  end
34
34
 
35
- # unit tests for read
35
+ # unit tests for get
36
36
  # Return a published package.
37
37
  # @param name
38
38
  # @param [Hash] opts the optional parameters
39
39
  # @option opts [String] :fields A list of fields to include in the response.
40
40
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
41
41
  # @return [nil]
42
- describe 'read test' do
42
+ describe 'get test' do
43
43
  it 'should work' do
44
44
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
45
45
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulp_npm_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0a1.dev01597887121
4
+ version: 0.1.0a1.dev01598319092
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-08-20 00:00:00.000000000 Z
11
+ date: 2020-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday