splitclient-rb 3.1.3.pre.rc1 → 3.1.3.pre.rc2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cf6a979569b37d8f4fbdb3dd072199b1602c33b0
4
- data.tar.gz: f21c0cb168466ae3ff5e7b2939d738e0ef0bf32b
3
+ metadata.gz: 704da81f022a4136c30b487b798c295d31be82c3
4
+ data.tar.gz: b60f220a3a3394490f2a41d9f2b91ddecbe76d2e
5
5
  SHA512:
6
- metadata.gz: e06b3667ff3ec8e06d5abaf20bb25a128f01b9b9a1c784bbb1ab720b35e3d911cbbe132702b9789a6d77793612d966b67df0e2caa0d60fc236341a8ec475ff53
7
- data.tar.gz: 97f58dabae2e49fed331bb0d8db5d305ca873a5737e5c6efefc31c63b1bb9e5945f93b168708a0f50922810130875429ca56fe9f18dcb1e21756f2389f5ea8a9
6
+ metadata.gz: e9b2e954c6eae5635c1f70ef1d2b3310c7807e7d4c4e86f2307eccaee3549b90509cff55e1c4804a70afbb71be1b67540239d285664c9f33f95fab46fbf2493f
7
+ data.tar.gz: 127d0862776c94dbb39782385ca66550e7128ca120b735a2e285c1a4b9061f99fc11912b04ee8c0d12b0f796f33c21a49ef3713f22f8586c0b7d302fb3368538
data/CHANGES.txt CHANGED
@@ -1,9 +1,8 @@
1
- 3.1.4
2
- - Allow to store block until ready flag in Redis
3
-
4
1
  3.1.3
5
2
  - Refactor SplitFactory - split it into separate mangers and client classes
6
3
  - Refactor Utilities to comply style guide
4
+ - Allow to store block until ready flag in Redis
5
+ - rescue exception when posting impressions threads failed to prevent it to die
7
6
 
8
7
  3.1.2
9
8
  - Fix issue with complex key where get_treatment and get_treatments return different values.
data/exe/splitio CHANGED
@@ -26,6 +26,10 @@ opt_parser = OptionParser.new do |opts|
26
26
  options[:events_uri] = c
27
27
  end
28
28
 
29
+ opts.on("--api-key=API_KEY", "Set the API Key for Split SDK") do |c|
30
+ options[:api_key] = c
31
+ end
32
+
29
33
  opts.on("--read-timeout=READ_TIMEOUT", "Read timeout in seconds") do |c|
30
34
  options[:read_timeout] = c
31
35
  end
@@ -14,6 +14,8 @@ module SplitIoClient
14
14
 
15
15
  config.logger.debug("GET #{url}") if config.debug_enabled
16
16
  end
17
+ rescue StandardError => e
18
+ config.logger.warn("#{e}\nURL:#{url}\ndata:#{data}\nparams:#{params}")
17
19
  end
18
20
 
19
21
  def post_api(url, config, api_key, data, params = {})
@@ -31,6 +33,8 @@ module SplitIoClient
31
33
  config.logger.debug("POST #{url}")
32
34
  end
33
35
  end
36
+ rescue StandardError => e
37
+ config.logger.warn("#{e}\nURL:#{url}\ndata:#{data}\nparams:#{params}")
34
38
  end
35
39
 
36
40
  private
@@ -1,3 +1,3 @@
1
1
  module SplitIoClient
2
- VERSION = '3.1.3-rc1'
2
+ VERSION = '3.1.3-rc2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: splitclient-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.3.pre.rc1
4
+ version: 3.1.3.pre.rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Split Software
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-12-15 00:00:00.000000000 Z
11
+ date: 2016-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler