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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bb6f642d7cd1669a15bc5a0d2f269a83e92c9d31
4
- data.tar.gz: 299909d28f2c4ea3b6e2bac8eb27670dfba39ec9
3
+ metadata.gz: 613a1ab993c9826855185522652dd2ae9810dd4c
4
+ data.tar.gz: a19c6d37130106382b6e711f92107659843f8609
5
5
  SHA512:
6
- metadata.gz: b16d5035c15fb7e292e6c4ab116180e652a9a852d10d9e435facf9b85f290e2063a6d05114cb0e215149c0cd98f68281e7dea1ba8394508cf4380d31fbfd86ba
7
- data.tar.gz: 23c28fac8fdee1ab542eb8d7930a222889f4e6542bdc3071f0baf1531febb77c39f2c2598de9a68a152f1fcfcbce2bb4050b088c46a19624928ed6dedc5745f4
6
+ metadata.gz: 34074b3834b6b685d51e91840054c889a0c481b57052140bb341cea2f4ca6859c72caec4d0d8af3e90acc93122565034a585bf9c97f05077c2a4d93c4554b74f
7
+ data.tar.gz: da67d9cc7b3e18b838895744e688ff390b01c0b32acb59ec24b8cae68b1fc9c2665a05566515327dcf9a63b056c3d55be67ca9f430d8413bb4fee01110ac52d0
@@ -13,7 +13,7 @@ class VWO
13
13
  HTTP_PROTOCOL = 'http://'
14
14
  HTTPS_PROTOCOL = 'https://'
15
15
  URL_NAMESPACE = '6ba7b811-9dad-11d1-80b4-00c04fd430c8'
16
- SDK_VERSION = '1.0.0'
16
+ SDK_VERSION = '1.0.1'
17
17
 
18
18
  module ENDPOINTS
19
19
  BASE_URL = 'dev.visualwebsiteoptimizer.com'
@@ -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.warn 'account_id and sdk_key are required for fetching account settings. Aborting!'
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.warn <<-DOC
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.warn "Error fetching Settings File #{e}"
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.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-09-20 00:00:00.000000000 Z
11
+ date: 2019-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: coveralls