splitclient-rb 6.0.0 → 6.0.1.pre.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.txt +3 -0
- data/NEWS +5 -0
- data/lib/splitclient-rb/engine/api/events.rb +1 -1
- data/lib/splitclient-rb/engine/api/impressions.rb +1 -1
- data/lib/splitclient-rb/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ffbb8d0985fc333d4b00b1bcf06ed5234b8c8007ac033626225be0ff6d442750
|
4
|
+
data.tar.gz: 4eeeab8434c9b2224134234abb389b938787b86839b20a153f9ad757d34b6b0c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95be82f771bd719f83337033eabe496b5689cce83b4965b02ab4b0b4308ff19260f700fc280df828d549d7f99ee58759672c1d45330768329b3a1dcbcb170426
|
7
|
+
data.tar.gz: 89b02312150a0fbce3ccd05fecbdc3511498037a7369a9af054bc62bc6e5dfe1e078b9543e6412003f23c8c43713f362cce521b7d43cee1545a6e1a7455d7881
|
data/CHANGES.txt
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
6.0.1 (Jan 4th, 2019)
|
2
|
+
- Fix an issue in events and impressions API calls caused by a wrong variable name introduced in 6.0.0
|
3
|
+
|
1
4
|
6.0.0 (December 17th, 2018)
|
2
5
|
- Change `sender` and `store` classes to reuse Faraday connections, preventing issues with net-http-persistent 3.0
|
3
6
|
- Remove producer mode and make `memory + standalone` and `Redis + consumer` the only valid SDK modes. This is a breaking change
|
data/NEWS
CHANGED
@@ -1,4 +1,9 @@
|
|
1
|
+
6.0.1
|
2
|
+
|
3
|
+
Fix issue in events and impressions API calls introduced in 6.0.0
|
4
|
+
|
1
5
|
6.0.0
|
6
|
+
|
2
7
|
Remove producer mode, make memory adapter mandatory in standalone mode, and Redis adapter mandatory in consumer mode. This is a breaking change.
|
3
8
|
Reduce the total number of Redis operations of the SDK by changing the impressions storage format and adding a memory cache for splits and segments.
|
4
9
|
SDK is now compatible with net-http-persistent 3.0.
|
@@ -12,7 +12,7 @@ module SplitIoClient
|
|
12
12
|
end
|
13
13
|
|
14
14
|
events.each_slice(SplitIoClient.configuration.events_queue_size) do |events_slice|
|
15
|
-
|
15
|
+
response = post_api(
|
16
16
|
"#{SplitIoClient.configuration.events_uri}/events/bulk",
|
17
17
|
@api_key,
|
18
18
|
events_slice.map { |event| formatted_event(event[:e]) },
|
@@ -12,7 +12,7 @@ module SplitIoClient
|
|
12
12
|
end
|
13
13
|
|
14
14
|
impressions_by_ip(impressions).each do |ip, impressions_ip|
|
15
|
-
|
15
|
+
response = post_api("#{SplitIoClient.configuration.events_uri}/testImpressions/bulk", @api_key, impressions_ip, 'SplitSDKMachineIP' => ip)
|
16
16
|
|
17
17
|
if response.success?
|
18
18
|
SplitLogger.log_if_debug("Impressions reported: #{total_impressions(impressions)}")
|
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: 6.0.
|
4
|
+
version: 6.0.1.pre.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Split Software
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: allocation_stats
|
@@ -383,9 +383,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
383
383
|
version: '0'
|
384
384
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
385
385
|
requirements:
|
386
|
-
- - "
|
386
|
+
- - ">"
|
387
387
|
- !ruby/object:Gem::Version
|
388
|
-
version:
|
388
|
+
version: 1.3.1
|
389
389
|
requirements: []
|
390
390
|
rubyforge_project:
|
391
391
|
rubygems_version: 2.7.6
|