optimizely-sdk 0.0.14 → 0.1.0

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: 5a6644ca3e440f4a79aa7377f69ea2dec884fac3
4
- data.tar.gz: 92b567993acbeb41e248bda9f4dcd4b6c852d9d0
3
+ metadata.gz: d4e2928bce7afc40511832935bda9c4938e94c5e
4
+ data.tar.gz: 78d597c3b47fb1f7ba5be4263d71890c0b31dce4
5
5
  SHA512:
6
- metadata.gz: f5d130180dd989b793371040810f81e628cd75b19233446818e3b87d4fa3d6f9d6ee8cdf186ce365841d9219baf4bd086f3effd05fa73c474a50f60796eca402
7
- data.tar.gz: 643636cfe634bcb3d88d87c4e06ddaa66ed733897683787a798d0b5ced8c62dbfe79a07717522339fc7f08de54861ec238482debfcce0d5bde2debca13828aa2
6
+ metadata.gz: 9877c72f05cbe15df3f9405f16d4815b060a7e7c440230031a9e777ffac45dbc6111b5c2b9e5132f0d548d1a1630e8bc424ebfb66b6954163169f7054cf0e1da
7
+ data.tar.gz: 179837929307a3a2ae1b12ad19bd43891458a371d797424ed062e6375398db78ec378526cefa43180f7ec45b360760ada8c2ae7ff03d4dfb430f739b2f31edd3
@@ -127,6 +127,9 @@ module Optimizely
127
127
  valid_experiment_keys.push(experiment_key)
128
128
  end
129
129
 
130
+ # Don't track events without valid experiments attached
131
+ return if valid_experiment_keys.empty?
132
+
130
133
  conversion_event = @event_builder.create_conversion_event(event_key, user_id, attributes,
131
134
  event_value, valid_experiment_keys)
132
135
  @logger.log(Logger::INFO,
@@ -1,7 +1,7 @@
1
1
  module Optimizely
2
2
  module Helpers
3
3
  module Group
4
- ORDERED_POLICY = 'ordered'
4
+ OVERLAPPING_POLICY = 'overlapping'
5
5
  RANDOM_POLICY = 'random'
6
6
 
7
7
  module_function
@@ -1,3 +1,3 @@
1
1
  module Optimizely
2
- VERSION = '0.0.14'
2
+ VERSION = '0.1.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: optimizely-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.14
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Delikat
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-07-08 00:00:00.000000000 Z
13
+ date: 2016-07-13 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler