pulp_npm_client 0.1.0a1.dev01598232723 → 0.1.0a1.dev01598664511

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: a6c260d89030090bd987f58f57c8b64c8048449b4e101f5d0118dfc33c2d022b
4
- data.tar.gz: 7dd6313c65ea38219c971cf2d48185a5ac9fbc9ec85d64d521b783d5d115a34a
3
+ metadata.gz: d2fd4c00b94015837467c63c744bdc65b83b6e619357a609e4702f1cd376e20d
4
+ data.tar.gz: 5cbe69a905a9a489798e507151aceb3835349abef16f021508697a97eaaec695
5
5
  SHA512:
6
- metadata.gz: e270ccf3857e24bb38a3b536dd5cca0b3693c919cd364d51e217e6552d841fa856f4fd779bb0ed547613ddfc68f8959d73c20192f6d34a831cc797c055bc7432
7
- data.tar.gz: 7a24b19deedefd5f6fb3443a4067c4221a6a1dca7a15873dbb67e5268ae63cd7f84e651f3f59ca3e8ee9f6d2d6a54eab0e6bbeb8c250e0cd9b03e50dbdf0f4b8
6
+ metadata.gz: 2d53af22b96b01003139ada9546d21cf583cf7431dbb9faf6654b4dbdb6c15b9b397e6f243aa4ff41aa7626fc7cd3d86449109fc289fe7010edb04732dcec992
7
+ data.tar.gz: 5bec36aabd5da2425e6fe18e2269d335babdb91a00a892a8918215b648a5f8863da02740db5e5d94d6868f56469dfa1ac11dca76f10e2ea18364f97b7eaccde8
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.dev01598232723
10
+ - Package version: 0.1.0a1.dev01598664511
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.dev01598232723.gem
27
+ gem install ./pulp_npm_client-0.1.0a1.dev01598664511.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_npm_client-0.1.0a1.dev01598232723.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_npm_client-0.1.0a1.dev01598664511.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.dev01598232723'
36
+ gem 'pulp_npm_client', '~> 0.1.0a1.dev01598664511'
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.dev01598232723'
14
+ VERSION = '0.1.0a1.dev01598664511'
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.dev01598232723
4
+ version: 0.1.0a1.dev01598664511
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-24 00:00:00.000000000 Z
11
+ date: 2020-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday