pulp_npm_client 0.1.0a1.dev01598059912 → 0.1.0a1.dev01598493609

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.

Potentially problematic release.


This version of pulp_npm_client might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e8360198f25225d13f5011dcdfc1d45480d6fb0f059c0ecaae0397f86fada634
4
- data.tar.gz: 5263331a1cf79c5fd30918c7c5dff46f04adee4153f69c7c810752fb97af13a1
3
+ metadata.gz: '0778501bf7955cf7bae0b3d4f6e3737ed2309a71c4af0ba72213d24ad0306f95'
4
+ data.tar.gz: 34688b9982a03ab105b8b16ecc1548873b627ebcdac4828f02877d28966d8cef
5
5
  SHA512:
6
- metadata.gz: b807d855ead9443681b0bf747fba7dbd03b098b611f0bcdcc83d760576d4dbcf1131d087e5984c71d81f7aeac7f8a02539bc0cc6b15287e327d76778cdebdff5
7
- data.tar.gz: 2ab563f246df04b4256a4b3c1e5c6cb233ed2af383e8b1df7a574bc56f537c914c9476aba465b80ffa0c5cc8d3ff34e66e45441bcdfff891b2a6d4d27a3f278e
6
+ metadata.gz: 5d1bc90c0f25f5b18af0539c055e26c1ba535f72bc6734a35393b938fd4df05464af51c211864902779a99c6d17ee0eaf60ab4c8f75b0af0a42fd2e48ecc6a5c
7
+ data.tar.gz: c7fad7faf52cd9f219df98bf7cecb9707182f946633bb8837f8db3a514d0233309e3460bced437e162c5c11cbb03aa54c62a7265a44a34be8d4b5124c08631a7
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.dev01598059912
10
+ - Package version: 0.1.0a1.dev01598493609
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.dev01598059912.gem
27
+ gem install ./pulp_npm_client-0.1.0a1.dev01598493609.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_npm_client-0.1.0a1.dev01598059912.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_npm_client-0.1.0a1.dev01598493609.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.dev01598059912'
36
+ gem 'pulp_npm_client', '~> 0.1.0a1.dev01598493609'
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.dev01598059912'
14
+ VERSION = '0.1.0a1.dev01598493609'
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.dev01598059912
4
+ version: 0.1.0a1.dev01598493609
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-22 00:00:00.000000000 Z
11
+ date: 2020-08-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday