Permalink
Browse files

Version 1.5.3.

  • Loading branch information...
1 parent a32c852 commit f5b68a97617a086bcd36cd21de3b7dd54274d7d0 @assaf assaf committed Apr 11, 2011
Showing with 10 additions and 8 deletions.
  1. +6 −0 CHANGELOG
  2. +3 −7 lib/vanity/templates/_ab_test.erb
  3. +1 −1 lib/vanity/version.rb
View
@@ -1,3 +1,9 @@
+== 1.5.3 (2011-04-11)
+
+Added number of participants and number of converted participants to ab_test
+template (Avishai Weiss).
+
+
== 1.5.2 (2011-04-11)
Fixed to work with redis-rb 2.2.0 (Kevin Menard).
@@ -6,14 +6,10 @@
<tr class="<%= "choice" if score.choice == alt %>">
<td class="option"><%= alt.name.gsub(/^o/, "O") %>:</td>
<td class="value"><code><%=vanity_h alt.value.to_s %></code></td>
- <td class="value">
- <%= alt.participants %> participants
- </td>
- <td class="value">
- <%= alt.converted %> converted
- </td>
+ <td class="value"><%= alt.participants %> participants</td>
+ <td class="value"><%= alt.converted %> converted</td>
<td>
- <%= "%.1f%%" % [alt.conversion_rate * 100] %>
+ <%= "%.1f%%" % [alt.conversion_rate * 100] %>
<%= "(%d%% better than %s)" % [alt.difference, score.least.name] if alt.difference && alt.difference >= 1 %>
</td>
<td class="action">
View
@@ -1,5 +1,5 @@
module Vanity
- VERSION = "1.5.2"
+ VERSION = "1.5.3"
module Version
version = VERSION.to_s.split(".").map { |i| i.to_i }

0 comments on commit f5b68a9

Please sign in to comment.