vignette 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -37,9 +37,9 @@ module ObjectExtensions
37
37
 
38
38
  store = Vignette.get_store
39
39
 
40
- choice = store[key] ||= rand(length) # Store key into storage if not available
40
+ choice = store[key] ||= Kernel.rand(length) # Store key into storage if not available
41
41
  result = self[choice.to_i]
42
-
42
+
43
43
  # Let's store keys where they are
44
44
  store[:v] = ( store[:v].present? ? JSON(store[:v]) : {} ).merge(test_name => result).to_json
45
45
 
@@ -1,3 +1,3 @@
1
1
  module Vignette
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vignette
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-11-06 00:00:00.000000000 Z
12
+ date: 2013-11-12 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Simple, effective A/b testing made easy.
15
15
  email: