vgs_api_client 0.0.1.alpha202205231754 → 0.0.1.alpha202205240838
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 +0 -12
- data/lib/openapi_client/api_client.rb +1 -1
- data/lib/openapi_client/models/inline_response_default.rb +4 -14
- 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 +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea8fb303905e61e27bfaa08a4bef20e88dfb65bbb6dcdb32e6ebc9a77213ef25
|
4
|
+
data.tar.gz: a8fa8d71f6399fc19e7ee749db0a8a948d90edbeb10fca26ec972a86a0e7fbc4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f8ece7c2162f80faaacdd6a0682c8fe7a2df6cc203d49ba119b7af4dc669a25ca64537f917ca347591af93b62630566646437d5ed71138eeeae46326a0dd471a
|
7
|
+
data.tar.gz: 3269c205e7adfa482135f52f77c9fb143a40b9da000c7fff9f0c448fe3687655bbf8f523a75b13c9cff0b7b27042f216052c8e1dfd8eac18ca87f246f9625ab8
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.1.
|
1
|
+
0.0.1.alpha202205240838
|
data/api.yaml
CHANGED
@@ -380,18 +380,6 @@ components:
|
|
380
380
|
$ref: '#/components/schemas/ApiError'
|
381
381
|
description: List of errors that occurred while processing the request.
|
382
382
|
minItems: 1
|
383
|
-
trace_id:
|
384
|
-
type: string
|
385
|
-
description: ID of request. This can be used in the VGS dashboard to lookup a request or provided to the VGS support team.
|
386
|
-
examples:
|
387
|
-
invalidJson:
|
388
|
-
summary: When a payload is received that is not valid JSON
|
389
|
-
value:
|
390
|
-
errors:
|
391
|
-
- status: 400
|
392
|
-
code: invalid-payload
|
393
|
-
detail: Payload is not a valid JSON format.
|
394
|
-
trace_id: 2cdd563c3fcdd9b4
|
395
383
|
|
396
384
|
schemas:
|
397
385
|
ApiError:
|
@@ -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.alpha202205240838/ruby"
|
35
35
|
@default_headers = {
|
36
36
|
'Content-Type' => 'application/json',
|
37
37
|
'User-Agent' => @user_agent
|
@@ -18,14 +18,10 @@ module VgsApiClient
|
|
18
18
|
# List of errors that occurred while processing the request.
|
19
19
|
attr_accessor :errors
|
20
20
|
|
21
|
-
# ID of request. This can be used in the VGS dashboard to lookup a request or provided to the VGS support team.
|
22
|
-
attr_accessor :trace_id
|
23
|
-
|
24
21
|
# Attribute mapping from ruby-style variable name to JSON key.
|
25
22
|
def self.attribute_map
|
26
23
|
{
|
27
|
-
:'errors' => :'errors'
|
28
|
-
:'trace_id' => :'trace_id'
|
24
|
+
:'errors' => :'errors'
|
29
25
|
}
|
30
26
|
end
|
31
27
|
|
@@ -37,8 +33,7 @@ module VgsApiClient
|
|
37
33
|
# Attribute type mapping.
|
38
34
|
def self.openapi_types
|
39
35
|
{
|
40
|
-
:'errors' => :'Array<ApiError>'
|
41
|
-
:'trace_id' => :'String'
|
36
|
+
:'errors' => :'Array<ApiError>'
|
42
37
|
}
|
43
38
|
end
|
44
39
|
|
@@ -68,10 +63,6 @@ module VgsApiClient
|
|
68
63
|
self.errors = value
|
69
64
|
end
|
70
65
|
end
|
71
|
-
|
72
|
-
if attributes.key?(:'trace_id')
|
73
|
-
self.trace_id = attributes[:'trace_id']
|
74
|
-
end
|
75
66
|
end
|
76
67
|
|
77
68
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -107,8 +98,7 @@ module VgsApiClient
|
|
107
98
|
def ==(o)
|
108
99
|
return true if self.equal?(o)
|
109
100
|
self.class == o.class &&
|
110
|
-
errors == o.errors
|
111
|
-
trace_id == o.trace_id
|
101
|
+
errors == o.errors
|
112
102
|
end
|
113
103
|
|
114
104
|
# @see the `==` method
|
@@ -120,7 +110,7 @@ module VgsApiClient
|
|
120
110
|
# Calculates hash code according to all attributes.
|
121
111
|
# @return [Integer] Hash code
|
122
112
|
def hash
|
123
|
-
[errors
|
113
|
+
[errors].hash
|
124
114
|
end
|
125
115
|
|
126
116
|
# Builds the object from hash
|
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.alpha202205240838 . | xargs sed -i "s/0.0.1.alpha202205240838/${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.alpha202205240838 . | xargs sed -i "s/0.0.1.alpha202205240838/$VERSION/g"
|
9
9
|
|
10
10
|
bundle install
|
11
11
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vgs_api_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.1.
|
4
|
+
version: 0.0.1.alpha202205240838
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Very Good Security
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-05-
|
11
|
+
date: 2022-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|