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 +4 -4
- data/CHANGES.txt +2 -3
- data/exe/splitio +4 -0
- data/lib/engine/api/client.rb +4 -0
- data/lib/splitclient-rb/version.rb +1 -1
- 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: 704da81f022a4136c30b487b798c295d31be82c3
|
|
4
|
+
data.tar.gz: b60f220a3a3394490f2a41d9f2b91ddecbe76d2e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
data/lib/engine/api/client.rb
CHANGED
|
@@ -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
|
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.
|
|
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-
|
|
11
|
+
date: 2016-12-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|