pulp_npm_client 0.1.0a1.dev01600047508 → 0.1.0a1.dev01600133930
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 +4 -4
 - data/README.md +22 -22
 - data/docs/ContentPackagesApi.md +5 -5
 - data/docs/DistributionsNpmApi.md +10 -10
 - data/docs/RemotesNpmApi.md +30 -30
 - data/docs/RepositoriesNpmApi.md +30 -30
 - data/docs/RepositoriesNpmVersionsApi.md +15 -15
 - data/lib/pulp_npm_client/api/content_packages_api.rb +6 -6
 - data/lib/pulp_npm_client/api/distributions_npm_api.rb +11 -11
 - data/lib/pulp_npm_client/api/remotes_npm_api.rb +37 -37
 - data/lib/pulp_npm_client/api/repositories_npm_api.rb +37 -37
 - data/lib/pulp_npm_client/api/repositories_npm_versions_api.rb +18 -18
 - data/lib/pulp_npm_client/version.rb +1 -1
 - data/spec/api/content_packages_api_spec.rb +2 -2
 - data/spec/api/distributions_npm_api_spec.rb +4 -4
 - data/spec/api/remotes_npm_api_spec.rb +12 -12
 - data/spec/api/repositories_npm_api_spec.rb +12 -12
 - data/spec/api/repositories_npm_versions_api_spec.rb +6 -6
 - metadata +21 -21
 
| 
         @@ -24,8 +24,8 @@ module PulpNpmClient 
     | 
|
| 
       24 
24 
     | 
    
         
             
                # @param npm_npm_repository_version_href [String] 
         
     | 
| 
       25 
25 
     | 
    
         
             
                # @param [Hash] opts the optional parameters
         
     | 
| 
       26 
26 
     | 
    
         
             
                # @return [AsyncOperationResponse]
         
     | 
| 
       27 
     | 
    
         
            -
                def  
     | 
| 
       28 
     | 
    
         
            -
                  data, _status_code, _headers =  
     | 
| 
      
 27 
     | 
    
         
            +
                def delete(npm_npm_repository_version_href, opts = {})
         
     | 
| 
      
 28 
     | 
    
         
            +
                  data, _status_code, _headers = delete_with_http_info(npm_npm_repository_version_href, opts)
         
     | 
| 
       29 
29 
     | 
    
         
             
                  data
         
     | 
| 
       30 
30 
     | 
    
         
             
                end
         
     | 
| 
       31 
31 
     | 
    
         | 
| 
         @@ -34,13 +34,13 @@ module PulpNpmClient 
     | 
|
| 
       34 
34 
     | 
    
         
             
                # @param npm_npm_repository_version_href [String] 
         
     | 
| 
       35 
35 
     | 
    
         
             
                # @param [Hash] opts the optional parameters
         
     | 
| 
       36 
36 
     | 
    
         
             
                # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
         
     | 
| 
       37 
     | 
    
         
            -
                def  
     | 
| 
      
 37 
     | 
    
         
            +
                def delete_with_http_info(npm_npm_repository_version_href, opts = {})
         
     | 
| 
       38 
38 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       39 
     | 
    
         
            -
                    @api_client.config.logger.debug 'Calling API: RepositoriesNpmVersionsApi. 
     | 
| 
      
 39 
     | 
    
         
            +
                    @api_client.config.logger.debug 'Calling API: RepositoriesNpmVersionsApi.delete ...'
         
     | 
| 
       40 
40 
     | 
    
         
             
                  end
         
     | 
| 
       41 
41 
     | 
    
         
             
                  # verify the required parameter 'npm_npm_repository_version_href' is set
         
     | 
| 
       42 
42 
     | 
    
         
             
                  if @api_client.config.client_side_validation && npm_npm_repository_version_href.nil?
         
     | 
| 
       43 
     | 
    
         
            -
                    fail ArgumentError, "Missing the required parameter 'npm_npm_repository_version_href' when calling RepositoriesNpmVersionsApi. 
     | 
| 
      
 43 
     | 
    
         
            +
                    fail ArgumentError, "Missing the required parameter 'npm_npm_repository_version_href' when calling RepositoriesNpmVersionsApi.delete"
         
     | 
| 
       44 
44 
     | 
    
         
             
                  end
         
     | 
| 
       45 
45 
     | 
    
         
             
                  # resource path
         
     | 
| 
       46 
46 
     | 
    
         
             
                  local_var_path = '{npm_npm_repository_version_href}'.sub('{' + 'npm_npm_repository_version_href' + '}', CGI.escape(npm_npm_repository_version_href.to_s).gsub('%2F', '/'))
         
     | 
| 
         @@ -76,7 +76,7 @@ module PulpNpmClient 
     | 
|
| 
       76 
76 
     | 
    
         | 
| 
       77 
77 
     | 
    
         
             
                  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
         
     | 
| 
       78 
78 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       79 
     | 
    
         
            -
                    @api_client.config.logger.debug "API called: RepositoriesNpmVersionsApi# 
     | 
| 
      
 79 
     | 
    
         
            +
                    @api_client.config.logger.debug "API called: RepositoriesNpmVersionsApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
         
     | 
| 
       80 
80 
     | 
    
         
             
                  end
         
     | 
| 
       81 
81 
     | 
    
         
             
                  return data, status_code, headers
         
     | 
| 
       82 
82 
     | 
    
         
             
                end
         
     | 
| 
         @@ -105,8 +105,8 @@ module PulpNpmClient 
     | 
|
| 
       105 
105 
     | 
    
         
             
                # @option opts [String] :fields A list of fields to include in the response.
         
     | 
| 
       106 
106 
     | 
    
         
             
                # @option opts [String] :exclude_fields A list of fields to exclude from the response.
         
     | 
| 
       107 
107 
     | 
    
         
             
                # @return [InlineResponse2004]
         
     | 
| 
       108 
     | 
    
         
            -
                def  
     | 
| 
       109 
     | 
    
         
            -
                  data, _status_code, _headers =  
     | 
| 
      
 108 
     | 
    
         
            +
                def list(npm_npm_repository_href, opts = {})
         
     | 
| 
      
 109 
     | 
    
         
            +
                  data, _status_code, _headers = list_with_http_info(npm_npm_repository_href, opts)
         
     | 
| 
       110 
110 
     | 
    
         
             
                  data
         
     | 
| 
       111 
111 
     | 
    
         
             
                end
         
     | 
| 
       112 
112 
     | 
    
         | 
| 
         @@ -134,13 +134,13 @@ module PulpNpmClient 
     | 
|
| 
       134 
134 
     | 
    
         
             
                # @option opts [String] :fields A list of fields to include in the response.
         
     | 
| 
       135 
135 
     | 
    
         
             
                # @option opts [String] :exclude_fields A list of fields to exclude from the response.
         
     | 
| 
       136 
136 
     | 
    
         
             
                # @return [Array<(InlineResponse2004, Integer, Hash)>] InlineResponse2004 data, response status code and response headers
         
     | 
| 
       137 
     | 
    
         
            -
                def  
     | 
| 
      
 137 
     | 
    
         
            +
                def list_with_http_info(npm_npm_repository_href, opts = {})
         
     | 
| 
       138 
138 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       139 
     | 
    
         
            -
                    @api_client.config.logger.debug 'Calling API: RepositoriesNpmVersionsApi. 
     | 
| 
      
 139 
     | 
    
         
            +
                    @api_client.config.logger.debug 'Calling API: RepositoriesNpmVersionsApi.list ...'
         
     | 
| 
       140 
140 
     | 
    
         
             
                  end
         
     | 
| 
       141 
141 
     | 
    
         
             
                  # verify the required parameter 'npm_npm_repository_href' is set
         
     | 
| 
       142 
142 
     | 
    
         
             
                  if @api_client.config.client_side_validation && npm_npm_repository_href.nil?
         
     | 
| 
       143 
     | 
    
         
            -
                    fail ArgumentError, "Missing the required parameter 'npm_npm_repository_href' when calling RepositoriesNpmVersionsApi. 
     | 
| 
      
 143 
     | 
    
         
            +
                    fail ArgumentError, "Missing the required parameter 'npm_npm_repository_href' when calling RepositoriesNpmVersionsApi.list"
         
     | 
| 
       144 
144 
     | 
    
         
             
                  end
         
     | 
| 
       145 
145 
     | 
    
         
             
                  # resource path
         
     | 
| 
       146 
146 
     | 
    
         
             
                  local_var_path = '{npm_npm_repository_href}versions/'.sub('{' + 'npm_npm_repository_href' + '}', CGI.escape(npm_npm_repository_href.to_s).gsub('%2F', '/'))
         
     | 
| 
         @@ -195,7 +195,7 @@ module PulpNpmClient 
     | 
|
| 
       195 
195 
     | 
    
         | 
| 
       196 
196 
     | 
    
         
             
                  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
         
     | 
| 
       197 
197 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       198 
     | 
    
         
            -
                    @api_client.config.logger.debug "API called: RepositoriesNpmVersionsApi# 
     | 
| 
      
 198 
     | 
    
         
            +
                    @api_client.config.logger.debug "API called: RepositoriesNpmVersionsApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
         
     | 
| 
       199 
199 
     | 
    
         
             
                  end
         
     | 
| 
       200 
200 
     | 
    
         
             
                  return data, status_code, headers
         
     | 
| 
       201 
201 
     | 
    
         
             
                end
         
     | 
| 
         @@ -207,8 +207,8 @@ module PulpNpmClient 
     | 
|
| 
       207 
207 
     | 
    
         
             
                # @option opts [String] :fields A list of fields to include in the response.
         
     | 
| 
       208 
208 
     | 
    
         
             
                # @option opts [String] :exclude_fields A list of fields to exclude from the response.
         
     | 
| 
       209 
209 
     | 
    
         
             
                # @return [RepositoryVersionResponse]
         
     | 
| 
       210 
     | 
    
         
            -
                def  
     | 
| 
       211 
     | 
    
         
            -
                  data, _status_code, _headers =  
     | 
| 
      
 210 
     | 
    
         
            +
                def read(npm_npm_repository_version_href, opts = {})
         
     | 
| 
      
 211 
     | 
    
         
            +
                  data, _status_code, _headers = read_with_http_info(npm_npm_repository_version_href, opts)
         
     | 
| 
       212 
212 
     | 
    
         
             
                  data
         
     | 
| 
       213 
213 
     | 
    
         
             
                end
         
     | 
| 
       214 
214 
     | 
    
         | 
| 
         @@ -219,13 +219,13 @@ module PulpNpmClient 
     | 
|
| 
       219 
219 
     | 
    
         
             
                # @option opts [String] :fields A list of fields to include in the response.
         
     | 
| 
       220 
220 
     | 
    
         
             
                # @option opts [String] :exclude_fields A list of fields to exclude from the response.
         
     | 
| 
       221 
221 
     | 
    
         
             
                # @return [Array<(RepositoryVersionResponse, Integer, Hash)>] RepositoryVersionResponse data, response status code and response headers
         
     | 
| 
       222 
     | 
    
         
            -
                def  
     | 
| 
      
 222 
     | 
    
         
            +
                def read_with_http_info(npm_npm_repository_version_href, opts = {})
         
     | 
| 
       223 
223 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       224 
     | 
    
         
            -
                    @api_client.config.logger.debug 'Calling API: RepositoriesNpmVersionsApi. 
     | 
| 
      
 224 
     | 
    
         
            +
                    @api_client.config.logger.debug 'Calling API: RepositoriesNpmVersionsApi.read ...'
         
     | 
| 
       225 
225 
     | 
    
         
             
                  end
         
     | 
| 
       226 
226 
     | 
    
         
             
                  # verify the required parameter 'npm_npm_repository_version_href' is set
         
     | 
| 
       227 
227 
     | 
    
         
             
                  if @api_client.config.client_side_validation && npm_npm_repository_version_href.nil?
         
     | 
| 
       228 
     | 
    
         
            -
                    fail ArgumentError, "Missing the required parameter 'npm_npm_repository_version_href' when calling RepositoriesNpmVersionsApi. 
     | 
| 
      
 228 
     | 
    
         
            +
                    fail ArgumentError, "Missing the required parameter 'npm_npm_repository_version_href' when calling RepositoriesNpmVersionsApi.read"
         
     | 
| 
       229 
229 
     | 
    
         
             
                  end
         
     | 
| 
       230 
230 
     | 
    
         
             
                  # resource path
         
     | 
| 
       231 
231 
     | 
    
         
             
                  local_var_path = '{npm_npm_repository_version_href}'.sub('{' + 'npm_npm_repository_version_href' + '}', CGI.escape(npm_npm_repository_version_href.to_s).gsub('%2F', '/'))
         
     | 
| 
         @@ -263,7 +263,7 @@ module PulpNpmClient 
     | 
|
| 
       263 
263 
     | 
    
         | 
| 
       264 
264 
     | 
    
         
             
                  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
         
     | 
| 
       265 
265 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       266 
     | 
    
         
            -
                    @api_client.config.logger.debug "API called: RepositoriesNpmVersionsApi# 
     | 
| 
      
 266 
     | 
    
         
            +
                    @api_client.config.logger.debug "API called: RepositoriesNpmVersionsApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
         
     | 
| 
       267 
267 
     | 
    
         
             
                  end
         
     | 
| 
       268 
268 
     | 
    
         
             
                  return data, status_code, headers
         
     | 
| 
       269 
269 
     | 
    
         
             
                end
         
     | 
| 
         @@ -70,7 +70,7 @@ describe 'ContentPackagesApi' do 
     | 
|
| 
       70 
70 
     | 
    
         
             
                end
         
     | 
| 
       71 
71 
     | 
    
         
             
              end
         
     | 
| 
       72 
72 
     | 
    
         | 
| 
       73 
     | 
    
         
            -
              # unit tests for  
     | 
| 
      
 73 
     | 
    
         
            +
              # unit tests for read
         
     | 
| 
       74 
74 
     | 
    
         
             
              # Inspect a package
         
     | 
| 
       75 
75 
     | 
    
         
             
              # A ViewSet for Package.  Define endpoint name which will appear in the API endpoint for this content type. For example::     http://pulp.example.com/pulp/api/v3/content/npm/units/  Also specify queryset and serializer for Package.
         
     | 
| 
       76 
76 
     | 
    
         
             
              # @param npm_package_href 
         
     | 
| 
         @@ -78,7 +78,7 @@ describe 'ContentPackagesApi' do 
     | 
|
| 
       78 
78 
     | 
    
         
             
              # @option opts [String] :fields A list of fields to include in the response.
         
     | 
| 
       79 
79 
     | 
    
         
             
              # @option opts [String] :exclude_fields A list of fields to exclude from the response.
         
     | 
| 
       80 
80 
     | 
    
         
             
              # @return [NpmPackageResponse]
         
     | 
| 
       81 
     | 
    
         
            -
              describe ' 
     | 
| 
      
 81 
     | 
    
         
            +
              describe 'read test' do
         
     | 
| 
       82 
82 
     | 
    
         
             
                it 'should work' do
         
     | 
| 
       83 
83 
     | 
    
         
             
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
       84 
84 
     | 
    
         
             
                end
         
     | 
| 
         @@ -32,13 +32,13 @@ describe 'DistributionsNpmApi' do 
     | 
|
| 
       32 
32 
     | 
    
         
             
                end
         
     | 
| 
       33 
33 
     | 
    
         
             
              end
         
     | 
| 
       34 
34 
     | 
    
         | 
| 
       35 
     | 
    
         
            -
              # unit tests for  
     | 
| 
      
 35 
     | 
    
         
            +
              # unit tests for create
         
     | 
| 
       36 
36 
     | 
    
         
             
              # Create a npm distribution
         
     | 
| 
       37 
37 
     | 
    
         
             
              # Trigger an asynchronous create task
         
     | 
| 
       38 
38 
     | 
    
         
             
              # @param npm_npm_distribution 
         
     | 
| 
       39 
39 
     | 
    
         
             
              # @param [Hash] opts the optional parameters
         
     | 
| 
       40 
40 
     | 
    
         
             
              # @return [AsyncOperationResponse]
         
     | 
| 
       41 
     | 
    
         
            -
              describe ' 
     | 
| 
      
 41 
     | 
    
         
            +
              describe 'create test' do
         
     | 
| 
       42 
42 
     | 
    
         
             
                it 'should work' do
         
     | 
| 
       43 
43 
     | 
    
         
             
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
       44 
44 
     | 
    
         
             
                end
         
     | 
| 
         @@ -56,7 +56,7 @@ describe 'DistributionsNpmApi' do 
     | 
|
| 
       56 
56 
     | 
    
         
             
                end
         
     | 
| 
       57 
57 
     | 
    
         
             
              end
         
     | 
| 
       58 
58 
     | 
    
         | 
| 
       59 
     | 
    
         
            -
              # unit tests for  
     | 
| 
      
 59 
     | 
    
         
            +
              # unit tests for list
         
     | 
| 
       60 
60 
     | 
    
         
             
              # List npm distributions
         
     | 
| 
       61 
61 
     | 
    
         
             
              # ViewSet for NPM Distributions.
         
     | 
| 
       62 
62 
     | 
    
         
             
              # @param [Hash] opts the optional parameters
         
     | 
| 
         @@ -72,7 +72,7 @@ describe 'DistributionsNpmApi' do 
     | 
|
| 
       72 
72 
     | 
    
         
             
              # @option opts [String] :fields A list of fields to include in the response.
         
     | 
| 
       73 
73 
     | 
    
         
             
              # @option opts [String] :exclude_fields A list of fields to exclude from the response.
         
     | 
| 
       74 
74 
     | 
    
         
             
              # @return [InlineResponse2001]
         
     | 
| 
       75 
     | 
    
         
            -
              describe ' 
     | 
| 
      
 75 
     | 
    
         
            +
              describe 'list test' do
         
     | 
| 
       76 
76 
     | 
    
         
             
                it 'should work' do
         
     | 
| 
       77 
77 
     | 
    
         
             
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
       78 
78 
     | 
    
         
             
                end
         
     | 
| 
         @@ -32,31 +32,31 @@ describe 'RemotesNpmApi' do 
     | 
|
| 
       32 
32 
     | 
    
         
             
                end
         
     | 
| 
       33 
33 
     | 
    
         
             
              end
         
     | 
| 
       34 
34 
     | 
    
         | 
| 
       35 
     | 
    
         
            -
              # unit tests for  
     | 
| 
      
 35 
     | 
    
         
            +
              # unit tests for create
         
     | 
| 
       36 
36 
     | 
    
         
             
              # Create a npm remote
         
     | 
| 
       37 
37 
     | 
    
         
             
              # A ViewSet for NpmRemote.  Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
         
     | 
| 
       38 
38 
     | 
    
         
             
              # @param npm_npm_remote 
         
     | 
| 
       39 
39 
     | 
    
         
             
              # @param [Hash] opts the optional parameters
         
     | 
| 
       40 
40 
     | 
    
         
             
              # @return [NpmNpmRemoteResponse]
         
     | 
| 
       41 
     | 
    
         
            -
              describe ' 
     | 
| 
      
 41 
     | 
    
         
            +
              describe 'create test' do
         
     | 
| 
       42 
42 
     | 
    
         
             
                it 'should work' do
         
     | 
| 
       43 
43 
     | 
    
         
             
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
       44 
44 
     | 
    
         
             
                end
         
     | 
| 
       45 
45 
     | 
    
         
             
              end
         
     | 
| 
       46 
46 
     | 
    
         | 
| 
       47 
     | 
    
         
            -
              # unit tests for  
     | 
| 
      
 47 
     | 
    
         
            +
              # unit tests for delete
         
     | 
| 
       48 
48 
     | 
    
         
             
              # Delete a npm remote
         
     | 
| 
       49 
49 
     | 
    
         
             
              # Trigger an asynchronous delete task
         
     | 
| 
       50 
50 
     | 
    
         
             
              # @param npm_npm_remote_href 
         
     | 
| 
       51 
51 
     | 
    
         
             
              # @param [Hash] opts the optional parameters
         
     | 
| 
       52 
52 
     | 
    
         
             
              # @return [AsyncOperationResponse]
         
     | 
| 
       53 
     | 
    
         
            -
              describe ' 
     | 
| 
      
 53 
     | 
    
         
            +
              describe 'delete test' do
         
     | 
| 
       54 
54 
     | 
    
         
             
                it 'should work' do
         
     | 
| 
       55 
55 
     | 
    
         
             
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
       56 
56 
     | 
    
         
             
                end
         
     | 
| 
       57 
57 
     | 
    
         
             
              end
         
     | 
| 
       58 
58 
     | 
    
         | 
| 
       59 
     | 
    
         
            -
              # unit tests for  
     | 
| 
      
 59 
     | 
    
         
            +
              # unit tests for list
         
     | 
| 
       60 
60 
     | 
    
         
             
              # List npm remotes
         
     | 
| 
       61 
61 
     | 
    
         
             
              # A ViewSet for NpmRemote.  Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
         
     | 
| 
       62 
62 
     | 
    
         
             
              # @param [Hash] opts the optional parameters
         
     | 
| 
         @@ -74,26 +74,26 @@ describe 'RemotesNpmApi' do 
     | 
|
| 
       74 
74 
     | 
    
         
             
              # @option opts [String] :fields A list of fields to include in the response.
         
     | 
| 
       75 
75 
     | 
    
         
             
              # @option opts [String] :exclude_fields A list of fields to exclude from the response.
         
     | 
| 
       76 
76 
     | 
    
         
             
              # @return [InlineResponse2002]
         
     | 
| 
       77 
     | 
    
         
            -
              describe ' 
     | 
| 
      
 77 
     | 
    
         
            +
              describe 'list test' do
         
     | 
| 
       78 
78 
     | 
    
         
             
                it 'should work' do
         
     | 
| 
       79 
79 
     | 
    
         
             
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
       80 
80 
     | 
    
         
             
                end
         
     | 
| 
       81 
81 
     | 
    
         
             
              end
         
     | 
| 
       82 
82 
     | 
    
         | 
| 
       83 
     | 
    
         
            -
              # unit tests for  
     | 
| 
      
 83 
     | 
    
         
            +
              # unit tests for partial_update
         
     | 
| 
       84 
84 
     | 
    
         
             
              # Update a npm remote
         
     | 
| 
       85 
85 
     | 
    
         
             
              # Trigger an asynchronous partial update task
         
     | 
| 
       86 
86 
     | 
    
         
             
              # @param npm_npm_remote_href 
         
     | 
| 
       87 
87 
     | 
    
         
             
              # @param patchednpm_npm_remote 
         
     | 
| 
       88 
88 
     | 
    
         
             
              # @param [Hash] opts the optional parameters
         
     | 
| 
       89 
89 
     | 
    
         
             
              # @return [AsyncOperationResponse]
         
     | 
| 
       90 
     | 
    
         
            -
              describe ' 
     | 
| 
      
 90 
     | 
    
         
            +
              describe 'partial_update test' do
         
     | 
| 
       91 
91 
     | 
    
         
             
                it 'should work' do
         
     | 
| 
       92 
92 
     | 
    
         
             
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
       93 
93 
     | 
    
         
             
                end
         
     | 
| 
       94 
94 
     | 
    
         
             
              end
         
     | 
| 
       95 
95 
     | 
    
         | 
| 
       96 
     | 
    
         
            -
              # unit tests for  
     | 
| 
      
 96 
     | 
    
         
            +
              # unit tests for read
         
     | 
| 
       97 
97 
     | 
    
         
             
              # Inspect a npm remote
         
     | 
| 
       98 
98 
     | 
    
         
             
              # A ViewSet for NpmRemote.  Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
         
     | 
| 
       99 
99 
     | 
    
         
             
              # @param npm_npm_remote_href 
         
     | 
| 
         @@ -101,20 +101,20 @@ describe 'RemotesNpmApi' do 
     | 
|
| 
       101 
101 
     | 
    
         
             
              # @option opts [String] :fields A list of fields to include in the response.
         
     | 
| 
       102 
102 
     | 
    
         
             
              # @option opts [String] :exclude_fields A list of fields to exclude from the response.
         
     | 
| 
       103 
103 
     | 
    
         
             
              # @return [NpmNpmRemoteResponse]
         
     | 
| 
       104 
     | 
    
         
            -
              describe ' 
     | 
| 
      
 104 
     | 
    
         
            +
              describe 'read test' do
         
     | 
| 
       105 
105 
     | 
    
         
             
                it 'should work' do
         
     | 
| 
       106 
106 
     | 
    
         
             
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
       107 
107 
     | 
    
         
             
                end
         
     | 
| 
       108 
108 
     | 
    
         
             
              end
         
     | 
| 
       109 
109 
     | 
    
         | 
| 
       110 
     | 
    
         
            -
              # unit tests for  
     | 
| 
      
 110 
     | 
    
         
            +
              # unit tests for update
         
     | 
| 
       111 
111 
     | 
    
         
             
              # Update a npm remote
         
     | 
| 
       112 
112 
     | 
    
         
             
              # Trigger an asynchronous update task
         
     | 
| 
       113 
113 
     | 
    
         
             
              # @param npm_npm_remote_href 
         
     | 
| 
       114 
114 
     | 
    
         
             
              # @param npm_npm_remote 
         
     | 
| 
       115 
115 
     | 
    
         
             
              # @param [Hash] opts the optional parameters
         
     | 
| 
       116 
116 
     | 
    
         
             
              # @return [AsyncOperationResponse]
         
     | 
| 
       117 
     | 
    
         
            -
              describe ' 
     | 
| 
      
 117 
     | 
    
         
            +
              describe 'update test' do
         
     | 
| 
       118 
118 
     | 
    
         
             
                it 'should work' do
         
     | 
| 
       119 
119 
     | 
    
         
             
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
       120 
120 
     | 
    
         
             
                end
         
     | 
| 
         @@ -32,31 +32,31 @@ describe 'RepositoriesNpmApi' do 
     | 
|
| 
       32 
32 
     | 
    
         
             
                end
         
     | 
| 
       33 
33 
     | 
    
         
             
              end
         
     | 
| 
       34 
34 
     | 
    
         | 
| 
       35 
     | 
    
         
            -
              # unit tests for  
     | 
| 
      
 35 
     | 
    
         
            +
              # unit tests for create
         
     | 
| 
       36 
36 
     | 
    
         
             
              # Create a npm repository
         
     | 
| 
       37 
37 
     | 
    
         
             
              # A ViewSet for NpmRepository.  Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
         
     | 
| 
       38 
38 
     | 
    
         
             
              # @param npm_npm_repository 
         
     | 
| 
       39 
39 
     | 
    
         
             
              # @param [Hash] opts the optional parameters
         
     | 
| 
       40 
40 
     | 
    
         
             
              # @return [NpmNpmRepositoryResponse]
         
     | 
| 
       41 
     | 
    
         
            -
              describe ' 
     | 
| 
      
 41 
     | 
    
         
            +
              describe 'create test' do
         
     | 
| 
       42 
42 
     | 
    
         
             
                it 'should work' do
         
     | 
| 
       43 
43 
     | 
    
         
             
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
       44 
44 
     | 
    
         
             
                end
         
     | 
| 
       45 
45 
     | 
    
         
             
              end
         
     | 
| 
       46 
46 
     | 
    
         | 
| 
       47 
     | 
    
         
            -
              # unit tests for  
     | 
| 
      
 47 
     | 
    
         
            +
              # unit tests for delete
         
     | 
| 
       48 
48 
     | 
    
         
             
              # Delete a npm repository
         
     | 
| 
       49 
49 
     | 
    
         
             
              # Trigger an asynchronous delete task
         
     | 
| 
       50 
50 
     | 
    
         
             
              # @param npm_npm_repository_href 
         
     | 
| 
       51 
51 
     | 
    
         
             
              # @param [Hash] opts the optional parameters
         
     | 
| 
       52 
52 
     | 
    
         
             
              # @return [AsyncOperationResponse]
         
     | 
| 
       53 
     | 
    
         
            -
              describe ' 
     | 
| 
      
 53 
     | 
    
         
            +
              describe 'delete test' do
         
     | 
| 
       54 
54 
     | 
    
         
             
                it 'should work' do
         
     | 
| 
       55 
55 
     | 
    
         
             
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
       56 
56 
     | 
    
         
             
                end
         
     | 
| 
       57 
57 
     | 
    
         
             
              end
         
     | 
| 
       58 
58 
     | 
    
         | 
| 
       59 
     | 
    
         
            -
              # unit tests for  
     | 
| 
      
 59 
     | 
    
         
            +
              # unit tests for list
         
     | 
| 
       60 
60 
     | 
    
         
             
              # List npm repositorys
         
     | 
| 
       61 
61 
     | 
    
         
             
              # A ViewSet for NpmRepository.  Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
         
     | 
| 
       62 
62 
     | 
    
         
             
              # @param [Hash] opts the optional parameters
         
     | 
| 
         @@ -68,7 +68,7 @@ describe 'RepositoriesNpmApi' do 
     | 
|
| 
       68 
68 
     | 
    
         
             
              # @option opts [String] :fields A list of fields to include in the response.
         
     | 
| 
       69 
69 
     | 
    
         
             
              # @option opts [String] :exclude_fields A list of fields to exclude from the response.
         
     | 
| 
       70 
70 
     | 
    
         
             
              # @return [InlineResponse2003]
         
     | 
| 
       71 
     | 
    
         
            -
              describe ' 
     | 
| 
      
 71 
     | 
    
         
            +
              describe 'list test' do
         
     | 
| 
       72 
72 
     | 
    
         
             
                it 'should work' do
         
     | 
| 
       73 
73 
     | 
    
         
             
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
       74 
74 
     | 
    
         
             
                end
         
     | 
| 
         @@ -87,20 +87,20 @@ describe 'RepositoriesNpmApi' do 
     | 
|
| 
       87 
87 
     | 
    
         
             
                end
         
     | 
| 
       88 
88 
     | 
    
         
             
              end
         
     | 
| 
       89 
89 
     | 
    
         | 
| 
       90 
     | 
    
         
            -
              # unit tests for  
     | 
| 
      
 90 
     | 
    
         
            +
              # unit tests for partial_update
         
     | 
| 
       91 
91 
     | 
    
         
             
              # Update a npm repository
         
     | 
| 
       92 
92 
     | 
    
         
             
              # Trigger an asynchronous partial update task
         
     | 
| 
       93 
93 
     | 
    
         
             
              # @param npm_npm_repository_href 
         
     | 
| 
       94 
94 
     | 
    
         
             
              # @param patchednpm_npm_repository 
         
     | 
| 
       95 
95 
     | 
    
         
             
              # @param [Hash] opts the optional parameters
         
     | 
| 
       96 
96 
     | 
    
         
             
              # @return [AsyncOperationResponse]
         
     | 
| 
       97 
     | 
    
         
            -
              describe ' 
     | 
| 
      
 97 
     | 
    
         
            +
              describe 'partial_update test' do
         
     | 
| 
       98 
98 
     | 
    
         
             
                it 'should work' do
         
     | 
| 
       99 
99 
     | 
    
         
             
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
       100 
100 
     | 
    
         
             
                end
         
     | 
| 
       101 
101 
     | 
    
         
             
              end
         
     | 
| 
       102 
102 
     | 
    
         | 
| 
       103 
     | 
    
         
            -
              # unit tests for  
     | 
| 
      
 103 
     | 
    
         
            +
              # unit tests for read
         
     | 
| 
       104 
104 
     | 
    
         
             
              # Inspect a npm repository
         
     | 
| 
       105 
105 
     | 
    
         
             
              # A ViewSet for NpmRepository.  Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
         
     | 
| 
       106 
106 
     | 
    
         
             
              # @param npm_npm_repository_href 
         
     | 
| 
         @@ -108,7 +108,7 @@ describe 'RepositoriesNpmApi' do 
     | 
|
| 
       108 
108 
     | 
    
         
             
              # @option opts [String] :fields A list of fields to include in the response.
         
     | 
| 
       109 
109 
     | 
    
         
             
              # @option opts [String] :exclude_fields A list of fields to exclude from the response.
         
     | 
| 
       110 
110 
     | 
    
         
             
              # @return [NpmNpmRepositoryResponse]
         
     | 
| 
       111 
     | 
    
         
            -
              describe ' 
     | 
| 
      
 111 
     | 
    
         
            +
              describe 'read test' do
         
     | 
| 
       112 
112 
     | 
    
         
             
                it 'should work' do
         
     | 
| 
       113 
113 
     | 
    
         
             
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
       114 
114 
     | 
    
         
             
                end
         
     | 
| 
         @@ -127,14 +127,14 @@ describe 'RepositoriesNpmApi' do 
     | 
|
| 
       127 
127 
     | 
    
         
             
                end
         
     | 
| 
       128 
128 
     | 
    
         
             
              end
         
     | 
| 
       129 
129 
     | 
    
         | 
| 
       130 
     | 
    
         
            -
              # unit tests for  
     | 
| 
      
 130 
     | 
    
         
            +
              # unit tests for update
         
     | 
| 
       131 
131 
     | 
    
         
             
              # Update a npm repository
         
     | 
| 
       132 
132 
     | 
    
         
             
              # Trigger an asynchronous update task
         
     | 
| 
       133 
133 
     | 
    
         
             
              # @param npm_npm_repository_href 
         
     | 
| 
       134 
134 
     | 
    
         
             
              # @param npm_npm_repository 
         
     | 
| 
       135 
135 
     | 
    
         
             
              # @param [Hash] opts the optional parameters
         
     | 
| 
       136 
136 
     | 
    
         
             
              # @return [AsyncOperationResponse]
         
     | 
| 
       137 
     | 
    
         
            -
              describe ' 
     | 
| 
      
 137 
     | 
    
         
            +
              describe 'update test' do
         
     | 
| 
       138 
138 
     | 
    
         
             
                it 'should work' do
         
     | 
| 
       139 
139 
     | 
    
         
             
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
       140 
140 
     | 
    
         
             
                end
         
     | 
| 
         @@ -32,19 +32,19 @@ describe 'RepositoriesNpmVersionsApi' do 
     | 
|
| 
       32 
32 
     | 
    
         
             
                end
         
     | 
| 
       33 
33 
     | 
    
         
             
              end
         
     | 
| 
       34 
34 
     | 
    
         | 
| 
       35 
     | 
    
         
            -
              # unit tests for  
     | 
| 
      
 35 
     | 
    
         
            +
              # unit tests for delete
         
     | 
| 
       36 
36 
     | 
    
         
             
              # Delete a repository version
         
     | 
| 
       37 
37 
     | 
    
         
             
              # Trigger an asynchronous task to delete a repositroy version.
         
     | 
| 
       38 
38 
     | 
    
         
             
              # @param npm_npm_repository_version_href 
         
     | 
| 
       39 
39 
     | 
    
         
             
              # @param [Hash] opts the optional parameters
         
     | 
| 
       40 
40 
     | 
    
         
             
              # @return [AsyncOperationResponse]
         
     | 
| 
       41 
     | 
    
         
            -
              describe ' 
     | 
| 
      
 41 
     | 
    
         
            +
              describe 'delete test' do
         
     | 
| 
       42 
42 
     | 
    
         
             
                it 'should work' do
         
     | 
| 
       43 
43 
     | 
    
         
             
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
       44 
44 
     | 
    
         
             
                end
         
     | 
| 
       45 
45 
     | 
    
         
             
              end
         
     | 
| 
       46 
46 
     | 
    
         | 
| 
       47 
     | 
    
         
            -
              # unit tests for  
     | 
| 
      
 47 
     | 
    
         
            +
              # unit tests for list
         
     | 
| 
       48 
48 
     | 
    
         
             
              # List repository versions
         
     | 
| 
       49 
49 
     | 
    
         
             
              # A ViewSet for a NpmRepositoryVersion represents a single Npm repository version.
         
     | 
| 
       50 
50 
     | 
    
         
             
              # @param npm_npm_repository_href 
         
     | 
| 
         @@ -69,13 +69,13 @@ describe 'RepositoriesNpmVersionsApi' do 
     | 
|
| 
       69 
69 
     | 
    
         
             
              # @option opts [String] :fields A list of fields to include in the response.
         
     | 
| 
       70 
70 
     | 
    
         
             
              # @option opts [String] :exclude_fields A list of fields to exclude from the response.
         
     | 
| 
       71 
71 
     | 
    
         
             
              # @return [InlineResponse2004]
         
     | 
| 
       72 
     | 
    
         
            -
              describe ' 
     | 
| 
      
 72 
     | 
    
         
            +
              describe 'list test' do
         
     | 
| 
       73 
73 
     | 
    
         
             
                it 'should work' do
         
     | 
| 
       74 
74 
     | 
    
         
             
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
       75 
75 
     | 
    
         
             
                end
         
     | 
| 
       76 
76 
     | 
    
         
             
              end
         
     | 
| 
       77 
77 
     | 
    
         | 
| 
       78 
     | 
    
         
            -
              # unit tests for  
     | 
| 
      
 78 
     | 
    
         
            +
              # unit tests for read
         
     | 
| 
       79 
79 
     | 
    
         
             
              # Inspect a repository version
         
     | 
| 
       80 
80 
     | 
    
         
             
              # A ViewSet for a NpmRepositoryVersion represents a single Npm repository version.
         
     | 
| 
       81 
81 
     | 
    
         
             
              # @param npm_npm_repository_version_href 
         
     | 
| 
         @@ -83,7 +83,7 @@ describe 'RepositoriesNpmVersionsApi' do 
     | 
|
| 
       83 
83 
     | 
    
         
             
              # @option opts [String] :fields A list of fields to include in the response.
         
     | 
| 
       84 
84 
     | 
    
         
             
              # @option opts [String] :exclude_fields A list of fields to exclude from the response.
         
     | 
| 
       85 
85 
     | 
    
         
             
              # @return [RepositoryVersionResponse]
         
     | 
| 
       86 
     | 
    
         
            -
              describe ' 
     | 
| 
      
 86 
     | 
    
         
            +
              describe 'read test' do
         
     | 
| 
       87 
87 
     | 
    
         
             
                it 'should work' do
         
     | 
| 
       88 
88 
     | 
    
         
             
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         
     | 
| 
       89 
89 
     | 
    
         
             
                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. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.1.0a1.dev01600133930
         
     | 
| 
       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-15 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: faraday
         
     | 
| 
         @@ -199,35 +199,35 @@ specification_version: 4 
     | 
|
| 
       199 
199 
     | 
    
         
             
            summary: Pulp 3 API Ruby Gem
         
     | 
| 
       200 
200 
     | 
    
         
             
            test_files:
         
     | 
| 
       201 
201 
     | 
    
         
             
            - spec/api/repositories_npm_api_spec.rb
         
     | 
| 
       202 
     | 
    
         
            -
            - spec/api/remotes_npm_api_spec.rb
         
     | 
| 
       203 
     | 
    
         
            -
            - spec/api/pulp_npm_packages_api_spec.rb
         
     | 
| 
       204 
202 
     | 
    
         
             
            - spec/api/content_packages_api_spec.rb
         
     | 
| 
      
 203 
     | 
    
         
            +
            - spec/api/remotes_npm_api_spec.rb
         
     | 
| 
       205 
204 
     | 
    
         
             
            - spec/api/repositories_npm_versions_api_spec.rb
         
     | 
| 
      
 205 
     | 
    
         
            +
            - spec/api/pulp_npm_packages_api_spec.rb
         
     | 
| 
       206 
206 
     | 
    
         
             
            - spec/api/distributions_npm_api_spec.rb
         
     | 
| 
       207 
207 
     | 
    
         
             
            - spec/api_client_spec.rb
         
     | 
| 
       208 
208 
     | 
    
         
             
            - spec/configuration_spec.rb
         
     | 
| 
       209 
     | 
    
         
            -
            - spec/models/ 
     | 
| 
       210 
     | 
    
         
            -
            - spec/models/ 
     | 
| 
       211 
     | 
    
         
            -
            - spec/models/ 
     | 
| 
       212 
     | 
    
         
            -
            - spec/models/inline_response2004_spec.rb
         
     | 
| 
       213 
     | 
    
         
            -
            - spec/models/repository_add_remove_content_spec.rb
         
     | 
| 
      
 209 
     | 
    
         
            +
            - spec/models/repository_sync_url_spec.rb
         
     | 
| 
      
 210 
     | 
    
         
            +
            - spec/models/inline_response2002_spec.rb
         
     | 
| 
      
 211 
     | 
    
         
            +
            - spec/models/patchednpm_npm_repository_spec.rb
         
     | 
| 
       214 
212 
     | 
    
         
             
            - spec/models/content_summary_response_spec.rb
         
     | 
| 
       215 
     | 
    
         
            -
            - spec/models/ 
     | 
| 
       216 
     | 
    
         
            -
            - spec/models/npm_package_spec.rb
         
     | 
| 
      
 213 
     | 
    
         
            +
            - spec/models/inline_response200_spec.rb
         
     | 
| 
       217 
214 
     | 
    
         
             
            - spec/models/npm_package_response_spec.rb
         
     | 
| 
       218 
     | 
    
         
            -
            - spec/models/ 
     | 
| 
       219 
     | 
    
         
            -
            - spec/models/ 
     | 
| 
       220 
     | 
    
         
            -
            - spec/models/inline_response2002_spec.rb
         
     | 
| 
       221 
     | 
    
         
            -
            - spec/models/content_summary_spec.rb
         
     | 
| 
      
 215 
     | 
    
         
            +
            - spec/models/patchednpm_npm_distribution_spec.rb
         
     | 
| 
      
 216 
     | 
    
         
            +
            - spec/models/npm_package_spec.rb
         
     | 
| 
       222 
217 
     | 
    
         
             
            - spec/models/repository_version_spec.rb
         
     | 
| 
       223 
218 
     | 
    
         
             
            - spec/models/npm_npm_remote_spec.rb
         
     | 
| 
       224 
     | 
    
         
            -
            - spec/models/patchednpm_npm_repository_spec.rb
         
     | 
| 
       225 
     | 
    
         
            -
            - spec/models/repository_sync_url_spec.rb
         
     | 
| 
       226 
219 
     | 
    
         
             
            - spec/models/npm_npm_repository_spec.rb
         
     | 
| 
       227 
     | 
    
         
            -
            - spec/models/ 
     | 
| 
      
 220 
     | 
    
         
            +
            - spec/models/npm_npm_distribution_response_spec.rb
         
     | 
| 
      
 221 
     | 
    
         
            +
            - spec/models/inline_response2004_spec.rb
         
     | 
| 
      
 222 
     | 
    
         
            +
            - spec/models/repository_add_remove_content_spec.rb
         
     | 
| 
      
 223 
     | 
    
         
            +
            - spec/models/npm_npm_repository_response_spec.rb
         
     | 
| 
      
 224 
     | 
    
         
            +
            - spec/models/repository_version_response_spec.rb
         
     | 
| 
      
 225 
     | 
    
         
            +
            - spec/models/npm_npm_distribution_spec.rb
         
     | 
| 
       228 
226 
     | 
    
         
             
            - spec/models/async_operation_response_spec.rb
         
     | 
| 
       229 
     | 
    
         
            -
            - spec/models/inline_response2003_spec.rb
         
     | 
| 
       230 
227 
     | 
    
         
             
            - spec/models/policy_enum_spec.rb
         
     | 
| 
       231 
     | 
    
         
            -
            - spec/models/ 
     | 
| 
       232 
     | 
    
         
            -
            - spec/models/ 
     | 
| 
      
 228 
     | 
    
         
            +
            - spec/models/inline_response2001_spec.rb
         
     | 
| 
      
 229 
     | 
    
         
            +
            - spec/models/inline_response2003_spec.rb
         
     | 
| 
      
 230 
     | 
    
         
            +
            - spec/models/content_summary_spec.rb
         
     | 
| 
      
 231 
     | 
    
         
            +
            - spec/models/patchednpm_npm_remote_spec.rb
         
     | 
| 
      
 232 
     | 
    
         
            +
            - spec/models/npm_npm_remote_response_spec.rb
         
     | 
| 
       233 
233 
     | 
    
         
             
            - spec/spec_helper.rb
         
     |