splitclient-rb 4.5.2 → 5.0.0.pre.rc1

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
  SHA1:
3
- metadata.gz: 7a84b76888de783e728240884521f9659f98e4bb
4
- data.tar.gz: 639855a430b065e23094f5ef5135558f0f53a233
3
+ metadata.gz: ea2080d9702786ca28733a5dd430375654bdea95
4
+ data.tar.gz: 7ec1b183b7274cb88667a5bded7d59ff990a9af2
5
5
  SHA512:
6
- metadata.gz: f20c86417501bce0187801b8ffc31456c851db2c0de7c4f1b5ec461a13b352c6a96422fdc88bc994241ea6ab65c5e5451d371aeb9d52c457c0469a158936628e
7
- data.tar.gz: 7428b6400d40a7f0fbe43e280763beb50073035a45e875b6fba188cf1418a681f8ff3213f81c80d04142aa485f18f2ed7de60b1c218835de7af8fb46342b52eb
6
+ metadata.gz: 38c22cf2bef8368c71de16ee74a8db3b4f0274008048b5b3fdcaab4b7f95ae063a0461bcbf7d31f826efe65762ff3455f61f5899a5f31c67d95fdbb1b73b0fe0
7
+ data.tar.gz: 8d8ee5fec79f7b87743c43b6d9897cd5fb8c354c55fbf933a70f4c425e9e43e333e5b6f91af699e5cdc7feb0a4c136367bd8dd439692a4c57428c4dddc83693b
@@ -1,4 +1,7 @@
1
- 4.5.1 (May 16th, 2018)
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, legacy_algo)), partitions)
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
@@ -1,3 +1,3 @@
1
1
  module SplitIoClient
2
- VERSION = '4.5.2'
2
+ VERSION = '5.0.0-rc1'
3
3
  end
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.5.2
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: '0'
318
+ version: 1.3.1
319
319
  requirements: []
320
320
  rubyforge_project:
321
321
  rubygems_version: 2.5.1