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 +4 -4
- data/lib/optimizely.rb +3 -0
- data/lib/optimizely/helpers/group.rb +1 -1
- data/lib/optimizely/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d4e2928bce7afc40511832935bda9c4938e94c5e
|
4
|
+
data.tar.gz: 78d597c3b47fb1f7ba5be4263d71890c0b31dce4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9877c72f05cbe15df3f9405f16d4815b060a7e7c440230031a9e777ffac45dbc6111b5c2b9e5132f0d548d1a1630e8bc424ebfb66b6954163169f7054cf0e1da
|
7
|
+
data.tar.gz: 179837929307a3a2ae1b12ad19bd43891458a371d797424ed062e6375398db78ec378526cefa43180f7ec45b360760ada8c2ae7ff03d4dfb430f739b2f31edd3
|
data/lib/optimizely.rb
CHANGED
@@ -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,
|
data/lib/optimizely/version.rb
CHANGED
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
|
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-
|
13
|
+
date: 2016-07-13 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|