vgs_api_client 0.0.1.alpha202205220113 → 0.0.1.alpha202205220158
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.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/api.yaml +10 -0
- data/lib/openapi_client/api/functions_api.rb +5 -5
- data/lib/openapi_client/api_client.rb +1 -1
- data/lib/openapi_client/version.rb +1 -1
- data/lib/version.rb +1 -1
- data/scripts/assemble/run.sh +1 -1
- data/scripts/test/run.sh +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ec734db543c2a9c346b68f7baf9b878b7ed31ded9aabdc0b4097d2e3b20164b
|
4
|
+
data.tar.gz: 68da79740e04a556b7672e71a74691fadea8f583e0210c71fd7129bfd9b91b15
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 07f38e001833138bf6568cf5550a23071723f142a113485130dc40425b6f665d2c9e37c079694541065940e4ebdfc4e291df4f658b874b12dbcd30de7a1a279d
|
7
|
+
data.tar.gz: 2d86939974a1c81ccc8fec755c246881cf11f1fab5b4d5efea32b7ae5591d026774810dc4cd048480fcde62b568d589b1d7bc300b43efeab30d2821b3790488b
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.1.
|
1
|
+
0.0.1.alpha202205220158
|
data/api.yaml
CHANGED
@@ -119,6 +119,8 @@ paths:
|
|
119
119
|
post:
|
120
120
|
operationId: createFunction
|
121
121
|
summary: Creates a new function
|
122
|
+
security:
|
123
|
+
- OAuth2: [functions:write]
|
122
124
|
tags:
|
123
125
|
- functions
|
124
126
|
description: |
|
@@ -170,6 +172,8 @@ paths:
|
|
170
172
|
get:
|
171
173
|
operationId: listFunctions
|
172
174
|
summary: Lists all functions
|
175
|
+
security:
|
176
|
+
- OAuth2: [functions:read]
|
173
177
|
tags:
|
174
178
|
- functions
|
175
179
|
description: |
|
@@ -200,6 +204,8 @@ paths:
|
|
200
204
|
tags:
|
201
205
|
- functions
|
202
206
|
summary: Retrieve a single function
|
207
|
+
security:
|
208
|
+
- OAuth2: [functions:read]
|
203
209
|
description: |
|
204
210
|
Retrieves a function
|
205
211
|
parameters:
|
@@ -238,6 +244,8 @@ paths:
|
|
238
244
|
tags:
|
239
245
|
- functions
|
240
246
|
summary: Update function
|
247
|
+
security:
|
248
|
+
- OAuth2: [functions:write]
|
241
249
|
description: |
|
242
250
|
Update an existing function definition
|
243
251
|
requestBody:
|
@@ -256,6 +264,8 @@ paths:
|
|
256
264
|
tags:
|
257
265
|
- functions
|
258
266
|
summary: Deletes a function
|
267
|
+
security:
|
268
|
+
- OAuth2: [functions:write]
|
259
269
|
description: |
|
260
270
|
Removes a single alias.
|
261
271
|
parameters:
|
@@ -64,7 +64,7 @@ module VgsApiClient
|
|
64
64
|
return_type = opts[:debug_return_type] || 'InlineResponse2002'
|
65
65
|
|
66
66
|
# auth_names
|
67
|
-
auth_names = opts[:debug_auth_names] || ['
|
67
|
+
auth_names = opts[:debug_auth_names] || ['OAuth2']
|
68
68
|
|
69
69
|
new_options = opts.merge(
|
70
70
|
:operation => :"FunctionsApi.create_function",
|
@@ -127,7 +127,7 @@ module VgsApiClient
|
|
127
127
|
return_type = opts[:debug_return_type]
|
128
128
|
|
129
129
|
# auth_names
|
130
|
-
auth_names = opts[:debug_auth_names] || ['
|
130
|
+
auth_names = opts[:debug_auth_names] || ['OAuth2']
|
131
131
|
|
132
132
|
new_options = opts.merge(
|
133
133
|
:operation => :"FunctionsApi.delete_function",
|
@@ -190,7 +190,7 @@ module VgsApiClient
|
|
190
190
|
return_type = opts[:debug_return_type] || 'InlineResponse2003'
|
191
191
|
|
192
192
|
# auth_names
|
193
|
-
auth_names = opts[:debug_auth_names] || ['
|
193
|
+
auth_names = opts[:debug_auth_names] || ['OAuth2']
|
194
194
|
|
195
195
|
new_options = opts.merge(
|
196
196
|
:operation => :"FunctionsApi.get_function",
|
@@ -317,7 +317,7 @@ module VgsApiClient
|
|
317
317
|
return_type = opts[:debug_return_type] || 'InlineResponse2002'
|
318
318
|
|
319
319
|
# auth_names
|
320
|
-
auth_names = opts[:debug_auth_names] || ['
|
320
|
+
auth_names = opts[:debug_auth_names] || ['OAuth2']
|
321
321
|
|
322
322
|
new_options = opts.merge(
|
323
323
|
:operation => :"FunctionsApi.list_functions",
|
@@ -387,7 +387,7 @@ module VgsApiClient
|
|
387
387
|
return_type = opts[:debug_return_type]
|
388
388
|
|
389
389
|
# auth_names
|
390
|
-
auth_names = opts[:debug_auth_names] || ['
|
390
|
+
auth_names = opts[:debug_auth_names] || ['OAuth2']
|
391
391
|
|
392
392
|
new_options = opts.merge(
|
393
393
|
:operation => :"FunctionsApi.update_function",
|
@@ -31,7 +31,7 @@ module VgsApiClient
|
|
31
31
|
# @option config [Configuration] Configuration for initializing the object, default to Configuration.default
|
32
32
|
def initialize(config = Configuration.default)
|
33
33
|
@config = config
|
34
|
-
@user_agent = "vgs-api-client/0.0.1.
|
34
|
+
@user_agent = "vgs-api-client/0.0.1.alpha202205220158/ruby"
|
35
35
|
@default_headers = {
|
36
36
|
'Content-Type' => 'application/json',
|
37
37
|
'User-Agent' => @user_agent
|
data/lib/version.rb
CHANGED
data/scripts/assemble/run.sh
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
LIB_VERSION=${LIB_VERSION:-0.0.1.alpha$(date "+%Y%m%d%H%M")}
|
4
4
|
|
5
5
|
# fix version
|
6
|
-
grep -rl 0.0.1.
|
6
|
+
grep -rl 0.0.1.alpha202205220158 . | xargs sed -i "s/0.0.1.alpha202205220158/${LIB_VERSION}/g"
|
7
7
|
|
8
8
|
# build
|
9
9
|
gem build vgs_api_client.gemspec
|
data/scripts/test/run.sh
CHANGED
@@ -5,7 +5,7 @@ set -e
|
|
5
5
|
echo "Installing lib from local sources"
|
6
6
|
# fix version
|
7
7
|
VERSION=0.0.1.alpha$(date "+%Y%m%d%H%M")
|
8
|
-
grep -rl 0.0.1.
|
8
|
+
grep -rl 0.0.1.alpha202205220158 . | xargs sed -i "s/0.0.1.alpha202205220158/$VERSION/g"
|
9
9
|
|
10
10
|
bundle install
|
11
11
|
|