pulp_npm_client 0.1.0a1.dev01595856770 → 0.1.0a1.dev01596245316
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 +32 -31
- data/docs/ContentPackagesApi.md +13 -10
- data/docs/DistributionsNpmApi.md +34 -28
- data/docs/NpmNpmRepository.md +3 -1
- data/docs/NpmNpmRepositoryResponse.md +3 -1
- data/docs/PatchednpmNpmRepository.md +3 -1
- data/docs/RemotesNpmApi.md +34 -28
- data/docs/RepositoriesNpmApi.md +44 -38
- data/docs/RepositoriesNpmVersionsApi.md +26 -23
- data/docs/RepositorySyncURL.md +1 -1
- data/lib/pulp_npm_client/api/content_packages_api.rb +15 -9
- data/lib/pulp_npm_client/api/distributions_npm_api.rb +48 -36
- data/lib/pulp_npm_client/api/remotes_npm_api.rb +48 -36
- data/lib/pulp_npm_client/api/repositories_npm_api.rb +66 -54
- data/lib/pulp_npm_client/api/repositories_npm_versions_api.rb +42 -36
- data/lib/pulp_npm_client/models/npm_npm_repository.rb +15 -5
- data/lib/pulp_npm_client/models/npm_npm_repository_response.rb +15 -5
- data/lib/pulp_npm_client/models/patchednpm_npm_repository.rb +15 -5
- data/lib/pulp_npm_client/models/repository_sync_url.rb +1 -6
- data/lib/pulp_npm_client/version.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +4 -1
- data/spec/api/distributions_npm_api_spec.rb +10 -4
- data/spec/api/remotes_npm_api_spec.rb +10 -4
- data/spec/api/repositories_npm_api_spec.rb +12 -6
- data/spec/api/repositories_npm_versions_api_spec.rb +7 -4
- data/spec/models/npm_npm_repository_response_spec.rb +6 -0
- data/spec/models/npm_npm_repository_spec.rb +6 -0
- data/spec/models/patchednpm_npm_repository_spec.rb +6 -0
- metadata +21 -21
@@ -33,6 +33,7 @@ describe 'RemotesNpmApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for create
|
36
|
+
# Create a npm remote
|
36
37
|
# A ViewSet for NpmRemote. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
37
38
|
# @param npm_npm_remote
|
38
39
|
# @param [Hash] opts the optional parameters
|
@@ -44,8 +45,9 @@ describe 'RemotesNpmApi' do
|
|
44
45
|
end
|
45
46
|
|
46
47
|
# unit tests for delete
|
48
|
+
# Delete a npm remote
|
47
49
|
# Trigger an asynchronous delete task
|
48
|
-
# @param
|
50
|
+
# @param npm_npm_remote_href
|
49
51
|
# @param [Hash] opts the optional parameters
|
50
52
|
# @option opts [String] :name name
|
51
53
|
# @option opts [String] :name__in name__in
|
@@ -64,6 +66,7 @@ describe 'RemotesNpmApi' do
|
|
64
66
|
end
|
65
67
|
|
66
68
|
# unit tests for list
|
69
|
+
# List npm remotes
|
67
70
|
# A ViewSet for NpmRemote. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
68
71
|
# @param [Hash] opts the optional parameters
|
69
72
|
# @option opts [Integer] :limit Number of results to return per page.
|
@@ -87,8 +90,9 @@ describe 'RemotesNpmApi' do
|
|
87
90
|
end
|
88
91
|
|
89
92
|
# unit tests for partial_update
|
93
|
+
# Update a npm remote
|
90
94
|
# Trigger an asynchronous partial update task
|
91
|
-
# @param
|
95
|
+
# @param npm_npm_remote_href
|
92
96
|
# @param patchednpm_npm_remote
|
93
97
|
# @param [Hash] opts the optional parameters
|
94
98
|
# @option opts [String] :name name
|
@@ -108,8 +112,9 @@ describe 'RemotesNpmApi' do
|
|
108
112
|
end
|
109
113
|
|
110
114
|
# unit tests for read
|
115
|
+
# Inspect a npm remote
|
111
116
|
# A ViewSet for NpmRemote. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
112
|
-
# @param
|
117
|
+
# @param npm_npm_remote_href
|
113
118
|
# @param [Hash] opts the optional parameters
|
114
119
|
# @option opts [String] :fields A list of fields to include in the response.
|
115
120
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
@@ -121,8 +126,9 @@ describe 'RemotesNpmApi' do
|
|
121
126
|
end
|
122
127
|
|
123
128
|
# unit tests for update
|
129
|
+
# Update a npm remote
|
124
130
|
# Trigger an asynchronous update task
|
125
|
-
# @param
|
131
|
+
# @param npm_npm_remote_href
|
126
132
|
# @param npm_npm_remote
|
127
133
|
# @param [Hash] opts the optional parameters
|
128
134
|
# @option opts [String] :name name
|
@@ -33,6 +33,7 @@ describe 'RepositoriesNpmApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for create
|
36
|
+
# Create a npm repository
|
36
37
|
# A ViewSet for NpmRepository. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
37
38
|
# @param npm_npm_repository
|
38
39
|
# @param [Hash] opts the optional parameters
|
@@ -44,8 +45,9 @@ describe 'RepositoriesNpmApi' do
|
|
44
45
|
end
|
45
46
|
|
46
47
|
# unit tests for delete
|
48
|
+
# Delete a npm repository
|
47
49
|
# Trigger an asynchronous delete task
|
48
|
-
# @param
|
50
|
+
# @param npm_npm_repository_href
|
49
51
|
# @param [Hash] opts the optional parameters
|
50
52
|
# @option opts [String] :name name
|
51
53
|
# @option opts [String] :name__in name__in
|
@@ -58,6 +60,7 @@ describe 'RepositoriesNpmApi' do
|
|
58
60
|
end
|
59
61
|
|
60
62
|
# unit tests for list
|
63
|
+
# List npm repositorys
|
61
64
|
# A ViewSet for NpmRepository. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
62
65
|
# @param [Hash] opts the optional parameters
|
63
66
|
# @option opts [Integer] :limit Number of results to return per page.
|
@@ -77,7 +80,7 @@ describe 'RepositoriesNpmApi' do
|
|
77
80
|
# unit tests for modify
|
78
81
|
# Modify Repository Content
|
79
82
|
# Trigger an asynchronous task to create a new repository version.
|
80
|
-
# @param
|
83
|
+
# @param npm_npm_repository_href
|
81
84
|
# @param repository_add_remove_content
|
82
85
|
# @param [Hash] opts the optional parameters
|
83
86
|
# @return [AsyncOperationResponse]
|
@@ -88,8 +91,9 @@ describe 'RepositoriesNpmApi' do
|
|
88
91
|
end
|
89
92
|
|
90
93
|
# unit tests for partial_update
|
94
|
+
# Update a npm repository
|
91
95
|
# Trigger an asynchronous partial update task
|
92
|
-
# @param
|
96
|
+
# @param npm_npm_repository_href
|
93
97
|
# @param patchednpm_npm_repository
|
94
98
|
# @param [Hash] opts the optional parameters
|
95
99
|
# @option opts [String] :name name
|
@@ -103,8 +107,9 @@ describe 'RepositoriesNpmApi' do
|
|
103
107
|
end
|
104
108
|
|
105
109
|
# unit tests for read
|
110
|
+
# Inspect a npm repository
|
106
111
|
# A ViewSet for NpmRepository. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
107
|
-
# @param
|
112
|
+
# @param npm_npm_repository_href
|
108
113
|
# @param [Hash] opts the optional parameters
|
109
114
|
# @option opts [String] :fields A list of fields to include in the response.
|
110
115
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
@@ -118,7 +123,7 @@ describe 'RepositoriesNpmApi' do
|
|
118
123
|
# unit tests for sync
|
119
124
|
# Sync from remote
|
120
125
|
# Trigger an asynchronous task to sync content.
|
121
|
-
# @param
|
126
|
+
# @param npm_npm_repository_href
|
122
127
|
# @param repository_sync_url
|
123
128
|
# @param [Hash] opts the optional parameters
|
124
129
|
# @return [AsyncOperationResponse]
|
@@ -129,8 +134,9 @@ describe 'RepositoriesNpmApi' do
|
|
129
134
|
end
|
130
135
|
|
131
136
|
# unit tests for update
|
137
|
+
# Update a npm repository
|
132
138
|
# Trigger an asynchronous update task
|
133
|
-
# @param
|
139
|
+
# @param npm_npm_repository_href
|
134
140
|
# @param npm_npm_repository
|
135
141
|
# @param [Hash] opts the optional parameters
|
136
142
|
# @option opts [String] :name name
|
@@ -33,8 +33,9 @@ describe 'RepositoriesNpmVersionsApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for delete
|
36
|
+
# Delete a repository version
|
36
37
|
# Trigger an asynchronous task to delete a repositroy version.
|
37
|
-
# @param
|
38
|
+
# @param npm_npm_repository_version_href
|
38
39
|
# @param [Hash] opts the optional parameters
|
39
40
|
# @option opts [String] :content content
|
40
41
|
# @option opts [String] :content__in content__in
|
@@ -59,8 +60,9 @@ describe 'RepositoriesNpmVersionsApi' do
|
|
59
60
|
end
|
60
61
|
|
61
62
|
# unit tests for list
|
63
|
+
# List repository versions
|
62
64
|
# A ViewSet for a NpmRepositoryVersion represents a single Npm repository version.
|
63
|
-
# @param
|
65
|
+
# @param npm_npm_repository_href
|
64
66
|
# @param [Hash] opts the optional parameters
|
65
67
|
# @option opts [String] :content content
|
66
68
|
# @option opts [String] :content__in content__in
|
@@ -89,8 +91,9 @@ describe 'RepositoriesNpmVersionsApi' do
|
|
89
91
|
end
|
90
92
|
|
91
93
|
# unit tests for read
|
94
|
+
# Inspect a repository version
|
92
95
|
# A ViewSet for a NpmRepositoryVersion represents a single Npm repository version.
|
93
|
-
# @param
|
96
|
+
# @param npm_npm_repository_version_href
|
94
97
|
# @param [Hash] opts the optional parameters
|
95
98
|
# @option opts [String] :fields A list of fields to include in the response.
|
96
99
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
@@ -103,7 +106,7 @@ describe 'RepositoriesNpmVersionsApi' do
|
|
103
106
|
|
104
107
|
# unit tests for repair
|
105
108
|
# Trigger an asynchronous task to repair a repositroy version.
|
106
|
-
# @param
|
109
|
+
# @param npm_npm_repository_version_href
|
107
110
|
# @param repository_version
|
108
111
|
# @param [Hash] opts the optional parameters
|
109
112
|
# @return [AsyncOperationResponse]
|
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.dev01596245316
|
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-
|
11
|
+
date: 2020-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -195,35 +195,35 @@ signing_key:
|
|
195
195
|
specification_version: 4
|
196
196
|
summary: Pulp 3 API Ruby Gem
|
197
197
|
test_files:
|
198
|
-
- spec/api/distributions_npm_api_spec.rb
|
199
|
-
- spec/api/repositories_npm_versions_api_spec.rb
|
200
198
|
- spec/api/content_packages_api_spec.rb
|
201
199
|
- spec/api/repositories_npm_api_spec.rb
|
202
200
|
- spec/api/remotes_npm_api_spec.rb
|
201
|
+
- spec/api/repositories_npm_versions_api_spec.rb
|
202
|
+
- spec/api/distributions_npm_api_spec.rb
|
203
203
|
- spec/api_client_spec.rb
|
204
204
|
- spec/configuration_spec.rb
|
205
|
-
- spec/models/
|
206
|
-
- spec/models/
|
205
|
+
- spec/models/npm_package_response_spec.rb
|
206
|
+
- spec/models/npm_npm_repository_spec.rb
|
207
|
+
- spec/models/npm_package_spec.rb
|
208
|
+
- spec/models/patchednpm_npm_distribution_spec.rb
|
209
|
+
- spec/models/async_operation_response_spec.rb
|
210
|
+
- spec/models/npm_npm_repository_response_spec.rb
|
211
|
+
- spec/models/inline_response2003_spec.rb
|
212
|
+
- spec/models/npm_npm_distribution_spec.rb
|
213
|
+
- spec/models/inline_response2004_spec.rb
|
207
214
|
- spec/models/inline_response200_spec.rb
|
208
215
|
- spec/models/repository_add_remove_content_spec.rb
|
209
|
-
- spec/models/
|
216
|
+
- spec/models/repository_sync_url_spec.rb
|
210
217
|
- spec/models/patchednpm_npm_remote_spec.rb
|
211
|
-
- spec/models/patchednpm_npm_distribution_spec.rb
|
212
|
-
- spec/models/npm_npm_repository_spec.rb
|
213
|
-
- spec/models/inline_response2004_spec.rb
|
214
|
-
- spec/models/policy_enum_spec.rb
|
215
|
-
- spec/models/npm_package_response_spec.rb
|
216
218
|
- spec/models/patchednpm_npm_repository_spec.rb
|
217
|
-
- spec/models/
|
218
|
-
- spec/models/content_summary_spec.rb
|
219
|
-
- spec/models/content_summary_response_spec.rb
|
220
|
-
- spec/models/inline_response2003_spec.rb
|
221
|
-
- spec/models/repository_version_response_spec.rb
|
219
|
+
- spec/models/npm_npm_remote_response_spec.rb
|
222
220
|
- spec/models/repository_version_spec.rb
|
221
|
+
- spec/models/policy_enum_spec.rb
|
222
|
+
- spec/models/inline_response2002_spec.rb
|
223
|
+
- spec/models/repository_version_response_spec.rb
|
224
|
+
- spec/models/content_summary_spec.rb
|
225
|
+
- spec/models/npm_npm_distribution_response_spec.rb
|
223
226
|
- spec/models/npm_npm_remote_spec.rb
|
227
|
+
- spec/models/content_summary_response_spec.rb
|
224
228
|
- spec/models/inline_response2001_spec.rb
|
225
|
-
- spec/models/inline_response2002_spec.rb
|
226
|
-
- spec/models/npm_npm_repository_response_spec.rb
|
227
|
-
- spec/models/async_operation_response_spec.rb
|
228
|
-
- spec/models/npm_npm_distribution_spec.rb
|
229
229
|
- spec/spec_helper.rb
|