vantage-client 0.0.7 → 0.0.8
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/Gemfile.lock +70 -0
- data/README.md +2 -0
- data/docs/PingApi.md +3 -3
- data/lib/vantage-client/api/ping_api.rb +4 -4
- data/lib/vantage-client/version.rb +1 -1
- data/spec/api/ping_api_spec.rb +1 -1
- metadata +2 -2
- data/vantage-client-0.0.6.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4de56e7e8c4c46c81e737a595e267c9738740d0a833510b5ffcea74d6da9f745
|
4
|
+
data.tar.gz: 8e962db8863adb741e65c256cd233837b4c5754292ecd3288d04bb2f08270337
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f9250fc146291fbc5fd06bfcfc736db973606b09b1e894ca29c5d1860262ed45082dc03ef44cd8ae6c1ea45e82f5d38417a4be8fb4cb2faa8a43ca0886f085b
|
7
|
+
data.tar.gz: 6f76f2de489b007d304201f9acdbcd561ff7ee6418548279e480f9dacd7f9e0e8d933362afa2a4706e823ee6b1b8921f20e460b4d231566c6b538e657d18a063
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,70 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
vantage-client (0.0.6)
|
5
|
+
addressable (~> 2.3, >= 2.3.0)
|
6
|
+
json (~> 2.1, >= 2.1.0)
|
7
|
+
typhoeus (~> 1.0, >= 1.0.1)
|
8
|
+
|
9
|
+
GEM
|
10
|
+
remote: https://rubygems.org/
|
11
|
+
specs:
|
12
|
+
ZenTest (4.12.0)
|
13
|
+
addressable (2.7.0)
|
14
|
+
public_suffix (>= 2.0.2, < 5.0)
|
15
|
+
autotest (4.4.6)
|
16
|
+
ZenTest (>= 4.4.1)
|
17
|
+
autotest-fsevent (0.2.18)
|
18
|
+
sys-uname
|
19
|
+
autotest-growl (0.2.16)
|
20
|
+
autotest-rails-pure (4.1.2)
|
21
|
+
crack (0.4.5)
|
22
|
+
rexml
|
23
|
+
diff-lcs (1.4.4)
|
24
|
+
ethon (0.14.0)
|
25
|
+
ffi (>= 1.15.0)
|
26
|
+
ffi (1.15.0)
|
27
|
+
hashdiff (1.0.1)
|
28
|
+
json (2.5.1)
|
29
|
+
public_suffix (4.0.6)
|
30
|
+
rake (12.3.3)
|
31
|
+
rexml (3.2.5)
|
32
|
+
rspec (3.10.0)
|
33
|
+
rspec-core (~> 3.10.0)
|
34
|
+
rspec-expectations (~> 3.10.0)
|
35
|
+
rspec-mocks (~> 3.10.0)
|
36
|
+
rspec-core (3.10.1)
|
37
|
+
rspec-support (~> 3.10.0)
|
38
|
+
rspec-expectations (3.10.1)
|
39
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
40
|
+
rspec-support (~> 3.10.0)
|
41
|
+
rspec-mocks (3.10.2)
|
42
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
43
|
+
rspec-support (~> 3.10.0)
|
44
|
+
rspec-support (3.10.2)
|
45
|
+
sys-uname (1.2.2)
|
46
|
+
ffi (~> 1.1)
|
47
|
+
typhoeus (1.4.0)
|
48
|
+
ethon (>= 0.9.0)
|
49
|
+
vcr (3.0.3)
|
50
|
+
webmock (1.24.6)
|
51
|
+
addressable (>= 2.3.6)
|
52
|
+
crack (>= 0.3.2)
|
53
|
+
hashdiff
|
54
|
+
|
55
|
+
PLATFORMS
|
56
|
+
x86_64-darwin-19
|
57
|
+
|
58
|
+
DEPENDENCIES
|
59
|
+
autotest (~> 4.4, >= 4.4.6)
|
60
|
+
autotest-fsevent (~> 0.2, >= 0.2.12)
|
61
|
+
autotest-growl (~> 0.2, >= 0.2.16)
|
62
|
+
autotest-rails-pure (~> 4.1, >= 4.1.2)
|
63
|
+
rake (~> 12.3.3)
|
64
|
+
rspec (~> 3.6, >= 3.6.0)
|
65
|
+
vantage-client!
|
66
|
+
vcr (~> 3.0, >= 3.0.1)
|
67
|
+
webmock (~> 1.24, >= 1.24.3)
|
68
|
+
|
69
|
+
BUNDLED WITH
|
70
|
+
2.2.3
|
data/README.md
CHANGED
data/docs/PingApi.md
CHANGED
@@ -8,7 +8,7 @@ Method | HTTP request | Description
|
|
8
8
|
|
9
9
|
|
10
10
|
# **ping**
|
11
|
-
>
|
11
|
+
> Object ping
|
12
12
|
|
13
13
|
|
14
14
|
|
@@ -39,7 +39,7 @@ This endpoint does not need any parameter.
|
|
39
39
|
|
40
40
|
### Return type
|
41
41
|
|
42
|
-
**
|
42
|
+
**Object**
|
43
43
|
|
44
44
|
### Authorization
|
45
45
|
|
@@ -48,7 +48,7 @@ This endpoint does not need any parameter.
|
|
48
48
|
### HTTP request headers
|
49
49
|
|
50
50
|
- **Content-Type**: Not defined
|
51
|
-
- **Accept**:
|
51
|
+
- **Accept**: application/json
|
52
52
|
|
53
53
|
|
54
54
|
|
@@ -21,7 +21,7 @@ module Vantage
|
|
21
21
|
end
|
22
22
|
# This is a health check endpoint that can be used to determine Vantage API healthiness. It will return a 200 success with the raw text of \"pong\" if everything is running smoothly.
|
23
23
|
# @param [Hash] opts the optional parameters
|
24
|
-
# @return [
|
24
|
+
# @return [Object]
|
25
25
|
def ping(opts = {})
|
26
26
|
data, _status_code, _headers = ping_with_http_info(opts)
|
27
27
|
data
|
@@ -29,7 +29,7 @@ module Vantage
|
|
29
29
|
|
30
30
|
# This is a health check endpoint that can be used to determine Vantage API healthiness. It will return a 200 success with the raw text of \"pong\" if everything is running smoothly.
|
31
31
|
# @param [Hash] opts the optional parameters
|
32
|
-
# @return [Array<(
|
32
|
+
# @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
|
33
33
|
def ping_with_http_info(opts = {})
|
34
34
|
if @api_client.config.debugging
|
35
35
|
@api_client.config.logger.debug 'Calling API: PingApi.ping ...'
|
@@ -43,7 +43,7 @@ module Vantage
|
|
43
43
|
# header parameters
|
44
44
|
header_params = {}
|
45
45
|
# HTTP header 'Accept' (if needed)
|
46
|
-
header_params['Accept'] = @api_client.select_header_accept(['
|
46
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
47
47
|
|
48
48
|
# form parameters
|
49
49
|
form_params = {}
|
@@ -57,7 +57,7 @@ module Vantage
|
|
57
57
|
:form_params => form_params,
|
58
58
|
:body => post_body,
|
59
59
|
:auth_names => auth_names,
|
60
|
-
:return_type => '
|
60
|
+
:return_type => 'Object')
|
61
61
|
if @api_client.config.debugging
|
62
62
|
@api_client.config.logger.debug "API called: PingApi#ping\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
63
63
|
end
|
data/spec/api/ping_api_spec.rb
CHANGED
@@ -35,7 +35,7 @@ describe 'PingApi' do
|
|
35
35
|
# unit tests for ping
|
36
36
|
# This is a health check endpoint that can be used to determine Vantage API healthiness. It will return a 200 success with the raw text of \"pong\" if everything is running smoothly.
|
37
37
|
# @param [Hash] opts the optional parameters
|
38
|
-
# @return [
|
38
|
+
# @return [Object]
|
39
39
|
describe 'ping test' do
|
40
40
|
it 'should work' do
|
41
41
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vantage-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ''
|
@@ -218,6 +218,7 @@ extensions: []
|
|
218
218
|
extra_rdoc_files: []
|
219
219
|
files:
|
220
220
|
- Gemfile
|
221
|
+
- Gemfile.lock
|
221
222
|
- README.md
|
222
223
|
- Rakefile
|
223
224
|
- docs/PingApi.md
|
@@ -259,7 +260,6 @@ files:
|
|
259
260
|
- spec/models/service_spec.rb
|
260
261
|
- spec/models/services_spec.rb
|
261
262
|
- spec/spec_helper.rb
|
262
|
-
- vantage-client-0.0.6.gem
|
263
263
|
- vantage-client.gemspec
|
264
264
|
homepage: https://vantage.sh
|
265
265
|
licenses:
|
data/vantage-client-0.0.6.gem
DELETED
Binary file
|