vgs_api_client 0.0.21 → 0.0.28
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/README.md +27 -27
- data/docker-compose.yaml +3 -6
- data/docs/AliasFormat.md +2 -2
- data/docs/AliasesApi.md +23 -23
- data/docs/ApiError.md +2 -2
- data/docs/CreateAliasesRequest.md +2 -2
- data/docs/CreateAliasesRequestExisting.md +2 -2
- data/docs/CreateAliasesRequestNew.md +2 -2
- data/docs/InlineResponse200.md +2 -2
- data/docs/InlineResponse2001.md +2 -2
- data/docs/InlineResponse201.md +2 -2
- data/docs/InlineResponseDefault.md +2 -2
- data/docs/ModelAlias.md +2 -2
- data/docs/RevealedData.md +2 -2
- data/docs/UpdateAliasRequest.md +2 -2
- data/docs/UpdateAliasRequestData.md +2 -2
- data/lib/vgs_api_client/api/aliases_api.rb +1 -1
- data/lib/vgs_api_client/api_client.rb +9 -3
- data/lib/vgs_api_client/api_error.rb +1 -1
- data/lib/vgs_api_client/configuration.rb +1 -1
- data/lib/vgs_api_client/models/alias_format.rb +1 -1
- data/lib/vgs_api_client/models/api_error.rb +5 -4
- data/lib/vgs_api_client/models/create_aliases_request.rb +5 -4
- data/lib/vgs_api_client/models/create_aliases_request_existing.rb +5 -4
- data/lib/vgs_api_client/models/create_aliases_request_new.rb +5 -4
- data/lib/vgs_api_client/models/inline_response200.rb +5 -4
- data/lib/vgs_api_client/models/inline_response2001.rb +5 -4
- data/lib/vgs_api_client/models/inline_response201.rb +5 -4
- data/lib/vgs_api_client/models/inline_response_default.rb +5 -4
- data/lib/vgs_api_client/models/model_alias.rb +5 -4
- data/lib/vgs_api_client/models/revealed_data.rb +5 -4
- data/lib/vgs_api_client/models/update_alias_request.rb +5 -4
- data/lib/vgs_api_client/models/update_alias_request_data.rb +5 -4
- data/lib/vgs_api_client/version.rb +2 -2
- data/lib/vgs_api_client.rb +2 -2
- data/{docker → publish}/Dockerfile +1 -1
- data/{docker → publish}/build_and_publish.sh +2 -0
- data/spec/api/aliases_api_spec.rb +12 -53
- data/spec/api/test_api_spec.rb +137 -0
- data/spec/api_client_spec.rb +29 -29
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/alias_format_spec.rb +5 -5
- data/spec/models/api_error_spec.rb +5 -5
- data/spec/models/create_aliases_request_existing_spec.rb +5 -5
- data/spec/models/create_aliases_request_new_spec.rb +5 -5
- data/spec/models/create_aliases_request_spec.rb +5 -5
- data/spec/models/inline_response2001_spec.rb +5 -5
- data/spec/models/inline_response200_spec.rb +5 -5
- data/spec/models/inline_response201_spec.rb +5 -5
- data/spec/models/inline_response_default_spec.rb +5 -5
- data/spec/models/model_alias_spec.rb +5 -5
- data/spec/models/revealed_data_spec.rb +5 -5
- data/spec/models/update_alias_request_data_spec.rb +5 -5
- data/spec/models/update_alias_request_spec.rb +5 -5
- data/test/Dockerfile +16 -0
- data/vgs_api_client.gemspec +1 -1
- metadata +7 -6
- data/Gemfile.lock +0 -70
- data/docker/Dockerfile.test +0 -5
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
Contact: support@verygoodsecurity.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -14,15 +14,15 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for
|
17
|
+
# Unit tests for VgsApiClient::UpdateAliasRequestData
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe
|
21
|
-
let(:instance) {
|
20
|
+
describe VgsApiClient::UpdateAliasRequestData do
|
21
|
+
let(:instance) { VgsApiClient::UpdateAliasRequestData.new }
|
22
22
|
|
23
23
|
describe 'test an instance of UpdateAliasRequestData' do
|
24
24
|
it 'should create an instance of UpdateAliasRequestData' do
|
25
|
-
expect(instance).to be_instance_of(
|
25
|
+
expect(instance).to be_instance_of(VgsApiClient::UpdateAliasRequestData)
|
26
26
|
end
|
27
27
|
end
|
28
28
|
describe 'test attribute "classifiers"' do
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
Contact: support@verygoodsecurity.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -14,15 +14,15 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for
|
17
|
+
# Unit tests for VgsApiClient::UpdateAliasRequest
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe
|
21
|
-
let(:instance) {
|
20
|
+
describe VgsApiClient::UpdateAliasRequest do
|
21
|
+
let(:instance) { VgsApiClient::UpdateAliasRequest.new }
|
22
22
|
|
23
23
|
describe 'test an instance of UpdateAliasRequest' do
|
24
24
|
it 'should create an instance of UpdateAliasRequest' do
|
25
|
-
expect(instance).to be_instance_of(
|
25
|
+
expect(instance).to be_instance_of(VgsApiClient::UpdateAliasRequest)
|
26
26
|
end
|
27
27
|
end
|
28
28
|
describe 'test attribute "data"' do
|
data/test/Dockerfile
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
FROM ruby:3.1.1-alpine3.15
|
2
|
+
|
3
|
+
ADD . /src
|
4
|
+
|
5
|
+
# set version valid version
|
6
|
+
RUN grep -lr 0.0.28 ./src | xargs sed -i "s/0.0.28/0.0.1/g"
|
7
|
+
|
8
|
+
WORKDIR /src
|
9
|
+
|
10
|
+
RUN apk update && \
|
11
|
+
gem install bundler
|
12
|
+
|
13
|
+
#RUN bundle install
|
14
|
+
|
15
|
+
#ENTRYPOINT ["bundle", "exec", "rspec", "./spec/api/test_api_spec.rb"]
|
16
|
+
ENTRYPOINT ["echo", "TODO: run ruby tests"]
|
data/vgs_api_client.gemspec
CHANGED
@@ -17,7 +17,7 @@ require "vgs_api_client/version"
|
|
17
17
|
|
18
18
|
Gem::Specification.new do |s|
|
19
19
|
s.name = "vgs_api_client"
|
20
|
-
s.version =
|
20
|
+
s.version = VgsApiClient::VERSION
|
21
21
|
s.platform = Gem::Platform::RUBY
|
22
22
|
s.authors = ["Very Good Security"]
|
23
23
|
s.email = ["dev@verygoodsecurity.com"]
|
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.
|
4
|
+
version: 0.0.28
|
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-04-
|
11
|
+
date: 2022-04-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -58,13 +58,9 @@ extensions: []
|
|
58
58
|
extra_rdoc_files: []
|
59
59
|
files:
|
60
60
|
- Gemfile
|
61
|
-
- Gemfile.lock
|
62
61
|
- README.md
|
63
62
|
- Rakefile
|
64
63
|
- docker-compose.yaml
|
65
|
-
- docker/Dockerfile
|
66
|
-
- docker/Dockerfile.test
|
67
|
-
- docker/build_and_publish.sh
|
68
64
|
- docs/AliasFormat.md
|
69
65
|
- docs/AliasesApi.md
|
70
66
|
- docs/ApiError.md
|
@@ -99,7 +95,10 @@ files:
|
|
99
95
|
- lib/vgs_api_client/models/update_alias_request.rb
|
100
96
|
- lib/vgs_api_client/models/update_alias_request_data.rb
|
101
97
|
- lib/vgs_api_client/version.rb
|
98
|
+
- publish/Dockerfile
|
99
|
+
- publish/build_and_publish.sh
|
102
100
|
- spec/api/aliases_api_spec.rb
|
101
|
+
- spec/api/test_api_spec.rb
|
103
102
|
- spec/api_client_spec.rb
|
104
103
|
- spec/configuration_spec.rb
|
105
104
|
- spec/models/alias_format_spec.rb
|
@@ -116,6 +115,7 @@ files:
|
|
116
115
|
- spec/models/update_alias_request_data_spec.rb
|
117
116
|
- spec/models/update_alias_request_spec.rb
|
118
117
|
- spec/spec_helper.rb
|
118
|
+
- test/Dockerfile
|
119
119
|
- vgs_api_client.gemspec
|
120
120
|
homepage: https://openapi-generator.tech
|
121
121
|
licenses:
|
@@ -141,6 +141,7 @@ signing_key:
|
|
141
141
|
specification_version: 4
|
142
142
|
summary: A ruby wrapper for the VGS Vault API
|
143
143
|
test_files:
|
144
|
+
- spec/api/test_api_spec.rb
|
144
145
|
- spec/api/aliases_api_spec.rb
|
145
146
|
- spec/api_client_spec.rb
|
146
147
|
- spec/configuration_spec.rb
|
data/Gemfile.lock
DELETED
@@ -1,70 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
vgs_api_client (0.0.1)
|
5
|
-
typhoeus (~> 1.0, >= 1.0.1)
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: https://rubygems.org/
|
9
|
-
specs:
|
10
|
-
ast (2.4.2)
|
11
|
-
byebug (11.1.3)
|
12
|
-
coderay (1.1.3)
|
13
|
-
diff-lcs (1.5.0)
|
14
|
-
ethon (0.15.0)
|
15
|
-
ffi (>= 1.15.0)
|
16
|
-
ffi (1.15.5)
|
17
|
-
jaro_winkler (1.5.4)
|
18
|
-
method_source (1.0.0)
|
19
|
-
parallel (1.22.0)
|
20
|
-
parser (3.1.1.0)
|
21
|
-
ast (~> 2.4.1)
|
22
|
-
pry (0.13.1)
|
23
|
-
coderay (~> 1.1)
|
24
|
-
method_source (~> 1.0)
|
25
|
-
pry-byebug (3.9.0)
|
26
|
-
byebug (~> 11.0)
|
27
|
-
pry (~> 0.13.0)
|
28
|
-
psych (4.0.3)
|
29
|
-
stringio
|
30
|
-
rainbow (3.1.1)
|
31
|
-
rake (13.0.6)
|
32
|
-
rspec (3.11.0)
|
33
|
-
rspec-core (~> 3.11.0)
|
34
|
-
rspec-expectations (~> 3.11.0)
|
35
|
-
rspec-mocks (~> 3.11.0)
|
36
|
-
rspec-core (3.11.0)
|
37
|
-
rspec-support (~> 3.11.0)
|
38
|
-
rspec-expectations (3.11.0)
|
39
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
40
|
-
rspec-support (~> 3.11.0)
|
41
|
-
rspec-mocks (3.11.0)
|
42
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
43
|
-
rspec-support (~> 3.11.0)
|
44
|
-
rspec-support (3.11.0)
|
45
|
-
rubocop (0.66.0)
|
46
|
-
jaro_winkler (~> 1.5.1)
|
47
|
-
parallel (~> 1.10)
|
48
|
-
parser (>= 2.5, != 2.5.1.1)
|
49
|
-
psych (>= 3.1.0)
|
50
|
-
rainbow (>= 2.2.2, < 4.0)
|
51
|
-
ruby-progressbar (~> 1.7)
|
52
|
-
unicode-display_width (>= 1.4.0, < 1.6)
|
53
|
-
ruby-progressbar (1.11.0)
|
54
|
-
stringio (3.0.1)
|
55
|
-
typhoeus (1.4.0)
|
56
|
-
ethon (>= 0.9.0)
|
57
|
-
unicode-display_width (1.5.0)
|
58
|
-
|
59
|
-
PLATFORMS
|
60
|
-
x86_64-darwin-20
|
61
|
-
|
62
|
-
DEPENDENCIES
|
63
|
-
pry-byebug
|
64
|
-
rake (~> 13.0.1)
|
65
|
-
rspec (~> 3.6, >= 3.6.0)
|
66
|
-
rubocop (~> 0.66.0)
|
67
|
-
vgs_api_client!
|
68
|
-
|
69
|
-
BUNDLED WITH
|
70
|
-
2.3.9
|