splitclient-rb 6.2.0.pre.rc2 → 6.2.0

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
  SHA256:
3
- metadata.gz: 5c978237b18e181ce9136e448b8013430b192c0d293b25e637cb7423059d6cfb
4
- data.tar.gz: 36e9709a9c998ab2f58e202d1b6759d980b08548a34f700313d1878a61cd1e65
3
+ metadata.gz: 5b65188c13bdff2ab3b11f0f313ace352a3eac9c9c82df2876b577f879eede39
4
+ data.tar.gz: 1dac618f445a50911325d12e2cef429acb0b2b47f556e8ec8a2a79cc1a86f989
5
5
  SHA512:
6
- metadata.gz: e2d85121da0f773abfd1947b8a00c94133d2043ae9913ba72aa324c5ae2dae2d8e021c36c9a1d29f5ecb7e77deeee3677c1c41bb6ce0bd97c5322671ccc91f21
7
- data.tar.gz: 5e0e18ee3412d0d53b017abd6251bcfe278a0e1d8d21920ae277a6810bc27acc03ff4949e6bbe0127e042c35e9a781a0c4c3f49eea880cfee87a615e41cc8551
6
+ metadata.gz: 92cf25d901ecdab6e5d2f4cdc202a34b04afcfa14e3ab3215303be6d1903fc9c0d597285fa6f54e8fa4cdbfb3f4260d26e54bad5ae3923855d02b5ce18acbb9e
7
+ data.tar.gz: 2ed3da2f6670579608805480ff0267b7a918945dae8a835df8866869280c41586928f22ea34e3b88fa12030587ed472c98d0e722eddb41835ea998f50b477577
data/CHANGES.txt CHANGED
@@ -1,3 +1,11 @@
1
+ 6.2.0 (Mar 7th, 2019)
2
+ - Reworked SplitClient#destroy to ensure events, impressions and metrics are sent to Split backend when called
3
+ - Ensured destroy is called when keyboard interrupts are sent to the application
4
+ - Changed SDK blocker (and block_until_ready) to have no effect in consumer mode
5
+ - Added support for applications tied to Faraday < 0.13 and net-http-persistent 3 using a patched Faraday adapter
6
+ - Added documentation for input validation in detailed readme
7
+ - Changed SplitConfig#default_features_refresh_rate value to 5 seconds
8
+
1
9
  6.1.0 (Feb 8th, 2019)
2
10
  - Review input validation for client API methods. Better control and logging over nil, empty, numeric, and NaN parameters
3
11
  - Added logging when block_until_ready is not set or api key is not provided
@@ -12,10 +20,10 @@
12
20
  - Fix an issue in events and impressions API calls log messages caused by a wrong variable name introduced in 6.0.0
13
21
 
14
22
  6.0.0 (December 17th, 2018)
23
+ - BREAKING CHANGE: Change format used to store impressions in repositories to reduce the number of Redis operations. It requires an update of the Split Synchronizer to >2.0.0 if you're using Redis mode.
15
24
  - Change `sender` and `store` classes to reuse Faraday connections, preventing issues with net-http-persistent 3.0
16
25
  - Remove producer mode and make `memory + standalone` and `Redis + consumer` the only valid SDK modes. This is a breaking change
17
26
  - Fix `evaluator` bucket calculation when traffic allocation is set to 1%
18
- - Change format used to store impressions in repositories to reduce the number of Redis operations
19
27
  - Add cache wrapper to `segments_repository` and `splits_repository` to reduce the number of Redis operations
20
28
  - Add `cache_ttl` and `max_cache_size` options to setup the memory cache wrapper when using redis
21
29
 
data/Detailed-README.md CHANGED
@@ -287,7 +287,7 @@ The following values can be customized:
287
287
 
288
288
  **features_refresh_rate** : The SDK polls Split servers for changes to feature Splits every X seconds, where X is this property's value.
289
289
 
290
- *default value* = `30`
290
+ *default value* = `5`
291
291
 
292
292
  **segments_refresh_rate** : The SDK polls Split servers for changes to segments every X seconds, where X is this property's value.
293
293
 
data/NEWS CHANGED
@@ -1,3 +1,8 @@
1
+ 6.2.0
2
+ Ensure SDK flushes information to Split servers on client destroy
3
+ Fix for compatibility issue between Faraday < 0.13 and net-http-persistent 3
4
+ Change default features refresh rate interval to 5 seconds
5
+
1
6
  6.1.0
2
7
 
3
8
  Review input validation for client API methods: get_treatment, get_treatments, track, manager. Add input validation to block_until_ready, client startup, and destroy
@@ -10,8 +15,8 @@ Fix an issue in events and impressions API calls log messages introduced in 6.0.
10
15
 
11
16
  6.0.0
12
17
 
13
- Remove producer mode, make memory adapter mandatory in standalone mode, and Redis adapter mandatory in consumer mode. This is a breaking change.
14
- 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.
18
+ BREAKING CHANGE: Remove producer mode, make memory adapter mandatory in standalone mode, and Redis adapter mandatory in consumer mode.
19
+ BREAKING CHANGE: 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. It requires to have Split Synchronizer > v2.0.0 running if you are using Redis.
15
20
  SDK is now compatible with net-http-persistent 3.0.
16
21
 
17
22
  5.1.2
@@ -304,7 +304,7 @@ module SplitIoClient
304
304
  end
305
305
 
306
306
  def self.default_features_refresh_rate
307
- 30
307
+ 5
308
308
  end
309
309
 
310
310
  def self.default_segments_refresh_rate
@@ -1,3 +1,3 @@
1
1
  module SplitIoClient
2
- VERSION = '6.2.0.pre.rc2'
2
+ VERSION = '6.2.0'
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.2.0.pre.rc2
4
+ version: 6.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Split Software
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-01 00:00:00.000000000 Z
11
+ date: 2019-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: allocation_stats
@@ -402,9 +402,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
402
402
  version: '0'
403
403
  required_rubygems_version: !ruby/object:Gem::Requirement
404
404
  requirements:
405
- - - ">"
405
+ - - ">="
406
406
  - !ruby/object:Gem::Version
407
- version: 1.3.1
407
+ version: '0'
408
408
  requirements: []
409
409
  rubyforge_project:
410
410
  rubygems_version: 2.7.6