conductor 0.5.14 → 0.5.15
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/conductor/experiment.rb +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.15
|
data/lib/conductor/experiment.rb
CHANGED
@@ -69,7 +69,7 @@ class Conductor
|
|
69
69
|
#
|
70
70
|
def track!(options={})
|
71
71
|
value = (options.delete(:value) || 1) # => pull the conversion value and remove from hash or set value to 1
|
72
|
-
experiments = Conductor::Experiment::Raw.find(:all, :conditions => {:identity_id => Conductor.identity}.merge!(options))
|
72
|
+
experiments = Conductor::Experiment::Raw.find(:all, :conditions => {:identity_id => Conductor.identity.to_s}.merge!(options))
|
73
73
|
experiments.each {|x| x.update_attributes(:conversion_value => value)} if experiments
|
74
74
|
end
|
75
75
|
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 5
|
8
|
-
-
|
9
|
-
version: 0.5.
|
8
|
+
- 15
|
9
|
+
version: 0.5.15
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Noctivity
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-09-
|
17
|
+
date: 2010-09-30 00:00:00 -04:00
|
18
18
|
default_executable:
|
19
19
|
dependencies: []
|
20
20
|
|