splitclient-rb 4.5.2 → 5.0.0.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 +4 -1
- data/NEWS +8 -0
- data/lib/splitclient-rb/engine/evaluator/splitter.rb +1 -1
- data/lib/splitclient-rb/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea2080d9702786ca28733a5dd430375654bdea95
|
4
|
+
data.tar.gz: 7ec1b183b7274cb88667a5bded7d59ff990a9af2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 38c22cf2bef8368c71de16ee74a8db3b4f0274008048b5b3fdcaab4b7f95ae063a0461bcbf7d31f826efe65762ff3455f61f5899a5f31c67d95fdbb1b73b0fe0
|
7
|
+
data.tar.gz: 8d8ee5fec79f7b87743c43b6d9897cd5fb8c354c55fbf933a70f4c425e9e43e333e5b6f91af699e5cdc7feb0a4c136367bd8dd439692a4c57428c4dddc83693b
|
data/CHANGES.txt
CHANGED
@@ -1,4 +1,7 @@
|
|
1
|
-
|
1
|
+
5.0.0 (May 18th, 2018)
|
2
|
+
- Fix bug where the sdk picked the wrong hashing algo. This is a breaking change.
|
3
|
+
|
4
|
+
4.5.2 (May 16th, 2018)
|
2
5
|
- do not return control when a split has custom attr and I don't pass attributes to get_treatment
|
3
6
|
|
4
7
|
4.5.1 (Mar 23rd, 2018)
|
data/NEWS
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
5.0.0
|
2
|
+
|
3
|
+
This is a breaking change in how users buckets are allocated.
|
4
|
+
Ruby SDK was wrongly picking up the right buckets and defauled to
|
5
|
+
use a "legacy hashing" instead of our moder murmur3 algo which is
|
6
|
+
what other SDKs use. Please reach out to support@split.io for help
|
7
|
+
on how to upgrade to this release.
|
8
|
+
|
1
9
|
4.5.0
|
2
10
|
|
3
11
|
Add JRuby support
|
@@ -42,7 +42,7 @@ module SplitIoClient
|
|
42
42
|
return (partitions.first).treatment
|
43
43
|
end
|
44
44
|
|
45
|
-
return get_treatment_for_key(bucket(count_hash(id, seed,
|
45
|
+
return get_treatment_for_key(bucket(count_hash(id, seed, legacy)), partitions)
|
46
46
|
end
|
47
47
|
|
48
48
|
# returns a hash value for the give key, seed pair
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: splitclient-rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 5.0.0.pre.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Split Software
|
@@ -313,9 +313,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
313
313
|
version: '0'
|
314
314
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
315
315
|
requirements:
|
316
|
-
- - "
|
316
|
+
- - ">"
|
317
317
|
- !ruby/object:Gem::Version
|
318
|
-
version:
|
318
|
+
version: 1.3.1
|
319
319
|
requirements: []
|
320
320
|
rubyforge_project:
|
321
321
|
rubygems_version: 2.5.1
|