vgs_api_client 0.0.1 → 0.0.26
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 +15 -0
- data/docs/AliasFormat.md +2 -2
- data/docs/AliasesApi.md +26 -26
- 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/git_push.sh +4 -3
- data/lib/vgs_api_client/api/aliases_api.rb +10 -25
- data/lib/vgs_api_client/api_client.rb +6 -6
- data/lib/vgs_api_client/api_error.rb +1 -1
- data/lib/vgs_api_client/configuration.rb +2 -3
- data/lib/vgs_api_client/models/alias_format.rb +1 -1
- data/lib/vgs_api_client/models/api_error.rb +4 -4
- data/lib/vgs_api_client/models/create_aliases_request.rb +4 -4
- data/lib/vgs_api_client/models/create_aliases_request_existing.rb +4 -4
- data/lib/vgs_api_client/models/create_aliases_request_new.rb +4 -4
- data/lib/vgs_api_client/models/inline_response200.rb +4 -4
- data/lib/vgs_api_client/models/inline_response2001.rb +4 -4
- data/lib/vgs_api_client/models/inline_response201.rb +4 -4
- data/lib/vgs_api_client/models/inline_response_default.rb +4 -4
- data/lib/vgs_api_client/models/model_alias.rb +4 -4
- data/lib/vgs_api_client/models/revealed_data.rb +4 -4
- data/lib/vgs_api_client/models/update_alias_request.rb +4 -4
- data/lib/vgs_api_client/models/update_alias_request_data.rb +4 -4
- data/lib/vgs_api_client/version.rb +2 -2
- data/lib/vgs_api_client.rb +2 -2
- data/publish/Dockerfile +11 -0
- data/publish/build_and_publish.sh +13 -0
- data/spec/api/aliases_api_spec.rb +11 -52
- data/spec/api/test_api_spec.rb +137 -0
- data/spec/api_client_spec.rb +31 -31
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/alias_format_spec.rb +4 -4
- data/spec/models/api_error_spec.rb +4 -4
- data/spec/models/create_aliases_request_existing_spec.rb +4 -4
- data/spec/models/create_aliases_request_new_spec.rb +4 -4
- data/spec/models/create_aliases_request_spec.rb +4 -4
- data/spec/models/inline_response2001_spec.rb +4 -4
- data/spec/models/inline_response200_spec.rb +4 -4
- data/spec/models/inline_response201_spec.rb +4 -4
- data/spec/models/inline_response_default_spec.rb +4 -4
- data/spec/models/model_alias_spec.rb +4 -4
- data/spec/models/revealed_data_spec.rb +4 -4
- data/spec/models/update_alias_request_data_spec.rb +4 -4
- data/spec/models/update_alias_request_spec.rb +4 -4
- data/test/Dockerfile +16 -0
- data/vgs_api_client.gemspec +1 -1
- metadata +17 -12
- data/Gemfile.lock +0 -70
@@ -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::RevealedData
|
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::RevealedData do
|
21
|
+
let(:instance) { VgsApiClient::RevealedData.new }
|
22
22
|
|
23
23
|
describe 'test an instance of RevealedData' do
|
24
24
|
it 'should create an instance of RevealedData' do
|
25
|
-
expect(instance).to be_instance_of(
|
25
|
+
expect(instance).to be_instance_of(VgsApiClient::RevealedData)
|
26
26
|
end
|
27
27
|
end
|
28
28
|
describe 'test attribute "aliases"' do
|
@@ -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
|
@@ -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.26 ./src | xargs sed -i "s/0.0.26/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.26
|
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-
|
11
|
+
date: 2022-04-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -58,9 +58,9 @@ extensions: []
|
|
58
58
|
extra_rdoc_files: []
|
59
59
|
files:
|
60
60
|
- Gemfile
|
61
|
-
- Gemfile.lock
|
62
61
|
- README.md
|
63
62
|
- Rakefile
|
63
|
+
- docker-compose.yaml
|
64
64
|
- docs/AliasFormat.md
|
65
65
|
- docs/AliasesApi.md
|
66
66
|
- docs/ApiError.md
|
@@ -95,7 +95,10 @@ files:
|
|
95
95
|
- lib/vgs_api_client/models/update_alias_request.rb
|
96
96
|
- lib/vgs_api_client/models/update_alias_request_data.rb
|
97
97
|
- lib/vgs_api_client/version.rb
|
98
|
+
- publish/Dockerfile
|
99
|
+
- publish/build_and_publish.sh
|
98
100
|
- spec/api/aliases_api_spec.rb
|
101
|
+
- spec/api/test_api_spec.rb
|
99
102
|
- spec/api_client_spec.rb
|
100
103
|
- spec/configuration_spec.rb
|
101
104
|
- spec/models/alias_format_spec.rb
|
@@ -112,6 +115,7 @@ files:
|
|
112
115
|
- spec/models/update_alias_request_data_spec.rb
|
113
116
|
- spec/models/update_alias_request_spec.rb
|
114
117
|
- spec/spec_helper.rb
|
118
|
+
- test/Dockerfile
|
115
119
|
- vgs_api_client.gemspec
|
116
120
|
homepage: https://openapi-generator.tech
|
117
121
|
licenses:
|
@@ -132,25 +136,26 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
132
136
|
- !ruby/object:Gem::Version
|
133
137
|
version: '0'
|
134
138
|
requirements: []
|
135
|
-
rubygems_version: 3.
|
139
|
+
rubygems_version: 3.3.7
|
136
140
|
signing_key:
|
137
141
|
specification_version: 4
|
138
142
|
summary: A ruby wrapper for the VGS Vault API
|
139
143
|
test_files:
|
144
|
+
- spec/api/test_api_spec.rb
|
140
145
|
- spec/api/aliases_api_spec.rb
|
141
146
|
- spec/api_client_spec.rb
|
142
147
|
- spec/configuration_spec.rb
|
143
|
-
- spec/models/revealed_data_spec.rb
|
144
|
-
- spec/models/alias_format_spec.rb
|
145
148
|
- spec/models/create_aliases_request_new_spec.rb
|
146
|
-
- spec/models/
|
147
|
-
- spec/models/inline_response2001_spec.rb
|
148
|
-
- spec/models/update_alias_request_spec.rb
|
149
|
+
- spec/models/revealed_data_spec.rb
|
149
150
|
- spec/models/create_aliases_request_spec.rb
|
151
|
+
- spec/models/inline_response2001_spec.rb
|
150
152
|
- spec/models/update_alias_request_data_spec.rb
|
151
|
-
- spec/models/inline_response200_spec.rb
|
152
|
-
- spec/models/inline_response201_spec.rb
|
153
|
-
- spec/models/model_alias_spec.rb
|
154
153
|
- spec/models/inline_response_default_spec.rb
|
154
|
+
- spec/models/model_alias_spec.rb
|
155
|
+
- spec/models/inline_response201_spec.rb
|
156
|
+
- spec/models/inline_response200_spec.rb
|
155
157
|
- spec/models/create_aliases_request_existing_spec.rb
|
158
|
+
- spec/models/api_error_spec.rb
|
159
|
+
- spec/models/update_alias_request_spec.rb
|
160
|
+
- spec/models/alias_format_spec.rb
|
156
161
|
- spec/spec_helper.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.21.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.2.22
|