vwo-ruby-sdk 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vwo/common/constants.rb +1 -1
- data/lib/vwo/get_settings.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 613a1ab993c9826855185522652dd2ae9810dd4c
|
4
|
+
data.tar.gz: a19c6d37130106382b6e711f92107659843f8609
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34074b3834b6b685d51e91840054c889a0c481b57052140bb341cea2f4ca6859c72caec4d0d8af3e90acc93122565034a585bf9c97f05077c2a4d93c4554b74f
|
7
|
+
data.tar.gz: da67d9cc7b3e18b838895744e688ff390b01c0b32acb59ec24b8cae68b1fc9c2665a05566515327dcf9a63b056c3d55be67ca9f430d8413bb4fee01110ac52d0
|
data/lib/vwo/common/constants.rb
CHANGED
data/lib/vwo/get_settings.rb
CHANGED
@@ -30,7 +30,7 @@ class VWO
|
|
30
30
|
is_valid_key = valid_number?(@account_id) || valid_string?(@account_id)
|
31
31
|
|
32
32
|
unless is_valid_key && valid_string?(@sdk_key)
|
33
|
-
STDERR.
|
33
|
+
STDERR.puts 'account_id and sdk_key are required for fetching account settings. Aborting!'
|
34
34
|
return '{}'
|
35
35
|
end
|
36
36
|
|
@@ -39,7 +39,7 @@ class VWO
|
|
39
39
|
settings_file_response = VWO::Common::Requests.get(dacdn_url, params)
|
40
40
|
|
41
41
|
if settings_file_response.code != '200'
|
42
|
-
STDERR.
|
42
|
+
STDERR.puts <<-DOC
|
43
43
|
Request failed for fetching account settings.
|
44
44
|
Got Status Code: #{settings_file_response.code}
|
45
45
|
and message: #{settings_file_response.body}.
|
@@ -47,7 +47,7 @@ class VWO
|
|
47
47
|
end
|
48
48
|
settings_file_response.body
|
49
49
|
rescue StandardError => e
|
50
|
-
STDERR.
|
50
|
+
STDERR.puts "Error fetching Settings File #{e}"
|
51
51
|
end
|
52
52
|
|
53
53
|
private
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vwo-ruby-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- VWO
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-10-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: coveralls
|