i_wonder 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -1,6 +1,8 @@
1
- = IWonder (Not working yet.)
1
+ = IWonder (Alpha)
2
2
 
3
- Flexible Analytics, and Testing for every corner of your rails application. I read "The Lean Startup" and got inspired. There were a few good solutions, but none of them quite did what I was looking for. I highly recommend you check out Vanity (http://vanity.labnotes.org/) as it is a drop-in solution for many rails apps.
3
+ Flexible Analytics, and Testing for every corner of your rails application. I read "The Lean Startup" and got inspired. There were a few good solutions, but none of them quite did what I was looking for.
4
+
5
+ Eventually I want it to be a drop-in replacement for Google analytics. You should also check out Vanity (http://vanity.labnotes.org/) as a solution for post of your analytics needs.
4
6
 
5
7
  More information can be found at https://github.com/forrest/i_wonder/wiki
6
8
 
@@ -13,6 +13,8 @@ case which_test_group?("<%= @ab_test.sym %>")
13
13
  <% for option_name in @ab_test.test_group_names -%>
14
14
  when "<%= option_name%>"
15
15
  ...
16
+ else
17
+ "Test Not Found"
16
18
  <% end -%>
17
19
  end
18
20
  </pre>
@@ -10,7 +10,7 @@ module IWonder
10
10
 
11
11
  def which_test_group?(event_sym)
12
12
  ab_test = IWonder::AbTest.find_by_sym(event_sym.to_s)
13
- raise "Not a valid test group" unless ab_test
13
+ return false unless ab_test
14
14
  ab_test.which_test_group?(self)
15
15
  end
16
16
 
@@ -1,3 +1,3 @@
1
1
  module IWonder
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end