optimizely_server_side 0.0.10 → 0.0.11

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
  SHA1:
3
- metadata.gz: 21c1476041632408d773cb808b130c96820800dd
4
- data.tar.gz: e331c2e11409f4fc601bd7713cdc6b5ff91747a2
3
+ metadata.gz: 1a9de3f586adcdcd32d071dfbd99f711e0306f49
4
+ data.tar.gz: 329491b4394170d8203f3e96fccd79d06634e5ea
5
5
  SHA512:
6
- metadata.gz: 24787d1c316e0d09aff313bf6bfac09fd0abec5c59086c7b59800a7bdd15910ad834ee8fa0f5a38ecec44c898072353cdc494907c46a61f60d1d612910fdd8fc
7
- data.tar.gz: 2169eb627e065d0ff2bb98b9bc636602d4f2ab326e0e6b7decaffd83ede9bdbd7b26a540e6ad4adc038696449163cbe17c033bbab74c9b9aee123db1c19afcf5
6
+ metadata.gz: 8c40bdc79a081f230581026c07743211191d59f369c1a40dd893fd239b3391dc9755027e40a035ca8f8da20c443c5f309a2efb5913febb525d5bc61e43c8e4bd
7
+ data.tar.gz: 371e4984981fa146a7a3fd1a94dae1ae5eacacf41459c1fc516d15f1071662bba1ea7fe42fc3021eafa978533164e1a50561e0da530eda3b97ab757d531e762e
data/Changelog.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.0.11
2
+
3
+ Bug fix. Visitor id should not be passed in attributes.
4
+
1
5
  # 0.0.10
2
6
 
3
7
  Introduced the `user_attributes` option which takes care of passing visitor_id and custom attributes that will be required for Audience level bucketing.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- optimizely_server_side (0.0.10)
4
+ optimizely_server_side (0.0.11)
5
5
  activesupport (~> 4.2, >= 4.2.6)
6
6
  optimizely-sdk (~> 0.1.1)
7
7
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module OptimizelyServerSide
2
4
 
3
5
  module Support
@@ -28,8 +30,8 @@ module OptimizelyServerSide
28
30
  OptimizelyServerSide::OptimizelySdk
29
31
  .project_instance(event_dispatcher: OptimizelyServerSide.configuration.event_dispatcher)
30
32
  .activate(experiment_key,
31
- OptimizelyServerSide.configuration.user_attributes['visitor_id'.freeze],
32
- OptimizelyServerSide.configuration.user_attributes)
33
+ OptimizelyServerSide.configuration.user_attributes['visitor_id'],
34
+ OptimizelyServerSide.configuration.user_attributes.reject { |k,v| k == 'visitor_id'})
33
35
  end
34
36
 
35
37
  end
@@ -2,7 +2,7 @@ $:.push File.expand_path("../lib", __FILE__)
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'optimizely_server_side'
5
- s.version = '0.0.10'
5
+ s.version = '0.0.11'
6
6
  s.date = '2016-08-28'
7
7
  s.summary = "Optimizely server side. A wrapper on top of optimizely's ruby sdk for easy caching of server side config "
8
8
  s.description = "Optimizely server side. A A/B test wrapper on top of optimizely's ruby sdk for easy caching of server side config and exposing few more utility helpers. Handling of fallbacks and marking primary experiments. "
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: optimizely_server_side
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ankit Gupta