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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 37e343cf9f550bfb1989fc78d36c1bbd19ad1f6e9dc66d31b9eb330866dc5a95
4
- data.tar.gz: 9ed27d3f9a249881f7ea73f3862696f93feb71145a3c8a78a8d0a970b1955cea
3
+ metadata.gz: ffbb8d0985fc333d4b00b1bcf06ed5234b8c8007ac033626225be0ff6d442750
4
+ data.tar.gz: 4eeeab8434c9b2224134234abb389b938787b86839b20a153f9ad757d34b6b0c
5
5
  SHA512:
6
- metadata.gz: ca9dc9efc7ea8938d22fd3024b3fcb4699815ca8bd9acbd4c00b28e4d7eb3000fcda432e0d631422a9b006295d4f82c101f5d65304b0089a56d7f02e4464f273
7
- data.tar.gz: 1640356edd237280e2089d229f651d24e473e146bdfbb13fbec85ad3baa83ea2b5fe3ad6af08a9c7c0d697de7068d2b3ae476f6311243efbafa811b616316edb
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
- result = post_api(
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
- result = post_api("#{SplitIoClient.configuration.events_uri}/testImpressions/bulk", @api_key, impressions_ip, 'SplitSDKMachineIP' => ip)
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)}")
@@ -1,3 +1,3 @@
1
1
  module SplitIoClient
2
- VERSION = '6.0.0'
2
+ VERSION = '6.0.1.pre.rc1'
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: 6.0.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: 2018-12-17 00:00:00.000000000 Z
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: '0'
388
+ version: 1.3.1
389
389
  requirements: []
390
390
  rubyforge_project:
391
391
  rubygems_version: 2.7.6