moses-vanity 1.8.0 → 1.8.1
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.
|
@@ -33,12 +33,15 @@ module Vanity
|
|
|
33
33
|
# Metric value
|
|
34
34
|
class VanityMetricValue < VanityRecord
|
|
35
35
|
self.table_name = :vanity_metric_values
|
|
36
|
+
attr_accessible :date, :index, :value
|
|
36
37
|
belongs_to :vanity_metric
|
|
37
38
|
end
|
|
38
39
|
|
|
39
40
|
# Experiment model
|
|
40
41
|
class VanityExperiment < VanityRecord
|
|
41
42
|
self.table_name = :vanity_experiments
|
|
43
|
+
attr_accessible :completed_at, :outcome
|
|
44
|
+
|
|
42
45
|
has_many :vanity_conversions, :dependent => :destroy
|
|
43
46
|
|
|
44
47
|
# Finds or creates the experiment
|
|
@@ -61,6 +64,7 @@ module Vanity
|
|
|
61
64
|
# Participant model
|
|
62
65
|
class VanityParticipant < VanityRecord
|
|
63
66
|
self.table_name = :vanity_participants
|
|
67
|
+
attr_accessible :converted, :experiment_id, :identity, :seen, :shown
|
|
64
68
|
|
|
65
69
|
# Finds the participant by experiment and identity. If
|
|
66
70
|
# create is true then it will create the participant
|
data/lib/vanity/version.rb
CHANGED
metadata
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: moses-vanity
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease:
|
|
5
|
-
version: 1.8.
|
|
5
|
+
version: 1.8.1
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- Assaf Arkin
|
|
@@ -182,7 +182,7 @@ licenses: []
|
|
|
182
182
|
post_install_message: To get started run vanity --help
|
|
183
183
|
rdoc_options:
|
|
184
184
|
- --title
|
|
185
|
-
- Vanity 1.8.
|
|
185
|
+
- Vanity 1.8.1
|
|
186
186
|
- --main
|
|
187
187
|
- README.rdoc
|
|
188
188
|
- --webcvs
|