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.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +27 -27
  3. data/docker-compose.yaml +3 -6
  4. data/docs/AliasFormat.md +2 -2
  5. data/docs/AliasesApi.md +23 -23
  6. data/docs/ApiError.md +2 -2
  7. data/docs/CreateAliasesRequest.md +2 -2
  8. data/docs/CreateAliasesRequestExisting.md +2 -2
  9. data/docs/CreateAliasesRequestNew.md +2 -2
  10. data/docs/InlineResponse200.md +2 -2
  11. data/docs/InlineResponse2001.md +2 -2
  12. data/docs/InlineResponse201.md +2 -2
  13. data/docs/InlineResponseDefault.md +2 -2
  14. data/docs/ModelAlias.md +2 -2
  15. data/docs/RevealedData.md +2 -2
  16. data/docs/UpdateAliasRequest.md +2 -2
  17. data/docs/UpdateAliasRequestData.md +2 -2
  18. data/lib/vgs_api_client/api/aliases_api.rb +1 -1
  19. data/lib/vgs_api_client/api_client.rb +9 -3
  20. data/lib/vgs_api_client/api_error.rb +1 -1
  21. data/lib/vgs_api_client/configuration.rb +1 -1
  22. data/lib/vgs_api_client/models/alias_format.rb +1 -1
  23. data/lib/vgs_api_client/models/api_error.rb +5 -4
  24. data/lib/vgs_api_client/models/create_aliases_request.rb +5 -4
  25. data/lib/vgs_api_client/models/create_aliases_request_existing.rb +5 -4
  26. data/lib/vgs_api_client/models/create_aliases_request_new.rb +5 -4
  27. data/lib/vgs_api_client/models/inline_response200.rb +5 -4
  28. data/lib/vgs_api_client/models/inline_response2001.rb +5 -4
  29. data/lib/vgs_api_client/models/inline_response201.rb +5 -4
  30. data/lib/vgs_api_client/models/inline_response_default.rb +5 -4
  31. data/lib/vgs_api_client/models/model_alias.rb +5 -4
  32. data/lib/vgs_api_client/models/revealed_data.rb +5 -4
  33. data/lib/vgs_api_client/models/update_alias_request.rb +5 -4
  34. data/lib/vgs_api_client/models/update_alias_request_data.rb +5 -4
  35. data/lib/vgs_api_client/version.rb +2 -2
  36. data/lib/vgs_api_client.rb +2 -2
  37. data/{docker → publish}/Dockerfile +1 -1
  38. data/{docker → publish}/build_and_publish.sh +2 -0
  39. data/spec/api/aliases_api_spec.rb +12 -53
  40. data/spec/api/test_api_spec.rb +137 -0
  41. data/spec/api_client_spec.rb +29 -29
  42. data/spec/configuration_spec.rb +3 -3
  43. data/spec/models/alias_format_spec.rb +5 -5
  44. data/spec/models/api_error_spec.rb +5 -5
  45. data/spec/models/create_aliases_request_existing_spec.rb +5 -5
  46. data/spec/models/create_aliases_request_new_spec.rb +5 -5
  47. data/spec/models/create_aliases_request_spec.rb +5 -5
  48. data/spec/models/inline_response2001_spec.rb +5 -5
  49. data/spec/models/inline_response200_spec.rb +5 -5
  50. data/spec/models/inline_response201_spec.rb +5 -5
  51. data/spec/models/inline_response_default_spec.rb +5 -5
  52. data/spec/models/model_alias_spec.rb +5 -5
  53. data/spec/models/revealed_data_spec.rb +5 -5
  54. data/spec/models/update_alias_request_data_spec.rb +5 -5
  55. data/spec/models/update_alias_request_spec.rb +5 -5
  56. data/test/Dockerfile +16 -0
  57. data/vgs_api_client.gemspec +1 -1
  58. metadata +7 -6
  59. data/Gemfile.lock +0 -70
  60. 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: 5.0.1-SNAPSHOT
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 VgsapiClient::UpdateAliasRequestData
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 VgsapiClient::UpdateAliasRequestData do
21
- let(:instance) { VgsapiClient::UpdateAliasRequestData.new }
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(VgsapiClient::UpdateAliasRequestData)
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: 5.0.1-SNAPSHOT
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 VgsapiClient::UpdateAliasRequest
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 VgsapiClient::UpdateAliasRequest do
21
- let(:instance) { VgsapiClient::UpdateAliasRequest.new }
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(VgsapiClient::UpdateAliasRequest)
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"]
@@ -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 = VgsapiClient::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.21
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-06 00:00:00.000000000 Z
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
@@ -1,5 +0,0 @@
1
- FROM ruby:3.1.1-alpine3.15
2
-
3
- WORKDIR /src/
4
-
5
- ENTRYPOINT ["echo", "'true'"]